Manuscript Offprint

arXiv:2610.01382

Gacha Decoding: Eliciting Diverse Generations Through Instruction Following

Scott Geng, Yufei Zhang, Joseph Lee, Jerry Li, Marjan Ghazvininejad, Pang Wei Koh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Scott Geng 1,2^{1,2}, Yufei Zhang 1^{1}, Joseph Lee 1^{1}, Jerry Li 1,∗^{1,*}, Marjan Ghazvininejad 2,∗^{2,*}, Pang Wei Koh 1,∗^{1,*}

1^{1}University of Washington, 2^{2}Meta Superintelligence Labs

*Joint last authors

We introduce Gacha Decoding, an inference-time method for eliciting diverse language model generations that scales with model capability. Across open-ended domains (in-the-wild chat, creative writing, planning for image generation, and protein design), Gacha Decoding significantly outperforms existing generation diversity approaches at equal quality (up to 2.4x Vendi over the next-best prior approach), reaching the same number of high-quality modes with over an order of magnitude fewer samples (11.0x) and discovering novel modes that no other approach surfaces. Our key insight is to treat diversity as an instruction-following problem: rather than relying on the LM's token entropy, we combine its instruction-following capability with randomness from an external RNG tool to scalably identify and realize distinct modes of the response space. This approach of “planning with dice” enables Gacha to invert the long-observed tension between diversity and model capability. As the underlying LM becomes a better instruction follower, diversity under Gacha Decoding consistently improves—even as its token entropy and diversity under prior approaches decline. Together, our results highlight that instruction following, rather than token entropy alone, can drive generation diversity.

Date: October 2, 2026

Correspondence: Scott Geng at sgeng@cs.washington.edu

Meta

A Gacha Decoding elicits strong diversity (Opus 4.8)

Figure

B Gacha Decoding uniquely scales with model capability

Figure

C Qualitative examples: planning for image generation (GPT 5.5)

"Write an image generation prompt for a beach during the day."

Best prior approach — Verbalized Sampling (Zhang et al. 2025)

Figure

Gacha Decoding (our method)

Figure

Figure 1 We introduce Gacha Decoding, an inference-time method that strongly improves LM response diversity (A). We recast diversity as an instruction-following problem: instead of relying on token entropy, Gacha pairs a model's IF capabilities with external RNG to identify and realize distinct output modes. This reformulation enables Gacha to improve with stronger models (B), even when diversity under prior approaches stagnates or declines. (A–B): results on InfinityChat (Jiang et al., 2026). (C): random sampled images from text prompts generated by ours and baselines.

1 Introduction

Language model (LM) systems are increasingly entrusted with creative or exploratory tasks (writing, ideation, data generation, and scientific discovery, to name a few), but they often lack the human-like diversity and novelty these applications demand. Modern models collapse onto just a few typical responses, even on open-ended prompts where we expect many possibilities (Jiang et al., 2026). Left unchecked, this shortfall lowers user utility (Zhang et al., 2025c), constrains practitioners who rely on diverse samples to improve synthetic data or scale test-time compute (Cui et al., 2025), and in the long run may risk homogenizing our thinking (Abdulhai et al., 2026; Yakura et al., 2024).

Spurred by this gap, researchers have made a flurry of attempts at improving generation diversity, often treating diversity as a problem of limited entropy in the LM's next-token distribution. Efforts have hence focused on broadening or reshaping this distribution, for example, by changing sampling parameters (Ahmed et al., 2025), applying entropy-encouraging losses (Shi et al., 2018; Li et al., 2025a; Sorensen et al., 2026), or curating diverse training data (Zhang et al., 2024; Springer et al., 2026). While these approaches have shown gains, this distribution-centric paradigm of diversity has led to an apparent tension between response diversity and model capabilities, as capabilities are often improved via post-training methods that reduce entropy as a side effect (Cui et al., 2025). As models get better, diversity appears to be getting worse (Zhang et al., 2025c).

We argue that this tension is not fundamental. In this paper, we recast generation diversity as an instruction-following (IF) problem: we show that instruction following, as opposed to token entropy, can serve as the engine driving response diversity. In particular, we show how to harness a model's IF capabilities together with external randomness to scalably identify and realize distinct modes of the response space. This view crystallizes an emerging thread in the literature; many recent methods implicitly leverage instruction following for diversity, for example by prompting to steer generation toward less typical responses (Zhang et al., 2026; Misaki and Akiba, 2026; Wu et al., 2025a; Zhang et al., 2025a). By treating diversity explicitly as an IF problem, we fundamentally shift the LM's role from maintaining diffuse distributions to faithfully executing instructions—a capability that can improve with better alignment, even if the token distribution sharpens.

We instantiate this view as Gacha Decoding 1^{1}, our inference-time method for eliciting diverse LM generations. Across open-ended chat, creative writing, planning for image generation, and protein design, Gacha Decoding substantially outperforms prior best methods, yielding up to a 2.4x gain in Vendi-scored diversity at similar or higher quality (Figure 1A). Most strikingly, Gacha Decoding's diversity consistently scales with model capability, even when diversity with direct sampling or other prior methods declines (Figure 1B). Gacha thus inverts the typical diversity-capability tradeoff, reflecting its reduced reliance on token entropy. As an extreme illustration of this, Gacha's diversity gains persist even under deterministic greedy decoding (Section 3.3).

How does Gacha Decoding work? At a high level, we “plan with dice” (Algorithm 1 and Figure 2). Given a task, we instruct the LM to identify a sequence of semantic decisions that shape the output (e.g., to write a story, the setting, characters, and so on). We then sample these decisions sequentially using external RNG to pick from LM-enumerated options, and realize the resulting randomized plan into a final response. Crucially, we condition each decision on those already sampled so that each random choice reshapes the downstream options, allowing variation to compound combinatorially without token stochasticity. Taken together, we view Gacha Decoding as autoregressive generation lifted from tokens to ideas: each step samples a semantic choice rather than a token, conditioned on all prior choices. In practice, Gacha can be implemented as a lightweight harness around any existing LM.

Overall, our work engages an ongoing dialogue between (a) viewing LMs as classical generative models directly responsible for maintaining a diverse distribution, and (b) viewing them as components of larger AI systems. In a system, variation need not be encoded in the LM's distribution: we can source randomness externally and harness the model's IF capability to propagate it into useful, diverse responses. Our conceptual contribution is to crystallize the view that generation diversity can be treated as an instruction-following problem. Our technical contribution is to show how planning with dice operationalizes this principle, yielding strong empirical results. Our inference-time results also suggest new training directions, including end-to-end optimization with our harness or distillation of our diverse generations back into the underlying model. We now detail Gacha Decoding (Section 2), compare it against prior methods (Section 3), and analyze why it works (Section 4).

1^{1}Named after Gachapon vending machines that dispense random toys from a large curated pool.

Task: Write a story about a dog.

Plan decision axes

  1. World setting → 2. Dog's role → 3. Narrative lens → ...

Make decisions with dice

random.choice() over

LM(World settings?)

Decision 1: World setting

  1. Grounded realism in suburbia

  2. Historical, feudal Japan

  3. Norse mythological

  4. ...

random.choice() over

LM(Dog's role? | feudal Japan)

Decision 2: Role of dog

  1. Ordinary family dog

  2. Companion to wandering samurai

  3. Inugami spirit bound to family

  4. ...

Execute response

Output: Little Kaede thinks I do not know she is hiding behind the rice paper screen. Her feet stick out, plump and pink as mochi, and her breath comes in giggle...

Figure 2 Gacha Decoding generates responses by “planning with dice.” Given a task, we instruct the LM to identify and make a sequence of decisions to determine the final response. At each step, the LM enumerates possible options, and uses external randomness to select one uniformly. This design utilizes the LM’s IF capabilities while minimizing reliance on token entropy.

References (56)