TL;DR
How do you combine predictions from multiple LLMs when you aren’t allowed to peek at their private data or internal weights? This paper introduces WALLA, a game-theoretic mechanism where LLMs literally "bet" on their own answers. By rewarding models based on how much they beat the crowd while penalizing reckless bets, the system organically weights the best-informed models highest—matching the accuracy of omniscient, centralized routers without ever violating privacy.
What Problem Does This Paper Address?
Imagine a consortium of hospitals or competing AI labs wanting to pool their LLMs to answer complex medical or financial questions. Because no single model knows everything, combining their probabilistic forecasts is smart. Normally, you’d train a central "router" to inspect the prompt, peek inside the models' hidden states, and decide who to trust.
In decentralized settings, however, privacy and proprietary walls block central access to private contexts (like patient records) and model internals. Relying on simple averages dilutes expertise, while weighting models by their self-reported "confidence" fails miserably when models are poorly calibrated—or worse, strategically exaggerating to gain influence.
Existing game-theoretic "wagering mechanisms" try to solve this by having agents bet on their predictions, but they have two fatal flaws for LLMs: they assume beliefs never change, and they incentivize an "all-or-nothing" binary bet. If a slightly better model and a vastly superior model both bet the maximum limit, you lose all nuance in how to weight them.
Methods
The authors introduce WALLA (Advantage-Aligned Wagering Mechanisms for LLM Aggregation), turning prediction pooling into an incentive-compatible game. For any question, each LLM outputs a probability distribution over the answers and a non-negative wager, which the aggregator uses directly as that model's weight in the final combined forecast.
Once the true outcome is revealed, predictions are graded using a strictly proper scoring rule (specifically, the Brier score, which measures the squared distance between predicted probabilities and reality). The magic lies in WALLA’s novel net payoff function, which has two key ingredients:
- A leave-one-out baseline: Instead of comparing an agent to the whole pool (which includes itself), its score is compared against a baseline built only from its opponents' predictions and wagers. This comes in two flavors: WALLA I (average of opponents' scores) and WALLA II (score of opponents' average prediction).
- A quadratic wager penalty: Subtracting a $c_3 w_i^2$ term from the payoff.
Why quadratic? Basic calculus! When an agent maximizes its expected payoff—which looks like $w_i(\text{Advantage}) - c_3 w_i^2$—the optimal wager becomes directly proportional to its expected score advantage over the rest of the pool. Outclassed models bet zero and drop out; superior models bet in exact proportion to how much better they expect to be.
Crucially, the authors prove this setup decouples predicting from betting. Reporting true beliefs is always the dominant strategy, regardless of the wager. Because the base LLM doesn't need to be altered, each participant can freeze their LLM and train a tiny, lightweight neural network (using hidden states or input embeddings) to predict optimal wagers purely from their own historical payoff receipts.
Datasets
The authors test WALLA across five benchmarks:
- Question-Answering: MMLU and ARC-Challenge (general knowledge/reasoning, with ARC used for out-of-distribution testing), alongside MedMCQA and PubMedQA (biomedical QA; PubMedQA includes abstracts used to simulate private contexts).
- BayesX (Newly Introduced): A synthetic Bayesian forecasting dataset specifically designed to decouple information from confidence. In BayesX, a private signal can legitimately shift a model's prior toward a uniform (50/50) distribution—meaning the best-informed model actually looks the least confident.
Key Insights and Ideas
- Confidence $\neq$ Competence: On BayesX, confidence-weighted baselines fail because private evidence makes the informed model less certain (closer to uniform). WALLA shines here: the informed model still expects a better Brier score than its peers, so it wagers high despite its high uncertainty.
- Lightweight, Frozen-Model Learning: Teaching an LLM to make better predictions is expensive. Teaching a tiny side-network to recognize when its host LLM has an edge—just by watching past payoffs—is computationally cheap and lets smaller specialist models shine alongside larger generalists.
- Built-in Calibration Incentives: Overconfident models overestimate their advantage, over-bet, and get burned by the quadratic penalty. When the authors applied temperature scaling to calibrate just one model in the pool, its net payoffs jumped—proving WALLA naturally rewards self-awareness.
Key Results
Across general-purpose (Gemma-2-9B, Llama-3.1-8B) and medical LLMs (Aloe-8B, BioMistral-7B), WALLA consistently rivals centralized methods like Stacked Generalization (which sees all hidden states) and RouteLLM (which sees private contexts).
- Private Contexts (Homogeneous Models): When 1 of 12 identical Aloe models is secretly fed a relevant abstract on PubMedQA, uniform averaging degrades to 63.10% AUC. WALLA I hits 82.44% AUC and 87.47% accuracy, virtually tying centralized StackedGen (82.26% AUC, 87.36% ACC) while keeping contexts completely private.
- Specialist vs. Generalist Pools: Combining four distinct LLMs without private context, WALLA I achieves 81.98% accuracy on MedMCQA (beating the best single model, Aloe, at 79.77%), 87.41% on MMLU, and 90.48% out-of-distribution on ARC-Challenge. Adding calibration bumps MedMCQA accuracy to 82.36%.
- Noisy Private Contexts: With four distinct LLMs on PubMedQA—one given relevant context and another fed a misleading, irrelevant abstract—centralized routers stumble (RouteLLM gets 77.89% ACC), while calibrated WALLA I achieves 82.05% accuracy (84.85% AUC).
Limitations and Future Work
- Market Collapse Under Dominance: WALLA cancels a round if fewer than two models place a positive bet. Theoretically, if one model dominates everything, or if models perfectly partition the problem space with zero overlap, everyone else bets zero and the mechanism halts. In practice, shifting query distributions and noisy retrieval keep multiple models in the game.
- API-Only Constraints: When model weights are closed and wager networks must rely on input embeddings rather than LLM hidden states, performance drops when dealing with misleading contexts—embeddings capture what information is present, but not whether the LLM actually understood it.
- Future Directions: The authors suggest exploring in-context wagering—feeding an LLM its past questions, bets, and payoffs directly in the prompt rather than training a separate wager network—and extending wagering beyond simple probability pooling into multi-step collaborative reasoning.
Summary updated