[Paper Review] A Survey on Efficient Inference for Large Language Models
This survey categorizes efficiency techniques for LLM inference into data-, model-, and system-level optimizations, and provides experimental comparisons and future directions.
Large Language Models (LLMs) have attracted extensive attention due to their remarkable performance across various tasks. However, the substantial computational and memory requirements of LLM inference pose challenges for deployment in resource-constrained scenarios. Efforts within the field have been directed towards developing techniques aimed at enhancing the efficiency of LLM inference. This paper presents a comprehensive survey of the existing literature on efficient LLM inference. We start by analyzing the primary causes of the inefficient LLM inference, i.e., the large model size, the quadratic-complexity attention operation, and the auto-regressive decoding approach. Then, we introduce a comprehensive taxonomy that organizes the current literature into data-level, model-level, and system-level optimization. Moreover, the paper includes comparative experiments on representative methods within critical sub-fields to provide quantitative insights. Last but not least, we provide some knowledge summary and discuss future research directions.
Motivation & Objective
- Explain the main causes of inefficient LLM inference (model size, quadratic attention, auto-regressive decoding).
- Provide a comprehensive taxonomy of efficiency techniques across data, model, and system levels.
- Summarize comparative experiments on representative methods to offer practical guidance.
- Discuss future research directions and knowledge synthesis for efficient LLM inference.
Proposed method
- Analyze and categorize literature on LLM efficiency into data-level, model-level, and system-level optimization (Sec. 3).
- Provide comparative experiments on representative methods within critical sub-fields to yield quantitative insights (Sec. 4–6).
- Discuss knowledge synthesis and future research directions (Sec. 7–8).
- Outline a taxonomic framework and discuss hardware accelerator considerations (Sec. 6.3).
Experimental results
Research questions
- RQ1What are the primary bottlenecks causing inefficient LLM inference?
- RQ2How can data-, model-, and system-level optimizations be organized to improve inference efficiency for LLMs?
- RQ3What do comparative experiments reveal about the effectiveness of representative efficient inference methods?
- RQ4What future directions and open challenges exist for efficient LLM inference?
- RQ5How do hardware and serving system considerations influence efficient inference?
Key findings
- LLM inference efficiency is hindered by large model size, quadratic attention complexity, and auto-regressive decoding with KV-cache memory considerations.
- A three-level taxonomy (data-level, model-level, system-level) organizes the literature and guides practical optimization.
- Comparative experiments on representative methods provide quantitative insights across sub-fields like model quantization and serving systems.
- Data-level approaches (input compression, output organization) target prefilling and decoding stages to reduce cost and latency.
- Model-level strategies include efficient structure design and model compression, with emphasis on FFN and attention efficiency; system-level optimizations focus on inference engines and scheduling.
- The survey offers actionable recommendations and discusses future research directions and hardware considerations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.