Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuning
Not on the map. Why?
Abstract (arXiv)
Fine-tuning and in-context learning (ICL) are two prevalent methods in imbuing large language models with task-specific knowledge. It is commonly believed that fine-tuning can surpass ICL given sufficient training samples as it allows the model to adjust its internal parameters based on the data. However, this paper presents a counterintuitive finding: For tasks with implicit patterns, ICL captures these patterns significantly better than fine-tuning. We developed several datasets featuring implicit patterns, such as sequences determining answers through parity or identifying reducible terms in calculations. We then evaluated the models' understanding of these patterns under both fine-tuning and ICL across models ranging from 0.5B to 7B parameters. The results indicate that models employing ICL can quickly grasp deep patterns and significantly improve accuracy. In contrast, fine-tuning, despite utilizing thousands of times more training samples than ICL, achieved only limited improvements. We also proposed circuit shift theory from a mechanistic interpretability's view to explain why ICL wins.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 34 of its 38 references that are in the map. First posted on arXiv 7 Oct 2024.
Builds on
34 of 38 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2023Qwen Technical Reportcited by 3,273
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2022A Survey on In-context Learningcited by 717
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 447
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
22 more
- 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
- 2018Measuring abstract reasoning in neural networkscited by 165
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
- 2023FlashDecoding++: Faster Large Language Model Inference on GPUscited by 70
- 2023Large Language Models can Learn Rulescited by 66
- 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasonerscited by 63
- 2023Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functionscited by 62
- 2023Large Language Models Are Not Strong Abstract Reasonerscited by 52
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 44
- 2023Empirical Analysis of the Strengths and Weaknesses of PEFT Techniques for LLMscited by 38
- 2021Improved Fine-Tuning by Better Leveraging Pre-Training Datacited by 36
- 2024LLMs for Relational Reasoning: How Far are We?cited by 21
- 2024StableMask: Refining Causal Masking in Decoder-only Transformercited by 20
- 2023Do pretrained Transformers Learn In-Context by Gradient Descent?cited by 18
- 2021Cryptonite: A Cryptic Crossword Benchmark for Extreme Ambiguity in Languagecited by 15
- 2024ItD: Large Language Models Can Teach Themselves Induction through Deductioncited by 8
- 2024DiLA: Enhancing LLM Tool Learning with Differential Logic Layercited by 6
- 2023A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Taskscited by 5
- 2022A Few-shot Approach to Resume Information Extraction via Promptscited by 4
Built on by
Citing papers per year: 2025: 10; 2026: 10.
20 papers.
Sort:
By area:
- 2025On Finetuning Tabular Foundation Modelscited by 13
- 2025Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attentioncited by 12
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Induction Head Toxicity Mechanistically Explains Repetition Curse in Large Language Modelscited by 3
- 2025Can Past Experience Accelerate LLM Reasoning?cited by 3
- 2026ReasonCACHE: Teaching LLMs To Reason Without Weight Updatescited by 3
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selectioncited by 2
- 2025Evaluating Steering Techniques using Human Similarity Judgmentscited by 2
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineeringcited by 2
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labelingcited by 1
- 2025SVBRD-LLM: Self-Verifying Behavioral Rule Discovery for Autonomous Vehicle Identificationcited by 1
- 2026RELISH: LLM REgression with a Latent Iterative State Headcited by 1
8 more
- 2026Stochasticity in Tokenisation Improves Robustnesscited by 1
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspectivecited by 1
- 2026AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reusecited by 1
- 2025Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrievalcited by 0
- 2026Learning Multi-Indicator Weights for Data Selection: A Joint Task-Model Adaptation Framework with Efficient Proxiescited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
- 2026Measuring Cognitive Engagement in Collaborative Discourse with an Extended ICAP Framework: Comparing Human Annotation, In-Context Learning, and Reflective LLM Agentscited by 0
- 2026When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attentioncited by 0
- 2026When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention29 Sep 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026Measuring Cognitive Engagement in Collaborative Discourse with an Extended ICAP Framework: Comparing Human Annotation, In-Context Learning, and Reflective LLM Agents7 Jun 2026
- 2026Learning Multi-Indicator Weights for Data Selection: A Joint Task-Model Adaptation Framework with Efficient Proxies10 May 2026
- 2026AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reuse5 May 2026
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspective25 Apr 2026
- 2026Stochasticity in Tokenisation Improves Robustness17 Apr 2026
- 2026RELISH: LLM REgression with a Latent Iterative State Head1 Apr 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2026ReasonCACHE: Teaching LLMs To Reason Without Weight Updates2 Feb 2026
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineering2 Dec 2025
- 2025SVBRD-LLM: Self-Verifying Behavioral Rule Discovery for Autonomous Vehicle Identification18 Nov 2025
8 more
- 2025Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrieval30 Sep 2025
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labeling31 Aug 2025
- 2025On Finetuning Tabular Foundation Models10 Jun 2025
- 2025Can Past Experience Accelerate LLM Reasoning?27 May 2025
- 2025Evaluating Steering Techniques using Human Similarity Judgments25 May 2025
- 2025Induction Head Toxicity Mechanistically Explains Repetition Curse in Large Language Models17 May 2025
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection8 May 2025
- 2025Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attention11 Mar 2025
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Can Past Experience Accelerate LLM Reasoning?cited by 3
- 2026ReasonCACHE: Teaching LLMs To Reason Without Weight Updatescited by 3
- 2026AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reusecited by 1
- 2026AdapShot: Adaptive Many-Shot In-Context Learning with Semantic-Aware KV Cache Reuse5 May 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2026ReasonCACHE: Teaching LLMs To Reason Without Weight Updates2 Feb 2026
- 2025Can Past Experience Accelerate LLM Reasoning?27 May 2025
- 2025On Finetuning Tabular Foundation Modelscited by 13
- 2025Efficient Many-Shot In-Context Learning with Dynamic Block-Sparse Attentioncited by 12
- 2025Induction Head Toxicity Mechanistically Explains Repetition Curse in Large Language Modelscited by 3
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selectioncited by 2
- 2025Evaluating Steering Techniques using Human Similarity Judgmentscited by 2
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labelingcited by 1
- 2026RELISH: LLM REgression with a Latent Iterative State Headcited by 1
- 2026Stochasticity in Tokenisation Improves Robustnesscited by 1
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspectivecited by 1
- 2025Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrievalcited by 0
- 2026Learning Multi-Indicator Weights for Data Selection: A Joint Task-Model Adaptation Framework with Efficient Proxiescited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
12 most cited of 13 All 13 (JSON)
- 2026When Can Prefixes Compile LoRA? Exact Resource-Capped Tests for Frozen Attention29 Sep 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026Learning Multi-Indicator Weights for Data Selection: A Joint Task-Model Adaptation Framework with Efficient Proxies10 May 2026
- 2026Fine-tuning vs. In-context Learning in Large Language Models: A Formal Language Learning Perspective25 Apr 2026
- 2026Stochasticity in Tokenisation Improves Robustness17 Apr 2026
- 2026RELISH: LLM REgression with a Latent Iterative State Head1 Apr 2026
- 2025Large Language Models Can Perform Automatic Modulation Classification via Discretized Self-supervised Candidate Retrieval30 Sep 2025
- 2025Supervised In-Context Fine-Tuning for Generative Sequence Labeling31 Aug 2025
- 2025On Finetuning Tabular Foundation Models10 Jun 2025
- 2025Evaluating Steering Techniques using Human Similarity Judgments25 May 2025
- 2025Induction Head Toxicity Mechanistically Explains Repetition Curse in Large Language Models17 May 2025
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection8 May 2025
12 newest of 13 All 13 (JSON)