NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk Decoding

Mirac Suzgun, Luke Melas-Kyriazi, Dan Jurafsky · DOI

In the development of Large Language Models (LLMs), significant effort has been directed toward optimizing training objectives and model architectures. However, the methods used to extract text from these models at inference time have remained largely stagnant. Practitioners typically choose between "Greedy Search," which produces high-quality but repetitive and bland text, and "Random Sampling," which offers creativity at the expense of factual consistency and coherence.

A recent study from researchers at Stanford and Oxford, titled "Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk Decoding," introduces a robust alternative. By applying the "wisdom of the crowd" principle to model outputs, they propose a decoding strategy called Crowd Sampling. This method consistently outperforms standard decoding techniques across a wide variety of natural language generation tasks.

The Diversity-Quality Trade-off

Standard decoding methods generally fall into two categories, each with distinct drawbacks:

  1. Deterministic Methods (Greedy/Beam Search): These select the most probable token at each step. While reliable, they often lead to "degeneration"—text that is repetitive, loopy, or lacks semantic richness.
  2. Stochastic Methods (Nucleus/Top-k Sampling): These introduce randomness to increase diversity. However, a single random sample is frequently low-quality or contains hallucinations.

The authors argue that the optimal output is not necessarily the one with the highest individual probability, but rather the one that represents the "consensus" of many possible samples.

Methodology: Crowd Sampling as "Soft" Consensus

The core technique is a refinement of Minimum Bayes Risk Decoding (MBRD), which the authors rebrand as Crowd Sampling. Unlike traditional majority voting, which requires exact string matches—a rarity in open-ended generation—Crowd Sampling operates on semantic similarity.

The Crowd Sampling process: generating candidates, computing a similarity matrix using neural metrics, and selecting the consensus leader.

The algorithm follows a three-step process:

  1. Generate a Crowd: Use a standard stochastic sampling method to generate a pool of $k$ candidates (e.g., 16 or 64 different summaries).
  2. Measure Similarity: Compare every candidate against every other candidate using a "utility function" that understands semantic meaning, such as BERTScore or BLEURT.
  3. Pick the Leader: Select the candidate that achieves the highest aggregate similarity score relative to the rest of the pool.

This approach effectively filters out outliers and hallucinations by identifying the candidate that sits at the "semantic centroid" of the model's own distribution.

Experimental Evaluation

The researchers evaluated Crowd Sampling across an extensive suite of benchmarks, including summarization (XSUM, CNN/DailyMail), data-to-text (WebNLG, E2E), translation (WMT16), and reasoning (BIG-Bench).

Performance comparison across multiple benchmarks showing Crowd Sampling (MBRD) consistently outperforming standard baselines.

As shown in the results, the method delivered substantial gains—often between 3 and 7 points in ROUGE and BLEU scores—over standard sampling and greedy baselines. Notably, Crowd Sampling allowed smaller models to achieve performance levels competitive with much larger models, such as PaLM 540B, on specific reasoning tasks.

Key Insights and Scaling Laws

  • Scaling with Pool Size: Generation quality scales predictably with the size of the candidate pool ($|C|$). Moving from a single sample to 64 candidates showed a continuous upward trend in performance across all metrics.
  • Model Agnostic Utility: Crowd Sampling is a drop-in replacement for the decoding step. It proved effective across various architectures, from specialized models like Pegasus and BART to general-purpose LLMs like Codex and InstructGPT.
  • Long-Form Success: On complex tasks like the HUPD patent summarization, the method provided a staggering 15-point boost over standard sampling, demonstrating its utility for high-stakes, long-form content.

Limitations and Conclusion

The primary trade-off for this performance gain is computational cost. Comparing $k$ candidates requires $O(k^2)$ similarity checks, which can increase latency when using heavy neural metrics like BLEURT. Additionally, the method assumes the underlying model is sufficiently capable; if the model's samples are fundamentally flawed, the "consensus" will simply reflect those flaws.

In conclusion, "Follow the Wisdom of the Crowd" demonstrates that significant performance is currently left on the table by relying on single-sample decoding. By leveraging the consensus of a model's own outputs, Crowd Sampling provides a path toward more accurate, human-like, and reliable text generation.

Summary updated

BibTeX
@inproceedings{suzgun2023follow,
  author = {Mirac Suzgun and Luke Melas-Kyriazi and Dan Jurafsky},
  title = {{Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk Decoding}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.262},
}
Figure