paper-with-me

홈 › Papers

Model Compression and Efficient Inference for Large Language Models: A Survey

2024-02-15 · Wenxiao Wang, Wei Chen, Yicong Luo, Yongliu Long, Zhengkai Lin, Liye Zhang, Binbin Lin, Deng Cai, Xiaofei He

Transformer based large language models have achieved tremendous success. However, the significant memory and computational costs incurred during the inference process make it challenging to deploy large models on resource-constrained devices. In this paper, we investigate compression and efficient inference methods for large language models from an algorithmic perspective. Regarding taxonomy, similar to smaller models, compression and acceleration algorithms for large language models can still be categorized into quantization, pruning, distillation, compact architecture design, dynamic networks. However, Large language models have two prominent characteristics compared to smaller models: (1) Most of compression algorithms require finetuning or even retraining the model after compression. The most notable aspect of large models is the very high cost associated with model finetuning or training. Therefore, many algorithms for large models, such as quantization and pruning, start to explore tuning-free algorithms. (2) Large models emphasize versatility and generalization rather than performance on a single task. Hence, many algorithms, such as knowledge distillation, focus on how to preserving their versatility and generalization after compression. Since these two characteristics were not very pronounced in early large models, we further distinguish large language models into medium models and ``real'' large models. Additionally, we also provide an introduction to some mature frameworks for efficient inference of large models, which can support basic compression or acceleration algorithms, greatly facilitating model deployment for users.

📄 PDF Abstract BibTeX arXiv:2402.09748

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge DistillationModel CompressionQuantization

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Prompt Compression for Large Language Models: A Survey

2024-10-16 · Zongqian Li, Yinhong Liu, Yixuan Su, Nigel Collier

Leveraging large language models (LLMs) for complex natural language tasks typically requires long-form prompts to convey detailed requirements and information, which results in increased memory usage and inference costs…

parameter-efficient fine-tuningSurvey

A Survey on Model Compression and Acceleration for Pretrained Language Models

2022-02-15 · Canwen Xu, Julian McAuley

Despite achieving state-of-the-art performance on many NLP tasks, the high energy cost and long inference delay prevent Transformer-based pretrained language models (PLMs) from seeing broader adoption including for edge …

Model Compression

A Survey of Token Compression for Efficient Multimodal Large Language Models

2025-07-27 · Kele Shao, Keda Tao, Kejia Zhang, Sicheng Feng 외 arxiv

Multimodal large language models (MLLMs) have made remarkable strides, largely driven by their ability to process increasingly long and complex contexts, such as high-resolution images, extended video sequences, and leng…

A Survey on Model Compression for Large Language Models

2023-08-15 · Xunyu Zhu, Jian Li, Yong liu, Can Ma 외

Large Language Models (LLMs) have transformed natural language processing tasks successfully. Yet, their large size and high computational needs pose challenges for practical use, especially in resource-limited settings.…

BenchmarkingKnowledge DistillationModel CompressionQuantization+1

A Comprehensive Survey of Compression Algorithms for Language Models

2024-01-27 · Seungcheol Park, Jaehyeon Choi, Sojin Lee, U Kang

How can we compress language models without sacrificing accuracy? The number of compression algorithms for language models is rapidly growing to benefit from remarkable advances of recent language models without side eff…

Knowledge DistillationQuantizationSurvey