TL;DR
LIBERTY is a novel reinforcement learning (RL) framework that automates exploration by using an "inverse dynamic bisimulation metric" to measure state novelty. It provides a theoretically grounded, end-to-end intrinsic reward that ensures the agent's optimal policy remains unchanged while significantly boosting training efficiency in complex environments like MuJoCo and Atari.
The Challenge of Sparse Rewards
Reinforcement Learning agents often struggle in "sparse reward" environments—imagine a robot trying to navigate a maze where it only gets a point upon reaching the exit. Without intermediate feedback, the agent wanders aimlessly.
To solve this, researchers use Reward Shaping: adding "intrinsic rewards" (curiosity) to encourage exploration. However, existing methods face two major hurdles:
- Manual Design & Bias: Traditional "Potential-Based Reward Shaping" (PBRS) requires humans to manually define what a "good" state looks like, which is difficult to scale and prone to human error.
- Scalability & Invariance: Modern curiosity-based methods often rely on "count-based" metrics (how many times the agent has seen an exact pixel arrangement). These fail in continuous spaces where every state is technically unique. Furthermore, many of these methods can accidentally change the "optimal" behavior of the agent, leading it to chase curiosity forever instead of solving the actual task.
Introducing LIBERTY and the Bisimulation Metric
To overcome these limitations, the authors introduce LIBERTY (expLoration vIa Bisimulation mEtRic-based sTate discrepancY). The core innovation is the Inverse Dynamic Bisimulation Metric (IDBM).
1. The Bisimulation Metric
Instead of measuring the distance between states using simple geometry (like the Euclidean distance between coordinates), a bisimulation metric measures behavioral similarity. Two states are considered "close" if they yield similar immediate rewards and lead to similar future state distributions.
2. Making it "Inverse Dynamic"
Standard bisimulation metrics can be distracted by environmental noise the agent cannot control (e.g., a flickering light or a moving background element). LIBERTY incorporates an inverse dynamic model that predicts which action was taken to move from state A to state B. This ensures the exploration bonus only triggers for state changes caused by the agent's meaningful actions.
3. Potential-Based Shaping
LIBERTY uses this metric to create a "potential function." By defining the reward as the difference in potential between the current and next state, the authors leverage a mathematical property called policy invariance. This guarantees that no matter how much "curiosity" is added, the agent will still eventually converge to the correct solution for the original task.
Visualizing Exploration and Datasets
The authors evaluated LIBERTY across major RL benchmarks, including MuJoCo (for continuous robot control) and the Arcade Learning Environment (Atari games). They also used Super Mario Bros for qualitative visualization to demonstrate how the reward spikes during key events.
As seen above, the exploration bonus naturally peaks when the agent performs novel or meaningful actions, such as jumping, dodging, or collecting items, without requiring a human to manually program these rewards.
Key Insights and Results
- Value-Aware Distance: Unlike previous methods that use latent space distance, LIBERTY’s metric is tied to the reward and transition functions. The agent is incentivized to explore states with a high TD error—essentially, states where its current "world model" is most confused.
- Superiority in Sparse Rewards: In MuJoCo tasks with a severe reward delay of 40 steps, LIBERTY outperformed competitive baselines like RIDE and RND in 9 out of 12 scenarios.
- Faster Convergence: In Atari games, LIBERTY showed the fastest convergence in 7 out of 8 games, reaching high scores significantly earlier than methods like NGU or ICM in games like MsPacman and SpaceInvaders.
- Better Coverage: In "reward-free" exploration (where the agent is just told to see as much of the world as possible), LIBERTY covered ~72% of the state space in the HalfCheetah environment, compared to ~69% for RIDE and ~53% for RND.
Limitations and Future Work
While highly effective, the authors note a few areas for improvement:
- Temporal Sensitivity: The algorithm's performance is sensitive to the length of the state sequence used to calculate discrepancy. If the interval between compared states is too large, the novelty signal weakens.
- Computational Complexity: Calculating Wasserstein distances (used in the bisimulation metric) can be intensive, though the authors mitigate this using a closed-form approximation for Gaussian distributions.
- Hard Exploration: Extremely "hard" exploration tasks—those requiring very long sequences of specific actions—remain a challenge for all current RL methods, including LIBERTY.
Summary updated