训练前评估智能体能力:一种端到端方法

·

研究论文 · 2026/10/21

现代大语言模型对智能体能力的需求日益增长,但在预训练阶段评估这些能力仍然困难。现有方法通常依赖静态轨迹衍生任务或基于似然的代理指标,虽然轻量但难以揭示基础模型在交互环境中的行为。我们提出 ASAP(Agent Scaffold Adaptation for Pretraining Evaluation),一个轻量级框架,用于在端到端任务中激发和评估预训练基础模型的智能体行为。ASAP 不将基础模型转换为聊天式智能体,而是保留补全接口,并通过结构化轨迹延续、短参考前缀和最小恢复机制来适配现有智能体脚手架。在软件工程和深度研究基准上,ASAP 在基础模型和预训练检查点之间产生了有区分度的端到端性能。除了聚合分数,ASAP 还暴露模型生成的执行轨迹,从而能够分析训练各阶段的探索、编辑、测试、恢复和任务完成情况。这些轨迹提供了预训练期间智能体相关能力如何变化以及后训练后执行模式差异的行为视角。我们的结果表明,端到端智能体评估可以通过提供交互模型行为的实用诊断来补充传统预训练基准。

该研究提出了一种在预训练阶段评估智能体能力的轻量级端到端方法,克服了现有静态或代理指标的局限,能够揭示模型在交互环境中的行为变化,对理解预训练和后训练对智能体能力的影响具有重要价值。

Agentic capabilities are increasingly important for modern LLMs, yet remain difficult to evaluate during pretraining. Existing approaches typically rely on static trajectory-derived tasks or likelihood-based proxies, which are lightweight but provide limited visibility into how base models behave in interactive environments. We introduce ASAP (Agent Scaffold Adaptation for Pretraining Evaluation), a lightweight framework for eliciting and evaluating agentic behavior from pretrained base models on end-to-end tasks. Rather than converting base models into chat-style agents, ASAP preserves the completion interface and adapts existing agent scaffolds through structured trajectory continuation, short reference prefixes, and minimal recovery mechanisms. Across software-engineering and deep-research benchmarks, ASAP yields discriminative end-to-end performance across base models and pretraining checkpoints. Beyond aggregate scores, ASAP exposes model-generated execution trajectories, enabling analysis of exploration, editing, testing, recovery, and task completion across training stages. These trajectories provide a behavioral view of how agent-relevant capabilities change during pretraining and how execution patterns differ after post-training. Our results suggest that end-to-end agent evaluation can complement conventional pretraining benchmarks by providing a practical diagnostic of interactive model behavior.

阅读原文

参与讨论