mlsanityData to 14 Oct 2026

End-to-End Dynamic Sparsity for Resource-Adaptive LLM Inference

arXiv 2606.27743 ↗First posted 26 Jun 2026cs.IR cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) inference is typically deployed under a static resource assumption, where models execute a fixed computational graph regardless of the runtime environment. However, real-world cloud infrastructure is inherently dynamic, characterized by fluctuating availability (e.g., spot instance preemption) and tiered Quality-of-Service requirements. In such volatile settings, static models are inflexible: they either crash under resource constraints or waste compute on redundant operations. To bridge this gap, we propose Learning to Allocate (L2A), an end-to-end framework for resource-adaptive inference. Unlike prior methods that condition only on input difficulty, we formulate inference as a constrained allocation problem conditioned on both the input and the runtime resource budget itself. We introduce lightweight, budget-conditioned and input-aware gating networks integrated into the LLM. These gates are trained via a unified objective that jointly optimizes task performance, logical consistency, and resource costs along three axes matching how real-world dynamics manifest: layer skipping for memory and depth pressure, head pruning for throughput contention, and reasoning-token reduction for latency tightening. This lets the model learn a budget-aware policy beyond input difficulty alone: it adaptively configures its computational footprint with respect to real-time resource dynamics, maximizing reasoning depth when resources permit while enforcing strict frugality when budgets tighten. A single L2A model traces the entire compute-accuracy Pareto frontier on Llama-3-8B and Qwen-3-4B: at up to 34% realized layer sparsity, it stays within 0.6% of the dense baseline on GSM8K, with the same gap holding zero-shot on out-of-distribution tasks, while every static or heuristic baseline requires a separately tuned model and still drops by 5-10% at comparable inference time.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 26 Jun 2026.

Builds on

31 of 38 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2024Qwen2.5 Technical Reportcited by 4,942
  8. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  9. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  10. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  11. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
  12. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
19 more
  1. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  2. 2022Confident Adaptive Language Modelingcited by 310
  3. 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decodingcited by 307
  4. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 258
  5. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  6. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 126
  7. 2024Not All Layers of LLMs Are Necessary During Inferencecited by 96
  8. 2023Bridging Discrete and Backpropagation: Straight-Through and Beyondcited by 31
  9. 2024Fast yet Safe: Early-Exiting with Risk Controlcited by 30
  10. 2024FinerCut: Finer-grained Interpretable Layer Pruning for Large Language Modelscited by 27
  11. 2025Adaptive Layer-skipping in Pre-trained LLMscited by 27
  12. 2023Learning to Skip for Language Modelingcited by 19
  13. 2025AdaSkip: Adaptive Sublayer Skipping for Accelerating Long-Context LLM Inferencecited by 12
  14. 2025SkipGPT: Dynamic Layer Pruning Reinvented with Token Awareness and Module Decouplingcited by 11
  15. 2025Cascaded Language Models for Cost-effective Human-AI Decision-Makingcited by 11
  16. 2026GR2: Generative Reasoning Re-rankercited by 11
  17. 2024DLO: Dynamic Layer Operation for Efficient Vertical Scaling of LLMscited by 10
  18. 2024Router-Tuning: A Simple and Effective Approach for Enabling Dynamic-Depth in Transformerscited by 10
  19. 2024Duo-LLM: A Framework for Studying Adaptive Computation in Large Language Modelscited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024CE-CoLLM: Efficient and Adaptive Large Language Models Through Cloud-Edge Collaboration
  2. 2026Pro-Router: Token-Aware Progressive Model Routing with Adaptive Edge-Cloud Collaboration for Efficient Multimodal LLM Inference
  3. 2025HELIOS: Adaptive Model And Early-Exit Selection for Efficient LLM Inference Serving
  4. 2024Infinite-LLM: Efficient LLM Service for Long Context with DistAttention and Distributed KVCache
  5. 2025BucketServe: Bucket-Based Dynamic Batching for Smart and Efficient LLM Inference Serving
  6. 2025QuickSilver -- Speeding up LLM Inference through Dynamic Token Halting, KV Skipping, Contextual Token Fusion, and Adaptive Matryoshka Quantization
  7. 2025DOPD: A Dynamic PD-Disaggregation Architecture for Maximizing Goodput in LLM Inference Serving
  8. 2024DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiency