TL;DR
DCUR (Data CUrriculum for Reinforcement learning) demonstrates that how you present data to a student agent is just as important as the algorithm itself. By gradually revealing a teacher's training history—rather than providing the entire dataset at once—standard RL algorithms can successfully learn offline and even match expert performance without the need for specialized, complex offline RL modifications.
What Problem Does This Paper Address?
Deep Reinforcement Learning (RL) is notoriously "brittle" and sample-inefficient, often requiring millions of interactions with an environment to learn a simple task. Offline RL—learning from a static dataset of previously recorded experiences—is a potential solution, especially for robotics where real-world exploration is risky and expensive.
However, standard off-policy algorithms (like TD3 or SAC) usually fail in the offline setting. They suffer from "bootstrapping errors," where the agent becomes overly optimistic about the value of actions it hasn't actually seen in the data. Most researchers try to fix this by changing the algorithm (e.g., adding conservative constraints). The authors of this paper ask a different question: Can we fix offline RL by simply changing the data curriculum?
Methods
The authors propose DCUR, a framework that treats the logged training history of a "teacher" agent as a structured syllabus for a "student" agent.
- Teacher Training: A teacher is trained online using a standard algorithm (TD3), and every single interaction (state, action, reward, next state) is saved into a 1-million-step replay buffer.
- Data Curricula: Instead of letting the student sample randomly from all 1 million steps, DCUR restricts the student to a subset of data that grows over time. They define two main types:
- Additive ($C_{add}$): A sliding window of data relative to the student's current training step.
- Scale ($C_{scale}$): The student can access data from the beginning of the teacher's history up to a point $t \cdot c$, where $t$ is the current training step and $c$ is a scaling factor.
- Apprenticeship Learning: The authors also test a hybrid approach where the student learns primarily from the teacher's data but is allowed a tiny amount of its own online interaction (2.5% to 10% of the total data size) to "practice" what it has learned.
Datasets
The framework was evaluated on four standard continuous control tasks from the MuJoCo suite (OpenAI Gym):
- Ant-v3: A challenging high-dimensional quadruped robot.
- HalfCheetah-v3: A 2D running robot.
- Hopper-v3: A single-legged jumping robot.
- Walker2d-v3: A bipedal walking robot.
The researchers used the full 1M-step logged history of TD3 and SAC agents as the primary datasets.
Key Insights and Ideas
- Don't Drink from the Firehose: Providing the entire expert dataset from the start actually hurts learning. Standard agents get overwhelmed by high-reward transitions they aren't ready to understand, leading to massive overestimation of Q-values (the "hump" seen in their diagnostics).
- The "Just Right" Pace: The best-performing curriculum was $C_{scale}(t; c=1.10)$. This means the student looks at data slightly "ahead" of where the teacher was at that same point in training. This provides enough challenge to progress without causing the agent to diverge.
- Curriculum as a Stabilizer: A good curriculum allows standard algorithms to work in offline settings where they would otherwise collapse. It effectively acts as a natural regularizer by keeping the student's policy close to the data distribution it is currently capable of modeling.
- Online Data is a Force Multiplier: Even a tiny amount of self-generated data (2.5%) dramatically improves performance in complex environments like Ant-v3, especially when combined with a data curriculum.
Key Results
- Matching the Teacher: In the Hopper-v3 environment, students using the $C_{scale}$ curriculum and 10x longer training were able to match the teacher's peak performance entirely offline.
- Superiority of Gradual Growth: In Table I, the $C_{scale}(t; c=1.10)$ curriculum outperformed the "final buffer" baseline (using all data at once) across almost all metrics and environments.
- Q-Value Stability: Diagnostic plots showed that curricula result in stable, monotonically increasing Q-value estimates, whereas using the full buffer causes a sharp, erroneous spike in estimated value early in training, which often leads to policy collapse.
Limitations and Future Work
- Data Source Sensitivity: The authors note that their results are contingent on using the logged history of a teacher. When they tried to generate data by adding noise to a final expert policy (rollouts), the student struggled significantly more.
- Algorithm Variance: While it works well for TD3 and SAC, cross-algorithm teaching (e.g., a TD3 student learning from a SAC teacher) showed higher variance and mixed results in some environments like Ant-v3.
- Future Directions: The authors plan to test DCUR on more diverse datasets like D4RL and explore more sophisticated, automated curricula that don't rely on fixed scaling factors. They also suggest investigating the interplay between the "replay ratio" (how many updates per environment step) and the data curriculum.
Summary updated