LLM Output Homogenization is Task Dependent
Shomik Jain, Jack Lanchantin, Maximilian Nickel, Karen Ullrich, Ashia Wilson, Jamelle Watson-Daniels
TL;DR
This work argues that LLM output homogenization is not universally good or bad but depends on the task. It introduces an eight-category task taxonomy, a task-anchored notion of functional diversity, and a sampling approach that increases diversity where undesired while preserving it where beneficial. Through extensive experiments across multiple models and datasets, the authors show that task-aware diversity can improve evaluation and mitigation of homogenization without harming quality, challenging the assumed diversity-quality trade-off. The framework offers practical guidance for designing inference-time prompts and alignment strategies that respect task-specific diversity requirements. Overall, the paper promotes task-centric evaluation as essential for robust, safe, and useful LLM deployment.
Abstract
A large language model can be less helpful if it exhibits output response homogenization. But whether two responses are considered homogeneous, and whether such homogenization is problematic, both depend on the task category. For instance, in objective math tasks, we often expect no variation in the final answer but anticipate variation in the problem-solving strategy. Whereas, for creative writing tasks, we may expect variation in key narrative components (e.g. plot, genre, setting, etc), beyond the vocabulary or embedding diversity produced by temperature-sampling. Previous work addressing output homogenization often fails to conceptualize diversity in a task-dependent way. We address this gap in the literature directly by making the following contributions. (1) We present a task taxonomy comprised of eight task categories that each have distinct concepts of output homogenization. (2) We introduce task-anchored functional diversity to better evaluate output homogenization. (3) We propose a task-anchored sampling technique that increases functional diversity for task categories where homogenization is undesired, while preserving it where it is desired. (4) We challenge the perceived existence of a diversity-quality trade-off by increasing functional diversity while maintaining response quality. Overall, we demonstrate how task dependence improves the evaluation and mitigation of output homogenization.
