[Paper Review] Understanding LLMs: A Comprehensive Overview from Training to Inference
This paper surveys the evolution of LLM training and inference, covering data preprocessing, architectures, prompt learning, and deployment trends toward cost-efficient solutions.
The introduction of ChatGPT has led to a significant increase in the utilization of Large Language Models (LLMs) for addressing downstream tasks. There's an increasing focus on cost-efficient training and deployment within this context. Low-cost training and deployment of LLMs represent the future development trend. This paper reviews the evolution of large language model training techniques and inference deployment technologies aligned with this emerging trend. The discussion on training includes various aspects, including data preprocessing, training architecture, pre-training tasks, parallel training, and relevant content related to model fine-tuning. On the inference side, the paper covers topics such as model compression, parallel computation, memory scheduling, and structural optimization. It also explores LLMs' utilization and provides insights into their future development.
Motivation & Objective
- Explain the evolution of large language models from statistical to transformer-based architectures and the emergence of LLMs.
- Summarize training data sources, preprocessing, and architectural choices that enable scaling to billions of parameters.
- Discuss prompt learning, fine-tuning, and alignment approaches as efficient alternatives to full retraining.
- Review inference, deployment, and optimization techniques aimed at reducing cost and improving scalability.
Proposed method
- Review and synthesize historical and contemporary LLM training techniques, data sources, and preprocessing methods.
- Explain transformer-based architectures (encoder-decoder and decoder-only) and their role in LLM scaling.
- Describe prompt learning paradigms, including templates, verbalizers, and learning strategies.
- Survey inference and deployment techniques such as model compression, memory scheduling, and structural optimization.

Experimental results
Research questions
- RQ1What are the key data sources and preprocessing steps used to train large language models?
- RQ2How do transformer-based architectures underpin LLMs, and what are the main training paradigms (pre-training, fine-tuning, prompting) and their trade-offs?
- RQ3What prompt learning techniques and templates improve task performance without full model retraining?
- RQ4What inference and deployment strategies enable cost-efficient use of LLMs at scale?
- RQ5What are the future directions and open challenges for LLM training and deployment?
Key findings
- LLMs are built on transformer architectures with encoder-decoder or decoder-only configurations.
- Prompt learning offers efficient alternatives to full fine-tuning by using templates and verbalizers.
- Data preprocessing includes filtering, deduplication, privacy scrubbing, and toxicity/bias mitigation to improve safety and quality.
- Inference and deployment focus on model compression, parallel computation, memory scheduling, and structural optimization to reduce costs.
- The paper discusses future development trends toward low-cost training and deployment of LLMs.

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.