Breaking the Backward Precision and Shift-Invariance Walls of 3D Optical LLM Pretraining: WDM Input-Selective 4f Mixing and Asymmetric Physics-Aware Sleep-Wake Consolidation
Prior hardware-in-the-loop (HIL) pretraining of 3D optical-native LLMs (HoloFormer-3D v1) exposed two hard ceilings: (i) propagating gradients backward through 16 noisy 6-bit optical layers with 2% thermal drift triggers 10–50x gradient-norm explosions (up to 25.8), stalling both per-step optical training (R3: 7.2083, PPL 1,350.6) and dual-timescale Sleep-Wake training (R6: 6.8886, PPL 981.0); and (ii) single-kernel 4f optical Fourier convolution is shift-invariant and content-blind. This paper introduces HoloFormer-3D v2, combining two physically grounded mechanisms:(1) Asymmetric Physics-Aware Sleep-Wake Consolidation (PAT-Sleep-Wake): executes the forward pass strictly on real 6-bit Poisson shot-noise-limited, 2%-drifted static 3D optical tiles (2D-FFT Parseval pre-conditioned, updated via only 17 coarse 6-bit 15%-asymmetric PCM exposures — 265x fewer writes) while computing the backward pass through a clean digital shadow adjoint.(2) WDM Input-Selective 4f Optical Wave Mixing ("Optical Mamba"): routes tokens via lightweight electro-optic gates (alpha_t in (0,1), beta_t; <0.5% of layer params) across M=4 parallel 100% passive, zero-write multi-scale WDM optical resonator filter banks, forming a strictly causal, content-dependent rank-M bilinear sequence kernel at O(1) optical depth. Evaluated on the exact same MD5-verified 147.46M-token FineWeb-Edu pretraining benchmark (4,500 steps, V=50,257):- Replacing noisy backward with PAT-Sleep-Wake alone (R10) plunges validation loss by -1.8505 nats from 6.8886 to 5.0381 (-84.3% PPL vs R6; -88.6% PPL vs R3) at the identical 17-write budget;- Adding WDM Input-Selective 4f mixing (R11) breaks the 5.00-nat barrier at 4.9820 (PPL 145.76, outperforming R10 at all 18/18 checkpoints with fewer parameters and zero 4f mask writes) while reducing peak pre-clip gradient norm 54x vs R3 (25.79 -> 0.477);- Live noisy evaluation confirms trained R11 operates natively under 6-bit ENOB + 2% thermal drift with zero post-training quantization drop, unlocking 8.6x–17.2x inference energy savings at 7B–70B scale alongside honest 1.6x–3.2x Amdahl-bounded PAT training gains.
Authors
- Yijia Jiang
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24703645
- Primary Topic
- Neural Networks and Reservoir Computing
- Type
- preprint