Saved in:
Bibliographic Details
Main Authors: Su, Yi, Tai, Yunpeng, Ji, Yixin, Li, Juntao, Yan, Bowen, Zhang, Min
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.01224
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911900579659776
author Su, Yi
Tai, Yunpeng
Ji, Yixin
Li, Juntao
Yan, Bowen
Zhang, Min
author_facet Su, Yi
Tai, Yunpeng
Ji, Yixin
Li, Juntao
Yan, Bowen
Zhang, Min
contents Large Language Models (LLMs) have demonstrated an impressive capability known as In-context Learning (ICL), which enables them to acquire knowledge from textual demonstrations without the need for parameter updates. However, many studies have highlighted that the model's performance is sensitive to the choice of demonstrations, presenting a significant challenge for practical applications where we lack prior knowledge of user queries. Consequently, we need to construct an extensive demonstration pool and incorporate external databases to assist the model, leading to considerable time and financial costs. In light of this, some recent research has shifted focus towards zero-shot ICL, aiming to reduce the model's reliance on external information by leveraging their inherent generative capabilities. Despite the effectiveness of these approaches, the content generated by the model may be unreliable, and the generation process is time-consuming. To address these issues, we propose Demonstration Augmentation for In-context Learning (DAIL), which employs the model's previously predicted historical samples as demonstrations for subsequent ones. DAIL brings no additional inference cost and does not rely on the model's generative capabilities. Our experiments reveal that DAIL can significantly improve the model's performance over direct zero-shot inference and can even outperform few-shot ICL without any external information.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01224
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Demonstration Augmentation for Zero-shot In-context Learning
Su, Yi
Tai, Yunpeng
Ji, Yixin
Li, Juntao
Yan, Bowen
Zhang, Min
Computation and Language
Large Language Models (LLMs) have demonstrated an impressive capability known as In-context Learning (ICL), which enables them to acquire knowledge from textual demonstrations without the need for parameter updates. However, many studies have highlighted that the model's performance is sensitive to the choice of demonstrations, presenting a significant challenge for practical applications where we lack prior knowledge of user queries. Consequently, we need to construct an extensive demonstration pool and incorporate external databases to assist the model, leading to considerable time and financial costs. In light of this, some recent research has shifted focus towards zero-shot ICL, aiming to reduce the model's reliance on external information by leveraging their inherent generative capabilities. Despite the effectiveness of these approaches, the content generated by the model may be unreliable, and the generation process is time-consuming. To address these issues, we propose Demonstration Augmentation for In-context Learning (DAIL), which employs the model's previously predicted historical samples as demonstrations for subsequent ones. DAIL brings no additional inference cost and does not rely on the model's generative capabilities. Our experiments reveal that DAIL can significantly improve the model's performance over direct zero-shot inference and can even outperform few-shot ICL without any external information.
title Demonstration Augmentation for Zero-shot In-context Learning
topic Computation and Language
url https://arxiv.org/abs/2406.01224