TL;DR
Standard exploration in sparse-reward reinforcement learning struggles because uncorrelated random actions rarely lead to distant goals, while learned behavioral priors break under domain shift. TempoRL introduces state-independent temporal priors that capture action-to-action momentum ($\bar{\pi}(a_t | a_{t-1})$) from simple, task-agnostic expert trajectories. By dynamically blending this temporal prior with a policy via policy entropy in Soft Actor-Critic (SAC), TempoRL achieves temporally consistent exploration that transfers seamlessly across massive domain gaps—even from vectorized states to visual RGB control.
What Problem Does This Paper Address?
In sparse-reward continuous control tasks, exploration is notoriously difficult. Standard exploration techniques (e.g., isotropic Gaussian noise in maximum-entropy RL) sample actions independently at each time step. Over long horizons, this uncorrelated "brownian motion" leads to jittery dithering that rarely visits far-off states or accomplishes meaningful state coverage.
Recent approaches use behavioral priors—action distributions conditioned on the current state ($\bar{\pi}(a|s)$) learned from prior datasets. However, these methods depend heavily on the downstream environment sharing state semantics with the prior training environment. When applied to novel downstream tasks or differing state representations, state-conditional priors receive out-of-distribution inputs, catastrophically degrading performance.
Methods
TempoRL addresses this brittleness by removing the dependency on state observations during prior conditioning, focusing instead on temporal action dynamics:
- State-Independent Temporal Action Priors: Rather than predicting actions conditioned on states, the temporal prior models the distribution of actions conditioned purely on past action history, specifically single-step action transitions $\bar{\pi}(a_t | a_{t-1})$. This captures directional momentum and smooth action sequencing. The prior is parameterized using an invertible conditional normalizing flow (Real NVP), trained via maximum likelihood on simple, task-agnostic demonstrations (e.g., reaching random goals).
-
Entropy-Gated Policy Mixture: To integrate the prior into Soft Actor-Critic (SAC), the exploration action is sampled from a dynamic mixture: $$a_t \sim (1 - \lambda_t)\pi(a_t|s_t) + \lambda_t \bar{\pi}(a_t|a_{t-1})$$ The mixing weight $\lambda_t \in [0, 1]$ is computed as a monotonic sigmoid transformation of the policy's empirical entropy $\mathcal{H}(\pi(\cdot|s_t)) \approx -\log \pi(a_t|s_t)$. When the policy is uncertain (high entropy), the agent relies on the temporal prior; as the policy gains confidence in achieving returns (low entropy), exploitation takes over.
-
Actor-Critic Objective Modifications: The SAC learning objective and Bellman target equations are reformulated to directly regularize the policy toward the temporal prior through the mixing function $\alpha \Lambda(\mathcal{H}(\pi))$.
Datasets & Environments
The method is evaluated in long-horizon, continuous control environments with binary sparse rewards:
- Meta-World (Robot Manipulation): A 7-DoF Sawyer arm operating in MuJoCo. Priors are trained on 4,000 trajectories from a simple
reachtask generated by a noisy scripted policy. Evaluated on downstream tasks:reach,window-close,window-open,door-close,door-open,drawer-open,drawer-close,button-press,push, andpick-place. Evaluated in both 36-dimensional vectorized state and 64×64 RGB image observations (Visual RL). - Point-Maze Navigation: A 2D velocity-controlled point mass adapted from Pitis et al. (2020). Priors are trained on an open
room-maze. Evaluated downstream onroom-maze,u-maze, and acomplex-maze. - Gym-MuJoCo:
swimmer-v2evaluated under sparse rewards (sparse-swimmer) and sensor corruption (swimmer-sparse-noisy).
Key Insights and Ideas
- Dropping the State Enables Domain Transfer: State-conditional behavioral priors overfit to state distributions. A 1-step action prior $\bar{\pi}(a_t | a_{t-1})$ learns intrinsic physics and behavioral persistence (e.g., continuing a sweeping arm movement) without knowing where the robot is, making it invariant to state shifts.
- Cross-Modality Transfer: Because the prior is state-independent, an action prior trained purely on basic low-dimensional vector states transfers zero-shot to guide an RL agent learning directly from raw RGB camera frames.
- Self-Balancing Exploration: Using policy entropy to gate prior utilization creates a self-annealing exploration mechanism: the agent naturally abandons the prior once local Q-values begin providing clear policy gradients.
Key Results
- State Coverage: In qualitative 2D maze and 3D reaching domains, TempoRL achieves significantly wider and more persistent state coverage than vanilla SAC or action repetition ($\text{SAC+AR}(2)$). In quantitative state coverage, TempoRL achieves 96.3% coverage in maze navigation (vs. 33.3% for SAC and 88.0% for SAC-PolyRL) and a radius of gyration squared ($U_g^2$) of 0.054 (vs. 0.005 for SAC).
- Downstream Sparse-Reward Tasks: On challenging Meta-World downstream tasks (
window-open,door-open,window-close,u-maze), standard SAC, SAC+BC, and PARROT (a state-conditional prior baseline) completely fail to learn due to out-of-distribution states. TempoRL successfully reaches near-maximum test return across all these unseen environments. - Visual RL: In pixel-based sparse-reward
door-closeandwindow-open, TempoRL solves the task within $4\times 10^5$ environment steps, while PARROT and SAC make zero progress.
Limitations and Future Work
- Reliance on Prior Dataset Diversity: Temporal priors are data-driven. If a skill is absent from the prior data (e.g., gripper pinching was never demonstrated in
reach), the prior cannot suggest it. Consequently, TempoRL fails on tasks requiring complex manipulation likepick-place. - Entropy Quantification Failure Modes: In tasks where multiple disparate actions yield high rewards, policy entropy may remain high despite competence, leading to unnecessary prior sampling.
- Trade-off with Task-Specific Guidance: When the training task perfectly matches the downstream task, state-conditioned behavioral priors provide tighter, goal-directed guidance. The authors highlight developing a hybrid prior—capable of switching between general temporal persistence and task-specific state conditioning—as an important direction for future research.
Summary updated