Comparable Demonstrations Are Important In In-Context Learning: A Novel Perspective On Demonstration Selection

透视图(图形) 选择(遗传算法) 计算机科学 背景(考古学) 人工智能 机器学习 生物 古生物学
作者
Caoyun Fan,Jing Tian,Yitian Li,Hao He,Yaohui Jin
标识
DOI:10.1109/icassp48485.2024.10448239
摘要

In-Context Learning (ICL) is an important paradigm for adapting Large Language Models (LLMs) to downstream tasks through a few demonstrations. Despite the great success of ICL, the limitation of the demonstration number may lead to demonstration bias, i.e. the input-label mapping induced by LLMs misunderstands the task's essence. Inspired by human experience, we attempt to mitigate such bias through the perspective of the inter-demonstration relationship. Specifically, we construct Comparable Demonstrations (CDs) by minimally editing the texts to flip the corresponding labels, in order to highlight the task's essence and eliminate potential spurious correlations through the inter-demonstration comparison. Through a series of experiments on CDs, we find that (1) demonstration bias does exist in LLMs, and CDs can significantly reduce such bias; (2) CDs exhibit good performance in ICL, especially in out-of-distribution scenarios. In summary, this study explores the ICL mechanisms from a novel perspective, providing a deeper insight into the demonstration selection strategy for ICL.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
搜集达人应助刘奎冉采纳,获得10
1秒前
酸萝卜发布了新的文献求助10
2秒前
ice完成签到 ,获得积分10
3秒前
Lin完成签到,获得积分10
3秒前
3秒前
深情安青应助杨桃采纳,获得10
4秒前
啧啧啧发布了新的文献求助10
5秒前
6秒前
7秒前
7秒前
王欣瑶完成签到 ,获得积分10
8秒前
l林完成签到,获得积分10
8秒前
科研通AI6.4应助undertaker采纳,获得10
8秒前
9秒前
10秒前
10秒前
sadascaqwqw完成签到 ,获得积分10
10秒前
10秒前
华仔应助高gaogao采纳,获得10
10秒前
科研通AI6.2应助Dlan采纳,获得10
11秒前
枫凝静影发布了新的文献求助10
11秒前
无畏甜桃完成签到 ,获得积分10
11秒前
Mocha发布了新的文献求助10
12秒前
14秒前
14秒前
ZOVF发布了新的文献求助10
14秒前
汉堡包应助meelerfor采纳,获得30
15秒前
丢丢银发布了新的文献求助50
15秒前
帝国超级硕士完成签到,获得积分10
15秒前
Lucas应助超级的藏花采纳,获得10
16秒前
乐乐应助满满阳光采纳,获得10
16秒前
16秒前
小马甲应助kkk采纳,获得10
17秒前
17秒前
18秒前
欢喜大白菜真实的钥匙完成签到 ,获得积分10
20秒前
yuanshuai发布了新的文献求助10
21秒前
可爱的函函应助Mocha采纳,获得10
21秒前
自信谷冬完成签到,获得积分10
21秒前
高分求助中
Principles of Economics, 11th Edition 10000
Prescott's Microbiology: 2026 Release ISE 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Environmental Leverage in Times of Climate Crisis: Product Standards, Carbon Border Measures and Preferential Trade Agreements 1000
Interactions of Vowel Quality and Prosody in East Slavic 1000
Erwählung und Berufung bei Paulus: Bedeutung, Entwicklung und Funktion einer Vorstellung in ihrem frühjüdischen und griechisch-römischen Kontext 850
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7193131
求助须知:如何正确求助?哪些是违规求助? 8829408
关于积分的说明 18641822
捐赠科研通 6829144
什么是DOI,文献DOI怎么找? 3175986
关于科研通互助平台的介绍 2328143
邀请新用户注册赠送积分活动 2150487