Train Short, Act Long: Multistability and the Horizon Independence of Recurrent Policies
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom, and with me are Jane, Lu, senior AI researcher at Tsinghua, Meng, lead engineer at a mysterious AI startup and Lalam, the in-house Large Language Model.
Jane: Today's paper: "Train Short, Act Long".
Tom: The gist In reinforcement learning, agents acting in partially observable Markov decision processes (POMDPs) must rely on memory, typically encoded in a recurrent neural network (RNN),
Jane: First, who's behind it and why it matters.
Title and authors: Tom: Let’s look at who wrote this. The authors are Asad Bakija, Florent De Geeter, Julien Brandoit, and Guillaume Drion from the University of Liège. They’re experts in areas like control and machine learning >
Jane: They came up with this concept of temporal horizon generalization as a way to formally characterize when an agent can truly generalize its learned behavior across different time scales >
Lu: The title itself, "Train Short, Act Long," suggests that the paper is proposing a method to get the benefits of training on short horizons while still achieving performance on long ones >
Meng: It sounds like they are trying to bridge the gap between having a simple training setup and needing an agent that can actually handle complex, long-running problems >
Lalam: The authors seem focused on showing that this isn't just some lucky accident with their model architecture, but there's a mathematical structure underpinning it >
The paper's summary: Tom: Okay, so what’s the main message of the paper? They look at how recurrent policies work in partially observable Markov decision processes, or POMDPs >
Jane: The paper says that agents in these systems need memory from past observations to make decisions, and long horizon POMDPs are really hard because training is inefficient and generalization is poor >
Lu: They introduce temporal horizon generalization as the property where a policy stays optimal for all horizons T greater than or equal to zero, which they say is a necessary condition for this kind of robustness >
Meng: They connect this to planning invariance, which means the agent takes the same decisions whether it’s aiming at a distant goal or just taking an intermediate step >
Lalam: The math they show on page three illustrates that this property relates to how the policy function behaves under different dynamics, specifically contrasting monostable maps with multistable maps > <ref:2605.12206#pg1>
The paper's improvements: Tom: So what are the actual improvements or new ideas they propose? They focus heavily on the idea of multistability being necessary for this generalization to happen >
Jane: They argue that a monostable map, which is like a single fixed point, can't do this because it forces the read-out function to be constant on the basin of attraction, meaning it can't distinguish between different starting points >
Lu: Conversely, they show that a multistable map allows for temporal horizon generalization when there exists a read-out function rho that is invariant within each basin and separates those basins >
Meng: So the improvement they are pushing is moving away from just any RNN architecture to one specifically designed to exhibit this multistability property >
Lalam: They contrast modern parallelizable architectures like state space models or linear gated RNNs, which are monostable by construction and fail, with nonlinear RNNs that can exhibit multistability if the encoding places the initial state in a specific basin >
Conclusion: Tom: So to wrap up, the paper suggests that for complex tasks, you need both transient dynamics and multistability to achieve horizon generalization >
Jane: They argue that transient dynamics and multistability are two essential and complementary dynamical regimes for solving long-horizon problems, rather than just one of them >
Lu: The result they show in experiments is that a hybrid architecture combining half minGRU and half BMRU can combine the capabilities of both models, giving them temporal horizon generalization with high performance on a small number of T-mazes >
Meng: It means we shouldn't just stick to one type of parallelizable RNN anymore; we need hybrid frameworks that balance transient dynamics and multistability >
Lalam: I think the real implication is that for scaling AI, we need to design these hybrid parallelizable frameworks that effectively leverage the benefits of transient dynamics alongside multistability >
Tom: That’s what it boils down to. They're pushing us toward more nuanced architectures to handle these long-horizon problems properly. We’ll talk about how they actually tested this next time >
University of Liège
cs.LG
Submitted: 2026-05-12
Updated: 2026-10-12
Comments: 38 pages, 9 figures
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
Importance score: 82/100
The gist: The gist In reinforcement learning, agents acting in partially observable Markov decision processes (POMDPs) must rely on memory, typically encoded in a recurrent neural network (RNN), to integrate
Key concepts
- Temporal Horizon Generalization (THG)
- THG is the property where a single policy works optimally regardless of the time horizon T. It means the same decision-making strategy is effective whether you are aiming for a short goal or a very distant one, implying planning invariance.
- Multistability
- Multistability occurs when a system has multiple stable states (attractors) depending on its initial conditions. In this context, it allows the RNN to have different behaviors based on where it starts, which is necessary for a policy to be optimal across various scenarios.
- Transient Dynamics
- Transient dynamics refer to the temporary behavior of a system as it moves from an initial state towards a stable equilibrium. For complex environments, these slower transient phases are crucial alongside multistability to allow the agent to settle into the correct generalized policy.
- Monostable vs. Multistable RNNs
- Monostable models have only one unique steady-state solution for any input, meaning they cannot distinguish between different starting points. Multistable nonlinear RNNs can exhibit multiple stable states, allowing them to reach THG when a suitable separating read-out function is present.
Terminology
Summary
The gist In reinforcement learning, agents acting in partially observable Markov decision processes (POMDPs) must rely on memory, typically encoded in a recurrent neural network (RNN), to integrate information from past observations, and longhorizon POMDPs present challenges like poor generalization and severe sample inefficiency that require a formal characterization of temporal horizon generalization.
Definition of Temporal Horizon Generalization
Temporal horizon generalization (THG) is defined as the property that a policy remains optimal for all horizons T ≥ 0, meaning a same policy solves the task regardless of the length of the idle phase
and this property is connected to planning invariance where agents take the same decisions regardless of whether they are given a distant goal or an intermediate waypoint
The necessary and sufficient condition for THG is that rho is a compatible and separating read-out in the sense of Definition 2.2
.
Multistability as the Key Dynamical Regime
The analysis reveals that multistability is necessary for temporal horizon generalization and, in simple tasks, sufficient
specifically when considering constant idle dynamics where the update reduces to a fixed map on H. A monostable map precludes THG because no policy architecture can achieve both simultaneously
, as a monostable model forces the read-out rho to be constant on the basin of attraction, meaning rho cannot distinguish any two initial states, including h0(σ) and h0(σ′) for σ ≠ σ′
. Conversely, multistability enables THG when there exists a read-out ρ: H → D that is invariant within each basin
and this read-out separates the basins
.
Contrast Between RNN Architectures
The paper contrasts different RNN variants based on their dynamical properties regarding THG. Modern parallelizable architectures, such as state space models (SSMs) and linear gated RNNs, are monostable by construction and consequently fail to generalize across temporal horizons
because their steady-state solutions are explicit and unique for any input x. In contrast, nonlinear RNNs can exhibit multistability, allowing them to reach THG when the encoding places h0(σ) in a specific basin Bk(σ) and a separating read-out exists.
Synergy of Dynamics for Complex Tasks
For more complex environments like the LookupTreeMaze, the research highlights that transient dynamics and multistability are both essential
because even multistable models require transient dynamics to reach equilibrium, which are considerably slower when trained on longer mazes
. The authors demonstrate this synergy by showing that an hybrid architecture combining half minGRU and half BMRU combines the capabilities of both minGRU and BMRU: THG with high performance on a small number of T-mazes
. This suggests that transient dynamics and multistability are both essential
for environments combining sparse observations with frequently updated ones.
Conclusion for Scalable Architectures
The research advocates for a shift away from monolithic parallelizable architectures, suggesting that no current parallelizable RNN exhibits both
multistability and transient dynamics and that transient dynamics and multistability are two essential and complementary dynamical regimes for horizon generalization
. The proposed direction is designing hybrid parallelizable frameworks that effectively leverage the benefits of transient dynamics alongside multistability
.
Limitations and Future Directions
A limitation noted is that reaching these policies during training is not guaranteed,
as evidenced by agents trained on long horizons failing on shorter ones. A promising avenue for future research is developing generalization-aware training strategies
to fully exploit the ability of multistable models to generalize. Furthermore, extending the analysis to environments with multiple, competing objectives and nested temporal horizons will further clarify their practical significance
.
Computation of Variability Among Attractors (VAA)
The variability among attractors (VAA) quantifies multistability by measuring the number of different stable states reached by a model from a set of initial states H under a constant input x. The paper notes that the rigorous definition involves computing limits to infinity, so an approximation is used where M, the number of iterations of f, and ϵ, the tolerance to consider two states as identical
are introduced. The VAA is defined mathematically as a ratio involving the Kronecker delta function.
Training Procedure Details
The optimal policies and value functions are approximated using proximal policy optimization (PPO) [32] and an advantage actor-critic [44] method implemented with RNNs, trained using a modified version of the LSTM PPO implementation from CleanRL [45]. The training involves 30 models for each recurrent cell (GRU, BRC, nBRC, minGRU, and BMRU) initialized with different seeds and trained for a total of 250 iterations on the T-maze benchmark. For the LookupTreeMaze experiments, 180 models were trained.
Environment Specifications
The T-maze environment is formally defined as a POMDP parameterized by the maze length L ∈ Z+, with a state space S composed of the position of the agent P and the position of the goal G, where S = P × G. The observation space O is deterministic and includes the initial observation of the goal at the first timestep, 0 otherwise
. The LookupTreeMaze environment extends this by including multiple T-mazes N:= [Nlow, Nhigh] and varying maze lengths L:= [Llow, Lhigh].
RNN Equations
The equations for the different models used are provided, including the GRU update rule where ht = zt ⊙ ht−1 + (1 − zt) ⊙ nt
and the BMRU update rule where ht = zt ⊙ S(nt) ⊙ α + (1 − zt) ⊙ ht−1
. The minGRU update equation is given by ht = zt ⊙ ht−1 + (1 − zt) ⊙ nt
and the BMRU update equation involves the term βt = Wβxt + bβ
.
Experimental Results on Generalization
Experiments show that monostable models fail to generalize on either shorter or longer mazes, whereas multistable BMRU generalizes to all maze sizes in all conditions
. Furthermore, the hybrid architecture combining minGRU and BMRU largely outperforms both architectures for a high number of T-mazes, some models maintaining an almost optimal policy to up to 10 000 T-mazes
. This indicates that at least a subset of models achieve THG
. The results show that monostable minGRU fails to generalize on either shorter or longer mazes, whereas multistable BMRU generalizes to all maze sizes in all conditions
. The paper concludes that transient dynamics and multistability are both essential
for solving long-horizon, potentially complex tasks.
Hyperparameter Summary
The training hyperparameters are summarized in Table 1, which details the settings for each benchmark, such as PPO epochs being 20 for Benchmark 1 and VF epochs being 10. The learning rate is set to Adam with a learning rate of 0.005 for the policy and 0.001 for the value function. The discount factor γ is set to 0.998 across both experiments.
Observation Distribution in LookupTreeMaze
In the LookupTreeMaze, if we assume that "1 is present n times in the lookup table with 0 < n < τ (and consequently −1 is present τ − n times in the table) then
the probability for index i is p(i gt = 1) = 1/n and
p(i gt = −1) = 1/τ−n". The observation distribution is deterministic, with specific probabilities assigned based on whether the agent has reached the far right of the maze.
Reward Function in LookupTreeMaze
The reward function for the LookupTreeMaze is defined such that rewards are given based on reaching terminal states, for example, 4 if st ∈ F/, st+1 ∈ F, pt+1 = (L − 1, g0), pt+1 = (L − 1, r), r ∈ G, r ≠ g0
. The reward is zero otherwise for non-terminal transitions.
Improvements for AI systems
-
Bold header: Multistability-based Policy Generalization for Long-Horizon POMDPs. This improved system can
remain optimal for all horizons T ≥ 0
by exploiting multistability, which is anecessary and sufficient condition
for temporal horizon generalization (THG). -
Bold header: Hybrid Parallelizable Architecture Design. The system should move away from purely monostable architectures by combining the benefits of
transient dynamics alongside multistability,
as this synergy is essential for achieving THG in complex environments like the LookupTreeMaze. -
Bold header: Robustness to Non-Constant Dynamics via Basin Invariance. The agent can maintain optimal performance even when observations fluctuate during idle phases, as
perturbations never push the hidden state across the boundary between two basins of attraction,
ensuring thata read-out ρ remains informative.
-
Bold header: Efficient Exploration and Training via Short-Horizon Pre-training. The system should be trained on shorter horizon tasks to learn an optimal policy in
only a couple of training steps, with almost no variance,
which is more efficient than training directly on long horizons where exploration ismuch more difficult.
-
Bold header: Task-Specific Read-out Function Design. To achieve generalization, the system must employ a read-out function ρ that is both
invariant within each basin
andseparating for σ,
ensuring that different initial observations lead to distinct decision representations.
Abstract
In partially observable reinforcement learning (RL), a decision often depends on a cue seen many steps earlier, and training at such horizons is costly. Ideally, a policy trained on short horizons would remain optimal at arbitrarily long ones, making the training horizon a matter of convenience. We formalize this property as delay-horizon independence (DHI): optimality at every horizon, at a memory, computation and precision cost that is bounded in the horizon. We study agents that carry the cue in a recurrent memory of fixed size, whose cost does not grow with the delay. This paper characterizes DHI through the dynamics of that memory, in theory and on benchmarks. Although quantified over all horizons, DHI reduces to a property of a single map: a recurrent policy is DHI if and only if it admits a continuous readout of the memory, invariant under the idle dynamics and separating the cues. Monostable memory then precludes DHI at any parameter values, whereas multistable memory enables it. Monostability covers all contracting affine recurrences, hence state space models and gated linear recurrent neural networks (RNNs). Under arbitrarily small perturbations of the idle dynamics, multistability is the only mechanism supporting DHI at bounded memory. On the T-maze, the effective horizon of monostable models resists hyperparameter search: selected horizons fall short by up to 745 times when retrained. Multistable models trained on short horizons stay optimal up to 10 6, on the T-maze and on MiniGrid. Current parallelizable RNNs thus trade horizon independence for scalability: parallelizable multistable architectures are the direction this points to.
Sources
- A Survey Analyzing Generalization in Deep Reinforcement Learning
- Were RNNs All We Needed?
- Scalable MatMul-free Language Modeling
- Parallelizable memory recurrent units
- The unreasonable effectiveness of the forget gate
- A Dissection of Overfitting and Generalization in Continuous Reinforcement Learning
- Proximal Policy Optimization Algorithms
- Neural Turing Machines
- State-space fading memory
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks