Never Reset Again: A Mathematical Framework for Continual Inference in Recurrent Neural Networks
Not on the map. Why?
Abstract (arXiv)
Recurrent Neural Networks (RNNs) are widely used for sequential processing but face fundamental limitations with continual inference due to state saturation, requiring disruptive hidden state resets. However, reset-based methods impose synchronization requirements with input boundaries and increase computational costs at inference. To address this, we propose an adaptive loss function that eliminates the need for resets during inference while preserving high accuracy over extended sequences. By combining cross-entropy and Kullback-Leibler divergence, the loss dynamically modulates the gradient based on input informativeness, allowing the network to differentiate meaningful data from noise and maintain stable representations over time. Experimental results demonstrate that our reset-free approach outperforms traditional reset-based methods when applied to a variety of RNNs, particularly in continual tasks, enhancing both the theoretical and practical capabilities of RNNs for streaming applications.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 34 references that are in the map. First posted on arXiv 20 Dec 2024.
Builds on
19 of 34 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 752
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2019Surrogate Gradient Learning in Spiking Neural Networkscited by 626
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2021Accurate and efficient time-domain classification with adaptive spiking recurrent neural networkscited by 115
- 2016Neural Machine Translation in Linear Timecited by 66
7 more
- 2023Decoupled Kullback-Leibler Divergence Losscited by 58
- 2023Lyapunov-Stable Deep Equilibrium Modelscited by 10
- 2020Catplayinginthesnow: Impact of Prior Segmentation on a Model of Visually Grounded Speechcited by 9
- 2021Formal Language Theory Meets Modern NLPcited by 9
- 2020Reservoir Memory Machines as Neural Computerscited by 3
- 2016Surprisal-Driven Feedback in Recurrent Networkscited by 2
- 2021Generative Models of Brain Dynamics -- A reviewcited by 2
Built on by
Not cited yet.