mlsanityData to 14 Oct 2026

COFFEQA: Counterfactual-Guided Few-Shot Distillation for LLM Question Answering

arXiv 2610.12837 ↗First posted 9 Oct 2026cs.CL cs.AI cs.LGcited by 0

On the map: Knowledge distillation → Knowledge distillation for LLMs

Abstract (arXiv)

Knowledge distillation aims to train a smaller student model to mimic a larger teacher model for resource-constrained environments. However, the process of distillation is typically data-intensive and computationally expensive, particularly for generative tasks. Few-shot distillation offers an alternative by transferring teacher knowledge using limited training samples. However, we observe that few-shot distillation performance is heavily dependent on the choice of these training samples. In fact, we demonstrate that using more uncertain samples near the teacher's decision boundary can significantly deteriorate distillation performance. Motivated by this observation, we propose Counterfactual-guided Few-shot Distillation in Open-book Question Answering (COFFEQA), a novel strategy that aptly uses counterfactuals to provide additional supervision around challenging factual samples. In the generative QA setting, we define a counterfactual as a minimally modified context that induces the teacher to change its response to an alternative answer. We provide geometric insights on how factual-counterfactual pairs can constrain the deviation between the teacher's and student's decision boundaries. We further introduce a new metric, Context Following Difficulty (CFD) that further validates counterfactuals prior to distillation based on agreement with the intended alternative answer and dependence on the modified context. COFFEQA uses CFD-validated factual-counterfactual pairs for few-shot distillation. Experiments across five in-domain and three out-of-domain QA benchmarks using T5 and Qwen2.5 families show that COFFEQA outperforms factual-only distillation baselines under the same few-shot budget. For instance, on TriviaQA, COFFEQA improves over the factual-only baseline by 8.77 average EM points and 9.98 average F1 points under the T5 setting with 32 few-shot pairs.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 68 of its 82 references that are in the map. First posted on arXiv 9 Oct 2026.

Builds on

68 of 82 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions20 Apr
  2. 2024DDK: Distilling Domain Knowledge for Efficient Large Language Models23 Jul
  3. 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Application2 Jul
  4. 2024A Survey on Knowledge Distillation of Large Language Models20 Feb

Other references · 64

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  9. 2023Qwen Technical Reportcited by 3,344
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  11. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  12. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
38 more
  1. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  2. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  4. 2020Knowledge Distillation: A Surveycited by 1,603
  5. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  6. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  7. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  8. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  9. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  10. 2016Sequence-Level Knowledge Distillationcited by 801
  11. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  12. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
  13. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
  14. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 426
  15. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
  16. 2016NewsQA: A Machine Comprehension Datasetcited by 331
  17. 2023From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuningcited by 307
  18. 2024Knowledge Conflicts for LLMs: A Surveycited by 283
  19. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
  20. 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 184
  21. 2024A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthinesscited by 127
  22. 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 106
  23. 2022DisentQA: Disentangling Parametric and Contextual Knowledge with Counterfactual Question Answeringcited by 96
  24. 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 93
  25. 2018DuoRC: Towards Complex Language Understanding with Paraphrased Reading Comprehensioncited by 71
  26. 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 68
  27. 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 65
  28. 2023Resolving Knowledge Conflicts in Large Language Modelscited by 50
  29. 2021A Survey on the Robustness of Feature Importance and Counterfactual Explanationscited by 39
  30. 2022DoCoGen: Domain Counterfactual Generation for Low Resource Domain Adaptationcited by 37
  31. 2024LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Studycited by 31
  32. 2022DISCO: Distilling Counterfactuals with Large Language Modelscited by 30
  33. 2021Retrieval-guided Counterfactual Generation for QAcited by 29
  34. 2024Cofca: A Step-Wise Counterfactual Multi-hop QA benchmarkcited by 27
  35. 2023IfQA: A Dataset for Open-domain Question Answering under Counterfactual Presuppositionscited by 26
  36. 2022CORE: A Retrieve-then-Edit Framework for Counterfactual Data Generationcited by 24
  37. 2024Zero-shot LLM-guided Counterfactual Generation: A Case Study on NLP Model Evaluationcited by 18
  38. 2023CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibrationcited by 17

50 most cited of 64 All 64 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Recursive Offline Distillation via Entropy Gain Sampling and Answer Mixing
  2. 2025Exploring the Limits of Model Compression in LLMs: A Knowledge Distillation Study on QA Tasks
  3. 2023Gotta: Generative Few-shot Question Answering by Prompt-based Cloze Data Augmentation
  4. 2025Honey, I Shrunk the Language Model: Impact of Knowledge Distillation Methods on Performance and Explainability
  5. 2026When and How Should an Agent Clarify? CIGAsk: Teaching LLMs to Clarify via Counterfactual Information Gain
  6. 2023Promoting Generalized Cross-lingual Question Answering in Few-resource Scenarios via Self-knowledge Distillation
  7. 2025Socratic Students: Teaching Language Models to Learn by Asking Questions
  8. 2026Can LLMs Model Incorrect Student Reasoning? A Case Study on Distractor Generation