mlsanityData to 7 Oct 2026

OpenICL: An Open-Source Framework for In-context Learning

arXiv 2303.02913 ↗First posted 6 Mar 2023cs.CLcited by 51

Not on the map. Why?

Abstract (arXiv)

In recent years, In-context Learning (ICL) has gained increasing attention and emerged as the new paradigm for large language model (LLM) evaluation. Unlike traditional fine-tuning methods, ICL instead adapts the pre-trained models to unseen tasks without any parameter updates. However, the implementation of ICL is sophisticated due to the diverse retrieval and inference methods involved, as well as the varying pre-processing requirements for different models, datasets, and tasks. A unified and flexible framework for ICL is urgently needed to ease the implementation of the aforementioned components. To facilitate ICL research, we introduce OpenICL, an open-source toolkit for ICL and LLM evaluation. OpenICL is research-friendly with a highly flexible architecture that users can easily combine different components to suit their needs. It also provides various state-of-the-art retrieval and inference methods to streamline the process of adapting ICL to cutting-edge research. The effectiveness of OpenICL has been validated on a wide range of NLP tasks, including classification, QA, machine translation, and semantic parsing. As a side-product, we found OpenICL to be an efficient yet robust tool for LLMs evaluation. OpenICL is released at https://github.com/Shark-NLP/OpenICL

Key facts. Cited by 51 papers in the map (data through 7 Oct 2026). Builds on 41 of its 58 references that are in the map. First posted on arXiv 6 Mar 2023.

Builds on

41 of 58 references.

References · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2022Emergent Abilities of Large Language Modelscited by 2,483
  12. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
29 more
  1. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  2. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  3. 2019Language Models as Knowledge Bases?cited by 1,922
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  5. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  6. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  7. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  8. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  10. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  11. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  12. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
  13. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  14. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  15. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  16. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  17. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  18. 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 331
  19. 2022Transformer Memory as a Differentiable Search Indexcited by 242
  20. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
  21. 2022In-context Examples Selection for Machine Translationcited by 172
  22. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
  23. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  24. 2023Compositional Exemplars for In-context Learningcited by 143
  25. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
  26. 2022Iteratively Prompt Pre-trained Language Models for Chain of Thoughtcited by 75
  27. 2022ProGen: Progressive Zero-shot Dataset Generation via In-context Feedbackcited by 67
  28. 2019Simple and Effective Noisy Channel Modeling for Neural Machine Translationcited by 37
  29. 2016The Neural Noisy Channelcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 15; 2024: 19; 2025: 10; 2026: 7.

51 papers.

Sort:

By area:

  1. 2024OS-Copilot: Towards Generalist Computer Agents with Self-Improvementcited by 203
  2. 2023Multilingual Machine Translation with Large Language Models: Empirical Results and Analysiscited by 156
  3. 2023Corex: Pushing the Boundaries of Complex Reasoning through Multi-Model Collaborationcited by 70
  4. 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wiselycited by 65
  5. 2024Revisiting Demonstration Selection Strategies in In-Context Learningcited by 57
  6. 2023Small Models are Valuable Plug-ins for Large Language Modelscited by 42
  7. 2023Forward-Backward Reasoning in Large Language Models for Mathematical Verificationcited by 39
  8. 2025Multilingual Machine Translation with Open Large Language Models at Practical Scale: An Empirical Studycited by 38
  9. 2024Assessment of Multimodal Large Language Models in Alignment with Human Valuescited by 36
  10. 2024Get more for less: Principled Data Selection for Warming Up Fine-Tuning in LLMscited by 32
  11. 2023Language Versatilists vs. Specialists: An Empirical Revisiting on Multilingual Transfer Abilitycited by 27
  12. 2023Fewer is More: Boosting LLM Reasoning with Reinforced Context Pruningcited by 26
38 more
  1. 2024Let's Ask GNN: Empowering Large Language Model for Graph In-Context Learningcited by 21
  2. 2023LLMeBench: A Flexible Framework for Accelerating LLMs Benchmarkingcited by 20
  3. 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
  4. 2024Improving Weak-to-Strong Generalization with Scalable Oversight and Ensemble Learningcited by 17
  5. 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
  6. 2024The Impact of Demonstrations on Multilingual In-Context Learning: A Multidimensional Analysiscited by 13
  7. 2025LazyReview A Dataset for Uncovering Lazy Thinking in NLP Peer Reviewscited by 13
  8. 2023Debiasing Multimodal Sarcasm Detection with Contrastive Learningcited by 12
  9. 2024ICLEval: Evaluating In-Context Learning Ability of Large Language Modelscited by 12
  10. 2024CEBench: A Benchmarking Toolkit for the Cost-Effectiveness of LLM Pipelinescited by 11
  11. 2024Evaluating the Performance and Robustness of LLMs in Materials Science Q&A and Property Predictionscited by 9
  12. 2023MetaAdapt: Domain Adaptive Few-Shot Misinformation Detection via Meta Learningcited by 8
  13. 2023Assessing Translation capabilities of Large Language Models involving English and Indian Languagescited by 8
  14. 2024Jailbreaking? One Step Is Enough!cited by 8
  15. 2023EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modelingcited by 7
  16. 2023Knowledgeable In-Context Tuning: Exploring and Exploiting Factual Knowledge for In-Context Learningcited by 6
  17. 2024A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMscited by 6
  18. 2026OpenCompass: A Universal Evaluation Platform for Large Language Modelscited by 5
  19. 2024AlpaPICO: Extraction of PICO Frames from Clinical Trial Documents Using LLMscited by 4
  20. 2026VeriAgent: A Tool-Integrated Multi-Agent System with Evolving Memory for PPA-Aware RTL Code Generationcited by 4
  21. 2023In-context Interference in Chat-based Large Language Modelscited by 3
  22. 2024Comparative Analysis of Demonstration Selection Algorithms for LLM In-Context Learningcited by 3
  23. 2025Topic Coverage-based Demonstration Retrieval for In-Context Learningcited by 3
  24. 2023Computational modeling of semantic changecited by 2
  25. 2025Dual Debiasing for Noisy In-Context Learning for Text Generationcited by 2
  26. 2025Towards Predicting Any Human Trajectory In Contextcited by 2
  27. 2024Machine Translation with Large Language Models: Decoder Only vs. Encoder-Decodercited by 1
  28. 2024Evolutionary Pre-Prompt Optimization for Mathematical Reasoningcited by 1
  29. 2025Prompt Optimization with Logged Bandit Datacited by 1
  30. 2025Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High Dimensionscited by 1
  31. 2026DiffuMask: Diffusion Language Model for Token-level Prompt Pruningcited by 1
  32. 2024Distributed In-Context Learning under Non-IID Among Clientscited by 0
  33. 2025Exploring Imbalanced Annotations for Effective In-Context Learningcited by 0
  34. 2025ARISE: Iterative Rule Induction and Synthetic Data Generation for Text Classificationcited by 0
  35. 2025Factors affecting the in-context learning abilities of LLMs for dialogue state trackingcited by 0
  36. 2026Meta-Sel: Efficient Demonstration Selection for In-Context Learning via Supervised Meta-Learningcited by 0
  37. 2026LM-Lexicon: Improving Definition Modeling via Harmonizing Semantic Expertscited by 0
  38. 2026UCS: Estimating Unseen Coverage for Improved In-Context Learningcited by 0

50 most cited of 51 All 51 (JSON)