In a perfect world, an autonomous agent always knows exactly where it is. In this "Markovian" setting, the current observation contains everything needed to make an optimal decision. However, real-world tasks—from navigating a drone through shifting winds to managing a predictive maintenance network—are rarely so simple. They are Partially Observable Markov Decision Processes (POMDPs), where the agent's view is just a noisy, incomplete slice of reality.
The central tension in this research area is the trade-off between memoryless policies (which act only on the current observation) and history-dependent policies (which track past events to infer hidden states). While memoryless strategies are computationally efficient and easier to verify, they are often fundamentally incapable of solving complex tasks.
The Limits of Memoryless Acting
A memoryless policy is "stationary": if an agent sees the same thing twice, it must do the same thing twice. This creates a "curse of aliasing." As Denis Steckelmacher and Diederik M Roijers point out in Reinforcement Learning in POMDPs With Memoryless Options and Option-Observation Initiation Sets, agents without history cannot distinguish between identical sensory inputs that require different responses.
This limitation isn't just a minor performance hit; it can lead to repetitive failure loops. Axel Parmentier and Victor Cohen observe in Integer programming for weakly coupled stochastic dynamic programs with partial information that a memoryless agent might repeatedly attempt an action that has already failed because it cannot remember the previous attempt.
Why History Matters for Optimality
To reach a global optimum in a POMDP, an agent usually needs a "belief state"—a probability distribution over all possible real states based on the entire history of observations and actions. Research across several domains highlights why this temporal reasoning is essential:
- Exploration: Even when a task seems Markovian, memory is vital for efficiency. Mirco Mutti and Marcello Restelli prove in The Importance of Non-Markovianity in Maximum State Entropy Exploration that memoryless agents are sub-optimal for exploration in finite trials because they cannot avoid redundant state visits within a single trajectory.
- Parameter Inference: In uncertain environments, history allows an agent to "learn" the environment's hidden characteristics. Alessandro Abate and David Parker show in Certifiably Robust Policies for Uncertain Parametric Environments that agents must use historical data to adapt to shifting parameters, like a drone adjusting to wind.
- Hidden Dynamics: Algorithms like SM-UCRL, developed by Kamyar Azizzadenesheli and Animashree Anandkumar, use spectral methods to uncover these hidden dynamics, proving that temporal reasoning is the key to "no-regret" learning in POMDPs.
Bridging the Gap: From MILP to LLMs
If memory is so important, why do we ever use memoryless policies? The answer is complexity. Computing an optimal history-dependent policy is often computationally intractable.
Recent work seeks to bridge this gap. Axel Parmentier demonstrates in Future memories are not needed for large classes of POMDPs that optimal memoryless policies can be computed efficiently via Mixed Integer Linear Programming (MILP) and can serve as a strong foundation for more complex history-dependent ones.
Furthermore, the need for history extends to explainability. Xijia Zhang and Simon Stepputtis argue in Understanding Your Agent: Leveraging Large Language Models for Behavior Explanation that if we use memoryless models to explain an agent's behavior, we fail to capture the "why" behind decisions that are rooted in past events, leading to incomplete or inaccurate explanations.