Multi-Agent Collaboration and the Bad Teammate Problem: How to Train AI Agents to Both Communicate and Listen
Splitting tasks across multiple LLM agents promises results that exceed what any single model can achieve, yet collaboration frequently produces losses rather than gains. Agents hoard key information, act before understanding the problem, ignore teammates' signals, and abandon correct answers just to conform. The root cause is not intelligence but a systematic bias in training objectives. This article breaks down the central challenge of credit assignment in collaborative reinforcement learning and presents practical approaches — process rewards, Shapley-style contribution scoring, and counterfactual turn-level evaluation — for building training and evaluation mechanisms that attribute and reward each agent's real contribution fairly.
In team-based cooperative games, there is a classic scenario: a group of people is locked in an escape room, each holding only a single piece of a puzzle. The only way to reconstruct the complete answer is to fully exchange whatever clues they each hold. But in practice there is always one or two members who clutch a key fragment in silence, or tune out everyone else’s hints, ultimately dragging the whole team down as the countdown runs out. When this “bad teammate” phenomenon plays out inside an AI team made up of multiple large language models, the consequences are often trickier than in a human team — because failures at the collaboration layer are usually not a matter of capability, but a systematic bias in training objectives.
Multi-Agent Collaboration: The Vision and the Reality
Splitting a task across multiple large models has become a popular architecture in recent years: one agent retrieves information, one focuses on numerical computation, one specializes in drafting a proposal — each with a clear role, cross-checking one another. In theory, such a well-divided team should have an upper limit of “1 + 1 > 2.”
However, a researcher from a joint team across multiple research institutions observed a counterintuitive phenomenon: when each member of the team independently holds all the information needed to solve the problem, the overall performance can even fall short of simply feeding all that information to a single model in a “solo performance.” In other words, collaboration not only failed to add value but actually introduced extra overhead.
Even more concerning, the research uncovered several highly specific failure modes among AI teammates:
- Information hoarding: a member discovers a clue critical to the task but chooses to withhold it rather than proactively share it with teammates;
- Reckless action: taking the next step without fully understanding the problem, disrupting the overall rhythm;
- Signal breakdown: ignoring key information proactively sent by teammates and refusing to incorporate it into their own reasoning;
- Bandwagon effect: some members initially give the correct answer but abandon the correct judgment once they notice disagreement among teammates, instead falling in line with the group.
These behaviors are almost a perfect replica of the “bad teammates” in human teams. The root cause is not that the models aren’t smart enough, but that no part of the training ever taught them how to become a qualified team member.
The Core Challenge: Credit Assignment in Collaborative Settings
Faced with this dilemma, a seemingly natural approach is: let the AI team complete a task, reward it when it succeeds and penalize it when it fails, and train it repeatedly through reinforcement learning. This is commonly known as outcome-based training.
But this path has a fatal flaw: the final success or failure of a task cannot accurately reflect the quality of each member’s individual contributions.
Imagine a scenario: on a five-person team, only one person says something trivial and irrelevant, the other four all perform well, and the task ultimately succeeds. Under a purely outcome-based reward mechanism, that trivial remark also “free-rides” on the positive feedback, and the model mistakenly learns that “saying such things is good.” Conversely, if a member shares a piece of extremely critical information but the task still fails because teammates fail to understand it correctly, that valuable contribution ends up labeled as negative.
This is like a company conducting year-end reviews by looking only at the bottom-line numbers while completely ignoring who actually did the work and who was just along for the ride. Those who work diligently may be penalized along with the team because overall performance was poor, while those slacking off earn praise for catching a lucky ride. Unless “what each person actually did” is separated from “the team’s final result” and evaluated on its own, the incentive mechanism will go completely off track — the longer you train, the less the models learn genuinely valuable collaboration behavior.
This is precisely the hardest bone to crack in collaborative reinforcement learning — the Credit Assignment Problem: how to precisely decompose and attribute the team-level overall return to each member and each specific interaction action?
The Solution: Moving from Results to Process
Several directions can help build a more refined training and evaluation system for this challenge.
1. Introduce process rewards to compensate for the coarseness of outcome rewards
Unlike outcome rewards that look only at final success or failure, process rewards focus on whether each step in the interaction chain produces positive value. For example, you can design individual reward signals for specific behaviors such as “whether key information was proactively shared,” “whether an appropriate clarifying question was raised before acting,” and “whether teammates’ input was effectively adopted.” This way, the trivial remark and the critical piece of information receive distinctly different evaluations, rather than being drowned out by a blanket outcome.
2. Decompose team returns using contribution quantification
In cooperative game theory, a mature approach borrows the idea of Shapley-value-like contribution scoring: by repeatedly simulating “how team performance changes when a given member is removed,” you can estimate that member’s true marginal contribution. If removing a member significantly drops the team’s success rate, their contribution was underestimated; if removing them barely changes performance, they may have been slacking all along.
The following pseudocode expresses this idea:
def evaluate_contribution(agent, team, task, num_samples=20):"""Estimate an individual's marginal contribution by comparing the full team's performance with the team's performance after removing this member."""full_score = run_team(task, team, num_samples) # Success rate of the full teamteam_without = [m for m in team if m != agent]without_score = run_team(task, team_without, num_samples) # Success rate after removing this membermarginal_contribution = full_score - without_score # Marginal contribution equals the value differencereturn marginal_contribution
This kind of counterfactual evaluation can distinguish between “the team succeeded but someone didn’t contribute” and “someone contributed and caused the team to succeed.”
3. Design counterfactual and turn-level evaluation
Beyond overall contribution scoring, you can evaluate each individual utterance at a finer granularity. The core idea is counterfactual comparison: for the same task, run two branches — one that “adopts the utterance” and one that “does not adopt it” — and compare the difference in final results. If adopting a piece of information clearly improves the task success rate, that utterance should receive positive reinforcement; if adopting it produces no improvement or even makes things worse, it should receive negative feedback.
Pushing this evaluation from the “team level” down to the “turn level” can effectively alleviate the “collective punishment” and “free-riding” problems described earlier, truly aligning the incentive mechanism with each member’s actual behavior.
4. Specifically suppress conformity and reckless action
For the bandwagon effect, training can introduce positive incentives for “independent judgment,” and evaluation can compare a member’s initial answer with their final choice, penalizing “answer-switching to follow the crowd” without legitimate reason. For reckless action, you can reward behavior that “acts only after fully understanding the context” — for example, treating “raise clarifying questions first, then execute” as an encouraged interaction pattern.
Practical Implementation
Putting these ideas into practice requires close coordination between engineering and algorithms:
- Define clear roles and interaction protocols: assign each agent a clear responsibility and specify standard actions for broadcasting information, asking questions, and adopting input, so that per-action evaluation is possible later;
- Build reproducible evaluation environments: use general-purpose infrastructure such as container platforms, logging services, and monitoring and alerting to fully record the input, output, and team return of each round of interaction, providing a data foundation for credit assignment;
- Layered reward signals: organically combine outcome rewards with process rewards, and team-level with turn-level evaluation, to avoid the bias caused by any single signal;
- Leverage general-purpose LLM capabilities: you can build a multi-agent orchestration framework quickly using cloud-hosted general-purpose LLM services, vector retrieval, and message queues, focusing development effort on collaboration strategy and reward design rather than rebuilding the underlying infrastructure.
Conclusion
The value ceiling of multi-agent collaboration is extremely high, but that ceiling can only be realized when every AI on the team is “willing to speak up and knows how to listen.” Returning from the escape-room metaphor to engineering reality, the key to solving the “bad teammate” dilemma is not to make the models smarter, but to design evaluation and training mechanisms that attribute contributions precisely and reward fairly — separating each person’s true contribution from the team’s overall success or failure and measuring, rewarding, and penalizing it on its own. Only then can an AI team gradually evolve from “fighting on its own and dragging each other down” into an efficient collaborator that “shares information and brings out the best in one another.”
