NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Rethinking Optimization and Architecture for Tiny Language Models

Yehui Tang, Kai Han, Fangcheng Liu, Yunsheng Ni, Yuchuan Tian, Zheyuan Bai, Yi-Qi Hu, Sichao Liu, Shangling Jui, Yunhe Wang

Introduction

Large Language Models (LLMs) have revolutionized natural language processing, yet their massive resource requirements hinder deployment on edge devices. While "tiny" models (around 1B parameters) offer a solution, they are often trained using scaled-down versions of recipes designed for 70B+ parameter models. Researchers from Huawei Noah’s Ark Lab argue that these recipes do not scale linearly. In this work, they propose a specialized pipeline for Tiny Language Models (TLMs), resulting in the PanGu-π-1.5B Pro, which outperforms significantly larger competitors.

Methodology: A Tailored Recipe for TLMs

Neural Architecture: The Compact Tokenizer

Standard multilingual tokenizers often contain over 100k tokens. In massive models, this vocabulary accounts for a negligible fraction of parameters. However, in a 1B model, it can consume nearly 40% of the parameter budget. By trimming the vocabulary to 48k high-frequency tokens, the researchers reduced the embedding and head layer footprint from ~38% to ~18%, reallocating capacity to the transformer's "main body."

Figure 3: Parameter distribution between the model's main body and embedding/head layers before (a) and after (b) tokenizer optimization.

Parameter Inheritance and Layer Importance

Rather than training from scratch, the "Pro" models inherit weights from a 7B teacher model (PanGu-π-7B). Using learnable binary masks, the team identified critical neurons. Their analysis revealed a "U-shaped" importance curve: the first and last layers are vital for performance, while middle layers are more redundant and can be pruned.

Optimization Strategy: Multi-Round Training

To combat "catastrophic forgetting" in small models, the authors introduced a multi-round training strategy. Instead of uniform data sampling, they focused subsequent training rounds on "hard examples"—data points where the model exhibited high loss—to reinforce weak knowledge areas.

Results and Discussion

The cumulative effect of these optimizations is substantial. PanGu-π-1B Pro achieved an 8.87-point improvement over its baseline. More impressively, PanGu-π-1.5B Pro reached an average benchmark score of 60.64, surpassing Qwen-1.8B (55.04) and even outperforming larger models like Gemma-2.5B and Phi-2 (2.7B) in specific reasoning tasks.

Figure 1: Performance progression of PanGu-π models as individual optimizations are added, compared against Qwen-1.8B.

Conclusion

The success of PanGu-π-1.5B Pro demonstrates that TLMs require distinct architectural and optimization strategies. By prioritizing model depth over width and aggressively managing "tokenizer bloat," researchers can create highly efficient models that punch well above their weight class. Future work will explore hardware-friendly attention mechanisms to further optimize inference speed.

Summary updated

BibTeX
@inproceedings{tang2024rethinking,
  author = {Yehui Tang and Kai Han and Fangcheng Liu and Yunsheng Ni and Yuchuan Tian and Zheyuan Bai and Yi-Qi Hu and Sichao Liu and SHANGLING JUI and Yunhe Wang},
  title = {{Rethinking Optimization and Architecture for Tiny Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=mHIEOZtDDF},
}
Figure