Who Deserves the Reward? SHARP: Shapley Credit-based Optimization for Multi-Agent System
The paper introduces SHARP, a novel framework that addresses the credit assignment challenge in multi-agent systems with Large Language Models by utilizing Shapley-based marginal-credit rewards to precisely attribute contributions, thereby significantly outperforming existing state-of-the-art methods in training stability and performance.
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 are the manager of a high-stakes research team. Your goal is to solve a complex mystery, like finding the exact specifications of a new computer chip. You have a Planner (the boss who breaks the big problem into small tasks) and several Workers (specialists who go out and actually do the work, like searching the web or running calculations).
In the past, when this team succeeded or failed, the reward system was very blunt. If the team got the right answer, everyone got a gold star. If they failed, everyone got a red card.
This created a big problem: Who actually deserves the credit?
- Did the Planner give a great roadmap?
- Did Worker A find the perfect article?
- Did Worker B waste time on a dead-end search?
- Did Worker C make a calculation error?
Because the team got the same reward regardless of individual performance, the "learning" process was messy. The Planner didn't know if their strategy was good, and the Workers didn't know if their specific actions were helpful or harmful. It was like a sports team where the whole squad gets the trophy for a win, even if one player kept tripping over the ball.
Enter SHARP: The "Fair Share" System
The paper introduces a new method called SHARP (Shapley Credit-based Optimization for Reinforcement Policy). Think of SHARP as a sophisticated accounting system that figures out exactly how much each person contributed to the final result.
Here is how SHARP works, using a simple analogy:
1. The Three-Part Scorecard
Instead of giving one big reward, SHARP breaks the score down into three specific parts for every team member:
- The "Did We Win?" Bonus (Global Accuracy): If the team solves the mystery, everyone gets a base bonus. This keeps everyone aligned with the main goal.
- The "What If?" Bonus (Shapley Credit): This is the magic part. SHARP asks a counterfactual question: "What would have happened if we removed this specific person from the team?"
- If the team fails without Worker A, but succeeds with them, Worker A gets a huge "marginal credit" score. They were essential!
- If the team does just as well without Worker B, or even better, Worker B gets a low (or negative) score. They weren't helping.
- This is based on a mathematical concept called Shapley Values, which is like a fair way to split a pizza based on how hungry everyone actually is, rather than just splitting it equally.
- The "Did You Do Your Job?" Bonus (Tool Process): This checks if the workers actually used their tools correctly. If a worker tried to use a calculator but typed the wrong formula, they lose points here, even if the final answer was right by luck.
2. The "Planner vs. Worker" Dance
In this system, the Planner and the Workers are trained together using a shared brain (a single Large Language Model).
- The Planner gets credit based on how well the Workers they assigned performed. If the Planner assigns a task to a worker who fails, the Planner learns to pick better workers next time.
- The Workers get credit based on whether their specific actions moved the needle.
3. The Results: A Better Team
The paper tested this system on real-world puzzles (like complex math problems and web searches). Here is what they found:
- Better Performance: Teams trained with SHARP solved significantly more problems correctly than teams using old methods. They improved by about 23% over single-person teams and 14% over other multi-person teams.
- Less Waste: The system learned to stop "bad" behaviors. It reduced the number of times workers did useless or harmful tasks (like searching for the wrong thing) by filtering them out.
- Stability: The training process was smoother. Because everyone knew exactly what they did right or wrong, the team didn't get confused or stuck in a loop of bad habits.
The Bottom Line
SHARP is a new way to train AI teams. Instead of treating the team as a single blob that gets a generic reward, it acts like a fair referee that watches every move. It asks, "Who actually made the difference?" and rewards (or corrects) each agent accordingly. This leads to smarter, more efficient teams that can solve harder problems without wasting time on useless actions.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.