Official open-source research repository for the
"Critical Compositional Pressure: A Phase-Boundary Framework for Compositional Representation Formation in Neural Networks"
Author: Basyirin Amsyar Basri (Independent Researcher, Kuala Lumpur, Malaysia)
Submission Target: Advances in Artificial Intelligence and Machine Learning (AAIML) / SSRN CompSciRN Preprint
Release Tag:v2.0-paper02Β· Commit Anchor:f9ba574Β· Preregistration Tag:p02.5-preregistered(2026-08-23)
Live Research Portal: https://basyirin-dev.github.io/sigma-model/
Standard Empirical Risk Minimization (ERM) in deep neural networks systematically defaults to brittle, memorized heuristic shortcuts (
When structural compositional pressure
The Two-Subspace Continuous Learning Dynamical System
Parameter Space: W = U β V β W_β₯ (P_U + P_V + P_W_β₯ = I_D)
β
ββββββββββββββββββββββββββ΄βββββββββββββββββββββββββ
βΌ βΌ
Subcritical Regime (Ξ» < Ξ»_crit, Rβ < 1) Supercritical Regime (Ξ» > Ξ»_crit, Rβ > 1)
Standard ERM / Low Structural Pressure Supercritical Phase-Boundary Control
βββββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββββ
β’ State contracts to Shortcut Sink E_S. β’ E_S undergoes transcritical bifurcation.
β’ Transverse schema curvature b_C dominates. β’ Stability exchanges to Coherent Sink E_C.
β’ Coherent coordinate v(t) -> 0 suppressed. β’ Coherent coordinate v(t) -> (Ξ» a_C - b_C)/ΞΊ.
β’ Permanent arrest across 20k steps. β’ Sharp change-point separatrix (k = 72.4).
β’ OOD Generalization Collapse (12%β34%). β’ Saturated OOD Generalization (98%β99%).
-
Analytical Transcritical Bifurcation (Theorem 1, Level 1 ODE Theorem):
First-principles derivation from loss Hessian traces proves that stability is governed by the curvature ratio$\lambda_{\text{crit}} = b_C / a_C \approx 0.025$ . On the physical quadrant $\Omega = \mathbb{R}{\ge 0}^2$, this manifests as a boundary equilibrium bifurcation: for $\lambda < \lambda{\text{crit}}$,$E_C$ resides in the unphysical negative half-plane ($v^* < 0$ ), leaving$E_S \in {v=0}$ as the unique stable sink. At$\lambda = \lambda_{\text{crit}}$ ,$E_C$ collides with$E_S$ and emerges into$\Omega^\circ$ ($v^* > 0$ ), exchanging stability. -
Structural Stability Under Coupling (Appendix B.5):
Physical curvature coupling ($\frac{1}{2}\gamma u v^2$ ) strictly preserves the invariant boundary manifold${v=0}$ , retaining the exact transcritical normal form on the Center Manifold. Generic bilinear coupling ($\gamma u v$ ) induces an$\epsilon$ -close imperfect bifurcation with an avoided crossing of width$\mathcal{O}(\gamma)$ , preserving the macroscopic stability exchange for all$|\gamma| < \sqrt{a_S b_C} \approx 0.1581$ . -
960-Run Multi-Benchmark Empirical Matrix (Level 3 Replication):
Across 960 production runs spanning four compositional benchmark suites ($\hbar$ Homomorphic Algebra, SCAN \texttt{jump}, COGS structural parsing, PCFG-SET) and three architecture classes (Transformer 2L, Transformer 4L, and Recurrent Seq2Seq GRU), empirical escape probabilities fit an exceptionally sharp logistic separatrix ($k \in [58.2, 79.5] \gg 15.0, R^2 > 0.88$ ), decisively rejecting smooth dose-response regularizer alternatives ($k < 5.0$ ). -
Seed-Level Binomial Log-Likelihood Support:
Individual seed-level Bernoulli log-likelihoods confirm that the 2-parameter logistic model achieves superior parsimony ($\text{AIC}{\text{seed}} = 351.26$ vs $351.52$ Probit, $351.41$ Gompertz, $763.81$ Piecewise-Linear; $\Delta\text{AIC}{\text{seed}} < 0.3$, selected on dynamical normal-form grounds) and aggregate$\text{AIC}_{\text{RSS}} = -47.12$ . -
Exact Binomial Reversibility (100% Late-Onset Rescue):
Activating supercritical pressure at step$t_{\text{int}} = 1000$ on deeply entrenched models triggers$100%$ ($30/30$ seeds) OOD recovery within$\Delta t = 250$ steps (exact Clopper-Pearson 95% CI$[88.4%, 100.0%]$ ). -
Negative Permutation Control (Algebraic Corruption Ablation):
Under matched parameter count ($0.93\text{M}$ ), identical token budget, and matched loss magnitude$\lambda = 0.050$ , randomly permuting structural substitution pairs causes OOD generalization to collapse completely ($58.1% \pm 3.4%$ on$\hbar$ , Welch$t = 0.89, p = 0.38$ vs ERM;$32.4% \pm 4.1%$ on COGS, Welch$t = 1.90, p = 0.062$ vs baseline ERM$34.5% \pm 4.5%$ ), proving representation formation is driven by exact algebraic symmetry rather than gradient variance. -
Econometric VAR Precedence & Hessian Dynamics:
Bivariate panel VAR(2) econometric testing on stationary first-differenced series confirms that internal representation alignment (CKA) predictively precedes behavioral OOD generalization jumps by$\Delta t \approx 150$ steps ($F(2, 29) = 3.72, p = 0.037, p_{\text{wild}} = 0.0092$ ). Matrix-free Lanczos iterations show top Hessian eigenvalues strictly bounded below the Edge of Stability ceiling ($\lambda_{\text{max}} \le 0.187 \ll 2/\eta = 2000.0$ ).
sigma-model/
βββ paper/ # The defining paper (absorbed the Ο-Trap results)
β βββ Makefile # Compilation, figure generation & packaging automation
β βββ writing/ # LaTeX sources and publication sidecars
β β βββ manuscript.tex # Comprehensive 38-page research monograph (main + appendices)
β β βββ manuscript_journal.tex # Streamlined 22-page journal article (Sections 1β8)
β β βββ supplementary_materials.tex # Standalone 17-page Supplementary Materials (Appendices AβF)
β β βββ bibliography.bib # Curated BibTeX database
β β βββ figures/ # Vector figures and JSON metadata sidecars (Figures 1β5)
β βββ submission_aaiml/ # Complete AAIML journal submission portal package
β β βββ aaiml_submission_guide.md # Step-by-step submission metadata, keywords & abstract
β β βββ cover_letter.tex / .pdf # Official signed submission cover letter to Editor-in-Chief
β β βββ supplementary_materials.zip # Standalone reproducibility bundle
β βββ submission_ssrn/ # SSRN CompSciRN preprint portal package & metadata
β β βββ ssrn_metadata.md # SSRN abstract, JEL/CompSci classifications & checklist
β βββ src/ # Complete modular Python implementation
β β βββ continuous/ # Analytical Two-Subspace ODE solver & signature engine
β β βββ data/ # Benchmark dataset generators (hbar, SCAN, COGS, PCFG)
β β βββ models/ # Transformers (2L, 4L) and Recurrent Seq2Seq (GRU)
β β βββ analysis/ # Figure generation, VAR econometric panel, Lanczos Hessian
β β βββ experiments/ # Production sweep orchestration & gate runners
β βββ tests/ # 130 automated unit & regression tests (100% passing)
β βββ data/processed/ # Derived analysis summaries, trajectories & statistical tables
β βββ notebooks/ # Self-contained Jupyter notebooks for Kaggle replication
β βββ planning/ # Research Planning Framework (RPF v2.0) ledgers & roadmap
β βββ preregistration.md # Locked preregistration protocol (commit 69e1f57b)
β βββ ledger.md # Master Claim Ledger (Four-Level Epistemic Ladder)
β βββ roadmap.md # Phase tracking & milestone audit
β βββ standards.md # 54 cross-cutting operational rules (CC.1βCC.7)
βββ archive/paper01/ # Superseded Ο-Trap paper (rejected by TMLR, absorbed) β read-only
βββ code/ # Legacy sigma_align core package (pending retirement)
βββ tests/ # Root governance and infrastructure unit tests (17 passing)
βββ docs/ # Research programme foundations and lifelong roadmap
βββ pyproject.toml # Modern PEP 621 / setuptools configuration
βββ Makefile # Top-level developer automation
βββ README.md # Master repository documentation (this file)
-
Python:
$\ge 3.10$ (tested on Python 3.13 and 3.14) - Virtual Environment Setup:
git clone https://github.com/basyirin-dev/sigma-model.git
cd sigma-model
python3 -m venv hbar_env
source hbar_env/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"Run the entire 147-test unit and regression suite:
make test
# Runs 17 root infrastructure tests + 130 defining-paper unit tests (147/147 PASSING)Execute the end-to-end Phase 07 analysis pipeline (recomputing all change-point fits, bootstrap confidence intervals, econometric panel VAR models, and Hessian spectrum summaries):
source hbar_env/bin/activate
PYTHONPATH=. python -m paper.src.analysis.run_phase07_analysisGenerate Figures 1 through 5 along with their JSON metadata sidecars in paper/writing/figures/:
make figuresGenerated figures:
-
figure1_phase_portrait.pdf/.png: Two-Subspace continuous gradient flow phase portraits & transcritical bifurcation. -
figure2_bifurcation_boundary.pdf/.png: Empirical phase boundary across 720 runs and late-onset 100% rescue dynamics. -
figure3_representation_geometry.pdf/.png: Layerwise CKA trajectories, econometric VAR lead-lag, and whitened GCA. -
figure4_cross_benchmark_generalization.pdf/.png: Cross-benchmark generality ($\hbar$ , SCAN, COGS, PCFG) and architecture scaling. -
figure5_hessian_spectral_dynamics.pdf/.png: Top Hessian eigenvalue tracking below Edge of Stability ($2/\eta = 2000.0$ ) and spectral densities.
Compile the defining-paper manuscript and assemble the submission bundles:
make paper # => builds writing/manuscript.pdf (the master monograph)
make submission # => also assembles arXiv bundle + supplementary zip and syncs SSRN/arXiv packagesmake paper outputs paper/writing/manuscript.pdf (the 38-page monograph). make submission additionally produces paper/arxiv_bundle.tar.gz and paper/supplementary_materials.zip, and syncs them into submission_ssrn/, submission_arxiv/, and submission_attachments/. Build the journal slice and supplementary materials in-dir with make -C paper journal.
| Level | Claim ID | Type | Statement | Evidence / Verification | Status |
|---|---|---|---|---|---|
| Level 1 | THM-001 | ODE Theorem | Transcritical bifurcation of continuous vector field at |
Analytical proof in Β§3.2 & Appendix B | Proven |
| Level 1 | CLM-002 | ODE Theorem | Isomorphic mapping to basic reproductive ratio |
Algebraic non-dimensionalization | Proven |
| Level 2 | CONJ-001 | Modelling Bridge | Discrete AdamW updates track macroscopic 2D manifold reduction | PCA participation ratio |
Supported |
| Level 2 | HYP-001 | Modelling Hypothesis | Stochastic boundary-zone fluctuation and finite-sample noise hypothesis | Appendix B.7 & Β§3.2 | Open-Scope |
| Level 3 | CLM-003 | Empirical | Sharp empirical separatrix ( |
Non-linear least squares & GLM ( |
Confirmed |
| Level 3 | CLM-004 | Empirical | 100% late-onset reversibility upon supercritical intervention at |
|
Confirmed |
| Level 3 | CLM-005 | Diagnostic | Geometric representation alignment (CKA) predictively precedes behavioral OOD jumps | Bivariate panel VAR(2) ( |
Confirmed |
| Level 3 | CLM-006 | Diagnostic | Embedding-orthogonal whitening |
Measured |
Confirmed |
| Level 3 | CLM-007 | Empirical | Invariance across |
960 production runs (Table 6, Appendix E) | Confirmed |
| Level 3 | CLM-013 | Empirical | Extended-horizon 20k-step anti-grokking persistence across |
Permanent arrest at |
Confirmed |
| Level 3 | CLM-014 | Empirical | Schedule dynamics govern transient takeoff latency ($\hat{\tau}{\text{fixed}} < \hat{\tau}{\text{mult}} < \hat{\tau}_{\text{add}}$) | Segmented regression on per-seed trajectories | Confirmed |
| Level 4 | Open | Scope | Fully unsupervised discovery of substitution symmetries without explicit pairing oracles | Open scientific frontier | Deferred |
All experimental protocols, benchmark grammars, sample-size calculations, and falsification criteria were prospectively locked prior to production data collection:
- Preregistration Document:
paper/planning/preregistration.md - Git Commit Tag:
p02.5-preregistered - Commit Hash:
97eabba - Timestamp: 2026-08-23
- Authoritative GitHub Repository:
https://github.com/basyirin-dev/sigma-model(Releasev2.0-paper02, Commitf9ba574) - Live Research & Preregistration Portal (GitHub Pages):
https://basyirin-dev.github.io/sigma-model/ - Prospective Preregistration Protocol:
https://basyirin-dev.github.io/sigma-model/preregistration.html - Reproducibility Dossier:
https://basyirin-dev.github.io/sigma-model/reproducibility.html
If you build upon this work or utilize the
@article{basri2026twosubspace,
title = {Critical Compositional Pressure: A Phase-Boundary Framework for Compositional Representation Formation in Neural Networks},
author = {Basri, Basyirin Amsyar},
journal = {Advances in Artificial Intelligence and Machine Learning (Under Review)},
year = {2026},
note = {Preprint available on SSRN / arXiv. Research & Reproducibility Portal: https://basyirin-dev.github.io/sigma-model/},
url = {https://github.com/basyirin-dev/sigma-model}
}- Code: Licensed under the MIT License.
- Manuscripts, Figures & Data: Licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).