Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learning
Xubin Wang, Weijia Jia

TL;DR
Meta-Sel is a lightweight, supervised meta-learning method for efficient demonstration selection in in-context learning, achieving high performance without model fine-tuning or online exploration.
Contribution
It introduces Meta-Sel, a simple, interpretable scoring function trained on labeled data, and provides a comprehensive benchmark of demonstration selection methods.
Findings
Meta-Sel consistently ranks among top methods across datasets and models.
It is especially effective for smaller models, improving accuracy.
Meta-Sel requires minimal computational overhead during inference.
Abstract
Demonstration selection is a practical bottleneck in in-context learning (ICL): under a tight prompt budget, accuracy can change substantially depending on which few-shot examples are included, yet selection must remain cheap enough to run per query over large candidate pools. We propose Meta-Sel, a lightweight supervised meta-learning approach for intent classification that learns a fast, interpretable scoring function for (candidate, query) pairs from labeled training data. Meta-Sel constructs a meta-dataset by sampling pairs from the training split and using class agreement as supervision, then trains a calibrated logistic regressor on two inexpensive meta-features: TF--IDF cosine similarity and a length-compatibility ratio. At inference time, the selector performs a single vectorized scoring pass over the full candidate pool and returns the top-k demonstrations, requiring no model…
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
TopicsMachine Learning and Data Classification · Domain Adaptation and Few-Shot Learning · Explainable Artificial Intelligence (XAI)
