Exploring the Topology and Memory of Consensus: How LLM Agents Agree, Fragment, or Settle When Forming Conventions
This paper demonstrates that in multi-agent LLM systems, the impact of memory depth on consensus speed and fragmentation is fundamentally inverted by network topology, revealing a critical need to co-design memory and communication structures rather than optimizing them in isolation.
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 room full of 16 robots (AI agents) trying to agree on a secret handshake. They can't talk to everyone at once; they can only whisper to their immediate neighbors. To succeed, they need to pick the same letter from a list (like "A," "B," or "C") every time they interact. If they match, they get a high-five (points); if they mismatch, they get a time-out (negative points).
The researchers wanted to know two things: How much of their past should these robots remember? and How should they be connected to each other?
Here is what they found, explained simply:
1. The Two Ways to Connect
The researchers set up the robots in two different "neighborhood" styles:
- The Open Town (Decentralized): Everyone is connected to a few different people in a loose web. Information flows freely, and everyone hears a mix of different opinions.
- The Gated Community (Centralized): The robots are grouped into tight little clusters. Inside a cluster, they talk to each other constantly, but it's hard for them to hear what the other clusters are saying.
2. The Memory Trap
The robots were given different "memory lengths":
- Short Memory: They only remember the last 2 interactions.
- Medium Memory: They remember the last 5.
- Long Memory: They remember the last 10.
The Big Surprise: Memory doesn't work the same way in both neighborhoods. In fact, it does the exact opposite thing depending on where the robot lives.
- In the Open Town: If you give a robot a long memory, it gets stuck. It remembers too many different things from too many different neighbors and can't decide on a single handshake. It takes a long time to settle on an agreement. If you give it a short memory, it forgets the confusion quickly and agrees faster.
- In the Gated Community: If you give a robot a short memory, it gets confused because it forgets its neighbors' habits too fast. But if you give it a long memory, it quickly locks in on what its specific cluster is doing and agrees very fast.
3. The "Fast but Broken" Trap
Here is the most critical part: Agreeing fast doesn't mean everyone agrees on the same thing.
In the "Gated Community" with long memory, the robots settled on an agreement incredibly fast. But, they didn't all agree on the same letter.
- Cluster A decided on "A."
- Cluster B decided on "B."
- Cluster C decided on "C."
They reached a "steady state" (stopped changing their minds) very quickly, but the whole system was fragmented. They were efficient at agreeing locally, but the whole group was divided.
In the "Open Town," it took longer to settle, but because they were all mixing together, they were much more likely to eventually agree on a single letter for the whole group.
4. The "Bridge" Penalty
The researchers also looked at individual robots.
- The Bridge: Some robots sat in the middle, connecting two different groups. These "bridge" robots had a hard time. They heard conflicting signals from both sides. The more they remembered, the more confused they got, and the worse they performed at agreeing.
- The Insiders: Robots surrounded by neighbors who all thought alike (a tight cluster) did very well. Their neighbors kept reinforcing the same idea, and the robot's memory helped it stick to that idea.
5. How They Think
Finally, the researchers asked: What logic are these robots using?
They found the robots weren't just trying to maximize their own points based on what worked before (like a gambler). Instead, they were acting like mind-readers. They looked at what their neighbor just did and guessed, "Oh, they are going to do that again, so I should do it too." They were predicting their partner's move based on recent history, rather than just repeating their own past successes.
The Bottom Line
You cannot design a robot team by just picking a memory size or a network shape in isolation. They are a package deal.
- If you want speed and don't mind if different groups end up with different rules, use Centralized networks with Long Memory.
- If you want total unity (everyone agreeing on one rule), use Decentralized networks with Short Memory.
The paper concludes that "faster settling" in some designs is actually a trap: it just means the groups locked into their own little bubbles faster, rather than finding a solution that works for everyone.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.