Modifying Large Language Model Post-Training for Diverse Creative Writing

John Joon Young Chung, Vishakh Padmakumar, Melissa Roemmele, Yuqian Sun, Max Kreminski

TL;DR

This paper introduces a novel post-training method for Large Language Models (LLMs) that specifically targets increasing the diversity of creative writing outputs without sacrificing quality. By incorporating a "deviation" metric into existing preference optimization techniques like DPO and ORPO, their models achieve human-level diversity while maintaining competitive generation quality.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly used for creative writing tasks, which inherently have a wide range of valid outputs. However, current post-training methods, while excellent at improving generation quality, often lead to a homogenization of outputs, reducing diversity. This can be problematic for users seeking varied creative options, leading to repetitive or predictable content. The paper aims to bridge this gap by developing LLM training techniques that explicitly promote diversity alongside quality in creative writing.

Methods

The core innovation of this paper lies in introducing a "deviation" metric into the training objective of LLMs. Deviation measures how much a specific training instance differs from other instances generated for the same prompt. This metric is then integrated into two established post-training methods:

  • Direct Preference Optimization (DPO): The authors modify DPO by weighting the training loss based on the deviation of the "winning" (preferred) response. This encourages the model to learn from rare, high-quality instances that are more distinct from typical outputs.
  • Odds Ratio Preference Optimization (ORPO): Similarly, ORPO is adapted by incorporating the deviation of the winning response into its objective function, which combines log-likelihood and log odds ratio.

These modified methods are termed Diversified DPO (DDPO) and Diversified ORPO (DORPO). The deviation is calculated using semantic and style embeddings, and these signals can be mixed for a more comprehensive diversity measure.

Datasets

The primary dataset used in this research is the r/writingPrompts dataset. This dataset is derived from the r/writingPrompts subreddit, where users post prompts and others share creative writing responses. This structure naturally provides multiple responses per prompt, making it suitable for training models to generate diverse outputs. The authors also used existing instruction-tuned models as baselines, including GPT-4o, Claude-3.5-Sonnet, and DeepSeek-R1.

Key Insights and Ideas

  • Deviation as a Key to Diversity: The paper highlights that simply optimizing for quality can lead to models converging on common patterns. By explicitly rewarding "deviation," models are incentivized to explore less common but still high-quality creative paths.
  • Balancing Quality and Diversity: The proposed methods demonstrate that it's possible to significantly increase output diversity without a substantial drop in generation quality, a common trade-off in previous approaches.
  • Human-Created Data as a Benchmark: The authors show that their best models can achieve diversity levels comparable to human-created datasets, suggesting a significant step towards more human-like creative generation.
  • Robustness to Data Size: The approach appears to be robust to variations in the number of training instances per prompt, a crucial factor for practical applications where data can be scarce.

Key Results

  • Improved Diversity: DDPO and DORPO models showed significantly higher semantic and style diversity compared to standard DPO, ORPO, and even GPT-4o-iter (which used diversity-inducing prompts).
  • Competitive Quality: The quality of the best DDPO model (Llama-3.1-8B) was on par with leading instruction-tuned models like GPT-4o and DeepSeek-R1, with only a slight decrease in some cases.
  • Human Evaluation: Human evaluators preferred DDPO-both's outputs over GPT-40 for quality and significantly preferred them for diversity. They also found DDPO-both to be more diverse than DPO.
  • Comparison to DivPO: The proposed methods outperformed DivPO, an existing diversification approach, in terms of diversity, especially when the number of responses per prompt was limited.

Limitations and Future Work

  • Data Scarcity: The paper notes that when the number of responses per prompt is very low (e.g., four), the quality of the generated text can decrease. This issue can be mitigated by tweaking the objective function or using higher-quality training instances, but it comes at the cost of some diversity.
  • Online Training: The current work focuses on offline post-training. Future work could investigate adapting these diversity-promoting techniques to online training settings.
  • Broader Applications: The authors suggest exploring whether these approaches can be applied to tasks beyond creative writing.
  • Deviation Term Configuration: There are multiple ways to configure the deviation term, and further exploration of these configurations could be beneficial.
  • Non-Preference-Based Tuning: The paper also suggests exploring how deviation terms can be incorporated into tuning approaches that do not rely on winning-losing pairs, such as those using numerical rewards.

Summary updated

BibTeX
@inproceedings{chung2025modifying,
  author = {John Joon Young Chung and Vishakh Padmakumar and Melissa Roemmele and Yuqian Sun and Max Kreminski},
  title = {{Modifying Large Language Model Post-Training for Diverse Creative Writing}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=1Pmuw08LoM},
}
Figure