FastGAS: Fast Graph-based Annotation Selection for In-Context Learning
Zihan Chen, Song Wang, Cong Shen, Jundong Li

TL;DR
FastGAS is a graph-based method that efficiently selects diverse, representative instances for in-context learning, significantly reducing selection time while improving prompt quality across various tasks and model sizes.
Contribution
We introduce FastGAS, a novel graph partitioning approach for rapid, high-quality instance selection in ICL, outperforming prior methods in speed and effectiveness.
Findings
FastGAS reduces selection time compared to existing methods.
It achieves higher performance on multiple tasks.
Effective for larger language models.
Abstract
In-context learning (ICL) empowers large language models (LLMs) to tackle new tasks by using a series of training instances as prompts. Since generating the prompts needs to sample from a vast pool of instances and annotate them (e.g., add labels in classification task), existing methods have proposed to select a subset of unlabeled examples for annotation, thus enhancing the quality of prompts and concurrently mitigating annotation costs. However, these methods often require a long time to select instances due to their complexity, hindering their practical viability. To address this limitation, we propose a graph-based selection method, FastGAS, designed to efficiently identify high-quality instances while minimizing computational overhead. Initially, we construct a data similarity graph based on instance similarities. Subsequently, employing a graph partitioning algorithm, we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Multimodal Machine Learning Applications · Human Pose and Action Recognition
MethodsSparse Evolutionary Training
