Small Language Models: Survey, Measurements, and Insights
Zhenyan Lu, Xiang Li, Dongqi Cai, Rongjie Yi, Fangming Liu, Xiwen Zhang, Nicholas D. Lane, Mengwei Xu
TL;DR
The paper surveys small language models (100M–5B) focusing on decoder-only architectures and open-weight access, benchmarking 70 models across architectures, training data, training methods, and on-device cost. It provides a comprehensive evaluation of capabilities (commonsense, math, in-context learning, long-context retrieval) and on-device latency/memory on edge hardware, highlighting the impact of quantization and hardware. Key findings show architectural innovations in SLMs are modest, but data quality and curated pretraining datasets drive performance, with in-context learning improving as models scale and long-context capabilities improving with size. The authors propose directions spanning hardware–algorithm co-design, synthetic data pipelines, deployment-aware scaling, continual on-device learning, device–cloud collaboration, fair benchmarking, and sparsity exploration to advance SLM research and deployment.
Abstract
Small language models (SLMs), despite their widespread adoption in modern smart devices, have received significantly less academic attention compared to their large language model (LLM) counterparts, which are predominantly deployed in data centers and cloud environments. While researchers continue to improve the capabilities of LLMs in the pursuit of artificial general intelligence, SLM research aims to make machine intelligence more accessible, affordable, and efficient for everyday tasks. Focusing on transformer-based, decoder-only language models with 100M-5B parameters, we survey 70 state-of-the-art open-source SLMs, analyzing their technical innovations across three axes: architectures, training datasets, and training algorithms. In addition, we evaluate their capabilities in various domains, including commonsense reasoning, mathematics, in-context learning, and long context. To gain further insight into their on-device runtime costs, we benchmark their inference latency and memory footprints. Through in-depth analysis of our benchmarking data, we offer valuable insights to advance research in this field.
