BubbleSpec: Turning Long-Tail Bubbles into Speculative Rollout Drafts for Synchronous Reinforcement Learning
Abstract
Lay Summary
A major challenge in training large language models with reinforcement learning is that expensive GPUs often sit waiting instead of working. In synchronous training, some machines finish generating answers quickly, while others take longer, creating “dead time” that slows the whole system down. Our method, BubbleSpec, makes use of this dead time instead of wasting it. When a GPU finishes early, it uses the spare time to prepare possible future pieces of text. These guesses are then efficiently checked and reused to speed up later generation. This approach preserves the exact behavior of the original training method, which is important for keeping training stable and reliable. In experiments on several models, BubbleSpec reduced the number of decoding steps by around 50% and increased rollout speed by up to 1.8×. By making reinforcement learning training faster and cheaper, our work helps researchers use computing resources more effectively.