Exponential Frequency-Map Optimizer Monitor
Implementation & benchmark of arXiv:2608.02182 — Laskar's frequency map analysis revisited
Source paper: Laskar's frequency map analysis revisited arXiv:2608.02182 ⓘ · analyzed Aug 31, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Estimate persistent frequencies in a neural-network training trajectory using a smooth weighted Birkhoff average instead of a rectangular moving average. Use the estimated frequency vector to detect low-order resonances between optimizer oscillations, gradient-noise cycles, and validation-loss oscillations, then trigger a learning-rate or momentum intervention before divergence.
Formulas
Mathematical statement
The paper studies an analytic quasi-periodic signal f(t) = exp(i nu_1 t) + sum over integer vectors k not equal to e_1 of a_k exp(i times the inner product of k and nu times t), where nu is the frequency vector and the inner product is the sum of k_j nu_j. The nonresonance condition is the Diophantine inequality absolute value of the inner product of k and nu greater than kappa_epsilon divided by the one-norm of k raised to tau, for every nonzero integer vector k. For an observable g on a trajectory x(t), the weighted Birkhoff average is B_T[g] = integral from 0 to T of w(t/T) g(x(t)) dt divided by integral from 0 to T of w(t/T) dt, where w is smooth and vanishes at both endpoints. Under analyticity and nonresonance, the averaging error satisfies an exponential bound of the form absolute value of B_T[g] minus the invariant mean of g is at most C exp(-c T raised to beta). In the neural adaptation, smooth windows reduce endpoint Fourier leakage and produce more accurate estimates of dominant training frequencies.
Implementation notes
1. Integration point: instrument SGD or AdamW during training. At every step record a low-dimensional vector z_n containing the loss, validation loss when available, gradient norm, update norm, and signed projection of the gradient onto the previous update. Keep a ring buffer of N = 256 or 512 steps. Apply the smooth window w(u) = exp(-1 divided by u(1-u)) for 0 < u < 1 and w(u) = 0 at the endpoints. 2. Pseudocode: append z_n; when the buffer is full, remove its weighted mean; compute a weighted periodogram over a fixed frequency grid; select the d strongest peaks as the estimated frequency vector nu_hat; enumerate integer vectors k satisfying 0 < one-norm(k) <= K; compute the resonance score R_K; if R_K exceeds a calibrated threshold, multiply the learning rate by 0.5 and optionally reduce beta_1. Continue monitoring after the intervention. 3. Computed from the paper: the smooth weighted average, endpoint suppression principle, and low-order nonresonance test. Estimated empirically: the dominant frequencies, constants C, c, and beta, and the intervention threshold. First calibrate these quantities on a synthetic sum of incommensurate sinusoids with known frequencies. 4. First cheap experiment: train a two-layer MLP on MNIST using SGD at learning rates spanning stable, oscillatory, and divergent regimes. Compare the smooth-window monitor against a rectangular-window FFT monitor and a no-intervention control. The predicted signature is that synthetic frequency-estimation error follows log(error) approximately equal to log(C) minus c times N raised to beta over at least three buffer sizes, whereas the rectangular window shows algebraic decay. In neural runs, a low-order resonance score should cross its threshold before gradient norms or loss oscillation amplitudes increase; intervention should reduce those amplitudes and prevent divergence in at least the near-boundary learning-rate regime.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.