Introduction
Deep Reinforcement Learning (RL) has achieved remarkable success in domains like gaming and basic robotics. However, it often struggles with complex control tasks characterized by sparse rewards and sensitive dynamics. In many real-world scenarios, an agent only receives a success signal at the end of a long sequence of actions. If the physics are sensitive—where a single incorrect motor command leads to immediate failure—the agent rarely receives enough feedback to learn effectively. While "reward shaping" is a common fix, it requires significant manual engineering and domain expertise. This paper introduces a two-stage RL framework that overcomes these hurdles by decoupling "what to do" from "how to do it."
The Two-Stage Framework
The core of the proposed method is a pipeline that first learns a high-level kinematic plan and then refines it into a physically viable control policy.
1. Learning-based Motion Planning Stage
Instead of learning complex joint torques immediately, the agent first learns to "sketch" a path. In this stage, the RL problem is redefined: actions are direct changes in the agent's state (e.g., "move 10cm left") rather than forces. By using simplified transition functions ($s_{t+1} = s_t + a_t$), the agent can explore a wide range of states rapidly without the risk of falling. To ensure the plan remains somewhat realistic, a "pseudo-physics" term ($R_{dyn}$) is added to the reward function.
2. Motion Imitation Learning Stage
Once a feasible trajectory is established, it serves as a reference "hint." A second RL agent is then trained within a full-scale physics simulator. Its reward becomes dense: it earns points for every millisecond it successfully tracks the reference trajectory from the first stage. This stage recovers the detailed dynamics, such as balance and friction, that were abstracted away during planning. Both stages utilize Proximal Policy Optimization (PPO), ensuring compatibility with standard RL libraries.
Experimental Evaluation
The authors evaluated their framework on two challenging custom environments designed to test navigation and high-dimensional locomotion.
- Rocket Navigation: Inspired by OpenAI’s Lunar Lander, this task features highly non-linear engine dynamics and obstacles. The reward is intentionally sparse, with significant signals only appearing when the rocket is very close to its goal.
- Quadrupedal Locomotion: Utilizing the Laikago robot model in the PyBullet physics engine, this 12-degree-of-freedom task requires the robot to maintain specific footfall patterns while walking or trotting.
Key Insights
- State vs. Action Sampling: Standard RL samples actions (torques), which is inefficient when most actions lead to failure. By sampling states in the planning stage, the agent can effectively "teleport" through the environment to find a path first.
- Converting Sparse to Dense Rewards: The motion plan acts as a bridge, transforming a binary success/failure task into a "follow-the-leader" task, providing a constant stream of informative feedback.
- Computational Efficiency: The planning stage is 5 to 10 times computationally cheaper than full physics simulation, allowing for much faster early-phase learning.
Results and Conclusion
The experimental results highlight the limitations of "monolithic" RL; in both environments, standard PPO failed to learn useful behaviors, flatlining at zero reward. While traditional methods like Probabilistic Roadmaps (PRM) could find paths, they were often too jerky for physical robots to follow. In contrast, the learning-based planner produced smooth, imitable trajectories.
Furthermore, the resulting quadruped policy proved robust, capable of withstanding external pushes of up to 100N while maintaining its gait. While the method still requires some domain knowledge to define the simplified state space, it significantly reduces the need for complex reward engineering, offering a scalable path toward solving high-dimensional control problems in sensitive environments.
Summary updated