Manuscript Offprint

arXiv:2610.06729

Improving Diversity in LLM Short Story Generation

Zahra Solati Dehkordi, Vasileios Lampos

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

Abstract

Large language models (LLMs) can generate accurate responses, but these are void of diversity. We attempt to address this for the task of creative short story generation. Drawing on established writing conventions and known LLM limitations, we target variation in genre, tone, style, and named entities. To promote diversity across these dimensions, we introduce DivLM, an LLM post-training framework consisting of two phases. First, we perform continued pre-training on a creative writing corpus and restore instruction-following capabilities using weight residuals. We then apply reinforcement learning with a custom, composite reward function that jointly maximizes diversity across the targeted narrative dimensions while maintaining response quality. Our empirical results on two LLM families show that DivLM increases diversity metrics by more than 9% on average compared to alternative approaches, while preserving instruction following, overall response quality, and similarity to human outputs.

Source code:

github.com/

ZahraSolatiDehkordi/DivLM

1 Introduction

Large language models (LLMs) have significantly improved in their ability to follow instructions and produce accurate and helpful responses. These advances have led to growing interest in using LLMs for creative writing and storytelling (Pei et al., 2024; Venkatraman et al., 2025; Wang et al., 2025a; Liu et al., 2024). However, prior studies show that while LLM assistance can increase the perceived creativity of individual human-authored texts, it reduces the collective diversity of content produced by groups of writers (Doshi and Hauser, 2024; Padmakumar and He, 2024). This concern is consistent with evidence that LLMs often exhibit limited diversity across repeated generations from the same or similar prompts (Li et al., 2025b; Chakrabarty et al., 2024; Chu et al., 2025; Yun et al., 2025; Wang et al., 2025b; Xu et al., 2025). This low diversity is largely attributed to the post-training process, where LLMs are trained using methods such as instruction tuning and reinforcement learning from human feedback (RLHF) to increase output quality and alignment. This can narrow a model's output distribution toward high-reward or typical responses (Padmakumar and He, 2024; Yun et al., 2025; Kirk et al., 2024). Such distributional narrowing can lead to mode collapse, where a model repeatedly generates outputs from a limited subset of plausible responses (Hamilton, 2024). This limitation is particularly important in creative writing workflows, where users often rely on LLMs to explore a space of possible ideas.

A common way to encourage more varied outputs is to increase sampling stochasticity through decoding methods such as temperature scaling. However, prior work has found that such methods do not necessarily improve diversity while coherence or quality drops (Peeperkorn et al., 2024; Chu et al., 2025). Other existing approaches include prompt-based (Wang et al., 2025b; Chu et al., 2025; Zhang et al., 2026a) or post-training (Lanchantin et al., 2025; Li et al., 2025c,b; Yao et al., 2025; Chung et al., 2025; Chen et al., 2026) methods. Our work rather improves the diversity of already post-trained models. Specifically, we focus on short story generation and adopt a broad view of diversity that considers higher-level narrative decisions. Figure 1 illustrates why this broader view is necessary. Generations may differ in surface details, but maintain the same underlying narrative trajectory and other high-level attributes. We define diverse short story generation as the task of producing a set of high-quality stories for a single prompt such that they differ along salient narrative dimensions. This moves past conventional single-output generation, where the objective is to produce

Figure

Figure 1: Diversity absence (mode collapse) for Llama-3.1-8B-Instruct across generations for the same prompt.

one fluent and instruction-following response. To reinforce this set property, we propose an optimization process that is based on specific group-level rewards computed over multiple generations for the same prompt. This diversification methodology is captured by a two-phase training framework; we refer to it as Diversified Language Model or DIVLM. First, we perform continued pre-training on creative writing data to strengthen the model's domain-specific generative capabilities. Then, we apply reinforcement learning with carefully curated group-level rewards that encourage diversity while preserving basic output quality. Our approach promotes diversity over story-level attributes (genre, style, tone, named entities) and maintains typical quality standards. Empirically, we find that optimizing story-level diversity improves not only the targeted attributes, but also embedding-based semantic distance. Our main contributions are summarized as follows:

  1. We propose a two-phase training framework (DIVLM) that combines continued pre-training on creative writing data with reinforcement learning based on group-level diversity rewards.

  2. We introduce a composite reward formulation that promotes diversity over story-level attributes, including genre, style, tone, and named entities, while maintaining basic output quality.

  3. Our analysis introduces novel metrics for quantifying diversity in LLM outputs. These go beyond cosine distance and are better tailored for the specificity of the short story generation task.

  4. Our extensive experiments showcase that DI-

vLM yields significant gains on diversity per-

formance while maintaining response quality.

References (58)