Large language models often return a memorized fact although the passage in their prompt updates or contradicts it. Contrastive decoding counters this by amplifying the difference between predictions under the full prompt and under a modified view of it. However, existing methods mainly tune the strength of this difference and share one view, the question alone, which removes the passage and also changes the directive that refers to it. Replacing one at a time, we find that the passage moves predictions many times more than the directive, which acts mainly where the passage contradicts the memorized fact. Based on these findings, we propose factorized contrastive decoding (FCD), which contrasts the full prompt with two views, one replacing only the directive and one replacing only the passage, each with its own strength. On six models and five passage benchmarks, FCD gains 7.2 points over sampling on counterfactual passages without compromising accuracy on ordinary ones, and its average over the two is the highest of all compared methods. Beyond passages, a matched view also helps when an instruction conflicts with a memorized quote. These results suggest that the directive and the passage are better contrasted separately than together. Code is available at https://github.com/js-lee-AI/FCD.


翻译:暂无翻译

0
下载
关闭预览

相关内容

大型语言模型的规模效应局限
专知会员服务
14+阅读 · 2025年11月18日
大语言模型与小语言模型协同机制综述
专知会员服务
40+阅读 · 2025年5月15日
白话attention综述(上)
AINLP
12+阅读 · 2019年12月14日
几种句子表示方法的比较
AINLP
15+阅读 · 2019年9月21日
近期语音类前沿论文
深度学习每日摘要
14+阅读 · 2019年3月17日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
语料库构建——自然语言理解的基础
计算机研究与发展
11+阅读 · 2017年8月21日
Generative Adversarial Text to Image Synthesis论文解读
统计学习与视觉计算组
13+阅读 · 2017年6月9日
Word2Vec 与 GloVe 技术浅析与对比
LibRec智能推荐
25+阅读 · 2017年5月15日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
13+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
11+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
10+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
8+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
17+阅读 · 11月25日
相关资讯
白话attention综述(上)
AINLP
12+阅读 · 2019年12月14日
几种句子表示方法的比较
AINLP
15+阅读 · 2019年9月21日
近期语音类前沿论文
深度学习每日摘要
14+阅读 · 2019年3月17日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
语料库构建——自然语言理解的基础
计算机研究与发展
11+阅读 · 2017年8月21日
Generative Adversarial Text to Image Synthesis论文解读
统计学习与视觉计算组
13+阅读 · 2017年6月9日
Word2Vec 与 GloVe 技术浅析与对比
LibRec智能推荐
25+阅读 · 2017年5月15日
相关基金
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员