Asking a Language Model for Diverse Responses

Sergey Troshin, Irina Saparina, Antske Fokkens, Vlad Niculae
9/22/2025
cs.CL

No official code found. Best implementation: serjtroshin/ask4diversity (2 stars, MIT, last commit 2026-01-09).

Abstract

Large language models increasingly rely on explicit reasoning chains and can produce multiple plausible responses for a given context. We study the candidate sampler that produces the set of plausible responses contrasting the ancestral (parallel) sampling against two alternatives: enumeration, which asks the model to produce $n$ candidates in one pass, and iterative sampling, which proposes candidates sequentially while conditioning on the currently generated response set. Under matched budgets, we compare these samplers on quality, lexical and computation flow diversity, and efficiency. Our empirical results demonstrate that enumeration and iterative strategies result in higher diversity at comparable quality. Our findings highlight the potential of simple non-independent sampling strategies to improve response diversity without sacrificing generation quality.

View on arXivView PDF

Code Implementations(1)

MIT

Asking a Language Model for Diverse Responses

20Shell, PythonSep 21, 20259 months agoMIT

Similar Papers

Cite this paper

@article{troshin2025asking,
  title  = {Asking a Language Model for Diverse Responses},
  author = {Sergey Troshin and Irina Saparina and Antske Fokkens and Vlad Niculae},
  year   = {2025},
  eprint = {2509.17570},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.17570v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.17570.svg)](https://codeofpaper.com/paper/2509.17570)

Discussion