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

信任胜过恐惧:系统提示中的动机框架如何影响AI代理调试深度

Trust Over Fear: How Motivation Framing in System Prompts Affects AI Agent Debugging Depth

Wu Ji

AI总结:

研究探讨了信任与恐惧动机框架对AI代理调试深度的影响,发现信任框架能显著提升问题发现和调查步骤,而恐惧框架无明显效果,揭示了动机框架对AI行为的关键作用。

摘要:

AI编码代理的系统提示越来越多地使用动机框架——从中性任务描述到恐惧驱动的威胁——但尚未有受控研究考察此类框架是否影响代理行为。本文通过两项研究探讨信任导向与恐惧导向的动机框架如何影响AI代理的调试性能。在第一项研究中,我们对比了信任框架(NoPUA)与无框架基线,通过9个调试场景使用Claude Sonnet 4,发现信任框架代理发现隐藏问题多59%(p=0.002,d=2.28),尽管发现表面问题少15%,但调查步骤多83%,揭示了调查策略的深度与广度权衡。第二项研究通过5次独立自动化运行,扩展了这些发现,得出135个场景数据点。信任框架代理再次表现出显著优势:调查步骤增加74%(p=0.008),发现隐藏问题增加25%(p=0.016)。关键的是,恐惧框架(PUA)代理在任何指标上均无显著改进(所有p>0.3),表明恐惧动机对AI代理无效。我们基于自我决定理论、监管焦点理论和满意模型,认为信任框架诱导探索导向、促进导向行为,而恐惧框架未能改变代理的默认满意策略。我们的结果表明,系统提示的动机框架——而非其技术内容——因果地影响AI代理调查深度。

英文摘要:

System prompts for AI coding agents increasingly employ motivational framing -- from neutral task descriptions to fear-driven threats -- yet no controlled study has examined whether such framing affects agent behavior. We present two studies investigating how trust-based versus fear-based motivation framing in system prompts influences AI agent debugging performance. In Study 1, we conducted a controlled manual experiment comparing a trust-framed methodology (NoPUA) against an unframed baseline across 9 debugging scenarios using Claude Sonnet 4. Trust-framed agents found 59% more hidden issues (p = 0.002, d = 2.28) while taking 83% more investigative steps, despite finding 15% fewer surface-level issues -- revealing a depth-over-breadth tradeoff in investigation strategy. In Study 2, we replicated and extended these findings with 5 independent automated runs across 3 conditions (Baseline, NoPUA trust-framed, PUA fear-framed), yielding 135 scenario-level data points. Trust-framed agents again showed significant advantages: +74% investigative steps (p = 0.008) and +25% hidden issues found (p = 0.016). Crucially, fear-framed (PUA) agents showed no significant improvement over baseline on any metric (all p > 0.3), demonstrating that fear-based motivation is ineffective for AI agents. We ground these findings in Self-Determination Theory, regulatory focus theory, and satisficing models, arguing that trust-based framing induces exploration-oriented, promotion-focused behavior while fear-based framing fails to shift agents from default satisficing strategies. Our results suggest that the motivational frame of system prompts -- not just their technical content -- causally influences AI agent investigation depth.

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

↑