paper-with-me

홈 › Papers

When Names Disappear: Revealing What LLMs Actually Understand About Code

2025-10-03 · Cuong Chi Le, Minh V. T. Pham, Cuong Duc Van, Hoang N. Phan, Huy N. Phan, Tien N. Nguyen arxiv

Large Language Models (LLMs) achieve strong results on code tasks, but how they derive program meaning remains unclear. We argue that code communicates through two channels: structural semantics, which define formal behavior, and human-interpretable naming, which conveys intent. Removing the naming channel severely degrades intent-level tasks such as summarization, where models regress to line-by-line descriptions. Surprisingly, we also observe consistent reductions on execution tasks that should depend only on structure, revealing that current benchmarks reward memorization of naming patterns rather than genuine semantic reasoning. To disentangle these effects, we introduce a suite of semantics-preserving obfuscations and show that they expose identifier leakage across both summarization and execution. Building on these insights, we release ClassEval-Obf, an obfuscation-enhanced benchmark that systematically suppresses naming cues while preserving behavior. Our results demonstrate that ClassEval-Obf reduces inflated performance gaps, weakens memorization shortcuts, and provides a more reliable basis for assessing LLMs' code understanding and generalization.

📄 PDF Abstract BibTeX arXiv:2510.03178

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Binary Gender Labels: Revealing Gender Biases in LLMs through Gender-Neutral Name Predictions

2024-07-07 · Zhiwen You, Haejin Lee, Shubhanshu Mishra, Sullam Jeoung 외

Name-based gender prediction has traditionally categorized individuals as either female or male based on their names, using a binary classification system. That binary approach can be problematic in the cases of gender-n…

Binary ClassificationGender PredictionPrediction

Can Large Language Models Really Recognize Your Name?

2025-05-20 · Dzung Pham, Peter Kairouz, Niloofar Mireshghallah, Eugene Bagdasarian 외

Large language models (LLMs) are increasingly being used to protect sensitive user data. However, current LLM-based privacy solutions assume that these models can reliably detect personally identifiable information (PII)…

Privacy Preserving

Ad-hoc Concept Forming in the Game Codenames as a Means for Evaluating Large Language Models

2025-02-17 · Sherzod Hakimov, Lara Pfennigschmidt, David Schlangen

This study utilizes the game Codenames as a benchmarking tool to evaluate large language models (LLMs) with respect to specific linguistic and cognitive skills. LLMs play each side of the game, where one side generates a…

Benchmarking

Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks

2024-06-17 · Jack Gallifant, Shan Chen, Pedro Moreira, Nikolaj Munch 외

Medical knowledge is context-dependent and requires consistent reasoning across various natural language expressions of semantically equivalent phrases. This is particularly crucial for drug names, where patients often u…

MedQA

Huntsville, hospitals, and hockey teams: Names can reveal your location

2017-09-01 · WS 2017 9 · Bahar Salehi, Dirk Hovy, Eduard Hovy, Anders S{\o}gaard

Geolocation is the task of identifying a social media user{'}s primary location, and in natural language processing, there is a growing literature on to what extent automated analysis of social media posts can help. Howe…

Knowledge Base PopulationRecommendation SystemsSentiment Analysis