Learning to Assign Prediction Tasks to Agents with Capacity Constraints
This paper introduces a theoretical framework and sequential explore-exploit algorithms for dynamically assigning prediction tasks to human or AI agents with capacity constraints, demonstrating through experiments that these methods significantly outperform non-contextual baselines by learning to optimize agent expertise and task context.
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 run a busy kitchen with a team of chefs. Some chefs are amazing at baking cakes but terrible at grilling steaks. Others are grill masters who burn every dessert they touch. You also have a rule: no single chef can do more than a certain percentage of the total work, or they'll get too tired and quit (or in the case of AI, get too expensive or overloaded).
This paper is about how to automatically figure out who is good at what and assign the right orders to the right chefs in real-time, while making sure no one gets overworked.
Here is the breakdown of the paper's ideas using simple analogies:
1. The Problem: The "One-Size-Fits-All" Mistake
In many real-world situations (like medical diagnoses or answering customer questions), you have a mix of workers: some are humans, some are AI models.
- The Old Way: You might just flip a coin to decide who gets the next task, or you might always send everything to the "best" chef you know.
- The Flaw: If you always send everything to your best chef, they burn out. If you flip a coin, you might send a tricky steak order to the baker, and it gets ruined. Also, chefs often have "hidden talents" that only show up with specific types of food (context).
2. The Solution: A Smart Dispatcher
The authors created a system that acts like a smart dispatcher. It has two main jobs:
- Learn on the Fly: It doesn't know exactly who is good at what at the start. As tasks come in, it watches the results. If "Chef A" nails a cake order but fails a steak order, the system learns: "Chef A is a baker, not a grill master."
- Respect the Limits: It keeps a mental tally (a "queue") for each chef. If Chef A has already done 40% of the work and their limit is 50%, the system starts saying, "Okay, we need to send the next few orders to Chef B, even if Chef A might be slightly better at them, just to keep the balance."
3. The "Shadow Price" Analogy
The paper uses a mathematical concept called a "shadow price," which is a bit like a dynamic toll booth.
- Imagine every time you assign a task to a chef, you have to pay a "toll."
- If a chef is underworked, the toll is low (free!).
- If a chef is getting close to their limit, the toll goes up.
- The system looks at the "toll" and the chef's skill. It might choose a slightly less skilled chef because their "toll" is zero, saving the highly skilled (but expensive/limited) chef for the really hard tasks.
4. The Experiments: Testing the System
The researchers tested this idea in three different "kitchens":
- Medical Images (Camelyon17): They used AI models trained on data from different hospitals. One model was great at spotting tumors in Hospital A's images but bad at Hospital B's. The system learned to route Hospital A's images to Model A and Hospital B's to Model B, rather than sending them randomly.
- Tabular Data (Bank, Credit, etc.): They simulated tasks where one model knew some facts and another knew different facts. The system learned to split the work based on the specific details of the task.
- Text & Images (LLMs and Humans): They tested Large Language Models (like the ones you might chat with) and human annotators. They found that different AI models were better at different topics (e.g., one was great at Chemistry, another at Foreign Policy). The system routed the questions accordingly.
5. The Results: Why It Matters
The paper found that:
- Context is King: A system that looks at the specific details of the task (the "context") and routes it to the right person performs much better than a system that just picks randomly or picks the "overall best" person.
- The Whole is Greater than the Sum of Parts: By splitting the work based on who is good at what, the team's combined accuracy was often higher than the accuracy of the single best individual.
- Constraints Help: Surprisingly, having a hard limit on how much work each person can do actually helped the system learn faster. It forced the system to try different people, preventing it from getting stuck thinking one person is the best at everything.
6. The "Batch" Twist
The paper also looked at what happens if you don't assign tasks one by one, but in small groups (like a batch of 10 orders at a time).
- Analogy: It's like a chef prepping a whole tray of appetizers at once.
- Result: Doing this in small batches sometimes works slightly better because you can balance the workload more evenly across the group, but it takes a tiny bit longer to get the results.
Summary
This paper proves that if you have a team of mixed experts (humans and AIs) with limited energy, you shouldn't just guess who does what. Instead, you should use a smart, learning system that:
- Watches who succeeds at what type of task.
- Keeps a strict count of who has done how much work.
- Routes the next task to the person who is best suited for it right now, without letting anyone get overworked.
The result is a team that works faster, makes fewer mistakes, and keeps everyone happy.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.