Ordered Semantically Diverse Sampling for Textual Data
Ashish Tiwari, Mukul Singh, Ananya Singha, Arjun Radhakrishna
TL;DR
The paper addresses the problem of diversity sampling for textual data by proposing an ordered, model- and task-agnostic approach governed by the aggregated wasted opportunity metric. It introduces a PCA-based principled sampler that embeds texts, reduces dimensionality to $n$ components, and outputs an ordered $3n$-sample sequence, enabling efficient, diverse coverage. Across 22 text-classification benchmarks transformed into diversity tasks, the proposed method consistently outperforms baselines by large margins (up to 61%) and offers favorable runtimes, with ablations validating the contribution of each component. The approach leverages a coreset-like perspective and is applicable to large-language-model workflows where small, diverse samples can drive effective downstream analysis or prompting. Overall, this work provides a concrete, scalable framework for ordered diverse sampling in textual data with practical impact on model-agnostic evaluation and data-efficiency scenarios.
Abstract
The goal of diversity sampling is to select a representative subset of data in a way that maximizes information contained in the subset while keeping its cardinality small. We introduce the ordered diverse sampling problem based on a new metric that measures the diversity in an ordered list of samples. We present a novel approach for generating ordered diverse samples for textual data that uses principal components on the embedding vectors. The proposed approach is simple and compared with existing approaches using the new metric. We transform standard text classification benchmarks into benchmarks for ordered diverse sampling. Our empirical evaluation shows that prevailing approaches perform 6% to 61% worse than our method while also being more time inefficient. Ablation studies show how the parts of the new approach contribute to the overall metrics.
