paper-with-me

Papers

RAP: Runtime-Adaptive Pruning for LLM Inference

2025-05-22 · Huanrong Liu, Chunlin Tian, Xuyang Wei, Jiaheng Dai, Qin Liu, Tianqi Wei, QingBiao Li, Li Li

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.

📄 PDF Abstract BibTeX arXiv:2505.17138

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Pruning 설명 없음

Similar Papers 제목 키워드 기반

Storage Efficient and Dynamic Flexible Runtime Channel Pruning via Deep Reinforcement Learning

2020-12-01 · NeurIPS 2020 12 · Jianda Chen, Shangyu Chen, Sinno Jialin Pan

In this paper, we propose a deep reinforcement learning (DRL) based framework to efficiently perform runtime channel pruning on convolutional neural networks (CNNs). Our DRL-based framework aims to learn a pruning strate…

Deep Reinforcement Learningreinforcement-learningReinforcement Learning (RL)

Interspace Pruning: Using Adaptive Filter Representations to Improve Training of Sparse CNNs

2022-03-15 · CVPR 2022 1 · Paul Wimmer, Jens Mehnert, Alexandru Paul Condurache

Unstructured pruning is well suited to reduce the memory footprint of convolutional neural networks (CNNs), both at training and inference time. CNNs contain parameters arranged in $K \times K$ filters. Standard unstruct…

Runtime Neural Pruning

2017-12-01 · NeurIPS 2017 12 · Ji Lin, Yongming Rao, Jiwen Lu, Jie zhou

In this paper, we propose a Runtime Neural Pruning (RNP) framework which prunes the deep neural network dynamically at the runtime. Unlike existing neural pruning methods which produce a fixed pruned model for deployment…

Reinforcement Learning

RED++ : Data-Free Pruning of Deep Neural Networks via Input Splitting and Output Merging

2021-09-30 · Edouard Yvinec, Arnaud Dapogny, Matthieu Cord, Kevin Bailly

Pruning Deep Neural Networks (DNNs) is a prominent field of study in the goal of inference runtime acceleration. In this paper, we introduce a novel data-free pruning protocol RED++. Only requiring a trained neural netwo…

TRINE: A Token-Aware, Runtime-Adaptive FPGA Inference Engine for Multimodal AI

2026-03-24 · Hyunwoo Oh, Hanning Chen, Sanggeon Yun, Yang Ni 외 arxiv

Multimodal stacks that mix ViTs, CNNs, GNNs, and transformer NLP strain embedded platforms because their compute/memory patterns diverge and hard real-time targets leave little slack. TRINE is a single-bitstream FPGA acc…