arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00374cs.CLcs.AI
收藏

CFL:通过 token 级属性受控生成实现因果公平的语言模型

CFL: Causally Fair Language Models Through Token-level Attribute Controlled Generation

IISc(印度科学学院);IBM Research(IBM研究院)

Rahul Madhavan, Rishabh Garg, Kahini Wadhawan, Sameep Mehta

AI总结:

提出基于 ATE、反事实增强和 SCM 的即插即用 CFL 架构,在保持困惑度的同时实现 LM 去毒并缓解偏见,RTP 基准达到最优。

摘要:

我们提出一种利用因果平均处理效应(ATE)分数和反事实增强来控制语言模型(LM)在文本生成任务中属性的方法。我们在 LM 去毒背景下探索该方法,并提出因果公平语言(CFL)架构,以即插即用的方式对预训练 LM 去毒。与许多现有去毒技术相比,我们的架构基于结构因果模型(SCM),在数学上透明且计算高效。我们还提出若干新指标,旨在更好理解 LM 在有毒文本生成场景中的行为。此外,我们在使用 RTP 基准计算的毒性退化指标上达到最先进性能。实验表明,CFL 实现这种去毒时对模型困惑度影响很小。我们还通过在 BOLD 数据集上的实验表明,CFL 缓解了非预期偏见问题。

英文摘要:

We propose a method to control the attributes of Language Models (LMs) for the text generation task using Causal Average Treatment Effect (ATE) scores and counterfactual augmentation. We explore this method, in the context of LM detoxification, and propose the Causally Fair Language (CFL) architecture for detoxifying pre-trained LMs in a plug-and-play manner. Our architecture is based on a Structural Causal Model (SCM) that is mathematically transparent and computationally efficient as compared with many existing detoxification techniques. We also propose several new metrics that aim to better understand the behaviour of LMs in the context of toxic text generation. Further, we achieve state of the art performance for toxic degeneration, which are computed using \RTP (RTP) benchmark. Our experiments show that CFL achieves such a detoxification without much impact on the model perplexity. We also show that CFL mitigates the unintended bias problem through experiments on the BOLD dataset.

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

↑