On the Relation between Sensitivity and Accuracy in In-Context Learning

Yanda Chen, Chen Zhao, Zhou Yu, Kathleen McKeown, He He

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

In-context learning (ICL) suffers from oversensitivity to the prompt, making it unreliable in real-world scenarios. We study the sensitivity of ICL with respect to multiple perturbation types. First, we find that label bias obscures the true sensitivity, and therefore prior work may have significantly underestimated ICL sensitivity. Second, we observe a strong negative correlation between ICL sensitivity and accuracy: predictions sensitive to perturbations are less likely to be correct. Motivated by these findings, we propose SENSEL, a few-shot selective prediction method that abstains from sensitive predictions. Experiments on ten classification datasets show that SENSEL consistently outperforms two commonly used confidence-based and entropy-based baselines on abstention decisions.

Original languageEnglish (US)
Title of host publicationFindings of the Association for Computational Linguistics
Subtitle of host publicationEMNLP 2023
PublisherAssociation for Computational Linguistics (ACL)
Pages155-167
Number of pages13
ISBN (Electronic)9798891760615
StatePublished - 2023
Event2023 Findings of the Association for Computational Linguistics: EMNLP 2023 - Singapore, Singapore
Duration: Dec 6 2023Dec 10 2023

Publication series

NameFindings of the Association for Computational Linguistics: EMNLP 2023

Conference

Conference2023 Findings of the Association for Computational Linguistics: EMNLP 2023
Country/TerritorySingapore
CitySingapore
Period12/6/2312/10/23

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Computer Science Applications
  • Information Systems
  • Language and Linguistics
  • Linguistics and Language

Fingerprint

Dive into the research topics of 'On the Relation between Sensitivity and Accuracy in In-Context Learning'. Together they form a unique fingerprint.

Cite this