mlsanityData to 14 Oct 2026

Using Natural Language Explanations to Improve Robustness of In-context Learning

arXiv 2311.07556 ↗First posted 13 Nov 2023cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Recent studies demonstrated that large language models (LLMs) can excel in many tasks via in-context learning (ICL). However, recent works show that ICL-prompted models tend to produce inaccurate results when presented with adversarial inputs. In this work, we investigate whether augmenting ICL with natural language explanations (NLEs) improves the robustness of LLMs on adversarial datasets covering natural language inference and paraphrasing identification. We prompt LLMs with a small set of human-generated NLEs to produce further NLEs, yielding more accurate results than both a zero-shot-ICL setting and using only human-generated NLEs. Our results on five popular LLMs (GPT3.5-turbo, Llama2, Vicuna, Zephyr, and Mistral) show that our approach yields over 6% improvement over baseline approaches for eight adversarial datasets: HANS, ISCS, NaN, ST, PICD, PISP, ANLI, and PAWS. Furthermore, previous studies have demonstrated that prompt selection strategies significantly enhance ICL on in-distribution test sets. However, our findings reveal that these strategies do not match the efficacy of our approach for robustness evaluations, resulting in an accuracy drop of 8% compared to the proposed approach.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 47 of its 66 references that are in the map. First posted on arXiv 13 Nov 2023.

Builds on

47 of 66 references.

References · 47

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  8. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  9. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  12. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
35 more
  1. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  2. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  3. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
  4. 2018Annotation Artifacts in Natural Language Inference Datacited by 671
  5. 2018From Recognition to Cognition: Visual Commonsense Reasoningcited by 556
  6. 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 481
  7. 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
  8. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 402
  9. 2019Is Attention Interpretable?cited by 389
  10. 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
  11. 2019Don't Take the Easy Way Out: Ensemble Based Methods for Avoiding Known Dataset Biasescited by 280
  12. 2018Textual Explanations for Self-Driving Vehiclescited by 226
  13. 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 222
  14. 2018Stress Test Evaluation for Natural Language Inferencecited by 213
  15. 2020WT5?! Training Text-to-Text Models to Explain their Predictionscited by 148
  16. 2023Compositional Exemplars for In-context Learningcited by 144
  17. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
  18. 2019End-to-End Bias Mitigation by Modelling Biases in Corporacited by 128
  19. 2021Teach Me to Explain: A Review of Datasets for Explainable Natural Language Processingcited by 126
  20. 2022Explanations from Large Language Models Make Small Reasoners Bettercited by 124
  21. 2019Unlearn Dataset Bias in Natural Language Inference by Fitting the Residualcited by 119
  22. 2023Faithfulness Tests for Natural Language Explanationscited by 107
  23. 2020Leakage-Adjusted Simulatability: Can Models Generate Non-Trivial Explanations of Their Behavior in Natural Language?cited by 95
  24. 2018Grounding Visual Explanationscited by 93
  25. 2021e-ViL: A Dataset and Benchmark for Natural Language Explanations in Vision-Language Taskscited by 84
  26. 2023Coverage-based Example Selection for In-Context Learningcited by 59
  27. 2017A causal framework for explaining the predictions of black-box sequence-to-sequence modelscited by 58
  28. 2018Adversarially Regularising Neural NLI Models to Integrate Logical Background Knowledgecited by 46
  29. 2022Explaining Chest X-ray Pathologies in Natural Languagecited by 27
  30. 2018Analyzing Compositionality-Sensitivity of NLI Modelscited by 26
  31. 2022Not another Negation Benchmark: The NaN-NLI Test Suite for Sub-clausal Negationcited by 25
  32. 2023Explanation-based Finetuning Makes Models More Robust to Spurious Cuescited by 25
  33. 2021Knowledge-Grounded Self-Rationalization via Extractive and Natural Language Explanationscited by 24
  34. 2020HypoNLI: Exploring the Artificial Patterns of Hypothesis-only Bias in Natural Language Inferencecited by 17
  35. 2020An Empirical Study on Model-agnostic Debiasing Strategies for Robust Natural Language Inferencecited by 16

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 1.

2 papers.