When Quantization Breaks Memory: Recurrent-State Write-Back in Low-Precision Temporal Inference
Abstract
Quantization is widely used to reduce the computational and memory demands of neural-network inference. In recurrent networks, however, the quantized state is stored and returned at the next time step, so the rule used to store that state can alter subsequent computations. Here, we introduce recurrent-state write-back to denote this rule and isolate its effect in a compact GRU encoder--decoder for fluorescence lifetime imaging, a molecular imaging modality used in quantitative biological imaging. A central task is estimating two lifetime parameters, the short-lived component τ1 and the long-lived component τ2, from high-noise time-resolved fluorescence signals. Holding the trained model fixed, replacing continuous state propagation with deterministic 4-bit state storage increases estimation errors for τ1 and τ2 by approximately 70x and 300x, respectively. Failure occurs when repeated small updates remain below the write threshold, leaving the stored state nearly fixed while the network continues to propose change. Error feedback, residual memory, and direction memory carry information from these suppressed updates across time and recover accuracy without retraining. Precision sweeps show that increasing state precision can worsen a fixed recurrent solution, while matched training shows that compatibility with the state interface can be learned. To test whether this behavior extends beyond the GRU, we repeat the post-training intervention in an independently trained LSTM, where coarse write-back reproduces the failure, error feedback restores accuracy, and state-specific interventions reveal greater sensitivity of the cell state than the hidden state. Our results establish recurrent-state write-back as a key determinant of low-precision recurrent dynamics and identify the state-storage interface as a central design consideration for quantized recurrent inference.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, physics.optics, q-bio.QM
- Comments
- 28 pages, 8 figures
Related papers
HEAR, SEE, SPIKE ONCE: Highly Efficient NeuroAI Temporal Neural Networks for Low-Precision Multimodal Audio-Visual Classification and Online Learning
Shared title terminologycs.AIShanmuga Venkatachalam, Quinn Jacobson, John Paul Shen
GreenDynaMix: Thermal-Aware Dynamic Mixed-Precision MoE LLM Inference Systems
Shared title terminologycs.AIHan-Yi Lin, Kieran Griperay, Qiang Zhou et al.
Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM
Shared title terminologycs.AISergii Kozyrev, Davyd Maiboroda
Transfiver: Human-AI Co-Inference through a Shared Editable State
Shared title terminologycs.AIMinji Park, Seunghyun Yoon, Hyuk Lim
PoseVLN: Learning Geometric State Evolution for Vision-Language Navigation
Shared title terminologycs.AIPengyu Hou, Mingfei Han, Haihong Hao et al.
XMind: Thinking Twice via Cross-Memory Reasoning for LLM-Based Autonomous Driving
Shared title terminologycs.AIZuyi Guo, Xianjie Dai, Lei Yang et al.