potentialpaper

Topology of Attention Detects Hallucinations in Code LLMs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:49 UTC · 8ae739810106 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,26 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "POLPQHcuYY"
- }
- ],
- "title": "Topology of Attention Detects Hallucinations in Code LLMs",
- "authors": [
- "Daria Voronkova",
- "Ilya Trofimov",
- "Anton Dmitriev",
- "Eduard Tulchinskii",
- "Evgeny Burnaev",
- "Serguei Barannikov"
- ],
- "abstract": "While the AI-code assistant tools become widespread, automatic assessment of the correctness of the generated code becomes a significant challenge. Code LLMs are prone to hallucinations, which may lead to code that does not solve a required problem, or even to code with severe security vulnerabilities. \nIn this paper, we propose a new approach to assessment of code correctness. Our solution is based on topological data analysis (TDA) of attention maps of code LLMs.\nWe carry out experiments with two benchmarks - HumanEval, MBPP and 5 code LLMs: StarCoder2-7B, CodeLlama-7B, DeepSeek-Coder-6.7B, Qwen2.5-Coder-7B, Magicoder-S-DS-6.7B.\nThe experimental results show that the proposed method is better than several baselines. Moreover, the trained classifiers are transferable between coding benchmarks.",
- "year": 2026,
- "venue": "ICLR 2026 submission",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "1bd58062-e906-4aed-ba24-2c50f71bd156"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,16 @@
+{
+ "title": "Topology of Attention Detects Hallucinations in Code LLMs",
+ "authors": [
+ "Daria Voronkova",
+ "Ilya Trofimov",
+ "Anton Dmitriev",
+ "Eduard Tulchinskii",
+ "Evgeny Burnaev",
+ "Serguei Barannikov"
+ ],
+ "abstract": "While the AI-code assistant tools become widespread, automatic assessment of the correctness of the generated code becomes a significant challenge. Code LLMs are prone to hallucinations, which may lead to code that does not solve a required problem, or even to code with severe security vulnerabilities. \nIn this paper, we propose a new approach to assessment of code correctness. Our solution is based on topological data analysis (TDA) of attention maps of code LLMs.\nWe carry out experiments with two benchmarks - HumanEval, MBPP and 5 code LLMs: StarCoder2-7B, CodeLlama-7B, DeepSeek-Coder-6.7B, Qwen2.5-Coder-7B, Magicoder-S-DS-6.7B.\nThe experimental results show that the proposed method is better than several baselines. Moreover, the trained classifiers are transferable between coding benchmarks.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}