Efficient and Trainable Language Model Test-Time Scaling via Local Branch Routing

Yutong Yin, Mingyu Jin, Jin Pan, Changyi Yang, Zijie Xia +10 more
6/24/2026
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Test-time scaling improves language-model reasoning, but existing approaches often face a difficult trade-off: long chain-of-thought sampling remains single-threaded, while sentence- or solution-level search can be computationally expensive and hard to train end-to-end. We introduce Local Branch Routing (LBR), a token-level test-time scaling framework that expands a small local lookahead tree, forwards all sampled branches through the language model, and uses a lightweight router to select the depth-1 subtree to commit. By routing over the hidden states of candidate local futures, LBR allows each token decision to use evidence beyond the root next-token distribution while avoiding full solution-level search. The resulting prune-shift-grow decoding process preserves discrete branch identities and defines a tractable tree-trajectory likelihood: newly grown nodes are counted when first sampled, and router decisions are assigned explicit probabilities. This enables end-to-end reinforcement learning with verifiable rewards, jointly optimizing the base model and router under the same likelihood-ratio principle as discrete-token RLVR. On synthetic hierarchical-planning tasks, LBR shows that post-candidate hidden states provide useful routing evidence. On mathematical reasoning benchmarks, LBR improves both Pass@1 and Pass@32 over discrete chain-of-thought, vanilla discrete-token RLVR, and RL-compatible soft-token branching baselines. These results suggest that lightweight local branching offers an efficient, trainable, and discrete form of language-model test-time scaling.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yin2026efficient,
  title  = {Efficient and Trainable Language Model Test-Time Scaling via Local Branch Routing},
  author = {Yutong Yin and Mingyu Jin and Jin Pan and Changyi Yang and Zijie Xia and Dhruv Pai and Shuming Hu and Zhen Zhang and Chenyang Zhao and Jinman Zhao and Wujiang Xu and Raymond Li and Xin Eric Wang and Julian McAuley and Zhaoran Wang},
  year   = {2026},
  eprint = {2606.25354},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.25354v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.25354.svg)](https://codeofpaper.com/paper/2606.25354)

Discussion