Explanation-aware Soft Ensemble Empowers Large Language Model In-context Learning

Yue Yu, Jiaming Shen, Tianqi Liu, Zhen Qin, Jing Nathan Yan +3 more
11/13/2023
cs.CLcs.AI

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Large language models (LLMs) have shown remarkable capabilities in various natural language understanding tasks. With only a few demonstration examples, these LLMs can quickly adapt to target tasks without expensive gradient updates. Common strategies to boost such 'in-context' learning ability are to ensemble multiple model decoded results and require the model to generate an explanation along with the prediction. However, these models often treat different class predictions equally and neglect the potential discrepancy between the explanations and predictions. To fully unleash the power of explanations, we propose EASE, an Explanation-Aware Soft Ensemble framework to empower in-context learning with LLMs. We design two techniques, explanation-guided ensemble, and soft probability aggregation, to mitigate the effect of unreliable explanations and improve the consistency between explanations and final predictions. Experiments on seven natural language understanding tasks and four varying-size LLMs demonstrate the effectiveness of our proposed framework.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2023explanationaware,
  title  = {Explanation-aware Soft Ensemble Empowers Large Language Model In-context Learning},
  author = {Yue Yu and Jiaming Shen and Tianqi Liu and Zhen Qin and Jing Nathan Yan and Jialu Liu and Chao Zhang and Michael Bendersky},
  year   = {2023},
  eprint = {2311.07099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07099v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.07099.svg)](https://codeofpaper.com/paper/2311.07099)

Discussion