Learning Length-Extrapolatable Recurrent Models
Read the original on arXiv Machine Learning →The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The paper investigates why recurrent models often fail to generalize beyond their training horizon, noting that vanishing or exploding gradients are not the sole cause. It introduces the concept of state credit—the influence of future losses on earlier recurrent states—and proposes Credit Stabilization through Time (CST), a method that rescales this signal during backpropagation to stabilize its norm. Experiments on synthetic and real data show that CST enables models to perform well up to 128 times longer than their training length.
arXiv:2606. 06479v1 Announce Type: new Abstract: Training recurrent neural networks (RNNs) requires assigning credit across long sequences of computations.
Truncated backpropagation through time (TBPTT) limits gradient calculations to shorter temporal windows, creating two boundary effects: missing past information disturbs forward state evolution, and truncating backward recursion omits future information. By decoupling the interval over which gradients are averaged from the surrounding context, and assuming exponential decay of state‑transition Jacobians, the authors prove a two‑sided gradient turnpike property: the error between truncated and full‑context gradients decays exponentially from both boundaries. They provide bounds on the averaged update gradient, guaranteeing gradient alignment and approximate stationarity, and under unbiased sampling and a Polyak‑Łojasiewicz condition, they bound the optimality gap, with numerical experiments on the Wiener‑Hammerstein benchmark illustrating the trade‑off between predictive performance and computational cost.
Dynamic Compression in Recurrent Networks proposes a method that lets recurrent models revisit and revise their fixed-size state through additional updates, rather than compressing all information in a single causal pass. This approach allows the model to retain lower-fidelity history and refine only the relevant parts when needed, reducing the required state size for accurate task reuse. Experiments show that dynamic compression lowers the recurrent state needed and scales better as the number of stored functions increases.
arXiv:2610.34833v1 Announce Type: cross Abstract: Natural intelligence learns from a continuous stream of sensorimotor experience: data can arrive at high bandwidth, and behavior adapts to feedback a...
Dynamic Compression in Recurrent Networks proposes a method for recurrent models to selectively revisit and update past tokens, rather than compressing all history in a single causal pass. By allowing the model to refine its fixed-size state only when needed, it can maintain lower-fidelity information in the raw sequence and revisit it later. Experiments show that this selective re-scanning reduces the recurrent state needed for accurate task reuse and scales better as the number of stored functions increases.