Pith.

Machine Learning · arXiv:2606.09514 v1 · submitted 8 Jun 2026 · 34 references

BUDDY: BUdget-Driven DYnamic Depth Routing for Adaptive Large Language Model Inference

Yuhua Zhou, Shaoqi Yu, Shichao Weng, Changhai Zhou, Mingze Yin, Fei Yang, Aimin Pan

The paper says

“Large language models (LLMs) incur high inference cost due to their depth and parameter scale.”

more of the abstract

Depth pruning can reduce latency by skipping redundant Transformer blocks, but existing methods (i) provide limited control under user-specific compute budgets and (ii) typically fix the routing path, failing to adapt as the context grows during decoding. We propose Buddy, a budget-driven dynamic depth routing framework. Buddy uses a lightweight Decision Module to score intermediate layers conditioned on the input and deterministically executes the top-k layers to satisfy a given budget. To support decode-time adaptation, Buddy reuses the first-layer KV cache as a low-overhead global context source and pools it together with the newest token representation before each routing decision. When no explicit budget is provided, an optional Budget Predictor estimates an input-dependent compute level to balance quality and efficiency. Experiments on Llama-family and Qwen models show that Buddy is competitive with strong static pruning baselines and often improves the accuracy-compute trade-off, while uniquely supporting strict budget control, decode-time rerouting, and multiple budgets within a single trained model.

from the abstract

First read, from the abstract only

First read · grok-4.3 · 27 Jun 2026 · read the abstract only · not checked by a person

It can be wrong. Challenge this first read or reply to it.

Pith has not read this paper's text. A full review has not been queued yet.

Buddy adds a lightweight decision module that selects top-k layers per token to meet a strict inference budget while reusing the first-layer KV cache to adapt routing as context grows during decoding. This line is wrong

How often notes from first reads like this one are right: not yet measured

Are you an author? What you can do.

The reviewer was given the abstract only. It did not read the paper.

Reviews

Check this first read

Pith stored no record of this first read's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.

How often reviews like this one are right

First reads like this one: written by grok-4.3, from the abstract only.

How often notes from first reads like this one are right: not yet measured

Every value above, in the review's public record (JSON)

Reviews by people

This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

Large language models (LLMs) incur high inference cost due to their depth and parameter scale. Depth pruning can reduce latency by skipping redundant Transformer blocks, but existing methods (i) provide limited control under user-specific compute budgets and (ii) typically fix the routing path, failing to adapt as the context grows during decoding. We propose Buddy, a budget-driven dynamic depth routing framework. Buddy uses a lightweight Decision Module to score intermediate layers conditioned on the input and deterministically executes the top-k layers to satisfy a given budget. To support decode-time adaptation, Buddy reuses the first-layer KV cache as a low-overhead global context source and pools it together with the newest token representation before each routing decision. When no explicit budget is provided, an optional Budget Predictor estimates an input-dependent compute level to balance quality and efficiency. Experiments on Llama-family and Qwen models show that Buddy is competitive with strong static pruning baselines and often improves the accuracy-compute trade-off, while uniquely supporting strict budget control, decode-time rerouting, and multiple budgets within a single trained model.

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-09-23

The authors' main claim, as the classifier picked it out 1.00

“Experiments on Llama-family and Qwen models show that Buddy is competitive with strong static pruning baselines and often improves the accuracy-compute trade-off, while uniquely supporting strict budget control, decode-time rerouting, and multiple budgets within a single trained model.”

How the main claim is stated: asserted 0.99

What the abstract itself states, as probabilities: claims first 0.15 · states limitation 0.11 · human participants 0.03 · controlled comparison 0.90 · randomized assignment 0.02 · states quantitative result 0.05 · compares with prior results 0.97 · mentions code or data availability 0.02

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
Large language models (LLMs) incur high inference cost due to their depth and parameter scale. background 1.00 0.06 0.02 asserted 1.00
Depth pruning can reduce latency by skipping redundant Transformer blocks, but existing methods (i) provide limited control under user-specific compute budgets and (ii) typically fix the routing path, failing to adapt as the context grows during decoding. gap 0.93 0.05 0.03 asserted 1.00
We propose Buddy, a budget-driven dynamic depth routing framework. contribution 1.00 0.84 0.07 asserted 0.99
Buddy uses a lightweight Decision Module to score intermediate layers conditioned on the input and deterministically executes the top-k layers to satisfy a given budget. method 0.98 0.89 0.06 asserted 1.00
To support decode-time adaptation, Buddy reuses the first-layer KV cache as a low-overhead global context source and pools it together with the newest token representation before each routing decision. method 0.99 0.89 0.03 asserted 1.00
When no explicit budget is provided, an optional Budget Predictor estimates an input-dependent compute level to balance quality and efficiency. method 0.81 0.81 0.04 asserted 0.89
Experiments on Llama-family and Qwen models show that Buddy is competitive with strong static pruning baselines and often improves the accuracy-compute trade-off, while uniquely supporting strict budget control, decode-time rerouting, and multiple budgets within a single trained model. result 1.00 0.96 0.90 asserted 0.99

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 1.00

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 5,627 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Figures (13)
Figure 1 of the paper
Figure 1. Input-dependent layer importance ranking distributions across different inputs on the WikiText-2 datasets. The chart shows how layer rankings vary significantly across inputs, suggesting the need for dynamic pruning decisions. 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 Context length (Decode length) 0 5 10 15 20 25 30 Layer Index Per-layer Remove Order Distribution during decoding on Wikitext2 5 10 15 20 25 30
Figure 2 of the paper
Figure 2. Evolution of layer importance ranking shifts with context length on the WikiText-2 dataset during autoregressive decoding. The heatmap illustrates how layer importance (e.g., layer 14) fluc￾tuates throughout the decoding process. Observation 2: The importance distribution evolves during decoding; as generation proceeds, the relative utility of layers changes with the growing context. Decode-Adaptive. To emulate different stages of autore￾gressive generation, we vary the context length from 256 to 512 and recompute layer importance
Figure 3 of the paper
Figure 3. Overview of the BUDDY framework. The framework consists of three key components: (1) Decision Module that adaptively selects layers based on context and budget constraints, (2) KV-aware Planner that reuses first-layer KV cache and updates global context during decoding, and (3) Budget Predictor that automatically provides estimated budgets when not explicitly provided. first layer (Section 4.3) and feeds it to a lightweight Deci￾sion Module (Section 4.2) that outputs a score sℓ for each candidate middle block. (2) It deterministically executes the top-k middle blocks, where k is…
Figure 4 of the paper
Figure 4. Inference path count. 4 8 12 16 Remove Blocks 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 ROUGE-1/ROUGE-L Scores 0.264 0.232 0.190 0.204 0.273 0.242 0.180 0.208 Reuse Recompute 4 8 12 16 Remove Blocks 0.192 0.171 0.134 0.166 0.200 0.178 0.133 0.171 Reuse Recompute
Figure 6 of the paper
Figure 6. A visual illustration of the BUDDY’s average decision of each transformer block on 37.5% sparsity (12 layers removed). The color green indicates that the blocks are likely important to be maintained, the color grey indicates that the blocks are likely to be pruned, and the color yellow means the importance of layers varies across tasks and samples. SAMSum, we run inference at multiple sparsity levels and count the number of distinct layer masks observed across decoding steps. As shown in
Figure 7 of the paper
Figure 7. Input-dependent layer importance ranking distributions across different inputs on the WikiText-2 datasets. The chart shows how layer rankings vary significantly across inputs, demonstrating the necessity for dynamic pruning decisions. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Layer Index 5 10 15 20 25 30 Remove Order (1 32) Per-layer Remove Order Distribution On ptb
Figure 8 of the paper
Figure 8. Input-dependent layer importance ranking distributions across different inputs on the PTB datasets. The chart shows how layer rankings vary significantly across inputs, demonstrating the necessity for dynamic pruning decisions. B. Prior Indicators and Normalization We consider L transformer layers and M prior indicators that estimate per-layer importance. Let xl,m denote the raw score of indicator m ∈ {1, . . . , M} on layer l ∈ {1, . . . , L}. Different indicators can have heterogeneous scales and tails (e.g., perplexity gaps versus gradient norms), so we map them to a common,…
Figure 9 of the paper
Figure 9. A visual illustration of the BUDDY’s average decision of each transformer block on 12.5% sparsity (4 layers removed). The color green indicates that the blocks are likely important to be maintained, the color grey indicates that the blocks are likely to be pruned, and the color yellow means the importance of layers varies across tasks and samples. 18
Figure 10 of the paper
Figure 10. A visual illustration of the BUDDY’s average decision of each transformer block on 25.0% sparsity (8 layers removed). The color green indicates that the blocks are likely important to be maintained, the color grey indicates that the blocks are likely to be pruned, and the color yellow means the importance of layers varies across tasks and samples. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Layer Index OBQA PIQA BoolQ SIQA Hellaswag ARC-E Winogrande ARC-C Benchmarks Layer Decisions on Benchmarks Heatmap of 16 Layers Removal 0.0 0.2 0.4 0.6 0.8…
Figure 11 of the paper
Figure 11. A visual illustration of the BUDDY’s average decision of each transformer block on 50.0% sparsity (16 layers removed). The color green indicates that the blocks are likely important to be maintained, the color grey indicates that the blocks are likely to be pruned, and the color yellow means the importance of layers varies across tasks and samples. 19
Figure 12 of the paper
Figure 12. Training details of GRPO. Training loss, reward, CE, and entropy are reported. OBQA PIQA BoolQ SIQA HellaSwag ARC-E ARC-C WinoGrande MMLU GSM8K Task 0 20 40 60 80 100 Percentage (%) 84.6 73.0 78.3 86.2 65.2 68.4 83.1 74.4 78.7 75.1 53.5 53.9 55.3 54.6 54.6 54.3 54.7 54.3 67.0 72.7 Task-Level Accuracy and FLOPs Ratio Accuracy / Retention FLOPs Ratio 0.50 0.625 0.75 0.875 1.0 Predicted Budget Interval OBQA PIQA BoolQ SIQA HellaSwag ARC-E ARC-C WinoGrande MMLU GSM8K Task 78.6% 17.2% 2.6% 0.6% 1.0% 79.4% 12.9% 5.4% 1.6% 0.7% 76.4% 13.3% 4.8% 2.4% 3.2% 79.3% 12.4% 3.0% 2.8% 2.6% 73.9%…
Figure 13 of the paper
Figure 13. Budget Predictor evaluation and analysis across tasks. Left: average performance retention and average execution ratio when the budget is selected automatically by the Budget Predictor. Right: instance-level budget distribution over five discrete budget intervals, showing that the predictor adapts its compute allocation across tasks rather than collapsing to a single budget. 22

Showing 12 of the paper's 13 figures. Figures are the authors', reproduced from the paper.

References (34)
  1. [1] A survey on evaluation of large language models , author=. ACM Transactions on Intelligent Systems and Technology , year= on Pith
  2. [2] Wang, Wenxiao and Chen, Wei and Luo, Yicong and Long, Yongliu and Lin, Zhengkai and Zhang, Liye and Lin, Binbin and Cai, Deng and He, Xiaofei , title =. 2024 , howpublished = on Pith
  3. [3] LLaMA: Open and Efficient Foundation Language Models , author=. 2023 , eprint= on Pith
  4. [4] Bo-Kyeong Kim and Geonmin Kim and Tae-Ho Kim and Thibault Castells and Shinkook Choi and Junho Shin and Hyoung-Kyu Song , booktitle=. Shortened on Pith
  5. [5] ShortGPT: Layers in Large Language Models are More Redundant Than You Expect , author=. 2024 , eprint= on Pith
  6. [6] Song, Jiwon and Oh, Kyungseok and Kim, Taesu and Kim, Hyungjun and Kim, Yulhwa and Kim, Jae-Joon , booktitle =. 2024 , volume = on Pith
  7. [7] Prompt-based Depth Pruning of Large Language Models , author=. Proceedings of International Conference on Machine Learning , year= on Pith
  8. [8] FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reduction , author=. 2025 , eprint= on Pith
  9. [9] Pointer Sentinel Mixture Models , author=. International Conference on Learning Representations , year= on Pith
  10. [10] BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions , author=. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) , year= on Pith
  11. [11] Piqa: Reasoning about physical commonsense in natural language , author=. Proceedings of the AAAI conference on artificial intelligence , volume=. 2020 , pages= on Pith
  12. [12] HellaSwag: Can a Machine Really Finish Your Sentence? , author=. Proceedings of the Annual Meeting of the Association for Computational Linguistics , year= on Pith
  13. [13] Winogrande: An adversarial winograd schema challenge at scale , author=. Communications of the ACM , year= on Pith
  14. [14] Sap, Maarten and Rashkin, Hannah and Chen, Derek and Le Bras, Ronan and Choi, Yejin , booktitle =. Social. 2019 , pages = on Pith
  15. [15] Think you have solved question answering? try arc, the ai2 reasoning challenge , author=. arXiv preprint arXiv:1803.05457 , year= on PithPith's reviewarXiv
  16. [16] Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering , author=. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing , year= on Pith
  17. [17] A framework for few-shot language model evaluation , author = on Pith
  18. [18] Stanford alpaca: An instruction-following llama model , author=. 2023 , url= on Pith
  19. [19] Yikun Jiang and Huanyu Wang and Lei Xie and Hanbin Zhao and Chao Zhang and Hui Qian and John C.S. Lui , booktitle=. D- on Pith
  20. [20] Not All Layers of LLMs Are Necessary During Inference , author=. 2024 , eprint= on Pith
show 14 more
  1. [21] LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding , author=. Proceedings of the Annual Meeting of the Association for Computational Linguistics , year= on Pith
  2. [22] Mixture-of-Depths: Dynamically allocating compute in transformer-based language models , author=. 2024 , eprint= on Pith
  3. [23] Adaptive Layer-skipping in Pre-trained LLMs , author=. 2025 , eprint= on Pith
  4. [24] DASH: Input-Aware Dynamic Layer Skipping for Efficient LLM Inference with Markov Decision Policies , author=. 2025 , eprint= on Pith
  5. [25] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models , author=. 2024 , eprint= on Pith
  6. [26] Rouge: A package for automatic evaluation of summaries , author=. Text summarization branches out , pages= on Pith
  7. [27] Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation , author=. 2013 , eprint= on Pith
  8. [28] Training Verifiers to Solve Math Word Problems , author =. Proceedings of Advances in Neural Information Processing Systems , year = on Pith
  9. [29] Yuhua Zhou and Ruifeng Li and Changhai Zhou and Fei Yang and Aimin PAN , booktitle= on Pith
  10. [30] LaRA: Layer-wise rank allocation for efficient fine-tuning of pruned large language models , author =. Information Processing & Management , volume = on Pith
  11. [31] Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement , author=. 2024 , eprint= on Pith
  12. [32] Dual alignment framework for few-shot learning with inter-set and intra-set shifts , author=. Advances in Neural Information Processing Systems , volume= on Pith
  13. [33] ArtFL: Exploiting data resolution in federated learning for dynamic runtime inference via multi-scale training , author=. 2024 23rd ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN) , pages=. 2024 , organization= on Pith
  14. [34] Towards compute-efficient Byzantine-robust federated learning with fully homomorphic encryption , author=. Nature Machine Intelligence , volume=. 2025 , publisher= on Pith
Cited by 3 Pith papers
How the literature uses it

1 arXiv paper cite this in 1 sentence

Each citing sentence is taken from the citing paper's LaTeX source and typed by Pith's classifier. A label appears at probability 0.8 or more (0.95 for support), a contest at 0.7 or more; the quoted words are the citing authors'. How each label was checked · JSON

Papers citing it

Cites it as background 1 paper

Challenges and discussion

Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.

No comments yet.

Sign in to comment