Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable Prompt
Not on the map. Why?
Abstract (arXiv)
While the numerous parameters in Large Language Models (LLMs) contribute to their superior performance, this massive scale makes them inefficient and memory-hungry. Thus, they are hard to deploy on commodity hardware, such as one single GPU. Given the memory and power constraints of such devices, model compression methods are widely employed to reduce both the model size and inference latency, which essentially trades off model quality in return for improved efficiency. Thus, optimizing this accuracy-efficiency trade-off is crucial for the LLM deployment on commodity hardware. In this paper, we introduce a new perspective to optimize this trade-off by prompting compressed models. Specifically, we first observe that for certain questions, the generation quality of a compressed LLM can be significantly improved by adding carefully designed hard prompts, though this isn't the case for all questions. Based on this observation, we propose a soft prompt learning method where we expose the compressed model to the prompt learning process, aiming to enhance the performance of prompts. Our experimental analysis suggests our soft prompt strategy greatly improves the performance of the 8x compressed LLaMA-7B model (with a joint 4-bit quantization and 50% weight pruning compression), allowing them to match their uncompressed counterparts on popular benchmarks. Also, we demonstrate that these learned prompts can be transferred across various datasets, tasks, and compression levels. Hence with this transferability, we can stitch the soft prompt to a newly compressed model to improve the test-time accuracy in an ``in-situ'' way.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 30 of its 47 references that are in the map. First posted on arXiv 17 May 2023.
Builds on
30 of 47 references.
References · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
18 more
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 375
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 161
- 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
- 2023Fast Distributed Inference Serving for Large Language Modelscited by 143
- 2021Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Maskscited by 103
- 2022Decentralized Training of Foundation Models in Heterogeneous Environmentscited by 87
- 2021On Transferability of Prompt Tuning for Natural Language Processingcited by 74
- 2022RSC: Accelerating Graph Neural Networks Training via Randomized Sparse Computationscited by 12
Built on by
Citing papers per year: 2023: 8; 2024: 16; 2025: 4.
28 papers.
Sort:
By area:
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Norm Tweaking: High-performance Low-bit Quantization of Large Language Modelscited by 33
- 2024Probing the limitations of multimodal language models for chemistry and materials researchcited by 31
- 2023Visual Prompting Upgrades Neural Network Sparsification: A Data-Model Perspectivecited by 23
- 2023PokeMQA: Programmable knowledge editing for Multi-hop Question Answeringcited by 23
- 2024Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruningcited by 19
- 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compressioncited by 18
- 2024CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulnesscited by 12
16 more
- 2023Sweeping Heterogeneity with Smart MoPs: Mixture of Prompts for LLM Task Adaptationcited by 10
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Modelcited by 9
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compressioncited by 7
- 2023Do Compressed LLMs Forget Knowledge? An Experimental Study with Practical Implicationscited by 6
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewritingcited by 6
- 2024FFSplit: Split Feed-Forward Network For Optimizing Accuracy-Efficiency Trade-off in Language Model Inferencecited by 4
- 2024Composable Interventions for Language Modelscited by 4
- 2024Governance of Generative Artificial Intelligence for Companiescited by 2
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Feescited by 2
- 2025Efficient Visual Appearance Optimization by Learning from Prior Preferencescited by 2
- 2025VeriLLM: A Lightweight Framework for Publicly Verifiable Decentralized Inferencecited by 2
- 2024Context Matters: Pushing the Boundaries of Open-Ended Answer Generation with Graph-Structured Knowledge Contextcited by 0
- 2024(PASS) Visual Prompt Locates Good Structure Sparsity through a Recurrent HyperNetworkcited by 0
- 2024Task-oriented Prompt Enhancement via Script Generationcited by 0
- 2025Enhancing Collective Intelligence in Large Language Models Through Emotional Integrationcited by 0
- 2025An item is worth one token in Multimodal Large Language Models-based Sequential Recommendationcited by 0
- 2025An item is worth one token in Multimodal Large Language Models-based Sequential Recommendation8 Nov 2025
- 2025VeriLLM: A Lightweight Framework for Publicly Verifiable Decentralized Inference29 Sep 2025
- 2025Efficient Visual Appearance Optimization by Learning from Prior Preferences21 Jul 2025
- 2025Enhancing Collective Intelligence in Large Language Models Through Emotional Integration5 Mar 2025
- 2024Probing the limitations of multimodal language models for chemistry and materials research25 Nov 2024
- 2024Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruning9 Oct 2024
- 2024Task-oriented Prompt Enhancement via Script Generation24 Sep 2024
- 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compression1 Aug 2024
- 2024(PASS) Visual Prompt Locates Good Structure Sparsity through a Recurrent HyperNetwork24 Jul 2024
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inference19 Jul 2024
- 2024Composable Interventions for Language Models9 Jul 2024
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewriting18 Apr 2024
16 more
- 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression30 Mar 2024
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Fees11 Mar 2024
- 2024CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulness17 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024Governance of Generative Artificial Intelligence for Companies5 Feb 2024
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb 2024
- 2024Context Matters: Pushing the Boundaries of Open-Ended Answer Generation with Graph-Structured Knowledge Context23 Jan 2024
- 2024FFSplit: Split Feed-Forward Network For Optimizing Accuracy-Efficiency Trade-off in Language Model Inference8 Jan 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023PokeMQA: Programmable knowledge editing for Multi-hop Question Answering23 Dec 2023
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memory12 Dec 2023
- 2023Visual Prompting Upgrades Neural Network Sparsification: A Data-Model Perspective3 Dec 2023
- 2023Sweeping Heterogeneity with Smart MoPs: Mixture of Prompts for LLM Task Adaptation4 Oct 2023
- 2023Do Compressed LLMs Forget Knowledge? An Experimental Study with Practical Implications2 Oct 2023
- 2023Norm Tweaking: High-performance Low-bit Quantization of Large Language Models6 Sep 2023
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Model24 May 2023
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 170
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
- 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compressioncited by 18
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inference19 Jul 2024
- 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression30 Mar 2024
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memory12 Dec 2023
- 2024Composable Interventions for Language Modelscited by 4
- 2024Composable Interventions for Language Models9 Jul 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Norm Tweaking: High-performance Low-bit Quantization of Large Language Modelscited by 33
- 2023Visual Prompting Upgrades Neural Network Sparsification: A Data-Model Perspectivecited by 23
- 2024Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruningcited by 19
- 2024CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulnesscited by 12
- 2023Sweeping Heterogeneity with Smart MoPs: Mixture of Prompts for LLM Task Adaptationcited by 10
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Modelcited by 9
- 2023Do Compressed LLMs Forget Knowledge? An Experimental Study with Practical Implicationscited by 6
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewritingcited by 6
- 2024FFSplit: Split Feed-Forward Network For Optimizing Accuracy-Efficiency Trade-off in Language Model Inferencecited by 4
- 2024Governance of Generative Artificial Intelligence for Companiescited by 2
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Feescited by 2
12 most cited of 18 All 18 (JSON)
- 2025VeriLLM: A Lightweight Framework for Publicly Verifiable Decentralized Inference29 Sep 2025
- 2025Efficient Visual Appearance Optimization by Learning from Prior Preferences21 Jul 2025
- 2025Enhancing Collective Intelligence in Large Language Models Through Emotional Integration5 Mar 2025
- 2024Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruning9 Oct 2024
- 2024Task-oriented Prompt Enhancement via Script Generation24 Sep 2024
- 2024(PASS) Visual Prompt Locates Good Structure Sparsity through a Recurrent HyperNetwork24 Jul 2024
- 2024Enhancing Embedding Performance through Large Language Model-based Text Enrichment and Rewriting18 Apr 2024
- 2024SMART: Automatically Scaling Down Language Models with Accuracy Guarantees for Reduced Processing Fees11 Mar 2024
- 2024CliqueParcel: An Approach For Batching LLM Prompts That Jointly Optimizes Efficiency And Faithfulness17 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024Governance of Generative Artificial Intelligence for Companies5 Feb 2024
- 2024Context Matters: Pushing the Boundaries of Open-Ended Answer Generation with Graph-Structured Knowledge Context23 Jan 2024
12 newest of 18 All 18 (JSON)