Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation
影响策略重要吗?研究大语言模型代码生成中的提示词框架效应
专题命中 代码生成 :code generation(title,abstract);分类 cs.SE、cs.CL、cs.AI
AI总结 本研究首次大规模实证探究基于心理学的影响策略诱导的提示词框架对LLM代码生成的影响,发现强调紧迫性的框架会降低代码正确性与安全性,为设计人机交互提供实践见解。
Comments Accepted for publication in Empirical Software Engineering. This is the accepted manuscript version. 37 pages, 3 figures
Journal ref Empirical Software Engineering 32 (2026) 13