The Librarian Who Refused to Code: Model-Dependent Identity Enactment in LLM Code Generation
拒绝编码的图书管理员:大语言模型代码生成中依赖模型的身份设定
机构 * Bluebear Security(蓝熊安全公司)
专题命中 代码生成 :code generation(title,abstract);分类 cs.SE、cs.CL
AI总结 研究在可控条件下评估不同人物角色对代码生成的影响,测试了四种提示条件、两个模型等,发现角色影响因模型而异,如Claude Opus上图书管理员角色降低正确性,结果表明角色是依赖模型的行为策略偏差,还发布了相关数据和文档。
Comments 17 pages, 3 tables, no figures. Ancillary files include raw completions, derived scores, analysis scripts, persona texts, and preregistration