arXiv:2605.22166cs.AI2026-05被引 19

不改模型权重,通过优化运行时接口提升大模型智能体表现

Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents

论文配图:Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents
图 1 · 摘自论文原文
  • 用运行时框架自动提取并复用失败交互的修复策略
  • 在7个确定性环境中平均提升88.5%,116/126设置表现改善
  • 适配性强,一个模型训练出的框架可通用到17个其他模型

大模型智能体的表现不仅取决于语言模型本身,还受运行时框架的影响,该框架负责观测、工具使用、动作执行、反馈解析和轨迹控制。现有方法多聚焦于更新模型参数,但许多在规则化、确定性环境中的失败源于模型与环境接口的不匹配。本文提出 Life-Harness,一种生命周期感知的运行时框架,可在不修改模型权重或评估环境的前提下,提升冻结的 LLM 智能体性能。Life-Harness 通过分析训练轨迹,将重复出现的交互失败转化为可复用的干预策略,覆盖环境契约、程序技能、动作实现和轨迹调控等多个层面,并在未见任务上保持固定。在 τ-bench、τ²-bench 与 AgentBench 的七个确定性环境中,该方法在 18 个模型主干下,126 个模型-环境组合中有 116 个取得改进,平均相对提升达 88.5%。仅基于 Qwen3-4B-Instruct 轨迹训练的框架可迁移至 17 个其他模型,表明 Life-Harness 捕捉的是环境侧的通用结构而非模型特异性行为。结果证明,运行时接口适应是模型中心训练的重要补充。代码已开源。

原文摘要 · Abstract (English)

LLM agents are shaped not only by their language models, but also by the runtime harness that mediates observation, tool use, action execution, feedback interpretation, and trajectory control. While existing agent adaptation methods mainly update model parameters, many failures in deterministic, rule-governed domains stem from mismatches at the model--environment interface. We propose Life-Harness, a lifecycle-aware runtime harness that improves frozen LLM agents without changing model weights or evaluation environments. Life-Harness evolves from training trajectories by converting recurring interaction failures into reusable interventions across environment contracts, procedural skills, action realization, and trajectory regulation, and remains fixed for evaluation on unseen tasks. On seven deterministic environments from $τ$-bench, $τ^2$-bench, and AgentBench, Life-Harness improves 116 out of 126 model--environment settings across 18 model backbones, with an average relative improvement of 88.5%. Harnesses evolved only from Qwen3-4B-Instruct trajectories transfer to 17 other models, showing that Life-Harness captures reusable environment-side structure rather than model-specific behavior. These results position runtime interface adaptation as a complementary alternative to model-centric agent training. Code is available at https://github.com/Tianshi-Xu/Life-Harness.

智能体接口优化运行时迁移

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。