Bounded Commuting Cochain Layer
Implementation & benchmark of arXiv:2607.07457 — An Approximate Bounded Cochain Projection
Source paper: An Approximate Bounded Cochain Projection arXiv:2607.07457 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace independently predicted node, edge, and face features on a simplicial mesh by a coupled projection layer that is idempotent, bounded in a mass-matrix norm, and approximately commutes with the discrete exterior derivative. The layer can be inserted after an ordinary graph-neural update and should suppress topologically inconsistent feature components without requiring the downstream network to learn these constraints from data.
Formulas
Mathematical statement
The paper works with the de Rham complex $\mathbb{R}\hookrightarrow H\Lambda^{(0)}(\Omega)\xrightarrow{\mathrm d}H\Lambda^{(1)}(\Omega)\xrightarrow{\mathrm d}\cdots\xrightarrow{\mathrm d}H\Lambda^{(n)}(\Omega)\to0$, where $H\Lambda^{(k)}(\Omega)$ is the Hilbert space of square-integrable $k$-forms whose exterior derivative is also square-integrable. Its $L^2$ inner product is $(\alpha^{(k)},\beta^{(k)})=\int_\Omega\alpha^{(k)}\wedge\star\beta^{(k)}$, and the associated norm is $\|\alpha^{(k)}\|_{L^2\Lambda^{(k)}(\Omega)}^2=(\alpha^{(k)},\alpha^{(k)})$. The finite-dimensional target spaces are $H\Lambda_h^{(k)}(\Omega)\subset H\Lambda^{(k)}(\Omega)$. A canonical projector is represented as $\Pi_{\mathscr C}^{(k)}=I_h^{(k)}\mathcal S^{(k)}$, with smoothing $\mathcal S^{(k)}:H\Lambda^{(k)}(\Omega)\to C^\infty\Lambda^{(k)}(\Omega)$ and interpolation $I_h^{(k)}:C^\infty\Lambda^{(k)}(\Omega)\to H\Lambda_h^{(k)}(\Omega)$. The stated target properties are $\Pi_k^2=\Pi_k$, a uniform bound $\|\Pi_k u\|_{H\Lambda^{(k)}}\le C\|u\|_{H\Lambda^{(k)}}$, and $\mathrm d_h\Pi_k=\Pi_{k+1}\mathrm d$ on contractible domains, or $\|\mathrm d_h\Pi_k-\Pi_{k+1}\mathrm d\|\le\varepsilon$ on general domains. In the neural adaptation, $d_k$ is the signed simplicial incidence matrix from $k$-simplices to $(k+1)$-simplices, $M_k$ is a positive-definite diagonal or sparse mass matrix, $P_k$ is the learned-compatible projection at degree $k$, and $\varepsilon_k=\|d_kP_k-P_{k+1}d_k\|_{M_k\to M_{k+1}}$ is the measured commutation defect.
Implementation notes
Integrate this layer into a simplicial graph neural network immediately after a message-passing block, operating jointly on feature matrices $Z_k$ for $k$-simplices. Start with a triangle or tetrahedral mesh and construct signed incidence matrices $d_k$; verify numerically that $d_{k+1}d_k=0$. Estimate a sparse mass matrix $M_k$ from simplex volumes; for a first MVP, diagonal volume weights or $M_k=I$ are sufficient. Choose a low-dimensional compatible subspace with basis matrix $Q_k$, and orthonormalize it under the mass metric so that $Q_k^TM_kQ_k=I$. For each degree, compute raw features $Y_k=Z_kA_k$, where $A_k$ is a learned channel projection, then apply $P_k(Y_k)=Q_kQ_k^TM_kY_k$. If an explicit smoothing/interpolation pipeline is desired, first apply several Jacobi steps to a simplex adjacency or Hodge-Laplacian operator and then apply the same mass-weighted projection. Pseudocode: construct $d_k,M_k,Q_k$; for each batch compute $Y_k$; set $U_k=Q_k^TM_kY_k$; set $\widehat Z_k=Q_kU_k$; compute $D_k=d_k\widehat Z_k$; compute the commutation penalty $L_{\mathrm{comm}}=\lambda\sum_k\|d_kP_k(Y_k)-P_{k+1}(d_kY_k)\|_{M_{k+1}}^2$; feed $\widehat Z_k$ to the next block; backpropagate task loss plus this penalty. The mathematical quantities are the mass-weighted projector, idempotence, and incidence relation. Estimate $\|P_k^2-P_k\|$ and the commutation defect using random probe vectors and power iteration. First test a 4-layer mesh GNN on a small PDE surrogate or molecular mesh classification benchmark against ordinary independent node/edge features and a hard incidence-constrained baseline. Measure validation accuracy, training loss at equal FLOPs, gradient-norm variance, projection idempotence error, and $\max_k\varepsilon_k$ under mesh refinement and perturbation. Success means a lower commutation defect and gradient variance with no accuracy loss, or improved accuracy at equal parameter count.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: No measurable effect
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 8/10
Built a mass-weighted bounded cochain projection MVP on an oriented filled triangle. The compatible projector was idempotent, norm-bounded by one, and commuted with incidence to machine precision, while an equal-rank independent projector had defects of 1.66 and 1.47. Across five seeds, denoising MSE improved from 0.4935 ± 0.0075 to 0.4177 ± 0.0108, a 15.4% mean reduction, so the claimed effect was observed in this toy setting.
- Agent confidence
- 8/10
- Baseline
- No-projection control: MSE 0.5062 for seed 17; five-seed mean 0.4935 ± 0.0075.
- Idea
- Compatible mass projection: MSE 0.4389 for seed 17; five-seed mean 0.4177 ± 0.0108; mean relative reduction 15.36%. Idempotence and compatible commutation defects were approximately 1e-16, and mass operator norms were 1.0.
Limitations: This is a single-triangle toy regression, not a full multi-layer simplicial GNN or PDE/molecular benchmark. The subspaces are fixed, P0 is the identity, and learned commutation penalties, mesh refinement, larger sparse complexes, FLOPs, GPU behavior, classification accuracy, gradient variance, and generalization were not tested.
How to run: python3 cochain_mvp.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.07457)
Ahead of the baseline (−0.6%) but not statistically significant (p=0.5406, wins 4 / 8 paired seeds).
- Benchmark
- Simplicial_cochain_regression
- Model
- cochain_mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 0.1284
- Idea mean
- 0.1276
- Effect (Δ)
- -0.0008 (−0.6%; negative = idea better)
- Wins
- 4 / 8 paired seeds
- p-value
- 0.5406 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1.9%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
The custom task uses a filled triangle rather than larger refined meshes, PDE fields, or molecular graphs. The experiment used a small MLP and 24 epochs; FLOPs, gradient variance, learned subspaces, smoothing variants, and multi-layer GNN scaling were not tested.
How to run: python3 stage2_bench.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 9/10
Implemented and ran the full 8-seed custom simplicial cochain benchmark with a parity-matched baseline sweep. The mass-weighted projector satisfied the mathematical checks to machine precision and the trained-model boundary-residual signature was strongly confirmed, but test MSE improved only from 0.1284407 to 0.1276272 with paired permutation p=0.5406, so the effect was not statistically significant and does not count as a benchmark win.
- Baseline
- Best full-grid baseline lr=0.003: MSE 0.1284407 ± 0.0103335 across 8 seeds.
- Idea
- Best idea lr=0.003: MSE 0.1276272 ± 0.0117133 across 8 seeds; paired delta=-0.0008135, 4/8 wins, permutation p=0.5406.
- Math check
- d1*d0 max=0; compatible projector idempotence=4.05e-16; mass norm=1.0; commutation defects 8.40e-16 and 2.00e-16; independent-control defects 1.633.
- Mechanism signature
- Trained-model face-boundary RMS decreased from 0.6453003 baseline to 3.95e-08 idea, reduction 99.99999%, confirmed=true.
Benchmark result
Ahead of the baseline (−0.6%) but not statistically significant (p=0.5406, wins 4 / 8 paired seeds).
- Benchmark
- Simplicial_cochain_regression
- Model
- cochain_mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 0.1284
- Idea mean
- 0.1276
- Effect (Δ)
- -0.0008 (−0.6%; negative = idea better)
- Wins
- 4 / 8 paired seeds
- p-value
- 0.5406 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1.9%
- Mechanism
- Confirmed ✓
- Practical effect
- No effect
- Baseline tuning
- swept over 3 configs
The custom task uses a filled triangle rather than larger refined meshes, PDE fields, or molecular graphs. The experiment used a small MLP and 24 epochs; FLOPs, gradient variance, learned subspaces, smoothing variants, and multi-layer GNN scaling were not tested.
How to run: python3 stage2_bench.py
Artifacts
- bench_report.json 5.3 KB View Raw
- cochain_mvp.py 4.2 KB View Raw
- cochain_track.py 1.1 KB View Raw
- report.md 1.4 KB View
- report_bench_2026-09-04T173030.md 4.5 KB View
- results.json 1.1 KB View Raw
- stage2_bench.py 5.6 KB View Raw