aiqbench analysis
This research identifies "recurrent-state write-back" as a critical failure mode in low-precision inference, where deterministic 4-bit state storage can amplify estimation errors by hundreds of times compared to continuous propagation. The study demonstrates that specific interface designs, such as error feedback and residual memory mechanisms, can recover accuracy without retraining the model, challenging the assumption that higher precision always yields better results in recurrent networks. These findings provide essential guidance for deploying quantized models in time-series applications like molecular imaging where state stability is paramount.
When Quantization Breaks Memory: Recurrent-State Write-Back in Low-Precision Temporal Inference
From arXiv
Full textQuantization 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 {\tau}1 and the long-lived component {\tau}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 {\tau}1 and {\tau}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.
Full text under the publisher's open licence · 262 words