arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.00131cs.CLcs.AI
收藏

语言建模任务中的欠规范化:一项基于因果信息的性别代词消解研究

Underspecification in Language Modeling Tasks: A Causality-Informed Study of Gendered Pronoun Resolution

Emily McMilin

AI总结:

本文提出一种因果机制解释语言建模任务中的欠规范化如何导致虚假相关,并据此开发两种轻量级黑盒评估方法,在多种规模、预训练目标和训练阶段的大语言模型上检测性别代词消解中的推理时欠规范化及此前未报告的虚假相关。

摘要:

现代语言建模任务常常是欠规范化的:对于给定的词元预测,在推理时许多词可能满足用户生成自然语言的意图,但在训练时只有一个词能够最小化任务的损失函数。我们引入一个简单的因果机制来描述欠规范化在虚假相关产生中所起的作用。尽管该因果模型很简单,但它直接指导了两种轻量级黑盒评估方法的开发,我们将这些方法应用于多种大语言模型上的性别代词消解任务,以 1) 通过利用 2) 此前未被报告的性别与时间以及性别与地点之间的虚假相关,来辅助检测推理时的任务欠规范化,所涉及的大语言模型具有一系列 A) 规模:从 BERT-base 到 GPT-4 Turbo Preview,B) 预训练目标:从掩码语言建模和自回归语言建模到这些目标的混合,以及 C) 训练阶段:从仅预训练到基于人类反馈的强化学习(RLHF)。代码和开源演示可在 https://github.com/2dot71mily/uspec 获取。

英文摘要:

Modern language modeling tasks are often underspecified: for a given token prediction, many words may satisfy the user's intent of producing natural language at inference time, however only one word will minimize the task's loss function at training time. We introduce a simple causal mechanism to describe the role underspecification plays in the generation of spurious correlations. Despite its simplicity, our causal model directly informs the development of two lightweight black-box evaluation methods, that we apply to gendered pronoun resolution tasks on a wide range of LLMs to 1) aid in the detection of inference-time task underspecification by exploiting 2) previously unreported gender vs. time and gender vs. location spurious correlations on LLMs with a range of A) sizes: from BERT-base to GPT-4 Turbo Preview, B) pre-training objectives: from masked & autoregressive language modeling to a mixture of these objectives, and C) training stages: from pre-training only to reinforcement learning from human feedback (RLHF). Code and open-source demos available at https://github.com/2dot71mily/uspec.

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

↑