paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Enhancing Code LLM Training with Programmer Attention

利用程序员注意力增强代码大语言模型训练
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 2/10 · 该论文聚焦于用眼动追踪等人类注意力信号增强代码LLM(CodeT5)的训练,属于以提升LLM本身能力为目标的AI4SE工作,与用户关注的两大核心方向(静态分析/形式化验证与LLM的双向结合、浮点程序分析、贝叶斯程序分析)均无交集,也未涉及Agentic程序或工业落地分析工具。其目标更接近用户明确不感兴趣的'以LLM本身为研究目标'一类。引用 2 inbox
Yifan Zhang, Chen Huang, Zachary Karas, Thuy Dung Nguyen, Kevin Leach, Yu Huang
crossref: 2026-09-12

AI 速览

一句话:提出眼动数据增强、注意力模式抽象与奖励引导微调的流水线,用人类注意力信号提升代码LLM训练效果。

该论文关注人类注意力信号在代码大语言模型训练中未被充分利用的问题:眼动数据采集复杂昂贵,且缺乏系统性利用这些信号的方法。作者提出一条涵盖数据增强与奖励微调的连贯流水线,具体包括:眼动路径增强方法以扩充程序员注意力数据集;模式抽象步骤将原始注视点提炼为可学习的注意力motif;以及奖励引导策略,将这些洞见直接融入CodeT5的监督微调过程。实验在CodeXGlue代码摘要基准上取得CodeBLEU +7.16的提升,表明融合人类与机器注意力能够增强代码智能,并鼓励在下一代AI4SE中探索以人为中心的方法。

问题
代码LLM训练主要依赖机器注意力,而程序员的人类注意力信号虽有价值,却因眼动数据采集成本高、缺乏系统性利用手段而未被充分开发。
方法
构建涵盖数据增强与奖励微调的流水线:眼动路径增强扩充注意力数据集,模式抽象将原始注视点提炼为可学习的注意力motif,并以奖励引导策略融入CodeT5监督微调。
评估
在CodeXGlue代码摘要基准上进行实验,CodeBLEU提升7.16,验证了融合人类与机器注意力对代码智能的增益。
原文摘要(Abstract)

Human attention provides valuable yet underexploited signals for code LLM training, offering a perspective beyond purely machine-driven attention. Despite the complexity and cost of collecting eye-tracking data, there has also been limited progress in systematically using these signals for code llm training. To address both issues, we propose a cohesive pipeline spanning augmentation and reward-based fine-tuning. Specifically, we introduce (1) an eye-tracking path augmentation method to expand programmer attention datasets, (2) a pattern abstraction step that refines raw fixations into learnable attention motifs, and (3) a reward-guided strategy for integrating these insights directly into a CodeT5 supervised fine-tuning process. Our experiments yield +7.16 in CodeBLEU on the CodeXGlue benchmark for code summarization, underscoring how uniting human and machine attention can boost code intelligence. We hope this work encourages broader exploration of human-centric methods in next-generation AI4SE.

链接与引用

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

BibTeX
@inproceedings{paperbot9154,
  title = {Enhancing Code LLM Training with Programmer Attention},
  author = {Yifan Zhang and Chen Huang and Zachary Karas and Thuy Dung Nguyen and Kevin Leach and Yu Huang},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728510}
}