Gradient-Aware Scheduling: Coupling Curriculum and Staleness for Async Reinforcement Learning
Abstract
Lay Summary
Modern AI systems that learn to write computer code do so by trial and error: they propose a solution, run it, see whether it works, and try again. To go faster, many copies of the AI run attempts in parallel, but this means each lesson can arrive after the AI has already moved on, like correcting yesterday's homework with notes you wrote today. We found that this "out of date" feedback hurts far more on hard programming tasks than on easy ones, because hard problems demand precise code that small drifts in the AI's strategy disrupt, while easy problems tolerate small differences. We proved mathematically that the staleness an AI can tolerate should shrink exponentially with task difficulty, and built a training system, GAS, that automatically chooses which difficulties to practice and matches each one to the right allowable lag. On standard coding benchmarks, GAS trains over twice as fast as conventional methods while raising correctness from 40% to 60%. Because the same trade-off appears whenever harder tasks demand more precision, in robotics, mathematical reasoning, and games, our principle could make many kinds of AI training cheaper and less energy-intensive.