EMNLP 2024main0 citations

Rethinking the Evaluation of In-Context Learning for LLMs

Guoxin Yu, Lemao Liu, Mo Yu, Yue Yu, Xiang Ao

Abstract

In-context learning (ICL) has demonstrated excellent performance across various downstream NLP tasks, especially when synergized with powerful large language models (LLMs). Existing studies evaluate ICL methods primarily based on downstream task performance. This evaluation protocol overlooks the significant cost associated with the demonstration configuration process, i.e., tuning the demonstration as the ICL prompt. However, in this work, we point out that the evaluation protocol leads to unfair comparisons and potentially biased evaluation, because we surprisingly find the correlation between the configuration costs and task performance. Then we call for a two-dimensional evaluation paradigm that considers both of these aspects, facilitating a fairer comparison.Finally, based on our empirical finding that the optimized demonstration on one language model generalizes across language models of different sizes, we introduce a simple yet efficient strategy that can be applied to any ICL method as a plugin, yielding a better trade-off between the two dimensions according to the proposed evaluation paradigm.

BibTeX
@inproceedings{yu-etal-2024-rethinking,
    title = "Rethinking the Evaluation of In-Context Learning for {LLM}s",
    author = "Yu, Guoxin  and
      Liu, Lemao  and
      Yu, Mo  and
      Yu, Yue  and
      Ao, Xiang",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.emnlp-main.779/",
    doi = "10.18653/v1/2024.emnlp-main.779",
    pages = "14068--14082"
}
Rethinking the Evaluation of In-Context Learning for LLMs · EMNLP 2024