Multi-Agent Code Verification via Information Theory
Shreshth Rajan

TL;DR
This paper introduces CodeX-Verify, a multi-agent system leveraging information theory to improve bug detection in code, achieving higher accuracy and efficiency than existing methods without requiring test execution.
Contribution
The paper presents a novel multi-agent framework for code verification that combines agents based on mutual information theory, demonstrating improved bug detection accuracy and practical efficiency.
Findings
CodeX-Verify detects 76.1% of bugs, matching the best existing method.
Using multiple agents increases accuracy by 39.7 percentage points.
The system runs in under 200ms per sample, suitable for production use.
Abstract
LLMs generate buggy code: 29.6% of SWE-bench solved patches fail, 62% of BaxBench solutions have vulnerabilities, and existing tools only catch 65% of bugs with 35% false positives. We built CodeX-Verify, a multi-agent system that uses four specialized agents to detect different types of bugs. We prove mathematically that combining agents with different detection patterns finds more bugs than any single agent when the agents look for different problems, using submodularity of mutual information under conditional independence. Measuring agent correlation of rho = 0.05 to 0.25 confirms they detect different bugs. Testing on 99 code samples with verified labels shows our system catches 76.1% of bugs, matching the best existing method (Meta Prompt Testing: 75%) while running faster and without test execution. We tested all 15 agent combinations and found that using multiple agents improves…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Advanced Malware Detection Techniques
