{
 "artifacts": [
  {
   "name": "bench_report.json",
   "url": "https://synthcore.org/code/1217/bench_report.json"
  },
  {
   "name": "official_stage2.py",
   "url": "https://synthcore.org/code/1217/official_stage2.py"
  },
  {
   "name": "parity_experiment.py",
   "url": "https://synthcore.org/code/1217/parity_experiment.py"
  },
  {
   "name": "report.md",
   "url": "https://synthcore.org/code/1217/report.md"
  },
  {
   "name": "report_bench_2026-09-03T122941.md",
   "url": "https://synthcore.org/code/1217/report_bench_2026-09-03T122941.md"
  },
  {
   "name": "stage2_bench.py",
   "url": "https://synthcore.org/code/1217/stage2_bench.py"
  }
 ],
 "category": "architecture",
 "description": "When a model, dataset, or parameterization has an involutive symmetry, transform gradients and curvature into symmetry sectors before applying adaptive updates. The Hessian and optimizer can then be handled as independent even and odd blocks, preventing curvature from one sector from forcing an unnecessarily conservative learning rate in the other.",
 "download_zip": "https://synthcore.org/download/1217",
 "formulas_latex": [
  "$$R^2=I,\\qquad P_{+}=\\frac{I+R}{2},\\qquad P_{-}=\\frac{I-R}{2},\\qquad P_{+}P_{-}=0.$$",
  "$$Q=[B_{+}\\mid B_{-}],\\qquad Q^{T}HQ=\\begin{pmatrix}H_{+}\u00260\\\\0\u0026H_{-}\\end{pmatrix},\\qquad H_{\\pm}=B_{\\pm}^{T}HB_{\\pm}.$$",
  "$$\\eta_{\\pm,c}=\\frac{2}{\\lambda_{\\max}\\!\\left(A_{\\pm}^{1/2}H_{\\pm}A_{\\pm}^{1/2}\\right)},\\qquad \\Delta\\theta_{\\pm}=-\\eta_{\\pm}A_{\\pm}P_{\\pm}g.$$",
  "$$S^{T}HS=H\\ \\Longrightarrow\\ P_{+}HP_{-}=0;\\qquad S^{T}S\\ne I\\ \\Longrightarrow\\text{use the generalized pencil }(H,G),\\ G=Q^{T}Q.$$"
 ],
 "id": 3026,
 "implementation": "Choose a concrete involution with a known network meaning. The cheapest test is a two-branch MLP or CNN with branch-swap symmetry: $S$ swaps the branch parameters, so $P_+$ gives shared or even parameters and $P_-$ gives antisymmetric or odd parameters. A second test is a transformer with paired attention heads, where $S$ exchanges each head pair. At every step compute $g_+=P_+g$ and $g_-=P_-g$, maintain separate RMS or diagonal curvature estimates $A_+$ and $A_-$, and update $\\theta\\leftarrow\\theta-\\eta_+A_+g_+-\\eta_-A_-g_-$. Estimate each sector's top generalized curvature by one Hutchinson or Lanczos pass restricted to that sector. If the implemented symmetry is only a coordinate relabeling with a non-Euclidean parameter metric, construct a basis $Q=[B_+|B_-]$ by eigendecomposition of $S$ and solve $H_\\pm v=\\lambda G_\\pm v$ with $G_\\pm=B_\\pm^TB_\\pm$ rather than treating the basis as orthonormal. The paper supplies the parity-sector and non-orthogonal congruence reduction; curvature estimates and optimizer states are empirical. First experiment: train a two-branch CIFAR-10 CNN with tied initialization and branch-swap-invariant loss, comparing AdamW against sector-wise AdamW. Log $\\lambda_{\\max,+}$, $\\lambda_{\\max,-}$, gradient norms, and validation accuracy. The prediction is that the measured stable step-size boundary for independently scaled sectors follows $\\eta_{\\pm,c}=2/\\lambda_{\\max,\\pm}$ within 20%, and that one sector can tolerate at least a 1.5-fold different learning rate whenever its top curvature differs by that factor.",
 "math_summary": "For a reflection operator $R$ satisfying $R^2=I$, the paper constructs bases $B_+$ and $B_-$ for the $+1$ and $-1$ eigenspaces and, in the orthogonal case, forms $Q=[B_+\\mid B_-]\\in O(6)$. Reflection-invariant quadratic forms become block diagonal in these coordinates: $Q^THQ=\\operatorname{diag}(H_+,H_-)$, so generalized eigenvalues and degeneracies can be computed independently. The paper also emphasizes that a symmetry action may be non-orthogonal, in which case $Q$ is invertible but $Q^TQ\\ne I$; the correct reduction is by congruence using metric matrices rather than by assuming Euclidean orthogonality. For neural networks, let $S\\in\\mathbb R^{d\\times d}$ be an involutive parameter transformation preserving the loss locally or exactly. Define projectors $P_+=(I+S)/2$ and $P_-=(I-S)/2$. If $S^THS=H$, then $P_+HP_-=0$ and the local quadratic model separates into even and odd sectors. Sector-specific preconditioners $A_+$ and $A_-$ can use separate step sizes with stability ceilings $\\eta_\\pm\u003c2/\\lambda_{\\max}(A_\\pm^{1/2}H_\\pm A_\\pm^{1/2})$.",
 "math_tags": [
  "linear-algebra",
  "spectral-theory",
  "geometry",
  "optimization"
 ],
 "ml_areas": [
  "optimizer",
  "cnn",
  "transformer",
  "training-dynamics"
 ],
 "paper": {
  "arxiv_id": "2609.01857",
  "arxiv_url": "https://arxiv.org/abs/2609.01857",
  "summary_what_math_gives_to_ml": "The paper provides a constructive Hessian decomposition in pair space: the constrained Hessian is a congruence-restricted ambient Hessian, and it splits into a positive-semidefinite gap Laplacian plus a signed transverse Laplacian containing all negative curvature. For non-collinear planar four-body configurations, the signed component has rank two, yielding a sharp low-dimensional description of instability and Morse index. Reflection symmetry further reduces the generalized eigenproblem into parity sectors, including a non-orthogonal reduction when the symmetry is not Euclidean-orthogonal. These mechanisms transfer well to neural-network optimization as low-rank negative-curvature tracking and symmetry-adapted Hessian/preconditioner blocks with measurable instability thresholds.",
  "title": "The Hessian of Planar Central Configurations in Pair Space: Decomposition, Morse Index and Symmetry Reduction",
  "year": "2026"
 },
 "ratings": {
  "difficulty": 4,
  "novelty": 6,
  "usefulness": 7
 },
 "solves": [
  "stability",
  "speedup",
  "generalization"
 ],
 "title": "Parity-block curvature preconditioner",
 "url": "https://synthcore.org/idea/3026/parity-block-curvature-preconditioner",
 "verification": {
  "benchmark": {
   "track": "tabular",
   "model": "two_branch_mlp",
   "n_seeds": 8,
   "metric_direction": "lower is better",
   "comparison": {
    "baseline_mean": 0.23951114527881145,
    "idea_mean": 0.3616223409771919,
    "delta_mean": 0.12211119569838047,
    "per_seed_diffs": [
     0.09754791855812073,
     0.035807326436042786,
     0.03609192371368408,
     0.15759460628032684,
     0.12818443775177002,
     0.047558724880218506,
     0.254081130027771,
     0.2200234979391098
    ],
    "idea_wins": 0,
    "n_pairs": 8,
    "p_value": 0.0081,
    "mde": 0.0701771215456511,
    "mde_rel_pct": 29.300148627304555,
    "verdict": "idea worse (significant)",
    "system_worked": false
   },
   "baseline": {
    "best_cfg": {
     "lr": 0.01
    },
    "sweep": [
     {
      "cfg": {
       "lr": 0.001
      },
      "mean": 0.3566400483250618
     },
     {
      "cfg": {
       "lr": 0.003
      },
      "mean": 0.27394459396600723
     },
     {
      "cfg": {
       "lr": 0.01
      },
      "mean": 0.23046058416366577
     }
    ],
    "full": {
     "mean": 0.23951114527881145,
     "std": 0.04028734767167621,
     "per_seed": [
      0.1893874704837799,
      0.2472962588071823,
      0.2523687779903412,
      0.23278982937335968,
      0.1838403344154358,
      0.25920143723487854,
      0.3209288716316223,
      0.2302761822938919
     ],
     "n": 8
    }
   },
   "idea": {
    "mean": 0.3616223409771919,
    "std": 0.09797382371900515,
    "per_seed": [
     0.28693538904190063,
     0.2831035852432251,
     0.28846070170402527,
     0.3903844356536865,
     0.3120247721672058,
     0.30676016211509705,
     0.5750100016593933,
     0.4502996802330017
    ],
    "n": 8
   },
   "mechanism_signature": {
    "confirmed": true,
    "prediction": "branch-swap parity separates even and odd gradient energy",
    "ratio_minus_over_plus": 0.6967108460270031,
    "trained_model_gradient_norms_minus": 0.05150565393582205,
    "trained_model_gradient_norms_plus": 0.0739268725739474
   },
   "custom_track": null
  },
  "mechanism_confirmed": true,
  "peer_reviewed": false,
  "practical_verdict": "harms",
  "stage1_mechanism_check": {
   "worked": true,
   "confidence": 8,
   "verdict": "Built a readable parity-sector quadratic preconditioner experiment with orthogonal and non-orthogonal involutions. The orthogonal check observed numerical block decoupling (cross-block norm 7.4e-15), a 15x sector curvature ratio, and stability boundaries matching 2/lambda_max: 0.99x was stable while 1.01x was unstable in both sectors. Sector-specific steps reduced loss substantially faster than the conservative global step, but this is a toy quadratic result rather than evidence from a neural-network dataset.",
   "metrics": {
    "baseline": "Global step eta=0.04; loss at step 10=1.2138; final loss after 30 steps=0.1160.",
    "how_to_run": "/home/maxwelhelp/main/bin/python3 parity_experiment.py",
    "idea": "Sector steps eta_plus=0.6 and eta_minus=0.04; loss at step 10=0.3001; final loss after 30 steps=3.99e-05. Non-orthogonal generalized-pencil residuals were 4.8e-16 and 2.5e-14, while naive Euclidean sector eigenvalues differed from generalized-pencil values."
   },
   "how_to_run": "",
   "files": [
    "parity_experiment.py"
   ],
   "limitations": "No CIFAR-10 CNN, AdamW implementation, stochastic training, wall-clock/FLOP measurement, validation accuracy, or learned curvature estimator was tested. The observed win depends on an exactly known reflection symmetry and a deliberately constructed 15x sector-curvature mismatch."
  },
  "status": "mech_ok_no_baseline",
  "status_label": "Mechanism confirmed, baseline not beaten",
  "updated_at": "2026-09-03T12:29:41",
  "verdict_source": "deterministic test code (paired-seed permutation statistics)",
  "verification_axes": {
   "benchmark_mechanism": {
    "confirmed": true,
    "tested": true
   },
   "practical_benchmark": {
    "beats_baseline": false,
    "tested": true,
    "verdict": "harms"
   },
   "toy_mechanism_gate": {
    "confirmed": true,
    "tested": true
   }
  }
 }
}
