DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems
DoVer is an intervention-driven auto-debugging framework for LLM multi-agent systems that overcomes the limitations of log-only failure localization by actively verifying hypotheses through targeted interventions and measuring success via task recovery and progress rather than attribution accuracy.
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 have a team of digital assistants (AI agents) working together to solve a complex puzzle, like finding a specific historical fact on the internet or solving a difficult math problem. Sometimes, the team gets stuck or gives the wrong answer. This is called a "failure."
For a long time, when these teams failed, developers tried to fix them by reading the "diary" of what happened (the logs) and asking a smart AI to guess who made the mistake and when. It's like watching a movie of a car crash and trying to point at the exact second the driver swerved.
The paper argues that this "guessing game" is flawed for two main reasons:
- The diary is confusing: Often, there isn't just one clear mistake. The team might try Strategy A, fail, then try Strategy B, and fail again. Pinpointing a single "bad guy" is often impossible because the whole process is messy.
- Guessing isn't enough: Even if you guess the right person, you don't know if you're right until you actually try to fix it.
The Solution: DoVer (Do-then-Verify)
The authors introduce a new system called DoVer. Instead of just guessing who is wrong, DoVer says: "Let's try to fix it and see if it works."
Think of DoVer like a mechanic with a time machine who doesn't just look at the broken car; they actually go back in time, tweak the engine, and drive it again to see if it runs.
Here is how DoVer works, step-by-step, using a simple analogy:
1. Breaking the Story into Chapters (Trial Segmentation)
When the AI team fails, they often go through several "attempts" or "chapters." In the first chapter, they try to find the answer by scrolling through a website. In the second chapter, they realize that didn't work and try using a calendar tool instead.
- DoVer's move: It cuts the long, messy story into these distinct chapters (trials) so it can analyze each attempt separately.
2. Making an Educated Guess (Hypothesis Generation)
For each chapter, DoVer asks a smart AI: "Based on this story, where did things go wrong?"
- The Guess: "I think the problem was that the 'Web Browser' agent tried to click a button that didn't exist."
3. The "Do" Part: The Intervention
This is the magic step. Instead of just writing down the guess, DoVer actually changes the story. It goes back to that specific moment in the "diary" and edits the instruction.
- The Edit: It tells the Web Browser agent: "Don't click that button. Instead, scroll to the bottom of the page."
- The Analogy: Imagine you are directing a play. The actor says the wrong line. DoVer doesn't just write a note saying "You said the wrong line." DoVer stops the play, walks on stage, whispers the correct line to the actor, and says, "Now, say this instead."
4. The "Verify" Part: Re-Running the Play
After making the edit, DoVer lets the AI team continue from that exact point.
- If the team solves the puzzle: The guess was correct! The intervention worked.
- If the team still fails: The guess was wrong. Maybe the problem wasn't the button, but something else entirely.
What Did They Find?
The researchers tested this on two different AI team setups and several difficult datasets (like GAIA and AssistantBench, which are like hard exams for AI).
- Turning Fails into Wins: DoVer managed to turn 18% to 28% of failed attempts into successful ones. In one specific math dataset, it fixed 49% of the failures.
- Making Progress Even When It Doesn't Win: Even when it didn't solve the whole puzzle, DoVer often helped the team get "further" along the path (like reaching the next milestone) than they were before.
- Testing the Guesses: DoVer proved that about 30% to 60% of the initial guesses about who was wrong were actually correct (or incorrect). This is huge because it means we can stop relying on uncertain human guesses and start using actual proof.
Why This Matters (According to the Paper)
The paper claims that intervention (actually fixing and re-running) is a much better way to debug AI teams than just attribution (guessing who is to blame).
- Old Way: "I think Agent A messed up at Step 5." (Unproven guess).
- DoVer Way: "I changed Agent A's instruction at Step 5. Now the team succeeded. Therefore, Agent A was the problem." (Proven fact).
The authors conclude that this "Do-then-Verify" approach makes AI systems more reliable because it focuses on results (did it work?) rather than just blame (who did it?). It also highlights that sometimes the problem isn't just a bad instruction, but a lack of capability in the tools the agents use (like a browser that can't scroll properly), which the system can now identify.
In short: DoVer stops AI debugging from being a game of "Who Dunnit?" and turns it into a game of "Let's Fix It and See."
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.