paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Advancing Automated Ethical Profiling in SE: a Zero-Shot Evaluation of LLM Reasoning

推进软件工程中的自动化伦理画像:LLM 推理的零样本评估
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 1/10 · 该论文聚焦于零样本评估 LLM 的伦理推理能力,属于以 LLM 本身为研究目标的评测工作,与用户关注的 PL/AI 交叉方向(静态分析、Agentic 程序分析、浮点程序分析、贝叶斯程序分析及 LLM 作为工具改进这些分析)几乎没有直接关系。虽然标签包含机器学习与程序语言,且背景涉及 SE 管道,但核心并非程序分析或形式化验证。引用 0 inbox
Patrizio Migliarini, Mashal Afzal Memon, Marco Autili, Paola Inverardi
crossref: 2026-09-12

AI 速览

一句话:提出全自动框架,零样本评估 16 个 LLM 在 30 个真实伦理场景中的伦理推理能力。

本文评估大语言模型能否在软件工程自动化伦理画像中充当可审计的伦理推理引擎。作者提出全自动零样本框架,用 30 个真实伦理争议场景测试 16 个 LLM:要求模型识别最适用的伦理理论、判断行为道德可接受性并解释理由,并与专家伦理学者选择进行一致性比较。结果显示,模型平均理论一致性率(TCR)为 73.3%,道德可接受性二元一致率(BAR)为 86.7%,分歧集中于伦理模糊案例;自由文本解释虽词汇多样,但概念趋同明显。研究聚焦画像流程的伦理解释器组件,表明当前 LLM 具备一定解释稳定性与理论一致性推理能力。

问题
如何评估 LLM 在软件工程中伦理显著情境下的伦理推理能力,并判断其能否支撑自动化伦理画像。
方法
提出全自动零样本评估框架,让 16 个 LLM 在 30 个真实伦理场景中识别伦理理论、判断道德可接受性并解释理由,并与专家选择进行一致性比较。
评估
使用理论一致性率(TCR)和二元一致率(BAR)等指标量化,并结合自由文本解释的定性分析;平均 TCR 为 73.3%,BAR 为 86.7%,分歧集中在伦理模糊案例。
原文摘要(Abstract)

Large Language Models (LLMs) are increasingly integrated into software engineering (SE) tools for tasks that extend beyond code synthesis, including judgment under uncertainty and reasoning in ethically significant contexts. We present a fully automated framework for assessing ethical reasoning capabilities across 16 LLMs in a zero-shot setting, using 30 real-world ethically charged scenarios. Each model is prompted to identify the most applicable ethical theory to an action, assess its moral acceptability, and explain the reasoning behind their choice. Responses are compared against expert ethicists’ choices using inter-model agreement metrics. Our results show that LLMs achieve an average Theory Consistency Rate (TCR) of 73.3% and Binary Agreement Rate (BAR) on moral acceptability of 86.7%, with interpretable divergences concentrated in ethically ambiguous cases. A qualitative analysis of free-text explanations reveals strong conceptual convergence across models despite surface-level lexical diversity. These findings support the potential viability of LLMs as ethical inference engines within SE pipelines, enabling scalable, auditable, and adaptive integration of user-aligned ethical reasoning. Our focus is the Ethical Interpreter component of a broader profiling pipeline: we evaluate whether current LLMs exhibit sufficient interpretive stability and theory-consistent reasoning to support automated profiling.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9494,
  title = {Advancing Automated Ethical Profiling in SE: a Zero-Shot Evaluation of LLM Reasoning},
  author = {Patrizio Migliarini and Mashal Afzal Memon and Marco Autili and Paola Inverardi},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00202}
}