He, X;
Wu, Y;
Camburu, OM;
Minervini, P;
Stenetorp, P;
(2024)
Using Natural Language Explanations to Improve Robustness of In-context Learning.
In:
Proceedings of the Annual Meeting of the Association for Computational Linguistics.
(pp. pp. 13477-13499).
Association for Computational Linguistics
Preview |
PDF
2024.acl-long.728.pdf - Published Version Download (898kB) | Preview |
Abstract
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.
Type: | Proceedings paper |
---|---|
Title: | Using Natural Language Explanations to Improve Robustness of In-context Learning |
Event: | 62nd Annual Meeting of the Association for Computational Linguistics |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.18653/v1/2024.acl-long.728 |
Publisher version: | https://doi.org/10.18653/v1/2024.acl-long.728 |
Language: | English |
Additional information: | © 2024 ACL. Permission is granted to make copies for the purposes of teaching and research. Materials published in or after 2016 are licensed on a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10197893 |
Archive Staff Only
View Item |