Introduction
Learning how the world works is arguably the most challenging aspect of model-based Reinforcement Learning (RL), especially when the environment is "feature-rich" and high-dimensional. This paper introduces loreRL, a framework that uses online sparse multinomial logistic regression to automatically select relevant features while an agent interacts with its environment. By focusing exclusively on the features that actually dictate action outcomes, the agent can learn near-optimal policies significantly faster than traditional methods.
The Challenge of High-Dimensional Spaces
In model-based RL, an agent attempts to learn a transition model—a mathematical description of how its actions change the state of the world. Traditionally, researchers use Factored Markov Decision Processes (MDPs) or Dynamic Bayesian Networks (DBNs) to represent these transitions.
However, learning the structure of these networks online is computationally brutal. If a robot is processing data from hundreds of sensors, trying to figure out which specific inputs influence its movement usually leads to a combinatorial explosion. Most existing algorithms either require a human to pre-select the important features or become too slow to run in real-time. The authors aim to bridge this gap by developing an agent capable of handling high-dimensional spaces and performing feature selection on the fly without prohibitive computational costs.
Core Methodology
The authors propose two main innovations to tackle this problem:
- CMDP (Situation Calculus MDP): This is a variant of the standard MDP. Instead of trying to predict the next state directly, the model predicts action effects (relative changes). Crucially, it separates "state-identifying attributes" (like x,y coordinates) from "informative features" (like the texture of the floor). This allows the agent to plan in a compact space while using a massive feature set to understand the physics of the environment.
- mDAGL (Multinomial Dual Averaging with Group Lasso): This serves as the "brain" for feature selection. It is an online version of multinomial logistic regression that utilizes a Group Lasso penalty, treating all weights associated with a single feature as a group. If a feature doesn't help predict action effects, the algorithm truncates the entire column of weights to zero, effectively ignoring that sensor entirely.
The resulting algorithm, loreRL (RL with regularized logistic regression), updates its world model after every single action, maintaining a parsimonious (simple but effective) model of the world.
Experimental Setup
The researchers evaluated loreRL in two distinct settings:
- Simulated Grid-World: A 900-state environment where the agent moves across different surfaces (sand, water, fire). To test feature selection, the environment was intentionally flooded with hundreds of random, irrelevant binary features.
- Real-World Robotics: A three-wheeled LEGO Mindstorms NXT robot navigated a 5x5 foot arena filled with different materials (beans, soil, hay, leaves, carpet). The input space included 312 binary features derived from a camera and sensors, acting as proxies for surface materials and obstacles.
Key Findings
- Robustness to Noise: As shown in the results above, in simulations with up to 200 irrelevant features, loreRL’s performance barely dipped. In contrast, "bloreRL" (the exact same algorithm without the Group Lasso feature selection) failed to learn an effective policy as the feature space grew.
- Speed and Efficiency: In the grid-world with 210 features, loreRL took only 0.55 seconds per episode. A state-of-the-art competitor (LSE-Rmax) took 67.53 seconds—over 120 times slower. Unlike decision-tree-based methods that need to store all past data and rebuild trees, mDAGL is a streaming algorithm that updates weights incrementally, making it highly memory and CPU efficient.
- Real-World Success: In the robotics domain, loreRL outperformed even a manually tuned model where humans had pre-selected the 12 most important features. This suggests the algorithm successfully identified subtle feature combinations that human designers missed.
- Theoretical Guarantees: The paper provides a regret bound, proving that the average error of their model decreases at a rate of $O(1/\sqrt{t})$. This ensures the agent will eventually converge to a near-optimal policy.
Limitations and Future Directions
- Linearity Constraint: The current model relies on multinomial logistic regression, which is fundamentally a linear classifier. While the authors suggest using non-linear combinations of original features, the core engine remains linear.
- Generality: Not all world dynamics can be perfectly captured by predicting discrete action effects. Complex, continuous physics might require more expressive models.
- Knowledge Transfer: Because these sparse action models are factored, they could potentially be transferred between different environments (e.g., a robot learning that "sand" causes slipping in one room and applying that knowledge elsewhere). This remains a highly promising direction for future research.
Summary updated