A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthiness

Fali Wang, Zhiwei Zhang, Xianren Zhang, Zongyu Wu, Tzuhao Mo +9 more
11/4/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: FairyFali/SLMs-Survey (261 stars, MIT, last commit 2025-11-06).

Abstract

Large language models (LLMs) have demonstrated emergent abilities in text generation, question answering, and reasoning, facilitating various tasks and domains. Despite their proficiency in various tasks, LLMs like PaLM 540B and Llama-3.1 405B face limitations due to large parameter sizes and computational demands, often requiring cloud API use which raises privacy concerns, limits real-time applications on edge devices, and increases fine-tuning costs. Additionally, LLMs often underperform in specialized domains such as healthcare and law due to insufficient domain-specific knowledge, necessitating specialized models. Therefore, Small Language Models (SLMs) are increasingly favored for their low inference latency, cost-effectiveness, efficient development, and easy customization and adaptability. These models are particularly well-suited for resource-limited environments and domain knowledge acquisition, addressing LLMs' challenges and proving ideal for applications that require localized data handling for privacy, minimal inference latency for efficiency, and domain knowledge acquisition through lightweight fine-tuning. The rising demand for SLMs has spurred extensive research and development. However, a comprehensive survey investigating issues related to the definition, acquisition, application, enhancement, and reliability of SLM remains lacking, prompting us to conduct a detailed survey on these topics. The definition of SLMs varies widely, thus to standardize, we propose defining SLMs by their capability to perform specialized tasks and suitability for resource-constrained settings, setting boundaries based on the minimal size for emergent abilities and the maximum size sustainable under resource constraints. For other aspects, we provide a taxonomy of relevant models/methods and develop general frameworks for each category to enhance and utilize SLMs effectively.

View on arXivView PDF

Code Implementations(1)

MIT

Survey of Small Language Models from Penn State, ...

26123Oct 5, 202411 months agoMIT
language-modellarge-language-modelsllmslmsmall-language-models+2 more

Similar Papers

Cite this paper

@article{wang2024comprehensive,
  title  = {A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthiness},
  author = {Fali Wang and Zhiwei Zhang and Xianren Zhang and Zongyu Wu and Tzuhao Mo and Qiuhao Lu and Wanjing Wang and Rui Li and Junjie Xu and Xianfeng Tang and Qi He and Yao Ma and Ming Huang and Suhang Wang},
  year   = {2024},
  eprint = {2411.03350},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.03350v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.03350.svg)](https://codeofpaper.com/paper/2411.03350)

Discussion