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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
传奇3应助科研通管家采纳,获得10
刚刚
桐桐应助科研通管家采纳,获得30
刚刚
刚刚
丘比特应助科研通管家采纳,获得10
刚刚
刚刚
李爱国应助科研通管家采纳,获得10
刚刚
CipherSage应助科研通管家采纳,获得10
刚刚
Akim应助科研通管家采纳,获得30
刚刚
刚刚
斯文败类应助科研通管家采纳,获得10
刚刚
刚刚
1秒前
1秒前
1秒前
赘婿应助科研通管家采纳,获得10
1秒前
1秒前
李爱国应助科研通管家采纳,获得10
1秒前
1秒前
1秒前
1秒前
L一年发布了新的文献求助30
1秒前
1秒前
1秒前
1秒前
1秒前
NexusExplorer应助科研通管家采纳,获得10
1秒前
1秒前
Tanya47应助科研通管家采纳,获得10
1秒前
long应助科研通管家采纳,获得10
2秒前
恭喜发布了新的文献求助10
2秒前
2秒前
小远远应助科研通管家采纳,获得30
2秒前
2秒前
一zi耶耶发布了新的文献求助10
2秒前
赘婿应助科研通管家采纳,获得10
2秒前
2秒前
2秒前
2秒前
2秒前
顾矜应助科研通管家采纳,获得10
2秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 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小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6031027
求助须知:如何正确求助?哪些是违规求助? 7710809
关于积分的说明 16195675
捐赠科研通 5177927
什么是DOI,文献DOI怎么找? 2770923
邀请新用户注册赠送积分活动 1754381
关于科研通互助平台的介绍 1639608