EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization
This program is tentative and subject to change.
Code summarization is the task of generating natural language descriptions of source code, which is critical for software comprehension and maintenance. While large language models (LLMs) have achieved remarkable progress on this task, an open question remains: can human expertise in code understanding further guide and enhance these models? We propose EyeLayer, a lightweight attention-augmentation module that incorporates human eye-gaze patterns, as a proxy of human expertise, into LLM-based code summarization. EyeLayer models human attention during code reading via a Multimodal Gaussian Mixture, redistributing token embeddings based on learned parameters $(\mu_i, \sigma_i^2)$ that capture where and how intensively developers focus. This design enables learning generalizable attention priors from eye-tracking data and incorporating them into LLMs seamlessly, without disturbing existing representations. We evaluate EyeLayer across diverse model families (i.e., LLaMA-3.2, Qwen3, and CodeBERT) covering different scales and architectures. EyeLayer consistently outperforms strong fine-tuning baselines across standard metrics, achieving gains of up to 13.17% on BLEU-4. These results demonstrate that human gaze patterns encode complementary attention signals that enhance the semantic focus of LLMs and transfer effectively across diverse models for code summarization.
This program is tentative and subject to change.
Mon 13 AprDisplayed time zone: Brasilia, Distrito Federal, Brazil change
11:00 - 12:30 | Session 5 - Summarization, Documentation, and Code ReviewResearch Track / ICPC Program / Journal First at Europa II | ||
11:00 10mTalk | AutoLogger: A Multi-Agent Framework for the End-to-End Automated Logging Research Track Renyi Zhong The Chinese University of Hong Kong, Yintong Huo Singapore Management University, Singapore, Wenwei Gu Nankai University, Yichen LI ByteDance, Michael Lyu The Chinese University of Hong Kong | ||
11:10 10mTalk | EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization Research Track Jiahao Zhang Vanderbilt University, Yifan Zhang Vanderbilt University, Kevin Leach Vanderbilt University, Yu Huang Vanderbilt University | ||
11:20 10mTalk | SQL-Commenter: Aligning Large Language Models for SQL Comment Generation with Direct Preference Optimization Research Track Lei Yu Institute of Software, Chinese Academy of Sciences, University of Chinese Academy of Sciences, China, Peng Wang Institute of Information Engineering,Chinese Academy of Sciences, Jingyuan Zhang Institute of Software, Chinese Academy of Sciences, University of Chinese Academy of Sciences, China, Xin Wang Institute of Software, Chinese Academy of Sciences, University of Chinese Academy of Sciences, Jia Xu Institute of Software, Chinese Academy of Sciences, University of Chinese Academy of Sciences, Li Yang Institute of Software, Chinese Academy of Sciences, Changzhi Deng Institute of Software, Chinese Academy of Sciences, Jiajia Ma Institute of Software, Chinese Academy of Sciences, China, Fengjun Zhang Institute of Software, Chinese Academy of Sciences, China | ||
11:30 10mTalk | SCOPE:Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration Research Track Dongyi Fan zstu, suqiong zhang Zhejiang Sci-Tech University, Lili He zstu, Ming Liu Zhejiang Sci-Tech University, Yifan Huo Zhejiang Sci-Tech University | ||
11:40 10mTalk | Studying Quality Improvements Recommended via Manual and Automated Code Review Research Track Giuseppe Crupi Università della Svizzera italiana, Rosalia Tufano Università della Svizzera Italiana, Gabriele Bavota Software Institute @ Università della Svizzera Italiana Pre-print | ||
11:50 10mTalk | Towards Universal Segmentation for Log Parsing Research Track Van-Hoang Le The University of Newcastle, Domenico Bianculli University of Luxembourg, Huy-Trung Nguyen Posts and Telecommunications Institute of Technology | ||
12:00 10mTalk | DPS: Design Pattern Summarisation Using Code Features Journal First Najam Nazar Monash University, Sameer Sikka University of Melbourne, Christoph Treude Singapore Management University | ||
12:10 10mTalk | On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Study Research Track Antonio Vitale Politecnico di Torino, University of Molise, Emanuela Guglielmi University of Molise, Simone Scalabrino University of Molise, Rocco Oliveto University of Molise | ||
12:20 10mLive Q&A | Joint QA and Discussion ICPC Program | ||