Introduction
Reinforcement learning (RL) agents often struggle in environments with sparse rewards, where feedback is only received after a long sequence of correct actions. Standard exploration techniques, such as adding Gaussian noise to actions, become exponentially less effective as task complexity and horizon length increase. While behavioral priors—learning from expert demonstrations—can mitigate this, they are typically state-conditional. This creates a significant "domain gap": if the training environment differs even slightly from the deployment environment (e.g., different lighting or camera angles), the prior receives out-of-distribution states and fails to provide useful guidance.
The State-free Prior (SFP) Approach
To address these limitations, we introduce the State-free Prior (SFP). The core innovation is to decouple exploration strategies from specific state observations. Instead of learning a distribution $\pi(a|s)$, SFP models the temporal dependencies between actions: $\bar{\pi}(a_t | a_{t-1}, \dots, a_0)$. By conditioning the current action on the history of previous actions rather than the current state, SFP captures universal properties of effective exploration, such as temporal consistency and directedness.
The SFP framework utilizes several key components:
- Non-Markovian Action Priors: By ignoring the state and focusing on action history, the prior learns temporal correlations (e.g., "if I am moving forward, I should probably continue moving forward") that generalize across tasks.
- Normalizing Flows: Real NVP models are used to represent these complex, multi-modal action distributions.
- Dynamic Mixture Integration: The agent samples from a mixture policy: $a \sim (1 - \lambda_t)\pi_{policy} + \lambda_t\bar{\pi}_{prior}$. The mixing coefficient $\lambda_t$ is learned dynamically, allowing the agent to rely on the prior for exploration early in training and transition to its own learned policy as it masters the task.
Theoretical Foundation
The shift from state-conditional to state-free priors is best understood through their underlying graphical models. Standard behavioral priors depend on the environment's state transitions, whereas SFP shifts this dependency to the agent's own action history.
This decoupling makes the prior highly portable. Because it does not rely on state information, it is inherently robust to changes in the observation space, such as moving from low-dimensional vector states to high-dimensional visual inputs.
Experimental Evaluation
We evaluated SFP across several challenging benchmarks, including Meta-World (robotic manipulation), Point-maze (2D navigation), and Gym-MuJoCo (locomotion). Notably, the priors were trained on "weakly informative" trajectories—such as a robot arm reaching for random points—rather than expert demonstrations of the target tasks.
Key Results
- Superior Transfer: In Meta-World, SFP significantly outperformed state-based priors when transferred to new tasks. While state-based methods failed due to state distribution shifts, SFP maintained high performance.
- State Space Agnostic: SFP successfully transferred exploration strategies learned from vector states to visual (RGB) RL tasks, a significant challenge for standard priors.
- Robustness to Bias: SFP remained stable in experiments with corrupted observations (e.g., miscalibrated sensors), whereas state-dependent methods failed.
- Better Coverage: Qualitative analysis showed that SFP produces trajectories that cover the state space more effectively than uniform sampling or other baselines.
Conclusion and Future Work
SFP demonstrates that state-free temporal priors can provide a robust and portable foundation for exploration in RL. By "renouncing the informativeness of states," we gain significant flexibility in transferring knowledge across diverse domains. However, because SFP is state-free, it cannot encode complex, state-dependent logic (e.g., "grasp only when near the handle"). Future work will explore hybrid approaches that combine the broad exploration capabilities of state-free priors with the precise, task-specific guidance of state-aware models.
Summary updated