arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.13759cs.AIcs.LG
收藏

认知伙伴:一种轻量级并行监控架构,用于检测和从LLM代理的推理退化中恢复

The cognitive companion: a lightweight parallel monitoring architecture for detecting and recovering from reasoning degradation in LLM agents

IBM Dublin(IBM都柏林);Citi Polytechnic Institute Khulna(基蒂理工学院库尔纳)

Rafflesia Khan, Nafiul Islam Khan

AI总结:

本文提出认知伙伴,一种轻量级并行监控架构,用于检测和恢复LLM代理的推理退化。通过实验验证了其在不同任务类型中的有效性,并指出任务类型依赖性和潜在的规模限制。

摘要:

大型语言模型(LLM)代理在多步骤任务中面临推理退化、循环、漂移和停滞状态的问题,其发生率高达30%。当前解决方案包括硬步骤限制(突兀)或LLM作为判断者的监控(每步10-15%的开销)。本文介绍认知伙伴,一种并行监控架构,包含两种实现:基于LLM的伙伴和新型零开销探针伙伴。我们报告了一个以Gemma 4 E4B为中心的三批次可行性研究,并额外对Qwen 2.5 1.5B和Llama 3.2 1B进行了探索性小模型分析。在实验中,基于LLM的伙伴在易循环任务中减少了重复率52-62%,开销约11%。基于探针的伙伴在第28层隐藏状态上训练,显示零测量推理开销下的平均效应大小+0.471;其最强探针结果在小代理标记数据集上实现了交叉验证的AUROC 0.840。关键经验发现是伙伴效益似乎依赖于任务类型:伙伴在易循环和开放性任务中最有帮助,而在更结构化任务中效果中性或负面。小模型实验还表明可能存在规模界限:在1B-1.5B模型上,即使干预触发,伙伴未提高测量质量代理。整体而言,本文应视为可行性研究而非最终验证。结果提供了鼓励的证据,表明子令牌监控可能有用,识别了任务类型敏感性作为实际设计限制,并激励了选择性伙伴激活作为未来工作的有希望方向。

英文摘要:

Large language model (LLM) agents on multi-step tasks suffer reasoning degradation, looping, drift, stuck states, at rates up to 30% on hard tasks. Current solutions include hard step limits (abrupt) or LLM-as-judge monitoring (10-15% overhead per step). This paper introduces the Cognitive Companion, a parallel monitoring architecture with two implementations: an LLM-based Companion and a novel zero-overhead Probe-based Companion. We report a three-batch feasibility study centered on Gemma 4 E4B, with an additional exploratory small-model analysis on Qwen 2.5 1.5B and Llama 3.2 1B. In our experiments, the LLM-based Companion reduced repetition on loop-prone tasks by 52-62% with approximately 11% overhead. The Probe-based Companion, trained on hidden states from layer 28, showed a mean effect size of +0.471 at zero measured inference overhead; its strongest probe result achieved cross-validated AUROC 0.840 on a small proxy-labeled dataset. A key empirical finding is that companion benefit appears task-type dependent: companions are most helpful on loop-prone and open-ended tasks, while effects are neutral or negative on more structured tasks. Our small-model experiments also suggest a possible scale boundary: companions did not improve the measured quality proxy on 1B-1.5B models, even when interventions fired. Overall, the paper should be read as a feasibility study rather than a definitive validation. The results provide encouraging evidence that sub-token monitoring may be useful, identify task-type sensitivity as a practical design constraint, and motivate selective companion activation as a promising direction for future work.

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

↑