Explanation-aware Soft Ensemble Empowers Large Language Model In-context Learning
Abstract
Large language models (LLMs) have shown remarkable capabilities in various natural language understanding tasks with a few demonstration examples via in-context learning. 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.
BibTeX
@inproceedings{yu2024explanation,
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},
title = {{Explanation-aware Soft Ensemble Empowers Large Language Model In-context Learning}},
booktitle = {Annual Meeting of the Association for Computational Linguistics},
year = {2024},
doi = {10.18653/v1/2024.acl-long.755},
}Ask Althea to put this paper to the test.