Nanbeige4.2-3B: Unlocking Agentic Capabilities in a Compact Mode

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems, Software Development & Engineering · Depth: Expert, extended

Summary

Nanbeige4.2-3B is a compact general agentic model with 3B non-embedding parameters, demonstrating strong performance across code-agent, office-agent, and complex tool-use tasks. It maintains competitive reasoning in mathematics, coding, and science. The model was pretrained from scratch on 28T tokens using a Looped Transformer architecture, which reuses the layer stack to increase capacity without adding parameters. Its supervised fine-tuning (SFT) data and trajectory construction expanded diversity through real-world deployment and large-scale synthesis. A multi-stage Reinforcement Learning (RL) pipeline, including mixed-mode RLHF and agentic RL with outcome/process rewards, improved quality and stabilized long-horizon training. Evaluations show Nanbeige4.2-3B outperforms larger models like Qwen3.5-9B and Gemma4-12B on agentic benchmarks and is competitive on reasoning and alignment tasks, supporting its use as a compact local personal assistant.

Key takeaway

For AI Engineers developing compact, general-purpose agentic models, Nanbeige4.2-3B demonstrates that advanced capabilities are achievable within a 3B parameter budget. You should consider adopting Looped Transformer architectures and multi-stage RL pipelines, including length-controlled reasoning RL and action-centric agentic RL, to enhance both performance and efficiency. This approach enables robust agentic behavior and strong reasoning for local deployments.

Key insights

Nanbeige4.2-3B achieves broad agentic capabilities and strong reasoning in a 3B-parameter model via architectural and multi-stage training innovations.

Principles

Method

Pretrain a Looped Transformer on 28T tokens. Apply multi-stage SFT with increasing context and agentic data. Implement two-stage RLHF, then length-controlled reasoning RL, and finally agentic RL with action-centric rubrics.

In practice

Topics

Code references

Best for: NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.