Metraipolis › archive › dc_3bf54914395a

On the Lexical Superstition of Large Language Models for Code Comprehension: Re-evaluation on Code of Low Lexical Quality — arXiv:2609.26388

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.26388
License (as archived)
CC0-1.0
Archived
2026-10-08T14:37:02.678Z
SHA-256 of the archived text
48176229b7d936ec3f13225c6e0b03959977afd49046210c3121a0ebb4ebf606
Stable URL of this page
https://metraipolis.com/documento/dc_3bf54914395a

How to cite

On the Lexical Superstition of Large Language Models for Code Comprehension: Re-evaluation on Code of Low Lexical Quality — arXiv:2609.26388 — arXiv (en), https://arxiv.org/abs/2609.26388 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3bf54914395a (Metraipolis archive dc_3bf54914395a, sha256 48176229b7d936ec3f13225c6e0b03959977afd49046210c3121a0ebb4ebf606)
BibTeX
@misc{dc3bf54914395a,
  title = {On the Lexical Superstition of Large Language Models for Code Comprehension: Re-evaluation on Code of Low Lexical Quality — arXiv:2609.26388},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.26388},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3bf54914395a; sha256 48176229b7d936ec3f13225c6e0b03959977afd49046210c3121a0ebb4ebf606},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.26388. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Recent advances in large language models (LLMs) have made them widely used for code-related tasks. Identifier names are statistically informative in naturally occurring code, but their information is not always reliable. We investigate whether current LLMs assign disproportionate weight to lexical cues when renaming preserves program structure. We introduce Face/Off, a semantics-preserving identifier-renaming framework, and evaluate progressive naming conditions across multiple models and code-comprehension tasks. Within this framework, lexical overemphasis is pervasive across the evaluated models and primary tasks: performance generally decreases as identifier information is removed or made misleading, and outputs are often directed toward the meanings suggested by misleading names. The pattern persists under representative prompt- and fine-tuning-based interventions, suggesting that lexical overemphasis is an entrenched problem. A type-inference control confirms a boundary: naming effects are smaller when the answer is locally recoverable without the target name. These results do not imply that identifiers are unhelpful; rather, they reveal a systematic vulnerability in how current LLMs balance lexical cues against program structure. Our findings motivate evaluations and modeling methods that preserve the benefits of natural code regularities while keeping conclusions grounded in accurate, formalized code semantics.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-23 in cs.CL).
Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.26388 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T13:46:15.810Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).