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

一种生成字符串反事实的实用方法

A Practical Method for Generating String Counterfactuals

Bar-Ilan University(巴伊兰大学);ETH Zurich(苏黎世联邦理工学院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);New York University(纽约大学)

Matan Avitan, Ryan Cotterell, Yoav Goldberg, Shauli Ravfogel

AI总结:

本文提出一种将语言模型表示空间反事实转换为字符串反事实的实用方法,可分析干预对应的语言变化、解释概念编码特征,并通过数据增强减轻分类偏差。

摘要:

针对语言模型(LMs)表示空间的干预已成为影响模型行为的有效手段。此类方法例如用于消除或改变模型表示中性别等人口统计信息的编码,从而创建反事实表示。但由于干预在表示空间内进行,精确理解其修改文本的哪些方面存在挑战。本文提出一种将表示反事实转换为字符串反事实的方法,证明该方法能分析特定表示空间干预对应的语言变化、解释编码特定概念的特征,且生成的反事实可通过数据增强减轻分类中的偏差。

英文摘要:

Interventions targeting the representation space of language models (LMs) have emerged as an effective means to influence model behavior. Such methods are employed, for example, to eliminate or alter the encoding of demographic information such as gender within the model's representations and, in so doing, create a counterfactual representation. However, because the intervention operates within the representation space, understanding precisely what aspects of the text it modifies poses a challenge. In this paper, we give a method to convert representation counterfactuals into string counterfactuals. We demonstrate that this approach enables us to analyze the linguistic alterations corresponding to a given representation space intervention and to interpret the features utilized to encode a specific concept. Moreover, the resulting counterfactuals can be used to mitigate bias in classification through data augmentation.

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

↑