mlsanityData to 14 Oct 2026

Enhancing Code LLM Training with Programmer Attention

arXiv 2503.14936 ↗First posted 19 Mar 2025cs.SE cs.HC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 34 references that are in the map. First posted on arXiv 19 Mar 2025.

Builds on

16 of 34 references.

References · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  4. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  5. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
  6. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
  7. 2021On the Evaluation of Neural Code Summarizationcited by 48
  8. 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarizationcited by 16
  9. 2023Do Large Language Models Pay Similar Attention Like Human Programmers When Generating Code?cited by 14
  10. 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarizationcited by 9
  11. 2023Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarizationcited by 8
  12. 2023Modeling Programmer Attention as Scanpath Predictioncited by 7
4 more
  1. 2023Human AI Collaboration in Software Engineering: Lessons Learned from a Hands On Workshopcited by 7
  2. 2025How to Enable Effective Cooperation Between Humans and NLP Models: A Survey of Principles, Formalizations, and Beyondcited by 4
  3. 2023Revisiting File Context for Source Code Summarizationcited by 3
  4. 2024Computing in the Era of Large Generative Models: From Cloud-Native to AI-Nativecited by 2

Built on by

Not cited yet.