arXiv study finds LLMs beat traditional tools at code deobfuscation, with limits
A new arXiv paper reports that large language models generally outperform traditional identifier-recovery techniques, yet exact name recovery stays low and more context does not always help.
In plain words
Obfuscated code has its variable and class names replaced, making it hard to understand. The authors tested whether large language models can guess the original names better than older methods. The models usually did, but they still often failed to recover exact names, and adding more surrounding code sometimes hurt results.
What was announced
The study, published as an arXiv abstract, evaluated 4 traditional baselines and 3 LLMs — Qwen, OLMo and DeepSeek — on identifier detection and semantic recovery across 51 recent Java projects, 3 obfuscators and 6 context or retrieval settings. The authors report that LLMs generally outperformed traditional techniques on both tasks. Agentic retrieval produced the strongest detection result at 91.56% F1, while enclosing-class context generally improved semantic recovery at a higher token cost.
The gains have clear limits. Exact recovery peaked at 16.42% overall under one-hop context and 32.93% for field names under repository retrieval, which the authors describe as the easiest to recover. Class identifiers were hardest to detect, with a mean detection F1 of 48.48% across models, settings and obfuscators. More context was not always beneficial, since larger methods hindered semantic recovery. Beyond identifier renaming, the experiments showed control-flow obfuscation degraded both tasks more than string encryption. The authors position the findings as ad hoc guidance for reverse engineers choosing models and context strategies.
What it does not show
- The evidence is the paper's abstract only; the full methodology, datasets and peer-review status are not available in the supplied source.
- All reported figures come from the authors' own evaluation and have not been independently confirmed.
Sources
Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 28 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.