Passer au contenu

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

Mode Collapse (LLM)

Sovereign AI

Definition

Mode collapse (LLM) is a failure pattern in which a model converges on a narrow band of outputs, producing similar, stereotyped responses even when the inputs differ and many valid answers exist. Ask a collapsed model for ten story ideas and you get one idea wearing ten hats; ask it the same open-ended question across sessions and the same structure, phrasing, and conclusions keep surfacing. In language models it is most often observed as a side effect of alignment training: a model tuned with reinforcement learning frequently generates measurably less varied text than the same base model did before tuning.

The term migrated into language modeling from generative adversarial networks, where it named a failure with the same shape: a generator that discovers one output the discriminator accepts and produces it forever, covering a single mode of the data distribution instead of its full variety. In both settings the pathology is invisible to per-sample quality metrics, since each individual output remains perfectly plausible; what has been lost is the spread across outputs, which only shows up when you ask repeatedly and compare. That measurement subtlety is part of why collapse creeps into deployed models: the dashboards watch quality, and diversity quietly leaves through the side door.

Why alignment can flatten a model

Studies of Reinforcement Learning from Human Feedback have found it can sharply reduce per-input output diversity compared with plain supervised fine-tuning. The mechanics are intuitive once named. As RLHF proceeds, the policy's entropy drops: exploration shrinks and probability mass concentrates on a few patterns that reliably score well with the reward model. The reverse-KL penalty used in standard RLHF formulations is mode-seeking by nature, meaning it prefers to fit one high-reward mode of the target distribution well rather than to spread mass across all acceptable modes. Layer human raters who systematically prefer safe, hedged, well-formatted answers, and the optimization has every reason to collapse toward them. The result is a model that is polite, consistent, and repetitive, leaning on the same transitions, the same list structures, and the same summary sentences regardless of what was asked.

Why it matters to a self-hoster

For factual retrieval, collapse is nearly invisible; there is one right answer and the model gives it. For creative work, brainstorming, naming, or any task where the value lies in the spread of options, it is a real ceiling, and it explains a common observation among local-model users: a heavily aligned model can feel duller than a smaller, lightly tuned one. Operators running their own stack get to choose their point on this trade-off, one of the quiet advantages of self-hosting. Inference-time settings recover some ground: raising temperature, widening the candidate pool with top-p sampling, and applying a repetition penalty all push against the collapsed distribution, though none restores diversity the training removed. Choosing a different fine-tuning lineage of the same base model is often the stronger lever.

Mitigations and neighbors

Research directions include diversity-aware training objectives that penalize entropy loss, alternative preference-optimization methods with different KL geometry, and inference-time prompting techniques, such as asking the model to verbalize several distinct candidates with probabilities, that coax a fuller distribution out of a collapsed policy. Mode collapse belongs to a family of alignment side effects worth knowing as a set: sycophancy, where the model over-agrees with the user, and reward hacking, where it satisfies the metric instead of the intent. All three are the same lesson from different angles: optimization pressure gives you exactly what you measured, and diversity is rarely what anyone measured. The practical takeaway for anyone running local models is to test candidates for variety, not just accuracy, before committing a workflow to one.

In Simple Terms

Mode collapse (LLM) is a failure pattern in which a model converges on a narrow band of outputs, producing similar, stereotyped responses even when the…

Explore the Full Glossary

Browse all Bitcoin mining terms from A to Z. Whether you are a beginner or expert, deepen your understanding of the mining ecosystem.

Glossaire du minage

ASIC Miner Database

Compare 500+ miners with real-time profitability data, home mining scores, and detailed specs.

Comparer les mineurs