Experimental Design for Active Transductive Inference in Large Language Models
One emergent ability of large language models (LLMs) is that query-specific examples can be included in the prompt at inference time. In this work, we use active learning for adaptive prompt design and call it Active In-context Prompt Design (AIPD). We design the LLM prompt by adaptively choosing few-shot examples from a training set to optimize performance on a test set. The training examples are initially unlabeled and we obtain the label of the most informative ones, which maximally reduces uncertainty in the LLM prediction. We propose two algorithms, GO and SAL, which differ in how the few-shot examples are chosen. We analyze these algorithms in linear models: first GO and then use its equivalence with SAL. We experiment with many different tasks in small, medium-sized, and large language models; and show that GO and SAL outperform other methods for choosing few-shot examples in the LLM prompt at inference time.
Code (0)
등록된 구현이 없습니다.
Tasks
Active LearningExperimental DesignMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Analyzing Data Selection Techniques with Tools from the Theory of Information Losses
In this paper, we present and illustrate some new tools for rigorously analyzing training data selection methods. These tools focus on the information theoretic losses that occur when sampling data. We use this framework…
Active LearningExperimental DesignGeneral ClassificationLearning TheoryTransductive Inference and Semi-Supervised Learning
This chapter contains sections titled: Problem Settings, Problem of Generalization in Inductive and Transductive Inference, Structure of the VC Bounds and Transductive Inference, The Symmetrization Lemma and Transductive…
LEMMALearning Two-Time-Scale Representations For Large Scale Recommendations
We propose a surprisingly simple but effective two-time-scale (2TS) model for learning user representations for recommendation. In our approach, we will partition users into two sets, active users with many observed inte…
Vocal Bursts Valence PredictionTransductive Learning for Textual Few-Shot Classification in API-based Embedding Models
Proprietary and closed APIs are becoming increasingly common to process natural language, and are impacting the practical applications of natural language processing, including few-shot classification. Few-shot classific…
ClassificationInductive LearningTransductive LearningDiscrete-Continuous ADMM for Transductive Inference in Higher-Order MRFs
This paper introduces a novel algorithm for transductive inference in higher-order MRFs, where the unary energies are parameterized by a variable classifier. The considered task is posed as a joint optimization problem i…
Image SegmentationSegmentationSemantic SegmentationVideo Object Segmentation+1