Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable Prompt

AI-generated keywords: Large Language Models

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Novel approach proposed to optimize trade-off between efficiency and accuracy of large language models (LLMs) with billions of parameters
  • Compression techniques used to reduce computational and memory requirements for LLM inference, but often result in reduced predictive precision
  • Unique input format introduced for compressed LLMs that improves generation quality for specific queries
  • Prompt learning paradigm introduced to enhance accuracy of compressed LLMs by cultivating an additive prompt over them
  • Empirical results show strategic prompt utilization allows compressed LLMs to match or exceed accuracy of original models across different datasets, tasks, and compression levels
  • Importance of judicious input editing emphasized for compressed large models
  • Potential advancements suggested in scaling LLMs on common hardware configurations
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Zhaozhuo Xu, Zirui Liu, Beidi Chen, Yuxin Tang, Jue Wang, Kaixiong Zhou, Xia Hu, Anshumali Shrivastava

Abstract: Large Language Models (LLMs), armed with billions of parameters, exhibit exceptional performance across a wide range of Natural Language Processing (NLP) tasks. However, they present a significant computational challenge during inference, especially when deploying on common hardware such as single GPUs. As such, minimizing the latency of LLM inference by curtailing computational and memory requirements, though achieved through compression, becomes critically important. However, this process inevitably instigates a trade-off between efficiency and accuracy, as compressed LLMs typically experience a reduction in predictive precision. In this research, we introduce an innovative perspective: to optimize this trade-off, compressed LLMs require a unique input format that varies from that of the original models. Our findings indicate that the generation quality in a compressed LLM can be markedly improved for specific queries by selecting prompts with precision. Capitalizing on this insight, we introduce a prompt learning paradigm that cultivates an additive prompt over a compressed LLM to bolster their accuracy. Our empirical results imply that through our strategic prompt utilization, compressed LLMs can match, and occasionally even exceed, the accuracy of the original models. Moreover, we demonstrated that these learned prompts have a certain degree of transferability across various datasets, tasks, and compression levels. These insights shine a light on new possibilities for enhancing the balance between accuracy and efficiency in LLM inference. Specifically, they underscore the importance of judicious input editing to a compressed large model, hinting at potential advancements in scaling LLMs on common hardware.

Submitted to arXiv on 17 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.11186v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

. This research proposes a novel approach to optimize the trade-off between efficiency and accuracy of large language models (LLMs) with billions of parameters. Compression techniques are employed to reduce computational and memory requirements for LLM inference, but often lead to reduced predictive precision. The authors introduce a unique input format for compressed LLMs that differs from the original models and discover that selecting prompts with precision can significantly improve the generation quality of compressed LLMs for specific queries. A prompt learning paradigm is introduced to enhance the accuracy of compressed LLMs by cultivating an additive prompt over them. The empirical results demonstrate that strategic prompt utilization allows compressed LLMs to match or even exceed the accuracy of the original models, while exhibiting transferability across different datasets, tasks, and compression levels. This study emphasizes the importance of judicious input editing for compressed large models and suggests potential advancements in scaling LLMs on common hardware configurations.
Created on 21 Oct. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.