mlsanityData to 7 Oct 2026

When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Tasks

arXiv 2311.08993 ↗First posted 15 Nov 2023cs.CL cs.AIcited by 37

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) has become the default method for using large language models (LLMs), making the exploration of its limitations and understanding the underlying causes crucial. In this paper, we find that ICL falls short of handling specification-heavy tasks, which are tasks with complicated and extensive task specifications, requiring several hours for ordinary humans to master, such as traditional information extraction tasks. The performance of ICL on these tasks mostly cannot reach half of the state-of-the-art results. To explore the reasons behind this failure, we conduct comprehensive experiments on 18 specification-heavy tasks with various LLMs and identify three primary reasons: inability to specifically understand context, misalignment in task schema comprehension with humans, and inadequate long-text understanding ability. Furthermore, we demonstrate that through fine-tuning, LLMs can achieve decent performance on these tasks, indicating that the failure of ICL is not an inherent flaw of LLMs, but rather a drawback of existing alignment methods that renders LLMs incapable of handling complicated specification-heavy tasks via ICL. To substantiate this, we perform dedicated instruction tuning on LLMs for these tasks and observe a notable improvement. We hope the analyses in this paper could facilitate advancements in alignment methods enabling LLMs to meet more sophisticated human demands.

Key facts. Cited by 37 papers in the map (data through 7 Oct 2026). Builds on 89 of its 113 references that are in the map. First posted on arXiv 15 Nov 2023.

Builds on

89 of 113 references.

References · 89

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  9. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  11. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  12. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
38 more
  1. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  2. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  3. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  4. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  5. 2023PaLM 2 Technical Reportcited by 1,154
  6. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  7. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  8. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  9. 2022Red Teaming Language Models with Language Modelscited by 983
  10. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  11. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  12. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  13. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  14. 2020Aligning AI With Shared Human Valuescited by 706
  15. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
  16. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  17. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 672
  18. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  19. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
  20. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  21. 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
  22. 2020Artificial Intelligence, Values and Alignmentcited by 443
  23. 2018Scalable agent alignment via reward modeling: a research directioncited by 438
  24. 2023Larger language models do in-context learning differentlycited by 386
  25. 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 352
  26. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
  27. 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 333
  28. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
  29. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
  30. 2022UL2: Unifying Language Learning Paradigmscited by 292
  31. 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
  32. 2023Mathematical Capabilities of ChatGPTcited by 263
  33. 2023Challenges and Applications of Large Language Modelscited by 251
  34. 2019DocRED: A Large-Scale Document-Level Relation Extraction Datasetcited by 239
  35. 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
  36. 2023Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Biascited by 230
  37. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
  38. 2023ChatGPT: Jack of all trades, master of nonecited by 204

50 most cited of 89 All 89 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 17; 2025: 11; 2026: 6.

37 papers.

Sort:

By area:

  1. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
  2. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  3. 2024What Makes Multimodal In-Context Learning Work?cited by 54
  4. 2025AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarioscited by 44
  5. 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
  6. 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Researchcited by 29
  7. 2024InfiniPot: Infinite Context Processing on Memory-Constrained LLMscited by 27
  8. 2024ADELIE: Aligning Large Language Models on Information Extractioncited by 24
  9. 2024LLMAEL: Large Language Models are Good Context Augmenters for Entity Linkingcited by 19
  10. 2024Detecting Conversational Mental Manipulation with Intent-Aware Promptingcited by 16
  11. 2023Generating Valid and Natural Adversarial Examples with Large Language Modelscited by 12
  12. 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
25 more
  1. 2024Document-level Causal Relation Extraction with Knowledge-guided Binary Question Answeringcited by 12
  2. 2025A Survey of Large Language Models in Psychotherapy: Current Landscape and Future Directionscited by 12
  3. 2025On-the-fly Preference Alignment via Principle-Guided Decodingcited by 10
  4. 2024LLM with Relation Classifier for Document-Level Relation Extractioncited by 8
  5. 2025Can Prompting LLMs Unlock Hate Speech Detection across Languages? A Zero-shot and Few-shot Studycited by 7
  6. 2024MAVEN-Fact: A Large-scale Event Factuality Detection Datasetcited by 6
  7. 2025MedFact: A Large-scale Chinese Dataset for Evidence-based Medical Fact-checking of LLM Responsescited by 6
  8. 2024Guardians of Discourse: Evaluating LLMs on Multilingual Offensive Language Detectioncited by 5
  9. 2025Scaling sparse feature circuit finding for in-context learningcited by 5
  10. 2025Scaling Textual Gradients via Sampling-Based Momentumcited by 5
  11. 2024Context-aware Prompt Tuning: Advancing In-Context Learning with Adversarial Methodscited by 4
  12. 2024Thinker-DDM: Modeling Deliberation for Machine Translation with a Drift-Diffusion Processcited by 3
  13. 2024Template-Driven LLM-Paraphrased Framework for Tabular Math Word Problem Generationcited by 3
  14. 2024Beyond Scaling: Predicting Patent Approval with Domain-specific Fine-grained Claim Dependency Graphcited by 2
  15. 2025Delta-KNN: Improving Demonstration Selection in In-Context Learning for Alzheimer's Disease Detectioncited by 2
  16. 2026Mitigating Context-Memory Conflicts in LLMs through Dynamic Cognitive Reconciliation Decodingcited by 2
  17. 2024Unsupervised Human Preference Learningcited by 1
  18. 2024In-Context Learning for Long-Context Sentiment Analysis on Infrastructure Project Opinionscited by 1
  19. 2025Grounding Agent Reasoning in Image Schemas: A Neurosymbolic Approach to Embodied Cognitioncited by 1
  20. 2026SERE: Structural Example Retrieval for Enhancing LLMs in Event Causality Identificationcited by 1
  21. 2023Entity or Relation Embeddings? An Analysis of Encoding Strategies for Relation Extractioncited by 0
  22. 2026CMNIE: An Information Extraction Benchmark for Chinese Military Newscited by 0
  23. 2026TEAR: Table Extraction with Attribute Recommendation from Texts via Large Language Modelscited by 0
  24. 2026Steering the Compass: Aligning Dynamic Psychological Counseling Conversations with Cognitive Behavioral Therapy Strategiescited by 0
  25. 2026SAFARI: An Industrial Benchmark for LLM-Assisted Hazard Analysis and Risk Assessmentcited by 0