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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
慕青应助神外第一刀采纳,获得10
2秒前
2秒前
7749应助十一采纳,获得10
2秒前
聪慧雪糕发布了新的文献求助10
3秒前
zhengzhao完成签到,获得积分10
3秒前
4秒前
昕之海完成签到,获得积分10
5秒前
范特西发布了新的文献求助10
6秒前
科研通AI6.4应助聪慧雪糕采纳,获得10
8秒前
9秒前
00hello00发布了新的文献求助10
9秒前
10秒前
斯文败类应助南笙几梦采纳,获得10
10秒前
呆萌乌冬面完成签到 ,获得积分10
11秒前
sun814348613发布了新的文献求助10
11秒前
SciGPT应助顶级科学家采纳,获得10
12秒前
14秒前
14秒前
15秒前
CodeCraft应助欧耶采纳,获得10
15秒前
fengmy完成签到,获得积分10
16秒前
18秒前
winterm发布了新的文献求助10
19秒前
19秒前
无花果应助专一的大神采纳,获得10
19秒前
yyyyy_完成签到 ,获得积分10
20秒前
24秒前
24秒前
上官若男应助雪白的惜海采纳,获得10
25秒前
果冻发布了新的文献求助10
25秒前
27秒前
28秒前
28秒前
呆萌滑板完成签到 ,获得积分10
28秒前
Hello应助董超采纳,获得10
29秒前
29秒前
Jasmine发布了新的文献求助10
30秒前
种草匠完成签到,获得积分10
30秒前
32秒前
高分求助中
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小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7197474
求助须知:如何正确求助?哪些是违规求助? 8832525
关于积分的说明 18646870
捐赠科研通 6836660
什么是DOI,文献DOI怎么找? 3177473
关于科研通互助平台的介绍 2331655
邀请新用户注册赠送积分活动 2152011