When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:32 UTC · a7d3ba082f7d ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "9DmWFRSJaQ"- }- ],- "title": "When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs",- "authors": [],- "abstract": "Recursive self-training can degrade neural generative models when generated data is reused without fresh human data or external quality control. We study this risk in \\textbf{code LLMs}, where AI-generated code can enter real repositories, later become training data, and create a repository-scale self-training loop. While software development traditionally interrupts this loop through \\emph{pull-request review}, tests, compilation, and human approval, AI coding tools now produce code faster than humans can review it, and code review itself is increasingly automated by AI systems. We therefore compare three recursive fine-tuning regimes: \\textbf{no review}, \\textbf{human-style exogenous-gate review} using model-independent filters such as compilation and static quality checks, and \\textbf{AI-self-gate review} using the code LLM's own signals such as perplexity and binary self-scoring. Across multiple code LLMs and benchmarks, every tested recursive regime falls below its own starting point; exogenous filters preserve executable validity and sometimes reduce decline, while \\emph{AI-self-gate} filters can look strong early but later lose their filtering effect. In the clearest case, the binary self-gate enters a rubber-stamp regime where acceptance scores rise while benchmark correctness falls. We explain this behavior by formulating review as gated distributional reweighting, proving that AI self-gating degenerates to ungated self-training under a self-confirming acceptance condition, and giving a spectral analysis of representation-level covariance concentration under recursive retraining. These results suggest that stable recursive code LLM training requires exogenous verification rather than model-coupled self-review.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "9b1a0ef5-3f3e-42d5-a5dc-428aabd05405"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs",+ "authors": [],+ "abstract": "Recursive self-training can degrade neural generative models when generated data is reused without fresh human data or external quality control. We study this risk in \\textbf{code LLMs}, where AI-generated code can enter real repositories, later become training data, and create a repository-scale self-training loop. While software development traditionally interrupts this loop through \\emph{pull-request review}, tests, compilation, and human approval, AI coding tools now produce code faster than humans can review it, and code review itself is increasingly automated by AI systems. We therefore compare three recursive fine-tuning regimes: \\textbf{no review}, \\textbf{human-style exogenous-gate review} using model-independent filters such as compilation and static quality checks, and \\textbf{AI-self-gate review} using the code LLM's own signals such as perplexity and binary self-scoring. Across multiple code LLMs and benchmarks, every tested recursive regime falls below its own starting point; exogenous filters preserve executable validity and sometimes reduce decline, while \\emph{AI-self-gate} filters can look strong early but later lose their filtering effect. In the clearest case, the binary self-gate enters a rubber-stamp regime where acceptance scores rise while benchmark correctness falls. We explain this behavior by formulating review as gated distributional reweighting, proving that AI self-gating degenerates to ungated self-training under a self-confirming acceptance condition, and giving a spectral analysis of representation-level covariance concentration under recursive retraining. These results suggest that stable recursive code LLM training requires exogenous verification rather than model-coupled self-review.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}