CorrSynth -- A Correlated Sampling Method for Diverse Dataset Generation from LLMs
Suhas S Kowshik, Abhishek Divekar, Vijit Malik
TL;DR
CorrSynth addresses the diversity and fidelity gaps in LLM-generated data for text classification by introducing correlated sampling across parallel generations. It extends classifier-free guidance to a parallel, multi-sequence setting using a denominator constructed from contrasting prompts, enabling $K$-class synthesis with significantly reduced forward passes. The method generalizes to $M$-CorrSynth with tunable cross- and intra-label guidance via $\gamma_{m,n}$, and includes a plausibility constraint with threshold $\alpha$ to balance diversity and coherence. Empirical results across four datasets show substantial gains in intrinsic diversity metrics and downstream DistilBERT accuracy compared to CFG and FewGen baselines, highlighting CorrSynth as a practical tool for producing diverse, faithful labeled data for downstream models.
Abstract
Large language models (LLMs) have demonstrated remarkable performance in diverse tasks using zero-shot and few-shot prompting. Even though their capabilities of data synthesis have been studied well in recent years, the generated data suffers from a lack of diversity, less adherence to the prompt, and potential biases that creep into the data from the generator model. In this work, we tackle the challenge of generating datasets with high diversity, upon which a student model is trained for downstream tasks. Taking the route of decoding-time guidance-based approaches, we propose CorrSynth, which generates data that is more diverse and faithful to the input prompt using a correlated sampling strategy. Further, our method overcomes the complexity drawbacks of some other guidance-based techniques like classifier-based guidance. With extensive experiments, we show the effectiveness of our approach and substantiate our claims. In particular, we perform intrinsic evaluation to show the improvements in diversity. Our experiments show that CorrSynth improves both student metrics and intrinsic metrics upon competitive baselines across four datasets, showing the innate advantage of our method.
