Context-aware Prompt Tuning: Advancing In-Context Learning with Adversarial Methods
Tsachi Blau, Moshe Kimhi, Yonatan Belinkov, Alexander Bronstein and, Chaim Baskin

TL;DR
This paper introduces Context-aware Prompt Tuning (CPT), a novel method that combines in-context learning, prompt tuning, and adversarial techniques to improve the extraction of information from training examples in large language models.
Contribution
CPT extends in-context learning by iteratively optimizing context embeddings with adversarial adjustments, enhancing information extraction without full model fine-tuning.
Findings
Achieves higher accuracy on multiple classification tasks
Outperforms traditional prompt tuning and in-context learning methods
Demonstrates robustness across various LLM architectures
Abstract
Fine-tuning Large Language Models (LLMs) typically involves updating at least a few billions of parameters. A more parameter-efficient approach is Prompt Tuning (PT), which updates only a few learnable tokens, and differently, In-Context Learning (ICL) adapts the model to a new task by simply including examples in the input without any training. When applying optimization-based methods, such as fine-tuning and PT for few-shot learning, the model is specifically adapted to the small set of training examples, whereas ICL leaves the model unchanged. This distinction makes traditional learning methods more prone to overfitting; in contrast, ICL is less sensitive to the few-shot scenario. While ICL is not prone to overfitting, it does not fully extract the information that exists in the training examples. This work introduces Context-aware Prompt Tuning (CPT), a method inspired by ICL, PT,…
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 · Human Pose and Action Recognition · Domain Adaptation and Few-Shot Learning
MethodsSparse Evolutionary Training
