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

通过配置实现伦理:编码智能体指令中的AI伦理原则

Ethics by Configuration: AI Ethics Principles in Coding Agent Instructions

The University of Melbourne(墨尔本大学);Singapore Management University(新加坡管理大学);Heidelberg University(海德堡大学)

Haoyu Gao, Peerachai Banyongrakkul, Marc Cheong, Christoph Treude, Sebastian Baltes, Mansooreh Zahedi

AI总结:

该研究调查了GitHub仓库中编码智能体配置文件的AI伦理原则,发现39.4%的文件含伦理相关陈述,关注点与公共伦理框架不同,为相关从业者等提供了启示。

摘要:

随着AI编码智能体成为软件开发的重要组成部分,项目越来越多地利用配置文件(如上下文文件和技能)来管控智能体行为。尽管AI伦理原则在研究和政策中被广泛应用,但开发者在配置编码智能体时是否以及如何体现这些原则,目前尚不清楚。我们研究了8893个GitHub仓库中40079个配置文件里的伦理原则,采用经过验证的大语言模型(LLM)分类方法,测量了与伦理相关的陈述的普遍性,并对679个文件中的702个分层样本进行了定性分析,以揭示这些文件中体现的伦理考量及其涉及的相关方。与伦理相关的陈述出现在39.4%的文件和61.5%的仓库中,集中在问责制、透明度、隐私保护和可靠性方面,且在技能等特定任务文件中的出现频率高于项目范围的上下文文件。我们的定性分析确定了30类伦理考量,这些考量以智能体的具体规则形式呈现:问责制主要体现为人类批准的要求,透明度体现为解释并如实报告智能体的工作,公平性体现为可访问性和本地化。这些考量揭示了关注点的差异:公共伦理框架旨在保护社会和终端用户,而配置文件主要关注开发工作流程中的开发者、维护者和社区成员。与伦理相关的内容主要出现在基于文本的文件中,智能体是否遵循这些指令仍未经过测试。我们讨论了其对从业者、研究人员和政策制定者的意义。

英文摘要:

As AI coding agents become integral to software development, projects increasingly utilise configuration files, such as context files and skills, to govern agent behaviour. While AI ethics principles are widely used in research and policy, little is known about whether and how they are reflected when developers configure coding agents. We studied ethics principles in 40,079 configuration files across 8,893 GitHub repositories. Using a validated large language model (LLM) classification, we measured the prevalence of ethics-related statements, and qualitatively analysed 702 stratified samples across 679 files to uncover the ethical considerations reflected in these files and the parties they concern. Ethics-related statements appeared in 39.4% of files and 61.5% of repositories; concentrated on accountability, transparency, privacy protection, and reliability; and occurred more often in task-specific files such as skills than in project-wide context files. Our qualitative analysis identified 30 categories of ethical considerations, which take the form of concrete rules for the agent. Accountability appeared mainly as requirements for human approval, transparency as explain and honestly report the agent's work, and fairness as accessibility and localisation. These considerations reveal a difference in focus. Whereas public ethics frameworks aim to protect society and end users, configuration files mainly concern developers, maintainers, and community members in the development workflow. Ethics-related content appeared mainly in prose-based files, and whether agents follow these instructions remains untested. We discuss the implications for practitioners, researchers, and policymakers.

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

↑