paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Beyond the Prompt: How Novices Engage with AI During Code Summarization

超越提示词:新手在代码摘要任务中如何与 AI 互动
ICSE Proceedings of the IEEE/ACM 48th International Conference on Software Engineering2026匹配度 1/10 · 该论文属于软件工程教育与人机交互领域的眼动追踪实证研究,关注新手使用生成式 AI 进行代码摘要时的注意力分配与参与深度,未涉及静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也不以 LLM/Agent 作为改进程序分析的工具。引用 0 inbox
Suad Mohamed, Abdullah Parvin, Najma Ismail, Kimberly Amaya, Esteban Parra, Michael Oliver
crossref: 2026-09-12

AI 速览

一句话:首个眼动追踪研究,揭示生成式 AI 辅助如何改变新手程序员在代码摘要时的注意力分配与参与深度。

生成式 AI 工具正在改变软件开发实践,但学生对其过度依赖可能导致基础软件技能的退化。本文针对这一问题,开展了首个眼动追踪研究,考察生成式 AI 如何影响新手程序员在代码摘要任务中的代码理解过程。研究通过眼动数据分析了 AI 辅助下程序员对具体代码元素(如参数、循环、方法调用)的注视位置、注视频率,以及在不同语义类别上的参与深度。结果显示,AI 辅助显著改变了程序员的注意力模式;同时在各个经验水平上,AI 辅助都使摘要长度一致变长,但对主观评价与自动化度量的摘要质量均无显著影响。研究还发现经验较少的新手更倾向于直接请求摘要,而较少使用代码澄清与摘要评估这两类交互方式,说明在软件工程教育中需要加强 AI 素养与负责任使用工具的教学。

问题
生成式 AI 在编程教育中日益普及,但人们担心学生过度依赖 AI 会削弱其代码理解等基础软件开发能力,而此前缺乏对 AI 辅助下新手代码理解过程的细粒度实证研究。
方法
招募不同经验水平的新手程序员完成代码摘要任务,采用眼动追踪记录其对代码元素的注视位置与频率,并结合摘要长度、主观与自动化质量评价以及 AI 交互方式的分析。
评估
通过眼动指标跨语义类别(参数、循环、方法调用等)比较 AI 辅助与无辅助条件下的注意力与参与深度,并对比摘要质量度量与不同经验水平者的 AI 使用策略。
原文摘要(Abstract)

Generative AI tools are transforming software development. While these tools offer benefits for developers, there are growing concerns regarding their use. One of the main concerns is that students’ over-reliance on generative AI can lead to the erosion of foundational software development skills. In this paper, we present the first eye-tracking study investigating how generative AI affects novice programmers’ code comprehension during code summarization tasks. Our findings reveal that AI assistance shifts where and how often programmers focus on specific code elements, as well as the depth of their engagement across semantic categories such as arguments, loops, and method calls. AI assistance also led to consistently longer summaries across experience levels, even though it did not significantly affect perceived or automated measures of summary quality. Additionally, we also observed that the less experienced novices tended to use direct summary requests as opposed to code clarification and summary evaluations, highlighting the need to teach AI literacy and responsible tool use in software engineering education.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11992,
  title = {Beyond the Prompt: How Novices Engage with AI During Code Summarization},
  author = {Suad Mohamed and Abdullah Parvin and Najma Ismail and Kimberly Amaya and Esteban Parra and Michael Oliver},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3786580.3786961}
}