微软 | 大型语言模型的语境忠实提示法

2,039次阅读
没有评论

在本文中,专注于解决LLMs在特定情境下的NLP任务中的忠实度问题,特别是在有知识冲突的场景和有弃权的预测中。文章提出两种方法,即基于观点的提示和反事实的演示,可以有效地提高LLMs对语境的忠实度。

Context-faithful Prompting for Large Language Models

Wenxuan Zhou, Sheng Zhang, Hoifung Poon, Muhao Chen

[University of Southern California & Microsoft Research ]

  1. 大型语言模型(LLMs)对世界事实的参数化知识进行编码,并在知识驱动的NLP任务中表现出卓越的性能。然而,他们对参数化知识的依赖可能会导致他们忽视上下文线索,从而导致在上下文敏感的NLP任务(如知识获取任务)中出现不正确的预测。
  2. 在本文中,试图在两个方面评估和加强LLMs的语境忠实度:知识冲突和预测与放弃。文章证明,利用精心设计的提示策略,LLMs的忠实度可以得到明显改善。特别是,发现基于观点的提示和反事实的演示是最有效的方法。基于观点的提示将上下文重构为叙述者的陈述,并询问叙述者的观点,而反事实的演示则使用包含虚假事实的实例来提高知识冲突情况下的忠实度。这两种技术都不需要额外的训练。
  3. 在两个标准的NLP任务–机器阅读理解和关系提取–的三个数据集上进行了实验,结果显示对语境的忠实度有了明显的改善。

https://arxiv.org/pdf/2303.11315.pdf

微软 | 大型语言模型的语境忠实提示法

 

 

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 3 月
 12345
6789101112
13141516171819
20212223242526
2728293031  
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
手把手教你用AI 10分钟生成一个APP!零基础也能搞定

手把手教你用AI 10分钟生成一个APP!零基础也能搞定

今日,我将向大家展示DeepSeek的全新玩法——从零开始,利用AI创建一个完整的应用程序。借助DeepSee...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
手把手教你用AI 10分钟生成一个APP!零基础也能搞定

手把手教你用AI 10分钟生成一个APP!零基础也能搞定

今日,我将向大家展示DeepSeek的全新玩法——从零开始,利用AI创建一个完整的应用程序。借助DeepSee...