Resilient Consensus in Agentic AI
This paper demonstrates that while prompted LLM agents often fail to achieve resilient consensus in adversarial multi-agent settings where classical theory guarantees success, wrapping them with classical resilient consensus filters can effectively restore agreement, particularly in topologies with limited inherent robustness.
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 a group of smart, autonomous robots (powered by Large Language Models, or LLMs) trying to make a single decision together, like agreeing on a number between 0 and 50. This is a common task for AI teams. However, some of these robots might be "bad actors" (Byzantine agents) trying to confuse the group and prevent them from agreeing.
This paper asks a simple question: Do the old, proven rules for getting robots to agree still work when the robots are using advanced AI that can be unpredictable?
Here is the breakdown of what the researchers found, using everyday analogies:
1. The "Old Rules" vs. The "AI Reality"
In the world of traditional computer science, there are strict mathematical rules for when a group can agree.
- The Rule: If you have a group of robots and up to of them are bad, the group can always agree if the total number of robots is at least 3 times the bad ones plus 1 (). Think of it like a voting system: if the good voters are a strong enough majority, they can outvote the saboteurs.
- The AI Problem: The researchers tested this with AI agents. Even when they had enough good agents to satisfy the old math rules (the "safe zone"), the AI agents still failed to agree.
- The Analogy: Imagine a jury of 10 people where the math says 4 bad actors shouldn't be able to stop a verdict. In a normal courtroom, they can't. But with these AI jurors, even with only 2 bad actors, the good jurors got confused, argued past each other, and couldn't agree on a single number. The AI's "brain" (the prompt) wasn't following the logical steps needed to reach a conclusion, even though the numbers said it should be possible.
2. The "Filter" Solution
Since the AI agents were failing on their own, the researchers tried wrapping them in a "safety filter." This filter is a classic tool from computer science called the MSR filter.
- How it works: Imagine a group of people shouting out numbers. Before anyone makes a final decision, a moderator (the filter) looks at all the numbers, throws away the highest few and the lowest few (which are likely the bad actors trying to push the group to extremes), and then averages the remaining "middle" numbers.
- The Result: When they added this filter, the AI agents suddenly started agreeing perfectly, even in situations where they previously failed.
- The Nuance: The filter works best when the group is already somewhat connected and robust.
- In a fully connected group (everyone talks to everyone): The filter was a superhero, fixing almost every failure.
- In a messy group (some talk to some, but not all): The filter helped, but not as dramatically. Why? Because in a messy group, the bad actors already have a harder time spreading chaos just by the nature of the network. The filter adds extra safety, but the network structure was already doing some of the heavy lifting.
3. Testing the Limits
The researchers ran many tests to make sure this wasn't just a fluke:
- Different "Temperatures": They changed how "random" or "creative" the AI was allowed to be. The failure happened at all levels of randomness, and the filter fixed it at all levels.
- Different Time Limits: They gave the AI more or less time to talk. Giving them more time didn't help the unfiltered AI agree; they just argued longer. The filter, however, helped them agree quickly.
- Guessing the Enemy: In the real world, you might not know exactly how many bad actors are in the room. The researchers tested a filter that guessed "there are at least 6 bad guys" even when there were only 2 or 4. It still worked perfectly, proving the filter is robust even if you overestimate the danger.
The Bottom Line
The paper concludes that classical math rules for safety are still useful for AI, but you can't just rely on the AI to follow them naturally.
- The Gap: There is a gap between what an AI can do (mathematically possible) and what a standard AI prompt actually does (often fails).
- The Fix: By adding a simple, classical "filter" that ignores extreme outliers, we can force the AI agents to behave like the reliable robots the math predicts.
In short: AI agents are smart, but they are bad at following the "rules of the game" when trying to agree. If you put a strict referee (the filter) in charge of cleaning up the noise, they can finally reach a consensus.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.