Understanding Prompt Tuning and In-Context Learning via Meta-Learning
원문 초록
Prompting is one of the main ways to adapt a pretrained model to target tasks. Besides manually constructing prompts, many prompt optimization methods have been proposed in the literature. Method development is mainly empirically driven, with less emphasis on a conceptual understanding of prompting. In this paper we discuss how optimal prompting can be understood through a Bayesian view, which also implies some fundamental limitations of prompting that can only be overcome by tuning weights. The paper explains in detail how meta-trained neural networks behave as Bayesian predictors over the pretraining distribution, whose hallmark feature is rapid in-context adaptation. Optimal prompting can be studied formally as conditioning these Bayesian predictors, yielding criteria for target tasks where optimal prompting is and is not possible. We support the theory with educational experiments on LSTMs and Transformers, where we compare different versions of prefix-tuning and different weight-tuning methods. We also confirm that soft prefixes, which are sequences of real-valued vectors outside the token alphabet, can lead to very effective prompts for trained and even untrained networks by manipulating activations in ways that are not achievable by hard tokens. This adds an important mechanistic aspect beyond the conceptual Bayesian theory.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Meta-Learning Transformers to Improve In-Context Generalization
In-Context Learning for Gradient-Free Receiver Adaptation: Principles, Applications, and Theory
Test-Time Adaptation for Generalizable Task Progress Estimation
Meta-Adaptive Prompt Distillation for Few-Shot Visual Question Answering
Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergence
Meta-Learning an In-Context Transformer Model of Human Higher Visual Cortex
토론
이 논문과 연결된 포럼 글이 아직 없습니다.