The ALCHEmist: Automated Labeling 500x CHEaper Than LLM Data Annotators

Tzu-Heng Huang, Catherine Cao, Vaishnavi Bhargava, Frederic Sala
6/25/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: SprocketLab/Alchemist (12 stars, last commit 2025-03-04).

Abstract

Large pretrained models can be used as annotators, helping replace or augment crowdworkers and enabling distilling generalist models into smaller specialist models. Unfortunately, this comes at a cost: employing top-of-the-line models often requires paying thousands of dollars for API calls, while the resulting datasets are static and challenging to audit. To address these challenges, we propose a simple alternative: rather than directly querying labels from pretrained models, we task models to generate programs that can produce labels. These programs can be stored and applied locally, re-used and extended, and cost orders of magnitude less. Our system, Alchemist, obtains comparable to or better performance than large language model-based annotation in a range of tasks for a fraction of the cost: on average, improvements amount to a 12.9% enhancement while the total labeling costs across all datasets are reduced by a factor of approximately 500x.

View on arXivView PDF

Code Implementations(1)

120PythonAug 10, 20241 years ago

Similar Papers

Cite this paper

@article{huang2024alchemist,
  title  = {The ALCHEmist: Automated Labeling 500x CHEaper Than LLM Data Annotators},
  author = {Tzu-Heng Huang and Catherine Cao and Vaishnavi Bhargava and Frederic Sala},
  year   = {2024},
  eprint = {2407.11004},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2407.11004},
  url    = {http://arxiv.org/abs/2407.11004v2},
  journal = {NEURIPS 2024 2024}
}

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/2407.11004.svg)](https://codeofpaper.com/paper/2407.11004)

Discussion