# Hessian-Spectrum Transition Monitor and Beta Controller

- ID: 1901
- Canonical URL: https://synthcore.org/idea/1901/hessian-spectrum-transition-monitor-and-beta-controller
- API JSON: https://synthcore.org/api/idea/1901.json
- API Markdown: https://synthcore.org/api/idea/1901.md
- Verification status: failed_benchmark
- Source: [arXiv:2608.06597](https://arxiv.org/abs/2608.06597)
- Category: dynamics
- Solves: stability, accuracy
- ML areas: optimizer, scheduler, training-dynamics, regularization
- Math tags: dynamical-systems, spectral-theory, optimization, control-theory
- Ratings: usefulness 7/10; difficulty 5/10; novelty 6/10

## Idea description

Use the paper's explicit Hessian dependence on learned singular values to detect when a feature mode approaches a curvature transition, then adapt weight decay or learning rate before the mode destabilizes. This turns regularization from a static hyperparameter into feedback control based on mode-wise curvature and feature amplitude.

## Mathematical statement

For mode l in an n-layer deep linear network with end-to-end singular value sigma_l, the paper gives the aligned-subspace Hessian eigenvalue lambda_l = 2[n sigma_l^(2n-2) + (2-n) beta]. Here n is depth, beta is weight decay, and sigma_l is the end-to-end singular value. For n greater than 2, curvature changes sign at sigma_l,0 = ((n-2) beta / n)^(1/(2n-2)). Negative lambda_l indicates local negative curvature in that mode, while large positive lambda_l imposes a local gradient-descent step-size ceiling approximately eta < 2/lambda_max. The proposed controller keeps active modes in a target curvature band by adjusting beta and optionally the learning rate.

## Key formulas

- lambda_l = 2[n sigma_l^(2n-2) + (2-n) beta]
- lambda_l = 0 if and only if sigma_l,0 = ((n-2) beta / n)^(1/(2n-2)), for n > 2
- eta_t < 2 / lambda_max,t for local stability of gradient descent on a positive-curvature quadratic mode
- beta_(t+1) = clip(beta_t exp(kappa (lambda_target - lambda_min,t) / lambda_target), beta_min, beta_max)

## Implementation notes

1. Integration point: add a low-frequency controller around the optimizer for a deep linear baseline, then apply it to factorized low-rank layers such as W = U V or to individual transformer MLP and projection blocks. Every K steps compute end-to-end singular values sigma_l of each factorized block, or estimate the largest values using randomized Lanczos or power iteration. 2. Pseudocode: estimate lambda_l = 2[n sigma_l^(2n-2) + (2-n) beta_t]; set lambda_max to the largest positive estimate and lambda_min to the smallest estimate; replace the optimizer learning rate by min(eta_0, 1.5 / max(lambda_max, epsilon)); update beta_t using the displayed multiplicative controller and clip it to the allowed range. If several modes have negative lambda_l, temporarily increase beta or reduce the learning rate, and decrease beta only after negative curvature disappears. 3. Taken from the paper: the mode-wise Hessian formula and zero-curvature boundary. Estimated empirically: singular values and actual Hessian curvature, which can be checked with Hessian-vector products. 4. First cheap experiment: train depth-4 linear networks on synthetic diagonal regression and compare SGD with fixed beta and eta against the controller. Sweep eta and plot divergence probability against the predicted boundary eta_c approximately equal to 2 divided by lambda_max. Separately sweep beta and verify that each measured Hessian eigenvalue crosses zero near sigma_l,0, within 20 percent. The controller should reduce oscillation or divergence when the uncontrolled run crosses eta_c.

## Verification

- Status: failed_benchmark
- Mechanism evidence: yes
- Mechanism confirmed: no
- Practical verdict: harms
- Verdict: Built a reproducible depth-4 aligned deep-linear monitor/controller in experiment.py. The curvature transition matched the predicted beta boundary to machine precision, and the gradient-descent stability boundary matched eta_c=2/Lambda across three Lambda values. The controller reduced predicted maximum curvature but worsened this toy training loss, so the mechanism manifested but no optimization win was demonstrated.

### Mechanism check

- Verdict: Built a reproducible depth-4 aligned deep-linear monitor/controller in experiment.py. The curvature transition matched the predicted beta boundary to machine precision, and the gradient-descent stability boundary matched eta_c=2/Lambda across three Lambda values. The controller reduced predicted maximum curvature but worsened this toy training loss, so the mechanism manifested but no optimization win was demonstrated.
- Confidence: 9/10
- Limitations: The stability sweep is an exact scalar quadratic recurrence, and the Hessian check uses a stationary aligned scalar mode rather than a full matrix-network Hessian-vector-product test. The controller was tested on only one small diagonal regression setup, with hand-chosen controller gains and beta bounds; no randomized Lanczos estimates, transformer blocks, FLOP-normalized comparisons, or broad hyperparameter sweep were tested.

### Practical benchmark

- Paired seeds: 8
- Baseline mean: 0
- Idea mean: 0
- p-value: 0.0081
- Paired wins: 0/8
- Benchmark verdict: idea worse (significant)

## Artifacts

- [bench_experiment.py](https://synthcore.org/code/722/bench_experiment.py)
- [bench_report.json](https://synthcore.org/code/722/bench_report.json)
- [experiment.py](https://synthcore.org/code/722/experiment.py)
- [report.md](https://synthcore.org/code/722/report.md)
- [report_bench_2026-09-01T012237.md](https://synthcore.org/code/722/report_bench_2026-09-01T012237.md)
- [results.json](https://synthcore.org/code/722/results.json)
- [Download all files as ZIP](https://synthcore.org/download/722)

## Disclaimer

AI-generated research hypothesis, automatically tested. Not peer-reviewed.
