Refute-or-Promote: An Adversarial Stage-Gated Multi-Agent Review Methodology for High-Precision LLM-Assisted Defect Discovery
This paper introduces "Refute-or-Promote," an adversarial multi-agent framework that employs stratified context hunting, cross-model critique, and mandatory empirical validation to filter out false positives in LLM-assisted defect discovery, achieving high precision and real-world impact including multiple CVEs and standard acceptances across security libraries and compilers.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are the editor of a massive newspaper. Every day, thousands of people send in tips about crimes they think they've spotted in your city. Most of these tips are actually just misunderstandings, pranks, or people seeing things that aren't there. If you try to investigate every single tip, your newsroom would collapse, and you'd stop believing the few real crimes that do get reported.
This is exactly the problem Large Language Models (LLMs) face when they try to find software bugs (defects). They are incredibly good at sounding confident and making things sound plausible, but they are terrible at knowing if something is actually true. They often "hallucinate" fake bugs, overwhelming human experts with noise.
The paper "Refute-or-Promote" proposes a new way to fix this. Instead of asking the AI to just "find bugs," it sets up a high-stakes courtroom drama to filter out the fakes.
Here is how the system works, broken down into simple steps:
1. The Setup: The "Detective Squad"
First, the system sends out a team of "hunters" (AI agents) to look for potential bugs in a piece of software.
- The Trick: These hunters don't all look at the same thing in the same way. Some look at recent changes, some look at old mistakes, and some look at specific parts of the code. This is called Stratified Context Hunting. It's like sending three different detectives to the same crime scene: one looks for footprints, one looks for fingerprints, and one looks for the weather report.
2. The Core Mechanism: The "Devil's Advocate" Court
Once a hunter finds a "suspect" (a potential bug), it doesn't get published immediately. It enters a Stage-Gated Courtroom.
- The Prosecution (Adversarial Agents): A team of AI agents is assigned a single, ruthless job: Prove the suspect is innocent. They are not allowed to say "maybe." They must find a reason why the bug doesn't exist. They are the "Kill Mandate" team.
- The Defense (Creative Agents): Another team tries to prove the bug is real.
- The Rule: If the Prosecution can find even one solid reason why the bug is fake, the case is killed immediately. The bug is thrown out. The system only moves forward if the Prosecution fails to disprove it.
3. The "Fresh Eyes" Test (Cross-Model Critic)
Even if the first court agrees a bug is real, there's a danger: all the AI agents might have learned the same wrong facts from their training data. They might all agree on a lie because they all read the same bad textbook.
To fix this, the system brings in a Cross-Model Critic. This is an AI from a completely different "family" (a different company's model) that hasn't seen the previous arguments. It looks at the case with "cold eyes." If this outsider says, "Wait, this doesn't make sense," the bug gets killed. This catches errors that the whole first team missed because they were all thinking alike.
4. The Final Gate: The "Lab Test"
This is the most important part. The paper describes a massive failure where 80+ AI agents unanimously agreed a specific security flaw existed. They were all so confident they wrote reports about it.
- The Reality: The flaw didn't exist.
- The Solution: The system realized that "AI consensus" isn't proof. The final gate requires Empirical Validation. You have to actually run a test in a computer lab to see if the bug happens. If you can't make the bug happen in real life, it doesn't matter how smart the AI thinks it is. The case is closed.
The Results: Why This Matters
The authors ran this system for a month on real-world software (like the code that runs your browser or secure encryption).
- The Filter: The system started with about 171 potential bugs.
- The Cleanup: The "Prosecution" and "Lab Tests" killed about 79% of them because they were fake or unprovable.
- The Success: The remaining 21% were real. They resulted in:
- 4 new security vulnerabilities being officially reported (CVEs).
- Fixes for the C++ programming language standard.
- Merged code fixes for major software libraries.
The Big Lesson
The paper teaches us a profound lesson about AI: Agreement does not equal truth.
If 80 AI agents all say "The sky is green," they are probably all wrong because they are all trained on the same data. But if you have one agent trying to prove them wrong, and you force them to run a real-world test, you find the truth.
Refute-or-Promote isn't about making AI smarter; it's about building a system that is skeptical by design. It forces the AI to try to break its own ideas before it's allowed to share them with humans. It turns the AI from a "confident guesser" into a "rigorous scientist."
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.