Bayesian Partner Modelling enables Adaptive Replanning for LLM Coordination
The paper introduces BayesBeliefAgent, a hierarchical LLM system that combines Bayesian partner tracking with contradiction-conditioned replanning to efficiently adapt to teammates' strategy shifts, significantly reducing unnecessary replans and the belief-action gap compared to existing methods.
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
In the world of artificial intelligence, a major frontier is teaching computers to work together. Imagine two people trying to build a table; if one person suddenly decides to sand the wood while the other is still sawing, the project stalls. For decades, researchers have tried to get computer programs to coordinate, but a specific kind of failure has remained stubborn. Large language models, the powerful AI systems that can write stories or solve puzzles, are often excellent at understanding what a partner intends to do. They can look at a teammate's actions and correctly guess, "Ah, they are trying to chop vegetables." However, knowing what a partner is doing does not automatically mean the AI knows when to stop its own current task. An AI might correctly realize its partner has changed plans, yet continue chopping vegetables for ten more minutes because it is too rigid to change its own course. This gap between understanding a partner and actually changing one's own behavior is the central problem researchers are trying to solve.
A team of researchers from the University of Texas at Austin and Honda Research Institute has introduced a new approach to fix this disconnect. They built an AI agent called BayesBeliefAgent, designed to work in a simulated kitchen environment where two cooks must prepare meals together. In these scenarios, the AI and its unseen partner must coordinate tasks like chopping onions, cooking rice, or plating food. The challenge is that the partner's strategy can shift in the middle of the task. The researchers found that simply giving the AI a better understanding of its partner was not enough. Instead, they gave the AI a specific mechanism to decide exactly when to stop its current action and start over. The system constantly watches the partner's moves and compares them to what the AI expects based on its current guess of the partner's plan. When the partner does something that clearly contradicts that guess, the AI immediately interrupts its own work and recalculates a new plan.
The key innovation is that this interruption happens only when necessary. Many existing methods either never change their plans once started, or they change them too often, wasting time and energy. The new system uses a statistical method to track the partner's likely skill. It waits until the evidence is strong and consistent before acting. If the partner makes a single odd move that could be a mistake, the AI ignores it. But if the partner's actions consistently show they are doing something completely different than expected, the AI stops what it is doing and asks for a new plan. This approach prevents the AI from getting stuck in a loop of doing the wrong thing while knowing it is wrong.
The researchers tested this system in various kitchen layouts, including open spaces and circular arrangements, pairing their AI with different types of partners who had distinct preferences for how to cook. They compared their new agent against other methods that either replanned at fixed time intervals, replanned whenever a specific event happened, or relied on a separate AI judge to decide when to change plans. The results showed that the new agent achieved similar or better scores in terms of how many meals were successfully delivered, but it did so with far fewer interruptions. While other methods had to stop and restart their plans dozens or even hundreds of times per game, the new agent typically needed to replan only a handful of times. This efficiency came from its ability to distinguish between noise and a genuine change in strategy.
Crucially, the study revealed that having a correct guess about a partner's role is not the same as coordinating well. In one set of tests, the new agent and a standard agent both guessed the partner's skill with nearly the same accuracy. Yet, the standard agent continued to execute outdated plans long after the partner had changed, leading to a high rate of duplicate efforts where both agents tried to do the same task. The new agent, by contrast, used its correct guess to trigger a change in behavior at the right moment. This reduced the "belief-action gap," a measure of how often an agent knows the truth but fails to act on it. The study suggests that for AI to truly collaborate, it needs more than just a model of its partner; it needs a reliable signal to know when that model has become obsolete and when to switch gears.
The researchers also tested whether the system worked better if the partner's information was just fed into the planning process as background context, or if it was used as a direct trigger to stop and restart. They found that using the information as a trigger was far more effective. Simply telling the AI "your partner is doing X" did not guarantee it would change its plan. The system only improved when the information was used to actively interrupt the current action. This distinction highlights that the value of understanding a partner lies in the ability to act on that understanding immediately, rather than just holding it in memory.
Despite these successes, the researchers acknowledge limitations. The system currently relies on a fixed list of pre-defined skills, such as "chopping" or "cooking," rather than learning new skills on the fly. In very tightly coupled environments where the two agents must move in perfect sync, the system was less effective, suggesting that the underlying planning brain of the AI still needs improvement. The team notes that future work will need to address how to learn these skills automatically and how to handle partners whose strategies change even more rapidly. For now, however, the work demonstrates a clear path forward: by connecting the understanding of a partner directly to the decision of when to stop and start again, AI agents can move from merely observing their teammates to truly working with them.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.