APTBench: Benchmarking Agentic Potential of Base LLMs During Pre-Training
Jiarui Qin, Yunjia Xi, Junjie Huang, Renting Rui, Di Yin, Weiwen Liu, Yong Yu, Weinan Zhang, Xing Sun
TL;DR
APTBench introduces a lightweight, trajectory-based benchmark to evaluate the agentic potential of base LLMs during pre-training. By converting real-world agent tasks into MCQ and text-completion formats across SWE and DR domains, it targets core abilities like planning, action, and atomic tasks, while leveraging long, multi-turn trajectories for contextual richness. Experiments across model sizes and data regimes show emergent agentic capabilities at larger scales and strong correlations with downstream agent performance, suggesting data quality and task alignment are critical for agentic pre-training. The framework offers a scalable, cost-effective alternative to post-training agent evaluations and provides a foundation for guiding pre-training data mix and model design toward improved agentic behavior.
Abstract
With the rapid development of LLM-based agents, there is a growing trend to incorporate agent-specific data into the pre-training stage of LLMs, aiming to better align LLMs with real-world autonomous task execution. However, current pre-training benchmarks primarily focus on isolated and static skills, e.g., common knowledge or mathematical/code reasoning, and fail to reflect model's agentic capabilities. On the other hand, agent benchmarks are typically designed for post-trained models, requiring multi-turn task execution abilities that base models struggle to support. Thus, there is a compelling need for a benchmark that can evaluate agentic potentials during pre-training and guide the model training more effectively. To address this gap, we propose APTBench, a framework that converts real-world agent tasks and successful trajectories into multiple-choice or text completion questions tailored for base models. It focuses on core agentic abilities, e.g., planning and action, and covers key agent scenarios, software engineering and deep research. Compared to existing general-purpose benchmarks, APTBench offers a more predictive signal of a model's downstream performance as an agent, while remaining significantly more lightweight and cost-effective than full-scale, end-to-end agent evaluations after post-training.
