December 3, 2026

Fair Share: How AI teams learn to attribute success in sequence

Research Paper: COSAC: Counterfactual Credit Assignment in Sequential Cooperative Teams
Authors: Shripad Deshmukh (Adobe Research & University of Massachusetts), Jayakumar Subramanian (Adobe Research), Raghavendra Addanki (Adobe Research), and Nikos Vlassis (Adobe Research)
Venue: 40th Conference on Neural Information Processing Systems (NeurIPS 2026)

This post describes experimental academic research, not a current or announced Adobe product feature or capability.

Key Takeaways

  • Fair Credit Assignment: Sequential AI teams (like a chain of language models) can now accurately measure each agent’s individual contribution to a single final team reward.
  • No Extra Simulations: The new method, called COSAC, runs virtual “what-if” scenarios entirely in its head, avoiding slow and expensive environment replays.
  • Massive Regret Reductions: In real-world tests, COSAC reduced training regret by 61% on Python coding tasks and by 17% on science reasoning compared to leading baselines.
  • Lightweight & Scalable: By replacing heavy, learned critic networks with a simple mathematical solve, COSAC scales easily to larger teams of agents.

The challenge of AI teamwork

Modern artificial intelligence often relies on collaboration, using chains of specialized AI agents. For example, a software pipeline might use a planner to outline a program, an implementer to write the code, a reviewer to inspect it, and a finalizer to revise it. At the end, the team receives a single score based on whether the final program passes its unit tests. If the program fails, it is incredibly difficult to pinpoint which agent made the mistake. Conversely, when it succeeds, it is hard to know who deserves the credit. This puzzle is known as the credit assignment problem, and it is a major bottleneck in training cooperative AI teams.

Why current systems struggle to share credit

Existing approaches struggle with efficiency or stability. One common method simply gives every agent the exact same score. This couples each agent’s learning signal to teammate noise, making it hard for individual models to learn. Another approach uses complex mathematical corrections to adjust for the fact that updating one agent changes the environment for downstream ones. However, these corrections suffer from high variance that grows exponentially with team size, leading to unstable training. Finally, some methods run “what-if” replays in the actual environment to isolate each agent’s effect. While accurate, this requires running the entire downstream pipeline repeatedly, which is slow and computationally expensive.

COSAC: Virtual “what-if” scenarios

To address these challenges, researchers from Adobe Research and the University of Massachusetts developed COSAC (Counterfactual Sequential Credit Assignment in Cooperative Teams), a more efficient way to determine how much each AI agent contributes to a team’s success. Rather than training a separate AI model to evaluate each agent’s performance, COSAC uses information already collected during training.

The method works in three steps. First, it analyzes the team’s previous attempts at completing a task and estimates how each agent’s actions contributed to the overall result. Second, it explores alternative scenarios by using the existing AI models to predict how other agents might have responded if one agent had made a different choice, without having to repeat the entire task. Finally, it uses these estimates to calculate an individual score for each agent, taking into account both its own contribution and how its actions influenced the agents that followed. This gives each agent more meaningful feedback on its performance while reducing the additional computing resources needed for training.

Imagine a team of AI agents working together to write a piece of software. The first agent develops a plan, the second writes the code, and the third checks it for errors. If the final code works correctly, the agent that developed the initial plan deserves recognition for its role in guiding the others, even though it didn’t write the final code itself. COSAC helps account for these individual contributions when training the team.

Real-world success in coding and science

The researchers tested COSAC on several tasks requiring AI agents to work together. When four agents collaborated to write Python programs using the MBPP coding benchmark, COSAC reduced training regret — a measure of missed opportunities to earn rewards during learning — by 61% compared to an existing method called MA-GRPO. When four agents worked together to answer science questions from the ARC dataset, COSAC reduced training regret by 17% compared to the best competing method that also operates without a separate evaluation model. In experiments involving up to 16 agents, COSAC’s error in estimating individual contributions was 30 times lower than MA-GRPO’s, demonstrating its ability to assign credit more accurately even as teams grow larger.

Making AI teamwork more efficient and scalable

This research makes it highly practical to train large, collaborative AI pipelines without needing massive, complex critic networks or paying for slow, repetitive environment simulations. However, the researchers note some limitations. The current framework assumes a fixed sequence of agent decisions, leaving multi-step settings with dynamic execution orders with room for improvement. Additionally, when dealing with free-form text outputs, the method requires mapping text to persistent action categories, and capturing complex interactions between many agents can quickly become overwhelming for the system, requiring careful mathematical tuning. Despite these challenges, COSAC represents a significa