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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
杨123完成签到,获得积分10
刚刚
2秒前
3秒前
qwerty发布了新的文献求助10
4秒前
喷黄完成签到,获得积分10
5秒前
123应助酷炫的向雪采纳,获得10
6秒前
Yu发布了新的文献求助10
6秒前
1cf发布了新的文献求助10
7秒前
ear完成签到,获得积分10
7秒前
彭彭完成签到,获得积分10
7秒前
8秒前
王2120201285发布了新的文献求助20
9秒前
Microwhale应助凝聚态阿隅采纳,获得10
9秒前
黄康发布了新的文献求助10
9秒前
10秒前
英俊的铭应助李想的李采纳,获得10
10秒前
脑洞疼应助啊森森森采纳,获得10
10秒前
12秒前
13秒前
Weining发布了新的文献求助10
13秒前
嘻嘻完成签到,获得积分10
13秒前
刘鑫发布了新的文献求助10
14秒前
科研通AI6.1应助风清扬采纳,获得10
15秒前
陈诚完成签到,获得积分10
16秒前
Mrsu完成签到 ,获得积分10
16秒前
qnmlgbd55发布了新的文献求助10
16秒前
丘比特应助aaa采纳,获得10
17秒前
wuqi完成签到,获得积分10
17秒前
多多发布了新的文献求助10
18秒前
黄康完成签到,获得积分10
18秒前
冬月初七发布了新的文献求助10
18秒前
活着完成签到,获得积分10
19秒前
20秒前
20秒前
24秒前
ademwy发布了新的文献求助10
25秒前
黄伟凯发布了新的文献求助10
26秒前
27秒前
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Modern Epidemiology, Fourth Edition 5000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 2000
Digital Twins of Advanced Materials Processing 2000
Weaponeering, Fourth Edition – Two Volume SET 2000
Social Cognition: Understanding People and Events 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6032003
求助须知:如何正确求助?哪些是违规求助? 7716984
关于积分的说明 16198607
捐赠科研通 5178730
什么是DOI,文献DOI怎么找? 2771460
邀请新用户注册赠送积分活动 1754768
关于科研通互助平台的介绍 1639821