Search papers, labs, and topics across Lattice.
To overcome the compute inefficiency of fixed-depth layer looping, this work investigates test-time scaling in looped transformers and introduces TaH2, an adaptive architecture that dynamically allocates latent iterations on a per-token basis. By identifying that most tokens do not benefit from uniform iteration, the authors train an iteration decider with lookahead depth supervision to spend decoding FLOPs strictly where latent computation improves prediction quality. On challenging AIME benchmarks, TaH2 improves the test-time accuracy-compute slope by 53% over non-looped baselines, beating baseline peak accuracy by 3.4 points at matched compute and avoiding the performance plateaus typical of deep looped models.
Uniform layer looping wastes latent compute on trivial tokens, but dynamically routing iteration depth beats standard transformers on AIME with a 53% steeper test-time scaling slope.
Looped transformers have demonstrated promising parameter efficiency by reusing layers for latent computation. Prior studies compare looped and non-looped models at matched parameters or per-token FLOPs. However, to the best of our knowledge, whether looping improves test-time scaling as outputs grow longer remains underexplored. Through post-training looped transformers, we study the accuracy-compute slope, measured as the accuracy gain per doubling of test-time decoding FLOPs. We find that existing looped transformers often yield steeper slopes than their non-looped baseline, yet underperform it at matched compute. While fixed-depth looping spends extra iterations on every token, our analysis shows that many tokens do not benefit from extra iterations. We therefore propose TaH2, which enables the model to focus extra iterations on the tokens that benefit from looping. It jointly post-trains the backbone and an iteration decider through lookahead depth supervision, which uses online labels indicating whether further iteration improves the prediction. TaH2 improves both the efficiency and attainable accuracy of test-time scaling. On challenging AIME benchmarks, TaH2 improves the accuracy-compute slope by 53% (2.74 vs. 1.79) over the non-looped baseline, exceeding the baseline's peak accuracy by about 3.4 points at matched test-time compute. As the maximum iteration depth increases, existing looped models largely plateau, while TaH2's gain over the non-looped baseline continues to grow from +2.8 points at depth 2 to +3.9 points at depth 8. Our code is available at https://github.com/thu-nics/TaH.