EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization Conference: 34th IEEE/ACM International Conference on Program Comprehension; April 12–13, 2026; Rio de Janeiro, Brazil 34th IEEE/ACM International Conference on Program Comprehension (ICPC ’26), April 12–13, 2026, Rio d

Jiahao Zhang, Yifan Zhang, Kevin Leach, Yu Huang · 2026

Read EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization Conference: 34th IEEE/ACM International Conference on Program Comprehension; April 12–13, 2026; Rio de Janeiro, Brazil 34th IEEE/ACM International Conference on Program Comprehension (ICPC ’26), April 12–13, 2026, Rio d by Jiahao Zhang, Yifan Zhang, Kevin Leach, Yu Huang (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-22368.txt.

Description

Code summaries help developers understand software, and language models now write them well, but human reading expertise might push them further. Jiahao Zhang and three co-authors propose EyeLayer, a lightweight module that feeds human eye-gaze patterns into code summarization as a proxy for expertise. It models where developers look, and how intensely, through a multimodal Gaussian mixture over token embeddings.

The module redistributes token embeddings from learned attention priors, teaching models generalizable focus patterns from eye-tracking data without disturbing existing representations. The team evaluates the approach across several model families, including LLaMA, Qwen, and CodeBERT variants. If gaze patterns transfer, human attention becomes a cheap, general guide for machine code understanding.

Catalog record

CREATORJiahao Zhang, Yifan Zhang, Kevin Leach, Yu Huang
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE55 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2602-22368

Browse the full library · About the Tower of Babel