mlsanityData to 7 Oct 2026

Focused Large Language Models are Stable Many-Shot Learners

arXiv 2408.13987 ↗First posted 26 Aug 2024cs.CL cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

In-Context Learning (ICL) enables large language models (LLMs) to achieve rapid task adaptation by learning from demonstrations. With the increase in available context length of LLMs, recent experiments have shown that the performance of ICL does not necessarily scale well in many-shot (demonstration) settings. We theoretically and experimentally confirm that the reason lies in more demonstrations dispersing the model attention from the query, hindering its understanding of key content. Inspired by how humans learn from examples, we propose a training-free method FocusICL, which conducts triviality filtering to avoid attention being diverted by unimportant contents at token-level and operates hierarchical attention to further ensure sufficient attention towards current query at demonstration-level. We also design an efficient hyperparameter searching strategy for FocusICL based on model perplexity of demonstrations. Comprehensive experiments validate that FocusICL achieves an average performance improvement of 5.2% over vanilla ICL and scales well with many-shot demonstrations.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 32 of its 41 references that are in the map. First posted on arXiv 26 Aug 2024.

Builds on

32 of 41 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  9. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  10. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  11. 2022Transformers learn in-context by gradient descentcited by 714
  12. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
20 more
  1. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  2. 2021Scaling Laws for Transfercited by 265
  3. 2023Inverse Scaling: When Bigger Isn't Bettercited by 205
  4. 2023Compositional Exemplars for In-context Learningcited by 143
  5. 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 126
  6. 2024Escape Sky-high Cost: Early-stopping Self-Consistency for Multi-step Reasoningcited by 105
  7. 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
  8. 2022Structured Prompting: Scaling In-Context Learning to 1,000 Examplescited by 81
  9. 2022The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attentioncited by 45
  10. 2024Integrate the Essence and Eliminate the Dross: Fine-Grained Self-Consistency for Free-Form Language Generationcited by 21
  11. 2023Turning Dust into Gold: Distilling Complex Reasoning Capabilities from LLMs by Leveraging Negative Datacited by 19
  12. 2023BatchEval: Towards Human-like Text Evaluationcited by 16
  13. 2023Exploring the Relationship between In-Context Learning and Instruction Tuningcited by 14
  14. 2024Generative Dense Retrieval: Memory Can Be a Burdencited by 11
  15. 2024Unraveling the Mechanics of Learning-Based Demonstration Selection for In-Context Learningcited by 9
  16. 2022Diversifying Neural Dialogue Generation via Negative Distillationcited by 6
  17. 2023Dynamic Demonstrations Controller for In-Context Learningcited by 6
  18. 2022Towards Diverse, Relevant and Coherent Open-Domain Dialogue Generation via Hybrid Latent Variablescited by 5
  19. 2023Heterogeneous-Branch Collaborative Learning for Dialogue Generationcited by 1
  20. 2024Poor-Supervised Evaluation for SuperLLM via Mutual Consistencycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 3.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  2. 2024AIM: Let Any Multi-modal Large Language Models Embrace Efficient In-Context Learning
  3. 2024Many-Shot In-Context Learning
  4. 2025Refract ICL: Rethinking Example Selection in the Era of Million-Token Models
  5. 2026Hyper-ICL: Attention Calibration with Hyperbolic Anchor Distillation for Multimodal In-Context Learning
  6. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
  7. 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning
  8. 2023Dr.ICL: Demonstration-Retrieved In-context Learning