Nanbeige4-3B Technical Report: Exploring the Frontier of Small Language Models
Chen Yang, Guangyue Peng, Jiaying Zhu, Ran Le, Ruixiang Feng, Tao Zhang, Wei Ruan, Xiaoqi Liu, Xiaoxue Cheng, Xiyun Xu, Yang Song, Yanzipeng Gao, Yiming Jia, Yun Xing, Yuntao Wen, Zekai Wang, Zhenwei An, Zhicong Sun, Zongchao Chen
TL;DR
Nanbeige4-3B demonstrates that compact language models can achieve competitive performance with a carefully designed data and training pipeline. The approach combines a 23T high-quality pre-training corpus with Hybrid Data Filtering, FG-WSD data scheduling, and post-training refinements including deliberative generation, CoT reconstruction, and Dual Preference Distillation, followed by multi-stage RL. Across diverse reasoning, coding, and alignment benchmarks, Nanbeige4-3B-Base and Nanbeige4-3B-Thinking outperform larger Qwen models and set state-of-the-art results on tasks like AIME and GPQA, while maintaining strong tool-use and writing capabilities. The work provides an integrated, open-source methodology for building strong small-scale models that close the gap with larger architectures at lower resource costs.
Abstract
We present Nanbeige4-3B, a family of small-scale but high-performing language models. Pretrained on 23T high-quality tokens and finetuned on over 30 million diverse instructions, we extend the boundary of the scaling law for small language models. In pre-training, we design a Fine-Grained Warmup-Stable-Decay (FG-WSD) training scheduler, which progressively refines data mixtures across stages to boost model performance. In post-training, to improve the quality of the SFT data, we design a joint mechanism that integrates deliberative generation refinement and chain-of-thought reconstruction, yielding substantial gains on complex tasks. Following SFT, we employ our flagship reasoning model to distill Nanbeige4-3B through our proposed Dual Preference Distillation (DPD) method, which leads to further performance gains. Finally, a multi-stage reinforcement learning phase was applied, leveraging verifiable rewards and preference modeling to strengthen abilities on both reasoning and human alignment. Extensive evaluations show that Nanbeige4-3B not only significantly outperforms models of comparable parameter scale but also rivals much larger models across a wide range of benchmarks. The model checkpoints are available at https://huggingface.co/Nanbeige.
