Transfer-Spectrum Pseudo-Transition Scheduler
Implementation & benchmark of arXiv:2607.21359 — Thermal pseudo-transitions in a frustrated spin-pseudospin sawtooth chain
Source paper: Thermal pseudo-transitions in a frustrated spin-pseudospin sawtooth chain arXiv:2607.21359 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Represent the propagation of hidden states, layer states, or optimizer states by a locally estimated transfer operator and monitor its leading eigenvalue gap. When two dominant modes undergo an avoided crossing, reduce the update scale or increase damping; after the gap reopens, restore the normal schedule. This imports the paper's sharp-but-continuous pseudo-transition mechanism rather than treating instability as a binary divergence event.
Formulas
Mathematical statement
Let T(theta) be an effective transfer operator, where theta is a training, layer, or input-control parameter, and let lambda_0, lambda_1, and lambda_2 be its eigenvalues ordered by magnitude. The free-energy analogue is f(theta) = -log(lambda_0(theta)), and the spectral correlation length is xi(theta) = [log(lambda_0(theta) / abs(lambda_1(theta)))]^{-1}. If two uncoupled modes have eigenvalues a(theta) and b(theta), a finite coupling g creates an avoided crossing with eigenvalues lambda_plus and lambda_minus. The response becomes largest near a(theta) = b(theta), while long-range memory can instead be controlled by another subleading eigenvalue. The scheduler uses the normalized gap G and the projection entropy H to detect this pseudo-transition.
Implementation notes
Integrate this into an optimizer for a small tanh RNN, state-space model, or deep residual network. Treat a minibatch of consecutive hidden states h_t as samples from a local propagation process. Every K optimization steps, estimate a low-rank transfer operator T by fitting h_{t+1} approximately equal to T h_t for linear models, or by using Jacobian-vector products J_t v = partial h_{t+1} / partial h_t times v and randomized Arnoldi iteration for nonlinear models. Compute the two or three eigenvalues with largest magnitude, normalize by the largest magnitude, and estimate p_k from projections of the current state batch onto the corresponding eigenvectors. Pseudocode: collect hidden states; run m power or Arnoldi iterations; obtain lambda_0, lambda_1, and lambda_2; calculate G, H, and xi; if G is below its trigger and H is above its trigger, multiply the learning rate by gamma = 0.5 and optionally increase weight decay; otherwise update the learning rate using the gap controller; then perform the ordinary gradient step. The transfer-matrix interpretation is taken from the paper, whereas T, eigenvalues, and thresholds are estimated empirically. First test on a one-layer tanh RNN trained on permuted MNIST or the adding problem, comparing Adam, fixed-step SGD, and the scheduler. Sweep learning rates and locate the largest stable rate. The quantitative prediction is that gradient variance and hidden-state sensitivity peak in a narrow band where G is minimized and H rises. Damping should reduce this peak without eliminating the surrounding stable regimes. Across seeds, the measured response peak should coincide with the minimum-gap location within 20 percent, and the measured memory decay should follow C(k) proportional to exp(-k / xi) using the estimated subleading eigenvalue.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: Significantly worse ✗
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 compact transfer-spectrum scheduler prototype and an exact avoided-crossing verification in experiment.py. Across g=0.02, 0.05, 0.10, and 0.20, the measured gap/curvature response was centered at theta=0, the splitting matched 2g exactly, and xi matched the predicted base/(2g) within about 1.4%; the independently fitted memory decay also matched xi. In the small tanh-RNN adding-task comparison, the scheduler never triggered and baseline and idea were identical, so there is no observed practical training win; worked=true reflects the requested mechanism validation, not optimizer improvement.
- Agent confidence
- 8/10
- Baseline
- RNN Adam: final loss 3.6649, best loss 1.6892, last-50-step mean 3.4575, final lr 0.01, detections 0
- Idea
- Spectrum scheduler: final loss 3.6649, best loss 1.6892, last-50-step mean 3.4575, final lr 0.01, detections 0
- Toy predictions
- theta response/gap minimum 0.0 for all four couplings (predicted 0); splitting 0.04/0.10/0.20/0.40 versus predictions 2g; xi 24.997/9.992/4.983/2.466 versus 25/10/5/2.5; fitted xi slope versus 1/g 0.5005 (predicted 0.5); numerical memory xi 4.9833 versus predicted 4.9833
Limitations: Only an analytic two-mode toy transfer operator and one small one-seed RNN adding-task run were tested. The proposed scheduler was not stress-tested across learning rates or seeds, did not demonstrate damping or stability gains, and its entropy trigger remained inactive because the fitted RNN transfer spectrum was strongly single-mode.
How to run: python3 experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2607.21359)
Significantly WORSE than the tuned baseline (+4168.6%, p=0.0081, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- rnn_small
- Paired seeds
- 8
- Baseline mean
- 0
- Idea mean
- 0.0006
- Effect (Δ)
- 0.0006 (+4168.6%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 0.0081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1330.2%
- Mechanism
- Confirmed ✓
- Practical effect
- Hurts
- Baseline tuning
- swept over 6 configs
Only the registered dynamics track and rnn_small model were tested; other tracks and broader scheduler threshold/cadence sweeps were not tested.
How to run: python3 bench_experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 10/10
The transfer-spectrum scheduler was evaluated against Adam on the registered dynamics/rnn_small benchmark using eight paired seeds and shared hyperparameter grids. It significantly worsened test MSE: paired delta_mean=0.0005634508496541457 and permutation p_value=0.0081, so the required verdict is false. The trained-model mechanism signature triggered on all 64 epoch checks, but this did not produce a task-metric improvement.
- Baseline
- 8-seed test MSE mean 1.35165529400183e-05
- Idea
- 8-seed test MSE mean 0.000576967402594164
- Paired delta
- 0.0005634508496541457
Benchmark result
Significantly WORSE than the tuned baseline (+4168.6%, p=0.0081, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- rnn_small
- Paired seeds
- 8
- Baseline mean
- 0
- Idea mean
- 0.0006
- Effect (Δ)
- 0.0006 (+4168.6%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 0.0081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±1330.2%
- Mechanism
- Confirmed ✓
- Practical effect
- Hurts
- Baseline tuning
- swept over 6 configs
Only the registered dynamics track and rnn_small model were tested; other tracks and broader scheduler threshold/cadence sweeps were not tested.
How to run: python3 bench_experiment.py
Artifacts
- bench_experiment.py 5.1 KB View Raw
- bench_report.json 3.6 KB View Raw
- experiment.py 5.6 KB View Raw
- report.md 1.8 KB View
- report_bench_2026-08-31T161455.md 5.1 KB View
- results.json 98.0 KB View Raw