Lune

ACL2026Top-tier venue

EyeMulator: Improving Code Language Models by Mimicking Human Visual Attention

Yifan Zhang, Chen Huang, Yueke Zhang, Jiahao Zhang, Toby Jia-Jun Li, Collin McMillan, Kevin Leach, Yu Huang

2026Year
4Citations

Abstract

Code Language Models (CodeLLMs) learn token importance from data correlations, whereas human developers attend selectively to semantically salient code. We present EYEMULA-TOR, a model-agnostic method that injects human visual-attention priors into CodeLLM finetuning without architectural changes. EYEMU-LATOR distills eye-tracking data into semantic salience and gaze-transition priors, then uses them to reweight token-level training losses. Across six backbones, two data regimes, and three CodeXGLUE tasks, the reported configurations yield positive matched-metric deltas in all 36 model-task-setting cells. Effects are largest for structure-preserving completion and translation, while summarization shows smaller but positive METEOR deltas. Session-mode and component-ablation analyses further show that reading, writing, semantic, and transitionderived priors provide complementary signal. Human-attention artifacts are available at http s://zenodo.org/records/17205682.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext ff49cfa9-3fa2-4bc5-a3c5-dfdd5c0df8d8

Builds on14

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines