提出代码生成伦理溯源框架,关注数据到部署全过程的道德问题。
What Makes Code Generation Ethically Sourced?
- 构建代码生成伦理溯源11维框架,涵盖从数据收集到部署各阶段。
- 调研32名从业者发现多数忽略社会维度,但普遍认同框架有启发性。
- 引入代码质量作为新维度,强调其在伦理实践中的关键作用。
现有代码生成模型旨在降低软件任务的时间与精力成本。为确保负责任的人工智能,学界日益关注各类伦理问题(如许可不明确、隐私、公平性及环境影响)。这些研究的共同目标是实现伦理溯源的代码生成,该概念在语音合成和图像生成领域已受关注。本文首次提出伦理溯源代码生成(ES-CodeGen)这一新概念,指代从数据收集到后期部署全过程均采用伦理与可持续实践的代码生成模型开发流程。为建立该领域的分类体系,我们进行了两阶段文献综述,阅读了803篇跨领域的论文,筛选出71篇相关研究,并初步提炼出10个维度。为进一步完善维度并理解其后果,我们对32名从业者进行了调查,其中包括6位曾向Stack数据集提交退出请求的开发者(具真实伦理困扰经验)。结果形成11个维度,新增代码质量维度。同时识别出相关后果、产出物与阶段。事后反思显示,多数从业者虽重视但忽视社会维度。多数受访者表示本调查显著提升了其对伦理溯源的理解。本研究呼吁更广泛关注代码生成中的多重伦理议题。
原文摘要 · Abstract (English)
Several code generation models have been proposed to help reduce time and effort in solving software-related tasks. To ensure responsible AI, there are growing interests over various ethical issues (e.g., unclear licensing, privacy, fairness, and environment impact). These studies have the overarching goal of ensuring ethically sourced generation, which has gained growing attentions in speech synthesis and image generation. In this paper, we introduce the novel notion of Ethically Sourced Code Generation (ES-CodeGen) to refer to managing all processes involved in code generation model development from data collection to post-deployment via ethical and sustainable practices. To build a taxonomy of ES-CodeGen, we perform a two-phase literature review where we read 803 papers across various domains and specific to AI-based code generation. We identified 71 relevant papers with 10 initial dimensions of ES-CodeGen. To refine our dimensions and gain insights on consequences of ES-CodeGen, we surveyed 32 practitioners, which include six developers who submitted GitHub issues to opt-out from the Stack dataset (these impacted users have real-world experience of ethically sourcing issues in code generation models). The results lead to 11 dimensions of ES-CodeGen with a new dimension on code quality as practitioners have noted its importance. We also identified consequences, artifacts, and stages relevant to ES-CodeGen. Our post-survey reflection showed that most practitioners tend to ignore social-related dimensions despite their importance. Most practitioners either agreed or strongly agreed that our survey help improve their understanding of ES-CodeGen. Our study calls for attentions of various ethical issues towards ES-CodeGen.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。