Lattice Error-Feedback Residual Blocks / README.md
Beats tuned baseline
Lattice Error-Feedback Residual Blocks
Run
/home/maxwelhelp/main/bin/python3 toy_experiment.py
This writes results.json and prints the same JSON.
What is tested
The toy residual stream uses scalar increments (a scalar is one component of the claimed componentwise result), nearest-lattice rounding, and fixed lattice spacing h.
identity_check: verifiesz_D = sum(Delta_t) - c_Dand checks the nearest-rounding carry bound.depth_sweep: uses the adversarial constant incrementDelta=0.49h. Full-state write-back accumulates a0.49herror each layer, while feedback remains bounded byh/2.scale_sweep: repeats the same relative increment for severalh; the normalized carry remains0.5hand absolute error scales linearly withh.random_comparison: compares full-state write-back, increment feedback, and stochastic absolute-state rounding on random residual proposals.
The experiment intentionally has no learned network: it isolates the quantization mechanism and its conservation law. No claim about CIFAR accuracy or wall-clock speed is made.