arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26918cs.AI
收藏

诊断语言智能体中的任务不敏感性

Diagnosing Task Insensitivity in Language Agents

Gaoling School of Artificial Intelligence Renmin University of China(中国人民大学高瓴人工智能学院);Taobao & Tmall Group of Alibaba(阿里巴巴淘天集团);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京市大模型与智能治理重点实验室);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(教育部新一代智能搜索与推荐工程研究中心)

Jingyu Liu, Jiaen Lin, Xiaopeng Wu, Kehan Chen, Chuan Yu, Yong Liu

AI总结:

本文发现大语言模型在长程任务中因过度依赖训练模式而忽略任务指令,导致分布外泛化失败,并提出任务扰动负对数似然优化(Task-Perturbed NLL Optimization)来增强任务敏感性。

摘要:

大型语言模型可以作为有能力的长期智能体,但它们的分布外(OOD)泛化仍然较弱。我们确定了这种失败的一个关键来源:任务不敏感性——当面对相似但不同的任务时,模型可能会应用训练期间学到的模式,而无法解决当前任务。我们表明,即使指令在语义上被破坏且无法直接回答,模型也经常继续执行与原始任务一致的动作。我们进一步发现,当我们将训练提示中的任务描述替换为另一个相似但不同的任务时,模型可能仍然输出相同的动作。这种行为伴随着训练期间注意力从任务令牌一致地漂移到局部观察,表明存在对捷径的优化偏差。为了缓解这个问题,我们提出了任务扰动负对数似然优化,一种轻量级的对比正则化器,明确鼓励动作依赖于任务指令。广泛的评估表明,我们的干预提高了任务敏感性和OOD泛化,同时保持了对任务令牌更稳定的注意力。

英文摘要:

Language agents select actions based on task descriptions, environmental observations, and interaction histories. We investigate whether task requirements reliably constrain these decisions when the surrounding context already suggests how to proceed. Across five models and three interactive environments, we find that models, including GPT-5.6-Sol, can continue to act when task descriptions are replaced with the meaningless placeholder xxxx, even when prompted to ask for clarification. Action generation is more frequent in states that suggest a concrete next operation, although these cues do not establish whether that operation serves the user's goal. These findings suggest a possible training-based explanation: contextual cues can make demonstrated responses predictable, allowing models to fit them with limited reliance on task requirements. Tracking seven models during fine-tuning, we observe an overall decrease in attention to task-description tokens and an increase in attention to current observations. To strengthen task dependence, we introduce Task-Perturbed Negative Log-Likelihood (TPNLL), which contrasts the prediction costs of the same response under different task descriptions while holding the non-task context fixed. TPNLL increases attention to task-description tokens and improves complete-episode success in out-of-distribution settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑