Abstract
While Recurrent Neural Networks (RNNs) are the standard for handling partially observable environments in reinforcement learning, this paper demonstrates that "auxiliary inputs"—simple, hand-crafted features that summarize history or predict the future—can often outperform or significantly enhance complex neural architectures. By unifying these techniques into a single framework, we show that these inputs help "de-alias" observations and provide a more expressive geometry for learning value functions.
Introduction
In real-world reinforcement learning (RL), agents rarely have access to the full state of the environment. This partial observability requires the agent to construct an "agent state" from its history. While RNNs like LSTMs are the default solution, they are computationally expensive and struggle with long-term dependencies due to Truncated Backpropagation Through Time (T-BPTT). This paper formalizes the use of "auxiliary inputs"—extra features like decaying traces or belief states—which have been used successfully in specialized applications but lack a general framework.
Methods and Formalization
We define auxiliary inputs as a function $M$ mapping an agent's trajectory to a fixed-length vector. We categorize these into three main types:
- Exponential Decaying Traces (Past): These act as "timers" for events, maintaining a weighted sum of past observations. They are computationally cheap and provide high temporal depth.
- Approximate Belief States via Particle Filters (Present): These use an environment model to maintain a probability distribution over the agent's actual state, explicitly modeling uncertainty.
- Likelihood Predictions (Future): These use General Value Functions (GVFs) to predict the probability of future events (e.g., "How likely is it that a reward will appear in 10 steps?").
These inputs act as feature expansions, allowing even simple linear functions to represent complex, history-dependent policies.
Experimental Evaluation
We evaluate these inputs across several tasks designed to test different aspects of partial observability:
- The Lobster Environment: A grid world requiring memory of recent "emptying" actions to decide where to go next.
- Modified Compass World: A localization task where the agent only sees the color of the wall directly in front of it.
- RockSample(7, 8): A classic POMDP involving noisy long-range sensors.
- Fishing Environments: High-dimensional pixel-based tasks featuring stochastic currents, testing the scalability of auxiliary inputs and their synergy with RNNs.
Results and Geometric Insights
Our results show that auxiliary inputs can outperform LSTMs in tasks like Compass World and RockSample. Crucially, they are complementary to RNNs; adding a decaying trace to an LSTM significantly improved performance in the complex Fishing 2 environment. This suggests that hand-coded heuristics can provide a "scaffold" that helps neural networks learn more complex representations.
A key insight is "de-aliasing through geometry." In partially observable tasks, different underlying states often produce identical observations (aliasing). Auxiliary inputs expand the feature space, separating these states and creating a smooth manifold for the value function. This allows the agent to interpolate between states rather than jumping discontinuously, facilitating more stable learning and efficient temporal credit assignment.
Conclusion
Auxiliary inputs provide a powerful, efficient alternative to pure neural architectures for state construction. While currently requiring some domain knowledge, they offer a robust way to address the limitations of temporal credit assignment in partially observable domains. Future work should focus on the automatic selection of these inputs to reduce manual engineering requirements.
Summary updated