mlsanityData to 14 Oct 2026

A Penalty Goes a Long Way: Measuring Lexical Diversity in Synthetic Texts Under Prompt-Influenced Length Variations

arXiv 2507.15092 ↗First posted 20 Jul 2025cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Synthetic text generated by Large Language Models (LLMs) is increasingly used for further training and improvement of LLMs. Diversity is crucial for the effectiveness of synthetic data, and researchers rely on prompt engineering to improve diversity. However, the impact of prompt variations on response text length, and, more importantly, the consequential effect on lexical diversity measurements, remain underexplored. In this work, we propose Penalty-Adjusted Type-Token Ratio (PATTR), a diversity metric robust to length variations. We generate a large synthetic corpus of over 20M words using seven models from the LLaMA, OLMo, and Phi families, focusing on a creative writing task of video script generation, where diversity is crucial. We evaluate per-response lexical diversity using PATTR and compare it against existing metrics of Moving-Average TTR (MATTR) and Compression Ratio (CR). Our analysis highlights how text length variations introduce biases favoring shorter responses. Unlike existing metrics, PATTR explicitly considers the task-specific target response length (LT) to effectively mitigate length biases. We further demonstrate the utility of PATTR in filtering the top-10/100/1,000 most lexically diverse responses, showing that it consistently outperforms MATTR and CR by yielding on par or better diversity with high adherence to LT.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 34 references that are in the map. First posted on arXiv 20 Jul 2025.

Builds on

17 of 34 references.

References · 17

  1. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  2. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  3. 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 417
  4. 2023Understanding the Effects of RLHF on LLM Generalisation and Diversitycited by 396
  5. 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 346
  6. 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
  7. 2023Does Writing with Language Models Reduce Content Diversity?cited by 192
  8. 2023Generative artificial intelligence enhances creativity but reduces the diversity of novel contentcited by 167
  9. 2023The Curious Decline of Linguistic Diversity: Training Language Models on Synthetic Textcited by 100
  10. 2023A Confederacy of Models: a Comprehensive Evaluation of LLMs on Creative Writingcited by 99
  11. 2024How Bad is Training on Synthetic Data? A Statistical Analysis of Language Model Collapsecited by 79
  12. 2023Data Diversity Matters for Robust Instruction Tuningcited by 76
5 more
  1. 2024Standardizing the Measurement of Text Diversity: A Tool and a Comparative Analysis of Scorescited by 50
  2. 2024Can AI writing be salvaged? Mitigating Idiosyncrasies and Improving Human-AI Alignment in the Writing Process through Editscited by 49
  3. 2024Detection and Measurement of Syntactic Templates in Generated Textcited by 44
  4. 2023Creativity Support in the Age of Large Language Models: An Empirical Study Involving Emerging Writerscited by 32
  5. 2024Diversify and Conquer: Diversity-Centric Data Selection with Iterative Refinementcited by 13

Built on by

Not cited yet.