arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.07378cs.CLcs.CYcs.LG
收藏

利用对比输入解码揭示大型语言模型中的偏见

Surfacing Biases in Large Language Models using Contrastive Input Decoding

Weizmann Institute(魏茨曼研究所);Tel Aviv University(特拉维夫大学);Google(谷歌)

Gal Yona, Or Honovich, Itay Laish, Roee Aharoni

AI总结:

本文提出对比输入解码(CID)算法,通过对比两个输入生成文本以揭示大型语言模型中难以察觉的上下文偏见,并量化输入扰动的影响。

摘要:

确保大型语言模型(LMs)公平、稳健且有用,需要理解对其输入的不同修改如何影响模型的行为。然而,在开放文本生成任务的背景下,这种评估并非易事。例如,当向模型提供一段输入文本及其扰动后的“对比”版本时,使用标准解码策略可能无法揭示下一个词元预测中的有意义差异。基于这一动机,我们提出了对比输入解码(CID):一种解码算法,给定两个输入生成文本,其中生成的文本在给定一个输入时很可能出现,而在给定另一个输入时则不太可能出现。通过这种方式,对比生成可以以简单且可解释的方式突出显示模型输出在两个输入之间可能存在的细微差异。我们使用CID来突出显示使用标准解码策略难以检测的上下文特定偏见,并量化不同输入扰动的影响。

英文摘要:

Ensuring that large language models (LMs) are fair, robust and useful requires an understanding of how different modifications to their inputs impact the model's behaviour. In the context of open-text generation tasks, however, such an evaluation is not trivial. For example, when introducing a model with an input text and a perturbed, "contrastive" version of it, meaningful differences in the next-token predictions may not be revealed with standard decoding strategies. With this motivation in mind, we propose Contrastive Input Decoding (CID): a decoding algorithm to generate text given two inputs, where the generated text is likely given one input but unlikely given the other. In this way, the contrastive generations can highlight potentially subtle differences in how the LM output differs for the two inputs in a simple and interpretable manner. We use CID to highlight context-specific biases that are hard to detect with standard decoding strategies and quantify the effect of different input perturbations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑