Language models (LLMs) often exhibit a strange "multilingual" inconsistency: they give different answers depending on whether you ask them to generate a response or score an existing one. For instance, a model might generate "Honolulu" as the most likely answer to a question, but then evaluate "Honolulu" as incorrect when asked to score it.
To reconcile these mutually incompatible scoring procedures, researchers have introduced the Consensus Game, a training-free decoding method that uses game theory to find an "equilibrium" between these two modes. Remarkably, this approach allows a small 7B parameter model to outperform giants like the 540B PaLM on several reasoning benchmarks.
The Generative vs. Discriminative Clash
Current LLMs can be queried generatively (sampling an answer from their output distribution) or discriminatively (using them to score or rank a set of candidate answers). Ideally, these two modes should agree. In practice, generative probabilities can be spread thin across many similar answers, while discriminative scoring is often poorly calibrated or overly sensitive to phrasing. The authors aim to reconcile these noisy, conflicting signals to find the model's "best guess at the truth" without requiring any additional training or fine-tuning.
The Consensus Game: A Game-Theoretic Approach
The authors frame the decoding process as a signaling game—a classic game-theoretic setup where one player has information that the other lacks.
- The Players:
- The Generator (G): Knows whether it is supposed to be "correct" or "incorrect" (a parameter set by the environment/Nature). It chooses a natural language string (an answer) to send as a message.
- The Discriminator (D): Sees the answer but doesn't know if G was told to be correct. Its job is to guess the "correctness" parameter.
- The Goal: Both players receive a reward if the Discriminator correctly identifies the intended correctness. To win, they must develop a shared "code" or consensus on which strings represent the truth.
- Regularization for "Reasonableness": In a pure game, players might invent a nonsense code (e.g., agreeing that "Nairobi" means "correct" regardless of the question). To prevent this, the authors add a KL-regularization term. This forces the players to stay close to the model's original, "reasonable" behavior while they search for consensus.
- Equilibrium Search: The authors use a no-regret learning algorithm called piKL to find an approximate Nash equilibrium at inference time. This resulting algorithm, Equilibrium-Ranking, iteratively refines the model's predictions until G and D are in sync.
Key Insights and Performance Gains
The "aha moment" of this research is realizing that truthfulness in an LLM can be defined as a state of internal consistency. If the model's "evaluator" and "generator" parts agree, the answer is more likely to be correct. This provides a massive boost to inference-time scaling. Instead of relying solely on more data or parameters, we can extract significantly more intelligence from existing models just by changing how we decode their outputs.
The researchers evaluated Equilibrium-Ranking across six diverse question-answering benchmarks, including MMLU, ARC, RACE, TruthfulQA, and GSM8K. The performance gains are substantial:
- Beating the Giants: LLaMA-7B using Equilibrium-Ranking outperformed the much larger LLaMA-65B and PaLM-540B on the ARC-Challenge and RACE benchmarks.
- MMLU Gains: On the MMLU benchmark, LLaMA-7B's accuracy jumped from 30.4% (standard generative ranking) to 39.9% (Equilibrium-Ranking).
- Efficiency: Despite being an iterative process, the "search" happens over a small set of candidate answers. It takes only about 40 microseconds per iteration, making it computationally negligible compared to the cost of the LLM's forward pass.
Limitations and Future Directions
While powerful, the current method requires a finite set of candidate answers (either from a multiple-choice list or by pre-sampling a few dozen options). It is not yet directly applicable to open-ended, long-form generation where the action space is infinite. Furthermore, if the "true" answer isn't in the initial set of candidates sampled by the model, the Consensus Game cannot find it.
Future work may extend this framework to long-form text and explore how multi-agent "debates" could be formalized using similar game-theoretic tools, paving the way for more internally consistent and reliable AI systems.
Summary updated