TL;DR
The LOGO (Learning Online with Guidance Offline) algorithm enables reinforcement learning agents to master tasks with extremely sparse rewards by using sub-optimal offline demonstrations as a "compass" rather than a strict "script." By combining a standard policy improvement step with a novel policy guidance step, LOGO allows agents to quickly find rewards and eventually surpass the performance of their human or algorithmic teachers.
What Problem Does This Paper Address?
Reinforcement Learning (RL) is notoriously "data-hungry," especially when rewards are sparse. Imagine trying to learn to play golf, but you only receive feedback (a reward) when the ball actually goes into the hole. Without intermediate feedback (like "you hit it closer this time"), an agent might wander aimlessly for millions of steps before ever seeing a single reward signal.
While we often have access to offline demonstration data (e.g., logs of a human operator or a basic heuristic controller), this data is frequently sub-optimal (the human makes mistakes) or incomplete (the logs might be missing sensor data like Lidar). Standard "Imitation Learning" fails here because it tries to copy the teacher perfectly, mistakes and all. Conversely, standard "Learning from Demonstration" (LfD) often struggles to balance following the guide versus exploring for the true optimum.
Methods
The authors introduce LOGO, which breaks each training iteration into two distinct steps:
- Policy Improvement: This is a standard Trust Region Policy Optimization (TRPO) step. The agent looks at the rewards it has collected online and tries to improve its policy within a small "trust region" to ensure stability.
- Policy Guidance: This is the secret sauce. The agent performs a second update to align its policy more closely with the behavior policy ($\pi_b$) found in the offline data. Crucially, this is also done within a trust region.
The Key Innovation: Adaptive Guidance. LOGO doesn't just copy the offline data. It uses a guidance constraint ($\delta_k$) that starts large (following the guide closely to find the first few rewards) and decays over time. As the agent gets better at the task, it "ignores" the sub-optimal guide more and more, eventually relying entirely on its own experience to reach optimality.
The authors also extend this to Incomplete Observation Settings. If the offline data is "censored" (e.g., it only contains the robot's position but not the Lidar scans), LOGO uses a projection method to align the online policy with the available subset of the offline state space.
Datasets
The researchers evaluated LOGO across three main domains:
- MuJoCo Benchmarks: Standard environments like Hopper, HalfCheetah, and Walker2d, but modified so rewards are only given after significant forward progress (making them "sparsified").
- Gazebo Simulation: A high-fidelity 3D robotics simulator used for waypoint tracking and obstacle avoidance.
- Real-World Robotics: Experiments using a TurtleBot3 mobile robot to verify that the learned policies transfer from simulation to reality.
The "behavior data" used for guidance was intentionally generated by partially trained, sub-optimal agents to test if LOGO could surpass them.
Key Insights and Ideas
- Guidance vs. Imitation: Most algorithms treat demonstration data as a target to be mimicked. LOGO treats it as a prior for exploration. It asks: "Which direction did the teacher go to find the reward?" Once it finds the reward, it figures out a better way to get there.
- The Power of Two Steps: By separating "getting better" (Improvement) from "staying near the guide" (Guidance), the algorithm can provide theoretical guarantees on performance improvement that combined objective functions often lack.
- Robustness to "Censored" Data: One of the most practical insights is that you don't need a perfect log of every sensor to benefit from offline data. Even a "nugget" of information—like the general path a robot took—is enough to bootstrap learning in a complex environment.
Key Results
- Surpassing the Teacher: In MuJoCo tasks, LOGO consistently outperformed the sub-optimal behavior policy it was guided by, eventually matching the performance of "Expert" agents trained with dense, hand-tuned rewards.
- Outperforming SOTA: LOGO beat state-of-the-art methods like PofD (Policy Optimization from Demonstration) and GAIL (Generative Adversarial Imitation Learning) in sparse settings. While GAIL often got stuck at the teacher's sub-optimal level, LOGO successfully moved past it.
- Real-World Success: On the physical TurtleBot, LOGO successfully learned to navigate around obstacles to reach a goal. Standard TRPO (without guidance) failed completely, simply circling aimlessly because it never encountered the sparse reward.
Limitations and Future Work
- Hyperparameter Tuning: The algorithm relies on the decay rate of the guidance constraint ($\delta_k$). While the authors provide an adaptive rule, finding the right initial values for different environments still requires some manual effort.
- Assumption of "Useful" Data: LOGO assumes the behavior policy is at least somewhat better than random. If the offline data is complete "garbage," the guidance step might initially lead the agent astray.
- Future Directions: The authors suggest exploring how LOGO could handle multi-modal demonstrations (where different teachers solve the task in different ways) and scaling the approach to even higher-dimensional visual inputs (like raw camera pixels).
Summary updated