Papers › Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning

Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning

11 May 2022arXiv:2205.05638archive 2025-07-28

Haokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta, Tenghao Huang, Mohit Bansal, Colin Raffel

Few-shot in-context learning (ICL) enables pre-trained language models to perform a previously-unseen task without any gradient-based training by feeding a small number of training examples as part of the input. ICL incurs substantial computational, memory, and storage costs because it involves processing all of the training examples every time a prediction is made. Parameter-efficient fine-tuning (PEFT) (e.g. adapter modules, prompt tuning, sparse update methods, etc.) offers an alternative paradigm where a small set of parameters are trained to enable a model to perform the new task. In this paper, we rigorously compare few-shot ICL and PEFT and demonstrate that the latter offers better accuracy as well as dramatically lower computational costs. Along the way, we introduce a new PEFT method called (IA)³ that scales activations by learned vectors, attaining stronger performance while only introducing a relatively tiny amount of new parameters. We also propose a simple recipe based on the T0 model called T-Few that can be applied to new tasks without task-specific tuning or modifications. We validate the effectiveness of T-Few on completely unseen tasks by applying it to the RAFT benchmark, attaining super-human performance for the first time and outperforming the state-of-the-art by 6% absolute. All of the code used in our experiments is publicly available.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

r-three/t-few officialmentioned in papermentioned on GitHubpytorchMIT report
kohakublueleaf/lycoris mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Few-Shot Text ClassificationIn-Context Learningparameter-efficient fine-tuning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Text Classification RAFT T-Few Over 0.95 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few ADE 0.804 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few Avg 0.758 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few B77 0.695 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few NIS 0.833 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few OSE 0.676 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few SOT 0.915 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few SRI 0.508 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few TAI 0.736 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few TC 0.879 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few TEH 0.586 #1 of 9 Archive leaderboard report
Few-Shot Text Classification RAFT T-Few ToS 0.75 #1 of 9 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Adapter

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections