mlsanityData to 7 Oct 2026

RAP: Runtime Adaptive Pruning for LLM Inference

arXiv 2505.17138 ↗First posted 22 May 2025cs.LG cs.AIcited by 3

On the map: Efficient LLM inference and serving → Early exit and edge inference

Abstract (arXiv)

Large language models (LLMs) excel at language understanding and generation, but their enormous computational and memory requirements hinder deployment. Compression offers a potential solution to mitigate these constraints. However, most existing methods rely on fixed heuristics and thus fail to adapt to runtime memory variations or heterogeneous KV-cache demands arising from diverse user requests. To address these limitations, we propose RAP, an elastic pruning framework driven by reinforcement learning (RL) that dynamically adjusts compression strategies in a runtime-aware manner. Specifically, RAP dynamically tracks the evolving ratio between model parameters and KV-cache across practical execution. Recognizing that FFNs house most parameters, whereas parameter -light attention layers dominate KV-cache formation, the RL agent retains only those components that maximize utility within the current memory budget, conditioned on instantaneous workload and device state. Extensive experiments results demonstrate that RAP outperforms state-of-the-art baselines, marking the first time to jointly consider model weights and KV-cache on the fly.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 60 of its 74 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

60 of 74 references.

References · 60

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2023Qwen Technical Reportcited by 3,273
  12. 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
38 more
  1. 2016Pointer Sentinel Mixture Modelscited by 2,992
  2. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  3. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  4. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  5. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  6. 2024Qwen2 Technical Reportcited by 2,076
  7. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  8. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  9. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  10. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  11. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  12. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  13. 2021Carbon Emissions and Large Neural Network Trainingcited by 561
  14. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
  15. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  16. 2024SpinQuant: LLM quantization with learned rotationscited by 446
  17. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
  18. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  19. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  20. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  21. 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
  22. 2022On-Device Training Under 256KB Memorycited by 158
  23. 2022A Review of Sparse Expert Models in Deep Learningcited by 147
  24. 2023Fluctuation-based Adaptive Structured Pruning for Large Language Modelscited by 110
  25. 2024DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiencycited by 106
  26. 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 88
  27. 2024BurstGPT: A Real-world Workload Dataset to Optimize LLM Serving Systemscited by 84
  28. 2024What Matters in Transformers? Not All Attention is Neededcited by 83
  29. 2024LLM Inference Serving: Survey of Recent Advances and Opportunitiescited by 46
  30. 2024SlimGPT: Layer-wise Structured Pruning for Large Language Modelscited by 43
  31. 2023LoRAShear: Efficient Large Language Model Structured Pruning and Knowledge Recoverycited by 37
  32. 2024BlockPruner: Fine-grained Pruning for Large Language Modelscited by 35
  33. 2024Investigating Layer Importance in Large Language Modelscited by 35
  34. 2023Beyond Size: How Gradients Shape Pruning Decisions in Large Language Modelscited by 30
  35. 2024APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inferencecited by 29
  36. 2024FinerCut: Finer-grained Interpretable Layer Pruning for Large Language Modelscited by 26
  37. 2023Mobile Foundation Model as Firmwarecited by 25
  38. 2024DISP-LLM: Dimension-Independent Structural Pruning for Large Language Modelscited by 24

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Compresso: Structured Pruning with Collaborative Prompting Learns Compact Large Language Models
  2. 2025Pruning Laws for Large Language Models
  3. 2026RAP: KV-Cache Compression via RoPE-Aligned Pruning
  4. 2026Beyond FLOPs: Benchmarking Real Inference Acceleration of LLM Pruning under a GEMM-Centric Taxonomy
  5. 2026LLMs can Compress LLMs: Adaptive Pruning by Agents
  6. 2025Towards Efficient Automatic Self-Pruning of Large Language Models
  7. 2026Compressed-Sensing-Guided, Inference-Aware Structured Reduction for Large Language Models
  8. 2026DepthKV: Layer-Dependent KV Cache Pruning for Long-Context LLM Inference