The University of Texas at Austin
Diverse dataset synthesis using retrieval augmented language models
Abstract
dc:description.abstractLarge language models (LLMs) are versatile and can address many tasks, but for efficiency reasons, it is often desirable to distill their capabilities into smaller student models. One way to do this for classification tasks is via dataset synthesis, which can be accomplished by generating examples of each label from the LLM. Prior approaches to synthesis use few-shot prompting, which relies on the LLM's parametric knowledge to generate usable examples. However, this leads to issues of repetition, bias towards popular entities, and stylistic differences from human text. In this work, we propose Synthesize by Retrieval and Refinement (SynthesizRR), which uses retrieval augmentation to introduce variety into the dataset synthesis process: as retrieved passages vary, the LLM is "seeded" with different content to generate its examples. We empirically study the synthesis of six datasets, covering topic classification, sentiment analysis, tone detection, and humor, requiring complex synthesis strategies. We find SynthesizRR greatly improves lexical and semantic diversity, similarity to human-written text, and distillation performance, when compared to standard 32-shot prompting and a number of baselines from prior works.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Computer Sciences
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Divekar, Abhishek
- Advisor dc:contributor.advisor
-
- Durrett, Greg
- Committee member dc:contributor.committeemember
-
- Choi, Eunsol
Subjects
dc:subject × 3Rights
- Language dc:language.iso
- English
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/133646