FDT-Calibrated Rotational Optimizer / REPORT.md
Mechanism confirmed, baseline not beaten
FDT-Calibrated Rotational Optimizer MVP
Implementation
experiment.py implements the rank-two skew update
A = alpha (u v^T - v u^T), followed by theta <- theta + eta(-g + A g).
It also contains a conservative alpha controller, a linear two-dimensional dynamics sweep, Lyapunov covariance verification, and a small CUDA/CPU-safe MLP regression comparison against SGD, momentum SGD, and Adam.
Toy mechanism verification
Parameters were s=0.4, eta=0.5, and D=0.7, with J=-sI+aK.
-
Discrete stability boundary. The prediction is
rho(I+eta J)=sqrt((1-eta*s)^2+(eta*a)^2)and instability begins ata*=sqrt(2s/eta-s^2)=1.2. Independent bisection on the actual update matrix measureda*=1.1999999999999997, relative error1.85e-16. The sweep was stable ata=1.1571(rho=0.98729) and unstable ata=1.3886(rho=1.05926), correctly bracketing the transition. -
Damped envelope. The predicted per-step log envelope is
log(rho). Across all eight values ofafrom 0 to 1.62, the fitted trajectory slope matched the prediction to approximately1e-15; examples: ata=0.6943, observed-0.1368842166versus predicted-0.1368842166, and ata=1.3886, observed0.0575709546versus predicted0.0575709546. -
Oscillation frequency. The predicted discrete angular frequency is
atan2(eta*a, 1-eta*s). The measured phase slope matched at every sweep point; examples:a=0.4629, observed/predicted0.2815984218, anda=1.1571, observed/predicted0.6261367182radians per step. Frequency is zero whena=0and increases with skew strength. -
Stationary covariance. Solving the Lyapunov equation numerically produced
C=(D/s)I=1.75Ifora=0, 0.3, 0.8; off-diagonal values were below1.3e-16. This confirms the isotropic-noise prediction that rotation changes response/trajectory but not the stationary covariance in this special case.
These checks confirm the claimed antisymmetric complex-eigenvalue mechanism and its discrete stability condition.
Mini-experiment
Fixed-seed 500-step, batch-64 training of a 12-32-1 tanh MLP on a synthetic regression task, run on CUDA. Final full-dataset MSE:
| Optimizer | MSE | seconds | |---|---:|---:| | SGD | 0.0407253 | 1.157 | | Momentum SGD | 0.0191641 | 0.928 | | Adam | 0.0208938 | 1.239 | | Rotational optimizer | 0.0364512 | 2.695 |
The proposed optimizer was worse than momentum SGD and Adam and took about 2.3x the SGD runtime in this implementation. Thus the mechanism is real, but no practical optimization win was observed in this tiny test.
Reproduction
/home/maxwelhelp/main/bin/python3 experiment.py
Results are written to results.json.
Limitations
The requested finite-difference Jacobian/Arnoldi stability estimator, MNIST experiment, empirical fluctuation-response perturbation residual, and alpha sweep on a real network were not implemented. The toy covariance test uses isotropic noise and therefore cannot demonstrate alpha-dependent FDT residuals. The MLP comparison uses one seed and synthetic regression rather than MNIST.