MILE: A Mutation Testing Framework of In-Context Learning Systems
Not on the map. Why?
Abstract (arXiv)
In-context Learning (ICL) has achieved notable success in the applications of large language models (LLMs). By adding only a few input-output pairs that demonstrate a new task, the LLM can efficiently learn the task during inference without modifying the model parameters. Such mysterious ability of LLMs has attracted great research interests in understanding, formatting, and improving the in-context demonstrations, while still suffering from drawbacks like black-box mechanisms and sensitivity against the selection of examples. In this work, inspired by the foundations of adopting testing techniques in machine learning (ML) systems, we propose a mutation testing framework designed to characterize the quality and effectiveness of test data for ICL systems. First, we propose several mutation operators specialized for ICL demonstrations, as well as corresponding mutation scores for ICL test sets. With comprehensive experiments, we showcase the effectiveness of our framework in evaluating the reliability and quality of ICL test suites. Our code is available at https://github.com/weizeming/MILE.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 39 of its 66 references that are in the map. First posted on arXiv 7 Sep 2024.
Builds on
39 of 66 references.
References · 39
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
27 more
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 865
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2023The Falcon Series of Open Language Modelscited by 526
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2024Understanding the planning of LLM agents: A surveycited by 414
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2023In-Context Unlearning: Language Models as Few Shot Unlearnerscited by 214
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2024Many-Shot In-Context Learningcited by 203
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2022Parallel Context Windows for Large Language Modelscited by 81
- 2018DeepMutation: Mutation Testing of Deep Learning Systemscited by 66
- 2023Adversarial Demonstration Attacks on Large Language Modelscited by 58
- 2018Adversarial Sample Detection for Deep Neural Network through Model Mutation Testingcited by 48
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
- 2024Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learningcited by 20
- 2018Practical Program Repair via Bytecode Mutationcited by 19
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
- 2024Exploring the Robustness of In-Context Learning with Noisy Labelscited by 13
- 2024ICLEval: Evaluating In-Context Learning Ability of Large Language Modelscited by 12
Built on by
Citing papers per year: 2026: 2.
2 papers.