arXiv Machine Learning

A Model of Diverse Sampling from Language Models

The paper introduces PoolDPP, a method for generating diverse sets of language model outputs by sampling from a determinantal point process (DPP). It constructs a finite candidate pool via a tractable proposal, reweights candidates toward target quality, and applies a K‑DPP sampler or a greedy MAP variant to select a size‑K subset. The authors provide a finite‑sample bound showing the KL divergence between the sampler’s output and the target DPP decreases as O(1/N) with pool size, and demonstrate empirical improvements in diversity and precision–recall on open‑ended generation, text‑to‑SQL, and mathematical reasoning tasks.

arXiv AI
Sep 17

Beyond Truncation: Rethinking LLM Decoding as Ensemble Pruning

The paper introduces Mahalanobis-Ensemble Decoding (ME-Decoding), a new framework for Large Language Model decoding that treats candidate token selection as an ensemble pruning problem. It uses a Mahalanobis distance-driven objective to promote semantic diversity while maintaining high probabilities, employing a token similarity matrix built with an adaptive-bandwidth kernel over token embeddings. An efficient greedy algorithm with near-linear complexity and theoretical guarantees makes ME-Decoding a plug‑and‑play module with negligible inference overhead, and experiments show strong performance across reasoning and generation tasks.

By Dunyao Xue, Chengshuo Du, Zhengbo Wang, Wenlin Dai, Cheng Meng
arXiv Machine Learning
Aug 11

On the Effect of Sampling Diversity in Scaling LLM Inference

arXiv:2502. 11027v5 Announce Type: replace Abstract: Large language model (LLM) scaling inference is key to unlocking greater performance, and leveraging diversity has proven an effective way to enhance it.

By Tianchun Wang, Zichuan Liu, Yuanzhou Chen, Jonathan Light, Weiyang Liu, Haifeng Chen, Xiang Zhang, Wei Cheng
arXiv Computation and Language
Sep 14

Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding

Chopthin-Consensus Power Sampling (CCPS) is a new inference-time decoding method for large language models that uses the Chopthin resampler to preserve diversity among particle trajectories. By enforcing an upper bound on weight ratios instead of equal-weight resampling, CCPS maintains a richer set of distinct reasoning paths and guarantees a lower bound on effective sample size. Coupled with a semantic-majority selection mechanism, CCPS achieves higher oracle coverage and matches or surpasses baseline accuracy on multiple reasoning benchmarks.

By Minoo Ahmadi, Seyedarmin Azizi, Erfan Baghaei Potraghloo, Mehdi Kamal, Massoud Pedram
arXiv AI
Jul 22

Large Language Models Explore by Latent Distilling

arXiv:2604. 24927v2 Announce Type: replace-cross Abstract: Generating diverse responses is crucial for test-time scaling of large language models (LLMs), yet standard stochastic sampling mostly yields surface-level lexical variation, limiting semantic exploration.

By Yuanhao Zeng, Ao Lu, Lufei Li, Zheng Zhang, Yexin Li, Kan Ren
arXiv Computation and Language
Oct 23

Hacking Generative Perplexity: Why Unconditional Text Evaluation Needs New Metrics

The paper critiques generative perplexity (gen‑PPL) as an unreliable metric for evaluating unconditional text generation, showing that it can be minimized by trivial, non‑diverse outputs. The authors demonstrate this by constructing simple samplers that achieve low gen‑PPL yet produce incoherent text, and they propose alternative evaluation tools—including distributional discrepancies, diversity diagnostics, and a compression‑based KL divergence measure—to better assess generative language models. They argue that future progress in diffusion language models should rely on a suite of metrics that capture diverse aspects of generated text quality.

By Antonio Franca, Alexander Tong
arXiv AI
5d ago

Learning Stratified Policies for Inference-Time Objectives

The paper introduces stratified policies, a method that allocates inference-time sampling across multiple learned policies rather than repeatedly sampling from a single policy. Each of the $k$ policies contributes one response to a $k$-sample objective, implemented via separate LoRA adapters on a shared language model backbone and optimized for pass@$k$. Experiments show that this approach consistently improves pass@$k$ on reasoning tasks compared to single-policy baselines, demonstrating that distributing samples across complementary policies can better utilize the sample budget.

By Mridul Mahajan, Xuezhou Zhang, Aldo Pacchiano