Skip to main content
QUICK REVIEW

[Paper Review] A Survey of Small Language Models

Chien Van Nguyen, Xuan Shen|arXiv (Cornell University)|Oct 25, 2024
Topic ModelingComputer Science3 citations
TL;DR

This survey provides a comprehensive overview of Small Language Models (SLMs), focusing on efficient architectures, training techniques, and model compression methods such as pruning, quantization, and knowledge distillation. It introduces a novel taxonomy for organizing SLM optimization techniques along pre-processing, training, and post-processing axes, while highlighting benchmark datasets, evaluation metrics, and key open challenges in deploying SLMs for resource-constrained environments like edge and mobile devices.

ABSTRACT

Small Language Models (SLMs) have become increasingly important due to their efficiency and performance to perform various language tasks with minimal computational resources, making them ideal for various settings including on-device, mobile, edge devices, among many others. In this article, we present a comprehensive survey on SLMs, focusing on their architectures, training techniques, and model compression techniques. We propose a novel taxonomy for categorizing the methods used to optimize SLMs, including model compression, pruning, and quantization techniques. We summarize the benchmark datasets that are useful for benchmarking SLMs along with the evaluation metrics commonly used. Additionally, we highlight key open challenges that remain to be addressed. Our survey aims to serve as a valuable resource for researchers and practitioners interested in developing and deploying small yet efficient language models.

Motivation & Objective

  • To provide a systematic review of recent advances in small language models (SLMs) for efficient NLP deployment.
  • To identify and categorize key techniques in model architecture, training, and compression that optimize SLMs under hardware and resource constraints.
  • To propose a novel two-axis taxonomy for organizing SLM optimization methods based on technique type and target constraint (e.g., inference compute, memory, latency).
  • To summarize benchmark datasets and evaluation metrics used in SLM research for standardized performance assessment.
  • To highlight open challenges and future research directions in SLM development and deployment.

Proposed method

  • Proposes a novel taxonomy organizing SLM optimization techniques along two axes: (1) method type (architecture, training, compression) and (2) target constraint (e.g., inference compute, memory, latency).
  • Reviews lightweight model architectures, including efficient self-attention mechanisms and neural architecture search for parameter-efficient design.
  • Examines training techniques such as efficient pre-training and fine-tuning with mixed-precision and quantization-aware training to reduce memory and compute overhead.
  • Analyzes model compression techniques including structured and unstructured pruning, post-training quantization (e.g., ZeroQuant), and knowledge distillation for accuracy retention under size and speed constraints.
  • Evaluates the impact of n:m structured sparsity and sparse matrix acceleration (e.g., via TensorRT) on inference efficiency and hardware compatibility.
  • Synthesizes benchmark datasets and evaluation metrics used across SLM research, including MMLU, GSM8K, and HellaSwag, to enable consistent model comparison.

Experimental results

Research questions

  • RQ1How can small language models be efficiently designed using lightweight architectures and attention mechanisms to reduce computational cost?
  • RQ2What training techniques enable high performance in SLMs while minimizing compute and memory usage?
  • RQ3How effective are model compression techniques like pruning, quantization, and distillation in reducing model size and latency without significant accuracy loss?
  • RQ4What are the most representative benchmark datasets and evaluation metrics for assessing SLM performance across diverse NLP tasks?
  • RQ5What critical open challenges remain in deploying SLMs across edge, mobile, and on-device environments?

Key findings

  • The survey identifies that model compression techniques such as quantization-aware training and n:m structured pruning significantly reduce memory and inference latency while maintaining competitive accuracy.
  • Knowledge distillation and parameter-efficient fine-tuning (e.g., LoRA) enable high performance in small models even with limited data and compute.
  • Efficient self-attention mechanisms and neural architecture search allow for the creation of compact models that match or exceed performance of larger models on specific tasks.
  • Benchmarking reveals that SLMs like TinyLlama and LLaMA-adapter achieve strong performance on standard NLP benchmarks such as MMLU and GSM8K, demonstrating viability for real-world deployment.
  • Despite progress, trade-offs between speed, accuracy, and memory remain unresolved, with techniques like quantization often increasing training time despite reducing memory usage.
  • The survey highlights a lack of standardized evaluation protocols and limited support for long-context or low-resource settings as key open challenges in SLM research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.