Truth or Deceit? A Bayesian Decoding Game Enhances Consistency and Reliability

Weitong Zhang, Chengqi Zang, Bernhard Kainz · DOI

Abstract: Large Language Models (LLMs) often produce "specious" outputs—fluent but factually incorrect. We present the Bayesian Decoding Game (BDG), a training-free framework that models decoding as a strategic interaction between a Generator and a Verifier. By leveraging no-regret optimization and a novel Disambiguity Metric, BDG identifies reliable answers and outperforms significantly larger models like PaLM-540B on reasoning benchmarks.

Introduction: The Legibility Trap

As Large Language Models (LLMs) scale, they become increasingly "specious." They produce outputs that are grammatically perfect and logically structured but factually incorrect or subtly misleading. This creates a "legibility" trap: the more fluent a model becomes, the harder it is for humans to spot its hallucinations.

Existing solutions often involve Reinforcement Learning from Human Feedback (RLHF), which is expensive and limited by human interpretability. Other technical approaches often trade off consistency for accuracy—meaning a model might become more consistent in its answers but less correct overall. The authors sought a way to ensure that LLM outputs are not just aligned with human intent, but are actually valid and reliable, particularly in high-stakes or ambiguous scenarios.

The Bayesian Decoding Game Framework

The authors introduce the Bayesian Decoding Game (BDG), a training-free framework that operates during the decoding stage (when the model is actually picking words to form a sentence).

The BDG framework: A multi-stage signaling game between a Generator and Verifier for correctness alignment and disambiguity calibration.
  1. The Signaling Game: The process is modeled as a game between two players: a Generator (which proposes answers) and a Verifier (which evaluates them). The Generator receives a "type" (Correct or Incorrect) and must produce a signal (an output) that the Verifier can correctly categorize.
  2. Correctness Alignment: Using no-regret optimization and Markovian strategy updates, the Generator and Verifier iteratively refine their policies. They move toward a "Decoding Equilibrium" where they reach a consensus on which outputs are most likely to be correct. The authors prove that their Markovian update schedule converges to this equilibrium significantly faster than previous methods.
  3. Ambiguity Calibration: Once an equilibrium is reached, the model uses a novel Disambiguity Metric. This metric calculates a "Reliability Score" to distinguish between Valid outputs (where both players agree and the confidence is high) and Specious outputs (which look good but exhibit unstable behavior under calibration).

Diverse Applications across Domains

The BDG was evaluated across a wide range of reasoning and factual benchmarks, demonstrating its versatility in distinguishing valid insights from specious hallucinations in complex fields.

The Bayesian Decoding Game (BDG) applied to decision making, logical reasoning, and visual collaboration tasks.
  • General Knowledge & Reasoning: MMLU, ARC-Easy, ARC-Challenge, and RACE-High.
  • Mathematical Reasoning: GSM8K.
  • Truthfulness: TruthfulQA.
  • Specialized Domains: PubMedQA (Medical) and MMLU-Medical.
  • Ethics: Scenarios covering justice, virtue, deontology, and utilitarianism.

Key Insights and Results

Smaller Models can "Punch Up"

The most striking insight is that game-theoretic mechanisms can compensate for raw parameter count. By optimizing the decoding process, a 13-billion parameter model can beat a 540-billion parameter model. On the ARC-Easy benchmark, LLaMA-13B using BDG achieved a score of 78.1, surpassing the much larger PaLM-540B (76.6).

Consistency vs. Reliability

The paper distinguishes between these two concepts. A model can be consistently wrong. BDG uses "Ambiguity Calibration" to identify when a model is just "guessing" confidently versus when it has actually converged on a robust truth. Across multiple domains (MMLU, ARC, RACE), BDG consistently outperformed standard Generative Ranking and the previous state-of-the-art Equilibrium Consensus Game (ECG). On average, BDG provided a 20.2% improvement over baseline generative ranking.

Efficiency and Synergy

Unlike previous methods which can fluctuate indefinitely, BDG’s Bayesian framework reaches a stable consensus roughly 30 times faster. Furthermore, in human evaluation trials, the "hints" provided by the BDG (rankings of solutions) significantly improved the accuracy of non-experts, helping them spot subtle errors they would have otherwise missed.

Limitations and Future Work

While powerful, the current game requires explicitly defining "correctness consistency branches," which might introduce a subtle bias toward certain types of answers. The authors suggest that moving to multi-agent deliberation (multiple generators and verifiers) could further refine the "truth" through a more complex "debate."

Finally, the authors acknowledge that by making LLM outputs more plausible and reliable, the system could inadvertently be used to generate more convincing disinformation if the underlying model is prompted with malicious intent. They suggest watermarking as a potential future safeguard.

Summary updated

BibTeX
@misc{zhang2024truth,
  author = {Weitong Zhang and Chengqi Zang and Bernhard Kainz},
  title = {{Truth or Deceit? A Bayesian Decoding Game Enhances Consistency and Reliability}},
  year = {2024},
  eprint = {2410.01064},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.01064},
}
Figure