A Pipeline-Parallel System for Depth-Recurrent Models
Yunjia Xi, Jiarui Qin, Di Yin, Xing Sun
Tencent Youtu Lab
Published November 23, 2026 · on the feed November 24, 2026 · ▲ 11 · arXiv 2611.30581
The abstract
Depth-recurrent (Looped) models raise effective depth by applying a shared stack of blocks several times. Scaling them usually requires pipeline parallelism, but commonly used interleaved 1F1B is drawn for an acyclic stage graph in which each micro-batch enters each stage once. Once that stack is split across stages, the same stage is visited several times on one micro-batch and later stages feed earlier ones: native 1F1B has no slot for the extra visit, cannot rank a first iteration against a second, and its neighbour-only send/receive order has no back edge to the first stage, so the arrangement stalls or fires out of order. We present Loop-PP, which rebuilds both the timetable and the communication for this cyclic layout. It schedules different iterations of the same stage separately, specializes a 1F1B skeleton into a globally consistent order over those visits, and emits a static instruction stream per rank that separates posting from waiting so communication overlaps local compute. Loop-PP is bit-identical to a single-stage reference. On 8B-60B MoE models, it lowers peak memory by as much as 32.8\%, and with compute budget fixed, the best observed throughput rises by 12.7\%.
The Brief
2:06A short podcast summary of the paper. Written and voiced by AI.
Transcript
A Pipeline-Parallel System for Depth-Recurrent Models. By Yunjia Xi and three others, from Tencent Youtu Lab. Published on the twenty-third of November.
Depth-recurrent, or looped, models raise their effective depth by applying one shared stack of blocks several times. Scaling them usually requires pipeline parallelism. The commonly used schedule, interleaved one F one B, is drawn for an acyclic stage graph, in which each micro-batch enters each stage exactly once. A looped model breaks that assumption. Once the shared stack is split across stages, the same stage is visited several times on one micro-batch, and later stages feed earlier ones.
Three things then go wrong. Native one F one B has no slot for the extra visit. It cannot rank a first iteration against a second. And its send and receive order only reaches neighbouring stages, so there is no back edge to the first stage. The arrangement either stalls or fires out of order.
Loop-PP rebuilds both halves of the pipeline for this cyclic layout: the timetable, and the communication.
On the timetable side, it schedules different iterations of the same stage separately, so each visit is its own unit of work. It then specializes a one F one B skeleton into a single, globally consistent order over those visits. On the communication side, it emits a static instruction stream for each rank. That stream separates posting a communication from waiting on it, which lets communication overlap with local compute.
Correctness is checked against a single-stage reference, and Loop-PP is bit-identical to it. Performance is measured on mixture-of-experts models ranging from eight billion to sixty billion parameters. Peak memory falls by as much as thirty-two point eight percent. With the compute budget held fixed, the best observed throughput rises by twelve point seven percent.
Loop-PP leaves the model alone and adapts the schedule to the model's shape. The interleaved schedule assumes one visit per stage and data that only flows forward. A looped stack revisits stages and sends data back. Giving every visit its own slot, putting all visits in one global order, and adding the path back to the first stage is what lets the loop run across stages without stalling, while the result stays exactly what a single stage would compute.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free