Submitted:
21 November 2026
Posted:
24 November 2026
You are already at the latest version
Abstract
Large language models (LLMs) often exhibit mode collapse in open-ended generation, repeatedly producing similar responses despite the availability of diverse valid alternatives. Existing approaches address this problem through diversity-aware optimization or decoding-time interventions, often requiring curated preference data, candidate selection, or additional inference. We adopt on-policy unlearning, a general framework that dynamically constructs unlearning targets from the model's current policy, and introduce UNMODE to mitigate response mode collapse. At each round, UNMODE samples responses from the current model and updates its parameters to reduce the probability of generating them. Resampling after each update lets the forget targets track the evolving policy, progressively suppressing likely responses and making alternatives relatively more probable. This approach requires neither curated replacement data nor separately sampled alternative responses. We evaluate UNMODE on two open-ended generation benchmarks and code-completion tasks. Results show that UNMODE improves response diversity and utility over diversity-oriented baselines. It also improves pass@5 and pass@10 on code completion, increasing the likelihood of finding correct solutions when sampling multiple candidates. These findings demonstrate the potential of on-policy unlearning as a simple and data-efficient approach to reducing response mode collapse in LLMs.
Keywords:
response diversity
; mode collapse
; on-policy unlearning
; large language models
; open-ended generation
1. Introduction
Large language models (LLMs) are increasingly used for tasks without a single canonical answer, including brainstorming, creative writing, and exploring alternative solution strategies. In such settings, usefulness depends not only on the quality of an individual response but also on the ability to generate meaningfully different alternatives (Padmakumar and He, 2024; Zhang et al., 2025). Diversity is also important for exploration-based learning, where repeatedly sampling similar trajectories can limit the discovery of successful solutions (Chen et al., 2025; Cheng et al., 2025; Cui et al., 2025; Li et al., 2025; Hu et al., 2026).
Post-training can substantially narrow the output distribution of LLMs (Padmakumar and He, 2024; GX-Chen et al., 2025). Instruction-tuned and aligned models often exhibit mode collapse, repeatedly producing similar responses even when many valid alternatives exist (Slocum et al., 2025; O’Mahony et al., 2024; Kruszewski et al., 2025). This occurs both within models and across model families: Infinity-Chat reports substantial intra-model repetition and inter-model homogeneity on open-ended queries (Jiang et al., 2025), and NoveltyBench shows that state-of-the-art models generate far fewer distinct responses than humans (Zhang et al., 2025). These findings reveal a trade-off in current post-training: optimizing for the most likely response can reduce the model’s ability to explore alternative useful behaviors (GX-Chen et al., 2025; Kruszewski et al., 2025).
Existing efforts to recover diversity follow two directions. The first modifies the training objective: DivPO (Lanchantin et al., 2025) shifts preference optimization toward rare but high-quality responses, DARLING (Li et al., 2025) rewards semantic diversity during reinforcement learning, and Li et al. (2024) formulate diversity preservation during supervised fine-tuning as an adversarial game. The second leaves parameters unchanged and modifies inference, e.g., in-context regeneration (Zhang et al., 2025) and Verbalized Sampling (Zhang et al., 2025). Both have limitations. DivPO and DARLING require sampling and selecting diverse responses, which introduces a costly search process. Li et al. (2024) is specific to training time, making it expensive to apply to already-trained models, and requires access to the original training data. Inference-time methods increase inference cost. We instead investigate whether diversity can be recovered by removing the dominant response modes that cause repetitive generations.
We adopt on-policy unlearning, in which forget targets are sampled from the model’s current policy rather than fixed in advance (Jang et al., 2023; Zhang et al., 2024; Dong et al., 2025). At each round, the model generates responses to the input prompts and uses them as forget targets. Unlike CiPO (Li et al., 2026), which constructs counterfactual responses from predefined unlearning targets, and PACT (Tang and Khanna, 2026), which reuses a fixed forget set generated by the original model, our method regenerates forget targets from the evolving policy without predefined targets, coupling target generation with unlearning so that it adapts continuously to the model’s current behavior.
We apply this framework to response diversity and introduce UnMode (Figure 1). At each round, UnMode samples responses from the current policy and uses them as forget targets, reducing their probability through parameter updates. Because these targets are regenerated after each update, the method repeatedly suppresses responses that remain likely under the evolving policy, making alternative behaviors relatively more likely. Unlike methods that use auxiliary output heads to suppress previously generated patterns during decoding (Shi and Pan, 2026) or unlearn sampled non-mode responses (Chaitanya et al., 2025), UnMode updates the model using its own on-policy generations as forget targets. It requires no candidate selection, separately sampled alternative responses, or curated replacement data.
Beyond diversity, we show that reducing mode collapse can improve the utility of generated outputs. On Qwen3-4B and Qwen3-8B (Yang et al., 2025), UnMode increases diversity and improves utility scores on the open-ended generation benchmarks Infinity-Chat (Jiang et al., 2025) and NoveltyBench (Zhang et al., 2025). On HumanEval (Chen et al., 2021) code completion, the increased exploration induced by UnMode improves pass@5 and pass@10, showing that greater response diversity can benefit solution generation.
Our contributions are summarized as follows:
- We formulate on-policy unlearning, a general framework where forget targets are dynamically generated from the model’s own policy rather than predefined externally.
- We propose UnMode, an on-policy unlearning method for increasing LLM response diversity without requiring sampled alternative responses or curated replacement data.
- We demonstrate that UnMode improves diversity and response utility on open-ended generation benchmarks and increases pass@k on code completion tasks.
2. Related Work
2.1. Training-Time Strategies for Diversity
Post-training can reduce output diversity (Li et al., 2025), motivating diversity-promoting dialogue objectives (Li et al., 2016) and diversity-preserving supervised fine-tuning (Li et al., 2024). DivPO (Lanchantin et al., 2025) favors rare, high-quality responses in preference optimization. In RL, entropy collapse (Cui et al., 2025) has motivated diversity-aware rewards: DARLING (Li et al., 2025) combines semantic diversity with quality, DQO (Chen et al., 2026) optimizes determinantal-point-process diversity, DIVER (Hu et al., 2026) uses sequence-level diversity potentials, and Uniqueness-Aware RL (Hu et al., 2026) rewards rare correct strategies. Other methods regulate entropy dynamics during policy optimization (Petrenko et al., 2026; Wang et al., 2026). Complementarily, multi-agent approaches elicit diversity through interaction: Multi-Agent Debate (Liang et al., 2024) uses judge-mediated debate to mitigate degeneration of thought, while LLM Discussion (Lu et al., 2024) assigns distinct roles in structured discussions to reduce model homogeneity.
2.2. Test-Time Strategies for Diversity
Test-time methods improve diversity without updating model parameters. Decoding methods reshape sampling via adaptive truncation (top-k (Fan et al., 2018), nucleus (Holtzman et al., 2020), Mirostat (Basu et al., 2021), min-p (Nguyen et al., 2024)), information-theoretic thresholds (epsilon-sampling (Freitag et al., 2023), p-less sampling (Tan et al., 2026)), or penalties for similarity to prior continuations (contrastive search (Su and Collier, 2023), Control-the-Temperature (Troshin et al., 2025)). CreativityNeuro (Schapiro et al., 2026) instead steers selected weights without gradient-based fine-tuning. Prompt-based methods elicit diversity through candidate distributions (Verbalized Sampling (Zhang et al., 2025)), regeneration conditioned on prior answers (Zhang et al., 2025), or random-string seeds (SSOT (Misaki and Akiba, 2026)). Finally, Zhang et al. (2026) unify these methods by where diversity is injected and propose generating diverse intermediate specifications to guide final responses.
2.3. Unlearning to Restore Diversity
Machine unlearning aims to remove the influence of a forget set while preserving performance on a retain set (Xu et al., 2024). Approximate parameter-tuning methods include Gradient Ascent (GA) (Jang et al., 2023), which maximizes forget loss but is unstable (Zhang et al., 2024); NPO (Zhang et al., 2024), which uses preference optimization against a static reference; UnDIAL (Dong et al., 2025), which self-distills targets with a fixed logit offset; and Unilogit (Vasilev et al., 2025), which we adopt and computes a logit shift that assigns the target token uniform probability. Recent work has also explored model-generated data for unlearning. CiPO (Li et al., 2026) uses on-policy samples as dispreferred responses but requires separately constructed counterfactual targets based on predefined unlearning targets, while PACT (Tang and Khanna, 2026) uses fixed, model-generated counterfactual examples to unlearn context-triggered deception. In contrast, our framework regenerates forget targets from the evolving policy each round, requiring only prompts.
A growing body of work uses unlearning-style interventions to mitigate mode collapse. Chaitanya et al. (2025) fine-tune on curated non-mode responses, conceptually related to DivPO (Lanchantin et al., 2025). OverRIDE (Shi and Pan, 2026) suppresses previously generated patterns via auxiliary output heads, paralleling approaches that subtract learned forget components from the base model (Ji et al., 2024,2). EEPO (Chen et al., 2026) applies sample-then-forget unlearning during RL rollouts to suppress dominant trajectories. Beyond language generation, Disley and Khan (2026) remove concepts to reduce design fixation in human–AI co-creation, promoting divergent ideation. In contrast, our framework directly unlearns high-probability responses sampled from the current policy during training, without requiring curated diverse responses.
3. Method
This section introduces on-policy unlearning, which dynamically generates forget targets from the model’s current policy, and UnMode, its application to mitigating response mode collapse.
3.1. On-Policy Unlearning
Existing unlearning methods typically assume a fixed forget set of input-target pairs , where the targets are provided externally. We consider an alternative setting where the forget targets are generated from the model’s current policy at each round.
Given a prompt set , at unlearning round r, we sample:
where denotes the model’s conditional generation distribution for round , yielding the forget set:
We refer to this procedure as on-policy unlearning: the targets to be suppressed are dynamically generated from the current policy rather than being fixed beforehand. After updating the model using the unlearning loss on , the forget set is regenerated from the updated policy for the next round. This iterative process allows the unlearning targets to continuously adapt to the model’s current behavior.
This is motivated by the observation that a given prompt can elicit multiple valid generations from a model, allowing on-policy targets to capture diverse realizations of the model’s behavior rather than a single predefined response.
3.2. UnMode: On-Policy Unlearning for Response Diversity
We apply on-policy unlearning to reduce response mode collapse. For a prompt x, let M denote a semantic response mode with probability mass
When responses are sampled from the current policy, modes with greater probability mass are more likely to be represented in the forget set. UnMode uses these sampled responses as forget targets, reducing the probability of generating them again. After each update, it samples new responses from the updated policy. This process repeatedly targets responses that remain likely under the evolving policy, making other responses relatively more likely.
3.3. UnMode Loss
To implement the UnMode loss, we use Unilogit (Vasilev et al., 2025), which performs self-distillation toward a modified target distribution. Given a sampled response , let be the token to suppress at position t. Unilogit modifies the logits as:
where is a one-hot vector indicating the selected token, and V is the vocabulary size. The target distribution is:
The UnMode loss minimizes the KL divergence between the modified target and the current model distribution:
By iteratively applying this objective to responses sampled from the current policy, UnMode decreases the probability of repeatedly generating the same responses, making alternative responses relatively more likely. The complete procedure is summarized in Algorithm 1.
| Algorithm 1 On-Policy Unlearning for Response Diversity |
Require: Prompt dataset ; language model ; rounds R; epochs E
|
4. Experimental Setup and Results
4.1. Setup
Models.
We evaluate two model sizes from the Qwen3 family, Qwen3-4B and Qwen3-8B (Yang et al., 2025).
Baselines.
We compare UnMode against three baselines, each chosen for a specific purpose: (i) Direct, which samples directly from the base model without any intervention and serves as the reference for measuring how much our method improves diversity and utility; (ii) DivPO (Lanchantin et al., 2025), a preference-optimization method that trains on the most diverse high-quality responses as preferred examples, representing an effective post-training approach that requires a candidate pool to construct a diverse training dataset; and (iii) OverRIDE (Shi and Pan, 2026), a decoding-time method that improves diversity through iterative reweighting, representing an effective approach that avoids constructing a candidate pool by steering generation away from previously generated responses.
To compare DivPO under both our experimental setting and the original DivPO setting, we evaluate two variants on open-ended generation: (i) DivPO, trained on the same prompt dataset as all other methods, and (ii) DivPO-5k, trained on a random sample of 5k prompts from Infinity-Chat (Jiang et al., 2025) to match the scale of the training data used in the original DivPO paper.
Implementation Details.
All experiments use LoRA (Hu et al., 2022) with a rank of 16 and an alpha of 32 for fine-tuning, and vLLM (Kwon et al., 2023) for response generation. Unless otherwise specified, the sampling temperature is set to 1.0. Each experiment is run with three random seeds, and we report the mean and standard deviation across seeds. Further implementation details are provided in Appendix A.
4.1.1. Open-Ended Generation
Datasets.
We evaluate our method on two open-ended benchmarks: (i) Infinity-Chat100 (Jiang et al., 2025), which was introduced to study intra- and inter-model repetition, and (ii) the NB-Curated subset of NoveltyBench (Zhang et al., 2025). Both contain 100 prompts but capture open-endedness from complementary perspectives. Infinity-Chat100 is human-verified to ensure that its prompts admit open-ended responses (Jiang et al., 2025), while NB-Curated spans four categories: randomness, factual questions with multiple valid answers, creative writing, and subjectivity. All experiments use cross-dataset evaluation in both directions: we train on one benchmark and test on the other. Henceforth, we refer to Infinity-Chat100 and NB-Curated as Infinity-Chat and NoveltyBench, respectively.
Evaluation Metrics.
For each prompt, we sample 10 responses to evaluate response diversity and utility. Self-BLEU measures lexical overlap among responses, and average pairwise embedding similarity (OpenAI’s text-embedding-3-small) measures semantic overlap; lower values indicate greater diversity. Following NoveltyBench (Zhang et al., 2025), we also report two metrics defined over functional equivalence classes, where responses are grouped using a fine-tuned DeBERTa-v3-large (He et al., 2021) classifier that judges whether a user would gain anything from seeing one response after the other. Let be the class of the i-th response. Distinct is the number of distinct classes, . Utility combines novelty and quality,
where denotes the quality score of response i, and is a patience factor that geometrically discounts later responses; responses equivalent to earlier ones contribute zero. Following NoveltyBench’s protocol, we score response quality using Skywork-Reward-Gemma-2-27B-v0.2 (Liu et al., 2024). NoveltyBench selects this model based on its strong RewardBench performance (Lambert et al., 2025) and reported superiority to larger models, including NVIDIA’s 70B Nemotron model (Wang et al., 2025).
4.1.2. Code Completion
Datasets.
We evaluate on HumanEval (Chen et al., 2021). For training, we use 100 prompts sampled from MBPP (Austin et al., 2021), which we convert into a code-completion format to match the HumanEval setting. For each problem, we construct a function signature from the function name in the reference solution and use the original MBPP task description as the docstring, with the model asked to complete the function body. Since the training and evaluation problems come from different datasets, this setup also evaluates cross-benchmark transfer of the resulting improvements.
Evaluation Metrics.
For each problem, we sample 100 completions and report the unbiased Pass@k estimator (Chen et al., 2021) for . To measure diversity among the generated programs, we additionally report average pairwise embedding similarity, computed using embeddings from OpenAI’s text-embedding-3-small API.
4.2. Results.
Open-Ended Generation.
Table 1 reports results on Infinity-Chat and NoveltyBench.
UnMode improves both diversity and utility over the base model. On Qwen3-8B, UnMode lowers Self-BLEU from .64 to .40 on Infinity-Chat and from .61 to .34 on NoveltyBench, and nearly doubles the number of distinct responses ( from 2.52 to 4.79 and 3.84 to 7.69, respectively). Utility also increases (from 2.91 to 4.27 on Infinity-Chat and from 3.43 to 4.64 on NoveltyBench), and Qwen3-4B shows the same trend, indicating that the observed diversity gains do not come at the expense of utility. Lowering the probability of the model’s own frequent responses pushes it toward alternative answers that remain correct and useful, which is what open-ended prompts call for.
UnMode outperforms OverRIDE and DivPO. OverRIDE yields only small gains over the base model. DivPO helps on Qwen3-8B but is much less effective on Qwen3-4B, where it is nearly indistinguishable from the base model. UnMode gives the best diversity and utility in nearly all settings for both model sizes.
UnMode matches or exceeds DivPO-5k at a much lower cost. DivPO-5k is the strongest baseline, but it requires building a candidate pool of 100 responses for each of 5k prompts before training. On Qwen3-8B, UnMode clearly outperforms it on all metrics (e.g., 4.79 vs. 3.07 distinct responses and 4.27 vs. 3.27 utility on Infinity-Chat). On Qwen3-4B, UnMode is better on NoveltyBench (6.39 vs. 4.42 distinct responses, with equal utility) and comparable on Infinity-Chat, where it is ahead on Self-BLEU, Distinct, and Utility, while DivPO-5k is slightly ahead on Sim. OverRIDE, DivPO, and UnMode share the same premise: a model already assigns some probability to less likely but valid and diverse responses, and these must be brought out of the model’s distribution. OverRIDE does this at decoding time, and DivPO does it by training on a curated pool of preference pairs. UnMode instead only reduces the probability of responses the model itself generates, and it does not need to construct or rank a candidate pool. This simple on-policy update surfaces diverse responses more effectively than the baselines and at a lower cost than DivPO.
Code Completion.
Table 2 reports results on HumanEval, where we measure diversity with the embedding similarity of generated solutions and correctness with pass@k for .
UnMode finds correct solutions that the baselines miss. UnMode achieves the highest pass@5 and pass@10 for both model sizes. On Qwen3-8B, pass@10 rises from 75.1 (Direct) to 82.0, and from 77.0 for OverRIDE, the strongest baseline. On Qwen3-4B, it rises from 43.2 to 49.3. The gains are also visible in similarity: UnMode produces less similar solutions on Qwen3-8B (.90 vs. .94), and on Qwen3-4B it matches the baselines. Since pass@k increases with the number of samples only if those samples differ from one another, the improvement at larger k indicates that UnMode reduces redundant generations and explores a wider set of candidate solutions, which raises the chance that at least one of them is correct.
Diversity comes with a small cost at pass@1 on Qwen3-8B. On Qwen3-8B, pass@1 drops from 60.1 (Direct) to 57.4. This is expected: pass@1 rewards the single sampled solution, and spreading probability mass over alternative solutions can slightly lower the chance that any one sample is correct. This cost is outweighed once several samples are drawn, as the pass@5 and pass@10 gains (+5.6 and +6.9 points over Direct) show. On Qwen3-4B, pass@1 does not decrease and instead improves (32.2 to 34.5). DivPO shows a larger pass@1 drop on Qwen3-8B without comparable gains at higher k, so it does not offer this trade-off.
5. Analysis
5.1. Test-Time UnMode
Although we primarily study UnMode as a post-training procedure, it can also be applied at test time to diversify responses to individual prompts. For each prompt, we iteratively generate a response from the current model and use it as the forget target for an unlearning update, with each update performed specifically for that prompt. After r rounds, we sample n responses from the resulting prompt-specific model and evaluate their diversity and utility. Thus, the evaluated responses are sampled from the final updated model rather than collected one per unlearning round.
We evaluate this test-time procedure on Infinity-Chat and NoveltyBench, comparing it with direct generation and an off-policy variant that reuses a fixed set of responses rather than regenerating the forget target after each update. As shown in Table 3, test-time UnMode improves response diversity and utility over direct generation across both model sizes and datasets. Moreover, the on-policy variant generally achieves better results than its off-policy counterpart, highlighting the benefit of regenerating forget targets as the model’s response distribution changes. These findings demonstrate that UnMode can be used not only as a post-training procedure but also as an iterative, prompt-specific intervention at inference time.
5.2. Diversity–Utility Trade-Off
Figure 2 illustrates the trade-off between response diversity and utility as the number of unlearning rounds R increases. Across model sizes, additional unlearning rounds generally improve diversity, but excessive unlearning can eventually reduce utility.
5.3. Evolution of Unlearning Targets
We examine whether regenerating unlearning targets throughout training yields a more diverse set of responses than sampling targets once from the initial model. We compare two strategies: on-policy, which samples one response per prompt from the initial model and then from the current model at each of the nine subsequent rounds, yielding ten responses per prompt; and off-policy, which samples all ten responses per prompt once from the fixed initial model. Since the model’s response distribution evolves during unlearning, on-policy sampling can introduce responses that were less likely under earlier model distributions, whereas the fixed off-policy set remains restricted to responses sampled initially.
To assess the resulting target sets, we evaluate their diversity and utility on Infinity-Chat and NoveltyBench. As shown in Table 4, on-policy targets exhibit lower Self-BLEU and similarity, as well as higher Distinct and Utility scores, across both model sizes and datasets. These results indicate that periodically regenerating targets yields a more diverse set of responses than a fixed set sampled from the initial model. As unlearning lowers the probability of previously generated responses, the model shifts toward semantically different ones, which are then incorporated into subsequent unlearning targets, whereas the off-policy set remains limited to the initial model’s responses.
Effect of Sampling Temperature
We study how sampling temperature (T) affects UnMode during inference and during training, when sampling the responses used to construct the forget set.
Inference Temperature.
Figure 3 reports results for a model trained at temperature 0.7 and evaluated at inference temperatures from 0.5 to 1.0. On NoveltyBench, higher temperature improves utility for every method, but UnMode achieves the highest utility at every temperature, and its advantage widens as temperature increases. At it leads the strongest baseline (DivPO-5k) by 0.56 utility points, and at by 1.13. On HumanEval, Pass@10 also rises with temperature for all methods. UnMode again scores highest throughout, reaching 81.6 at against 77.0 for OverRIDE, 75.3 for Direct, and 73.0 for DivPO. These results show that UnMode’s advantage holds across inference temperatures and grows as temperature increases, indicating that its gains do not depend on a particular inference temperature.
Training Temperature.
Figure 4 varies the temperature used to sample training data over , with evaluation fixed at . UnMode is largely insensitive to this choice. Utility on NoveltyBench changes only slightly, and Pass@10 on HumanEval stays within one point (81.6 to 82.4). DivPO is more sensitive. Its utility rises with training temperature, and its Pass@10 is non-monotonic. These results suggest that UnMode does not depend on careful tuning of the training temperature.
6. Conclusion
We studied whether response diversity in open-ended generation can be recovered by reducing the probability of responses that a model repeatedly produces. To this end, we adopted on-policy unlearning: at each round, we sample responses from the current model and unlearn them, so the forget targets follow the model’s evolving output distribution. The resulting method, UnMode, requires neither a curated pool of preferred responses nor predefined unlearning targets. On Qwen3-4B and Qwen3-8B, trained on one open-ended benchmark and evaluated on the other, UnMode improved diversity and utility over the base model, outperformed base models, OverRIDE, and DivPO baselines, and matched or exceeded DivPO-5k, which relies on a substantially more expensive response-pool construction. On HumanEval, UnMode improved pass@5 and pass@10 for both model sizes, at a small pass@1 cost on Qwen3-8B. Our analysis indicated that on-policy targets are more diverse than targets sampled once. We also observed that excessive unlearning eventually reduces utility, so the number of rounds needs to be chosen with care.
7. Limitations
Our study has several limitations. We evaluate only the Qwen3 family at two model sizes, and we use relatively small training sets. The gains are also smaller on Qwen3-4B than on Qwen3-8B for some metrics. Future work could test whether the findings hold across other model families and scales, and could examine how on-policy unlearning interacts with other post-training objectives.
Appendix A. Experimental Details
Table A1, Table A2, and Table A3 report the training configurations for UnMode, OverRIDE, and DivPO, respectively. For DivPO, we use the same reward model as the original paper, ArmoRM-Llama3-8B-v0.1 (Wang et al., 2024), to score candidate responses and construct preference pairs. Table A4 lists the evaluation parameters used for all methods.
Checkpoint selection.
For open-ended generation tasks, we select the round checkpoint that achieves the highest utility score on the training data. For code generation, we use the final checkpoint, i.e., the model after the fixed number of unlearning rounds.
Table A1.
Training Configuration for Training-time and Test-time UnMode
| Parameter | Training-time | Test-time |
|---|---|---|
| Learning Rate | ||
| Effective Batch Size | 1 | 1 |
| LoRA Rank (r) | 16 | 16 |
| LoRA Alpha () | 32 | 32 |
| LoRA Target Modules | q_proj, k_proj, v_proj, o_proj, | |
| gate_proj, up_proj, down_proj | ||
| Sampling Temperature | 1.0 | 1.0 |
| Epochs per Round | 2 | 2 |
| Max Rounds | 9 | 9 |
Table A2.
Training Configuration for OverRIDE.
| Parameter | OverRIDE |
|---|---|
| Learning Rate | |
| LoRA Rank (r) | 16 |
| LoRA Alpha () | 32 |
| LoRA Target Modules | q_proj, k_proj, v_proj, o_proj, |
| gate_proj, up_proj, down_proj | |
| Reweighting Parameter () | 0.8 |
| Rounds (T) | 10 |
| Sampling Temperature | 1.0 |
Table A3.
Training Configuration for DivPO.
| Parameter | DivPO |
|---|---|
| Learning Rate | |
| Effective Batch Size | 16 |
| LoRA Rank (r) | 16 |
| LoRA Alpha () | 32 |
| LoRA Target Modules | q_proj, k_proj, v_proj, o_proj, |
| gate_proj, up_proj, down_proj | |
| Reward Threshold () | 0.3 |
| Diversity Criterion (D) | Prob |
| Sampling Temperature | 1.0 |
| Number of Training Steps | 1000 |
Table A4.
Evaluation parameters used for open-ended generation and code completion.
| Parameter | Open-Ended | Code |
|---|---|---|
| Max New Tokens | 256 | 512 |
| Samples per Prompt | 10 | 100 |
| Thinking Mode | Disabled | Disabled |
| Temperature | 1.0 | 1.0 |
| Top-p | 0.95 | 0.95 |
| Top-k | 0 | 0 |
| Min-p | 0.0 | 0.0 |
References
- Padmakumar, V., and H. He. 2024. Does Writing with Language Models Reduce Content Diversity? Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Zhang, Y., H. Diddee, S. Holm, H. Liu, X. Liu, V. Samuel, B. Wang, and D. Ippolito. 2025. NoveltyBench: Evaluating Language Models for Humanlike Diversity. arXiv, arXiv:2504.05228. [Google Scholar]
- Chen, M., G. Chen, W. Wang, and Y. Yang. 2025. SEED-GRPO: Semantic Entropy Enhanced GRPO for Uncertainty-Aware Policy Optimization. arXiv, arXiv:2505.12346. [Google Scholar]
- Cheng, D., S. Huang, X. Zhu, B. Dai, W.X. Zhao, Z. Zhang, and F. Wei. 2025. Reasoning with Exploration: An Entropy Perspective. arXiv, arXiv:2506.14758. [Google Scholar]
- Cui, G., Y. Zhang, J. Chen, L. Yuan, Z. Wang, Y. Zuo, H. Li, Y. Fan, H. Chen, W. Chen, and et al. 2025. The Entropy Mechanism of Reinforcement Learning for Reasoning Language Models. arXiv, arXiv:2505.22617. [Google Scholar]
- Li, T., Y. Zhang, P. Yu, S. Saha, D. Khashabi, J. Weston, J. Lanchantin, and T. Wang. 2025. Jointly Reinforcing Diversity and Quality in Language Model Generations. arXiv, arXiv:2509.02534. [Google Scholar]
- Hu, Z., S. Zhang, Y. Li, J. Yan, X. Hu, L. Cui, X. Qu, C. Chen, Y. Cheng, and Z. Wang. 2026. Diversity-Incentivized Exploration for Versatile Reasoning. International Conference on Learning Representations (ICLR). [Google Scholar]
- GX-Chen, A., J. Prakash, J. Guo, R. Fergus, and R. Ranganath. 2025. KL-Regularized Reinforcement Learning is Designed to Mode Collapse. arXiv, arXiv:2510.20817. [Google Scholar]
- Slocum, S., A. Parker-Sartori, and D. Hadfield-Menell. 2025. Diverse Preference Learning for Capabilities and Alignment. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- O’Mahony, L., L. Grinsztajn, H. Schoelkopf, and S. Biderman. 2024. Attributing Mode Collapse in the Fine-Tuning of Large Language Models. Proceedings of the ICLR 2024, Mathematical and Empirical Understanding of Foundation Models (ME-FoMo) Workshop. [Google Scholar]
- Kruszewski, G., P. Erbacher, J. Rozen, and M. Dymetman. 2025. Whatever Remains Must Be True: Filtering Drives Reasoning in LLMs, Shaping Diversity. arXiv, arXiv:2512.05962. [Google Scholar]
- Jiang, L., Y. Chai, M. Li, M. Liu, R. Fok, N. Dziri, Y. Tsvetkov, M. Sap, A. Albalak, and Y. Choi. 2025. Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond). arXiv, arXiv:2510.22954, Best Paper Award, NeurIPS 2025. [Google Scholar]
- Lanchantin, J., A. Chen, S. Dhuliawala, P. Yu, J. Weston, S. Sukhbaatar, and I. Kulikov. 2025. Diverse Preference Optimization. arXiv, arXiv:2501.18101. [Google Scholar]
- Li, Z., C. Chen, T. Xu, Z. Qin, J. Xiao, Z.Q. Luo, and R. Sun. 2024. Preserving Diversity in Supervised Fine-Tuning of Large Language Models. Proceedings of the The Thirteenth International Conference on Learning Representations. [Google Scholar]
- Zhang, J., S. Yu, D. Chong, A. Sicilia, M.R. Tomz, C.D. Manning, and W. Shi. 2025. Verbalized Sampling: How to Mitigate Mode Collapse and Unlock LLM Diversity. arXiv, arXiv:2510.01171. [Google Scholar]
- Jang, J., D. Yoon, S. Yang, S. Cha, M. Lee, L. Logeswaran, and M. Seo. 2023. Knowledge Unlearning for Mitigating Privacy Risks in Language Models. Proceedings of the Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Toronto, Canada; pp. 14389–14408. [Google Scholar]
- Zhang, R., L. Lin, Y. Bai, and S. Mei. 2024. Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning. Proceedings of the Proceedings of the First Conference on Language Modeling (COLM). [Google Scholar]
- Dong, Y.R., H. Lin, M. Belkin, R. Huerta, and I. Vulić. 2025. UnDIAL: Self-Distillation with Adjusted Logits for Robust Unlearning in Large Language Models. Proceedings of the Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Albuquerque, New Mexico; pp. 8827–8840. [Google Scholar]
- Li, J., Y. Chen, and N. Ding. 2026. CiPO: Counterfactual Unlearning for Large Reasoning Models through Iterative Preference Optimization. Proceedings of the Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 3152–3170. [Google Scholar] [CrossRef]
- Tang, H., and R. Khanna. 2026. Unlearning Deceptive Behaviors in LLMs with Contrastive Forget Sets. arXiv, arXiv:2609.38909. [Google Scholar]
- Shi, R., and S.J. Pan. 2026. Diverse Text Decoding via Iterative Reweighting. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Chaitanya, N., G. Krishnan, and P. Agarwal. 2025. Unlearning to Prevent Model Collapse in Large Language Models: An Approach to Enhance Long-Term Stability and Performance. In Proceedings of the Proceedings of [conference/volume from Springer chapter]. Springer. [Google Scholar] [CrossRef]
- Yang, A., A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, and et al. 2025. Qwen3 technical report. arXiv, arXiv:2505.09388. [Google Scholar]
- Chen, M., J. Tworek, H. Jun, Q. Yuan, H.P.D.O. Pinto, J. Kaplan, H. Edwards, Y. Burda, N. Joseph, G. Brockman, and et al. 2021. Evaluating large language models trained on code. arXiv, arXiv:2107.03374. [Google Scholar]
- Li, J., M. Galley, C. Brockett, J. Gao, and B. Dolan. 2016. A Diversity-Promoting Objective Function for Neural Conversation Models. Proceedings of the Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, California; pp. 110–119. [Google Scholar]
- Chen, Y., S. Chakraborty, L. Wolf, Y. Paschalidis, and A. Pacchiano. 2026. Post-Training Large Language Models for Diverse High-Quality Responses. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Hu, Z., Y. Wang, Y. He, J. Wu, Y. Zhao, S.K. Ng, C. Breazeal, A.T. Luu, H.W. Park, and B. Hooi. 2026. Rewarding the Rare: Uniqueness-Aware RL for Creative Problem Solving in LLMs. Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026, San Diego, California, United States; pp. 39765–39790. [Google Scholar]
- Petrenko, A., B. Lipkin, K. Chen, E. Wijmans, M.F. Cusumano-Towner, R. Giryes, and P. Kraehenbuehl. 2026. Entropy-Preserving Reinforcement Learning. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Wang, C., L. Wei, Y. Zhang, C. Shao, Z. Dan, W. Huang, G. Lan, and Y. Wang. 2026. Targeted Exploration via Unified Entropy Control for Reinforcement Learning. Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026, San Diego, California, United States; pp. 16789–16802. [Google Scholar]
- Liang, T., Z. He, W. Jiao, X. Wang, Y. Wang, R. Wang, Y. Yang, S. Shi, and Z. Tu. 2024. Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debate. Proceedings of the Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Miami, Florida, USA; pp. 17889–17904. [Google Scholar]
- Lu, L.C., S.J. Chen, T.M. Pai, C.H. Yu, H.y. Lee, and S.H. Sun. 2024. LLM Discussion: Enhancing the Creativity of Large Language Models via Discussion Framework and Role-Play. Proceedings of the Conference on Language Modeling (COLM). [Google Scholar]
- Fan, A., M. Lewis, and Y. Dauphin. 2018. Hierarchical Neural Story Generation. Proceedings of the Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Melbourne, Australia; pp. 889–898. [Google Scholar]
- Holtzman, A., J. Buys, L. Du, M. Forbes, and Y. Choi. 2020. The Curious Case of Neural Text Degeneration. Proceedings of the International Conference on Learning Representations. [Google Scholar]
- Basu, S., G.S. Ramachandran, N.S. Keskar, and L.R. Varshney. 2021. Mirostat: A Neural Text Decoding Algorithm that Directly Controls Perplexity. Proceedings of the International Conference on Learning Representations. [Google Scholar]
- Nguyen, M., A. Baker, C. Neo, A. Roush, A. Kirsch, and R. Shwartz-Ziv. 2024. Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputs. arXiv, arXiv:2407.01082. [Google Scholar]
- Freitag, M., B. Ghorbani, and P. Fernandes. 2023. Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translation. arXiv, arXiv:2305.09860. [Google Scholar]
- Tan, R., S. Wu, and P. Howard. 2026. p-less Sampling: A Robust Hyperparameter-Free Approach for LLM Decoding. arXiv, arXiv:2509.23234. [Google Scholar]
- Su, Y., and N. Collier. 2023. Contrastive Search Is What You Need for Neural Text Generation. Proceedings of the Transactions on Machine Learning Research. [Google Scholar]
- Troshin, S., W. Mohammed, Y. Meng, C. Monz, A. Fokkens, and V. Niculae. 2025. Control the Temperature: Selective Sampling for Diverse and High-Quality LLM Outputs. arXiv, arXiv:2510.01218. [Google Scholar]
- Schapiro, S., C.F. Park, F. Sosa, and L.R. Varshney. 2026. CreativityNeuro: Steering Language Model Weights to Improve Divergent Thinking and Reduce Mode Collapse. arXiv, arXiv:2607.01433. [Google Scholar]
- Misaki, K., and T. Akiba. 2026. SSOT: Seed-String-Based Diversity for Language Model Generation. arXiv. [Google Scholar]
- Zhang, C., R. Xin, and C. Zhong. 2026. Where You Inject Diversity Matters: A Unified Framework for Diverse Generation. arXiv, arXiv:2606.10302. [Google Scholar]
- Xu, J., Z. Wu, C. Wang, and X. Jia. 2024. Machine Unlearning: Solutions and Challenges. IEEE Transactions on Emerging Topics in Computational Intelligence 8: 2150–2168. [Google Scholar] [CrossRef]
- Vasilev, S., C. Herold, B. Liao, S.H. Hashemi, S. Khadivi, and C. Monz. 2025. Unilogit: Robust Machine Unlearning for LLMs Using Uniform-Target Self-Distillation. Proceedings of the Findings of the Association for Computational Linguistics: ACL 2025, Vienna, Austria; pp. 22453–22472. [Google Scholar] [CrossRef]
- Ji, J., Y. Liu, Y. Zhang, G. Liu, R.R. Kompella, S. Liu, and S. Chang. 2024. Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference. Proceedings of the Advances in Neural Information Processing Systems Vol. 37. [Google Scholar]
- Ji, J., Y. Liu, and S. Chang. 2026. Unlearning by Construction: Auxiliary Prediction as a Path to LLM Unlearning. In Machine Unlearning for Governance of Foundation Models. Edited by S. Liu, Y. Liu and N. Baracaldo. Springer Nature Switzerland: pp. 147–164. [Google Scholar] [CrossRef]
- Chen, L., X. Han, Q. Wang, B. Han, J. Bai, H. Schuetze, and K.F. Wong. 2026. Eepo: Exploration-enhanced policy optimization via sample-then-forget. Proceedings of the International Conference on Learning Representations Vol. 2026: 150418–150434. [Google Scholar]
- Disley, M., and M. Khan. 2026. Unlearning to Rest: Machine Unlearning as a Method of Mitigating Design Fixation in Human-AI Creative Collaboration. In Proceedings of the DRS2026: Edinburgh. Edited by L. Simeone, C.M. Gray, A. Verhoeven, A. de Götzen, Y. Bakırlıoğlu, H. Zohar, M. Stead and P. Buwert. [Google Scholar] [CrossRef]
- Hu, E.J., Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen. 2022. LoRA: Low-Rank Adaptation of Large Language Models. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Kwon, W., Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C.H. Yu, J. Gonzalez, H. Zhang, and I. Stoica. 2023. Efficient memory management for large language model serving with pagedattention. Proceedings of the Proceedings of the 29th symposium on operating systems principles; pp. 611–626. [Google Scholar]
- He, P., X. Liu, J. Gao, and W. Chen. 2021. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. Proceedings of the International Conference on Learning Representations (ICLR). [Google Scholar]
- Liu, C.Y., L. Zeng, J. Liu, R. Yan, J. He, C. Wang, S. Yan, Y. Liu, and Y. Zhou. 2024. Skywork-Reward: Bag of Tricks for Reward Modeling in LLMs. arXiv, arXiv:2410.18451. [Google Scholar]
- Lambert, N., V. Pyatkin, J. Morrison, L. Miranda, B.Y. Lin, K. Chandu, N. Dziri, S. Kumar, T. Zick, Y. Choi, and et al. 2025. RewardBench: Evaluating Reward Models for Language Modeling. Proceedings of the Findings of the Association for Computational Linguistics: NAACL 2025. Association for Computational Linguistics, 1755–1797. [Google Scholar] [CrossRef]
- Wang, Z., A. Bukharin, O. Delalleau, D. Egert, G. Shen, J. Zeng, O. Kuchaiev, and Y. Dong. 2025. Helpsteer2-preference: Complementing ratings with preferences. Proceedings of the International Conference on Learning Representations Vol. 2025: 56548–56575. [Google Scholar]
- Austin, J., A. Odena, M. Nye, M. Bosma, H. Michalewski, D. Dohan, E. Jiang, C. Cai, M. Terry, Q. Le, and et al. 2021. Program synthesis with large language models. arXiv, arXiv:2108.07732. [Google Scholar]
- Wang, H., W. Xiong, T. Xie, H. Zhao, and T. Zhang. 2024. Interpretable preferences via multi-objective reward modeling and mixture-of-experts. Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024: 10582–10592. [Google Scholar] [CrossRef]
Figure 1.
Overview ofUnMode. Given a prompt x sampled from a prompt dataset , the current policy generates a response , forming the forget set for round r. UnMode then updates the policy via self-distillation: it minimizes the per-token KL divergence between the current model and a target distribution , which is obtained from the model’s own predictions by lowering the logit of each sampled token (see §3.3). This yields , from which new responses are sampled to construct the forget set for the next round.
Figure 1.
Overview ofUnMode. Given a prompt x sampled from a prompt dataset , the current policy generates a response , forming the forget set for round r. UnMode then updates the policy via self-distillation: it minimizes the per-token KL divergence between the current model and a target distribution , which is obtained from the model’s own predictions by lowering the logit of each sampled token (see §3.3). This yields , from which new responses are sampled to construct the forget set for the next round.

Figure 2.
Response diversity and utility across unlearning rounds on NoveltyBench.

Figure 3.
Effect of inference temperature on NoveltyBench utility (top) and HumanEval pass@10 (bottom). All models are trained at temperature 0.7 and evaluated at inference temperatures from 0.5 to 1.0. Shaded regions denote standard deviation.
Figure 3.
Effect of inference temperature on NoveltyBench utility (top) and HumanEval pass@10 (bottom). All models are trained at temperature 0.7 and evaluated at inference temperatures from 0.5 to 1.0. Shaded regions denote standard deviation.

Figure 4.
Effect of training temperature on NoveltyBench utility (left) and HumanEval pass@10 (right). Models are trained with data sampled at temperatures 0.7, 1.0, and 1.2 and evaluated at inference temperature 1.0. Shaded regions denote standard deviation.
Figure 4.
Effect of training temperature on NoveltyBench utility (left) and HumanEval pass@10 (right). Models are trained with data sampled at temperatures 0.7, 1.0, and 1.2 and evaluated at inference temperature 1.0. Shaded regions denote standard deviation.

Table 1.
Main results on Infinity-Chat and NoveltyBench for Qwen3-8B and Qwen3-4B. We report Self-BLEU, embedding similarity (Sim), number of distinct responses, and Utility. UnMode improves diversity and utility over the base model (Direct), outperforms OverRIDE and DivPO, and matches or exceeds DivPO-5k, which requires a far more expensive response-pool construction.
Table 1.
Main results on Infinity-Chat and NoveltyBench for Qwen3-8B and Qwen3-4B. We report Self-BLEU, embedding similarity (Sim), number of distinct responses, and Utility. UnMode improves diversity and utility over the base model (Direct), outperforms OverRIDE and DivPO, and matches or exceeds DivPO-5k, which requires a far more expensive response-pool construction.
| Infinity-Chat | NoveltyBench | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Self-BLEU ↓ | Sim ↓ | Distinct↑ | Utility ↑ | Self-BLEU ↓ | Sim ↓ | Distinct ↑ | Utility ↑ |
| Qwen3-8B | ||||||||
| Direct | ||||||||
| OverRIDE | ||||||||
| DivPO | ||||||||
| DivPO-5k | 3.91 | |||||||
| UnMode | ||||||||
| Qwen3-4B | ||||||||
| Direct | ||||||||
| OverRIDE | ||||||||
| DivPO | ||||||||
| DivPO-5k | ||||||||
| UnMode | ||||||||
Table 2.
Code completion results on HumanEval for Qwen3-8B and Qwen3-4B. Sim is the embedding similarity between generated solutions, and P@k denotes pass@k, the percentage of problems solved by at least one of k sampled solutions. UnMode achieves the highest pass@5 and pass@10, showing that it surfaces correct alternative solutions, at a small pass@1 cost on Qwen3-8B.
Table 2.
Code completion results on HumanEval for Qwen3-8B and Qwen3-4B. Sim is the embedding similarity between generated solutions, and P@k denotes pass@k, the percentage of problems solved by at least one of k sampled solutions. UnMode achieves the highest pass@5 and pass@10, showing that it surfaces correct alternative solutions, at a small pass@1 cost on Qwen3-8B.
| Method | Sim ↓ | P@1 | P@5 | P@10 |
|---|---|---|---|---|
| Qwen3-8B | ||||
| Direct | ||||
| OverRIDE | ||||
| DivPO | ||||
| UnMode | ||||
| Qwen3-4B | ||||
| Direct | ||||
| OverRIDE | ||||
| DivPO | ||||
| UnMode | ||||
Table 3.
Test-time UnMode results on Infinity-Chat and NoveltyBench. Direct denotes generation without test-time unlearning. The off-policy variant reuses a fixed forget set, whereas the on-policy variant regenerates the forget target after each update.
Table 3.
Test-time UnMode results on Infinity-Chat and NoveltyBench. Direct denotes generation without test-time unlearning. The off-policy variant reuses a fixed forget set, whereas the on-policy variant regenerates the forget target after each update.
| Infinity-Chat | NoveltyBench | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Self-BLEU ↓ | Sim ↓ | Distinct ↑ | Utility ↑ | Self-BLEU ↓ | Sim ↓ | Distinct ↑ | Utility ↑ |
| Qwen3-8B | ||||||||
| Direct | ||||||||
| UnMode (off-policy) | ||||||||
| UnMode (on-policy) | ||||||||
| Qwen3-4B | ||||||||
| Direct | ||||||||
| UnMode (off-policy) | ||||||||
| UnMode (on-policy) | ||||||||
Table 4.
Diversity and utility of unlearning target sets obtained using on-policy and off-policy sampling on Infinity-Chat and Novelty Bench. On-policy targets are regenerated across unlearning rounds, whereas off-policy targets are sampled from the initial model and reused throughout training.
Table 4.
Diversity and utility of unlearning target sets obtained using on-policy and off-policy sampling on Infinity-Chat and Novelty Bench. On-policy targets are regenerated across unlearning rounds, whereas off-policy targets are sampled from the initial model and reused throughout training.
| Infinity-Chat | NoveltyBench | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Self-BLEU ↓ | Sim ↓ | Distinct ↑ | Utility ↑ | Self-BLEU ↓ | Sim ↓ | Distinct ↑ | Utility ↑ |
| Qwen3-8B | ||||||||
| Off-policy | ||||||||
| On-policy | ||||||||
| Qwen3-4B | ||||||||
| Off-policy | ||||||||
| On-policy | ||||||||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.