English

ScatterShot: Interactive In-context Example Curation for Text Transformation

Human-Computer Interaction 2023-02-16 v1 Computation and Language

Abstract

The in-context learning capabilities of LLMs like GPT-3 allow annotators to customize an LLM to their specific tasks with a small number of examples. However, users tend to include only the most obvious patterns when crafting examples, resulting in underspecified in-context functions that fall short on unseen cases. Further, it is hard to know when "enough" examples have been included even for known patterns. In this work, we present ScatterShot, an interactive system for building high-quality demonstration sets for in-context learning. ScatterShot iteratively slices unlabeled data into task-specific patterns, samples informative inputs from underexplored or not-yet-saturated slices in an active learning manner, and helps users label more efficiently with the help of an LLM and the current example set. In simulation studies on two text perturbation scenarios, ScatterShot sampling improves the resulting few-shot functions by 4-5 percentage points over random sampling, with less variance as more examples are added. In a user study, ScatterShot greatly helps users in covering different patterns in the input space and labeling in-context examples more efficiently, resulting in better in-context learning and less user effort.

Keywords

Cite

@article{arxiv.2302.07346,
  title  = {ScatterShot: Interactive In-context Example Curation for Text Transformation},
  author = {Tongshuang Wu and Hua Shen and Daniel S. Weld and Jeffrey Heer and Marco Tulio Ribeiro},
  journal= {arXiv preprint arXiv:2302.07346},
  year   = {2023}
}

Comments

IUI 2023: 28th International Conference on Intelligent User Interfaces

R2 v1 2026-06-28T08:40:16.498Z