Making Large Language Models Better Data Creators

Dong-Ho Lee, Jay Pujara, Mohit Sewak, Ryen W. White, Sujay Kumar Jauhar
10/31/2023
cs.CL

No official code found. Best implementation: microsoft/llm-data-creation (139 stars, MIT, last commit 2023-10-19).

Abstract

Although large language models (LLMs) have advanced the state-of-the-art in NLP significantly, deploying them for downstream applications is still challenging due to cost, responsiveness, control, or concerns around privacy and security. As such, trainable models are still the preferred option in some cases. However, these models still require human-labeled data for optimal performance, which is expensive and time-consuming to obtain. In order to address this issue, several techniques to reduce human effort involve labeling or generating data using LLMs. Although these methods are effective for certain applications, in practice they encounter difficulties in real-world scenarios. Labeling data requires careful data selection, while generating data necessitates task-specific prompt engineering. In this paper, we propose a unified data creation pipeline that requires only a single formatting example, and which is applicable to a broad range of tasks, including traditionally problematic ones with semantically devoid label spaces. In our experiments we demonstrate that instruction-following LLMs are highly cost-effective data creators, and that models trained with these data exhibit performance better than those trained with human-labeled data (by up to 17.5%) on out-of-distribution evaluation, while maintaining comparable performance on in-distribution tasks. These results have important implications for the robustness of NLP systems deployed in the real-world.

View on arXivView PDF

Code Implementations(1)

MIT

Model, Code & Data for the EMNLP'23 paper "Making Large Language Models Better Data Creators"

13914Shell, PythonOct 13, 20233 years agoMIT

Similar Papers

Cite this paper

@article{lee2023making,
  title  = {Making Large Language Models Better Data Creators},
  author = {Dong-Ho Lee and Jay Pujara and Mohit Sewak and Ryen W. White and Sujay Kumar Jauhar},
  year   = {2023},
  eprint = {2310.20111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.20111v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.20111.svg)](https://codeofpaper.com/paper/2310.20111)

Discussion