提示微调推得更远,对比学习拉得更近:一种缓解社会偏见的二阶段方法
Prompt Tuning Pushes Farther, Contrastive Learning Pulls Closer: A Two-Stage Approach to Mitigate Social Biases
AI总结:
本文提出CCPA二阶段去偏方法,通过连续提示增强推远群体表示距离,再用对比学习拉近增强样本对距离,以提升预训练语言模型的社会偏见缓解效果并保持语言建模能力。
摘要:
随着预训练语言模型(PLMs)表示能力的提升,人们越来越担心它们会从未经处理的语料中继承社会偏见。以往大多数去偏技术使用反事实数据增强(CDA)来平衡训练语料。然而,CDA仅对原始语料进行轻微修改,将不同人口统计群体之间的表示距离限制在较窄范围内。因此,去偏模型容易拟合反事实样本对之间的差异,这在文本资源有限的情况下会影响其去偏性能。本文提出了一种受对抗训练启发的二阶段去偏模型,该模型使用带有连续提示增强的对比学习(命名为CCPA)来缓解PLMs编码中的社会偏见。在第一阶段,我们提出了一种基于连续提示微调的数据增强方法,以推远不同人口统计群体样本对之间的表示距离。在第二阶段,我们利用对比学习拉近增强样本对之间的表示距离,然后微调PLMs的参数以获得去偏编码。我们的方法通过增加训练过程的难度来引导模型实现更强的去偏性能。大量实验表明,CCPA在去偏性能方面优于基线方法。同时,在GLUE基准上的实验结果表明,CCPA保留了PLMs的语言建模能力。
英文摘要:
As the representation capability of Pre-trained Language Models (PLMs) improve, there is growing concern that they will inherit social biases from unprocessed corpora. Most previous debiasing techniques used Counterfactual Data Augmentation (CDA) to balance the training corpus. However, CDA slightly modifies the original corpus, limiting the representation distance between different demographic groups to a narrow range. As a result, the debiasing model easily fits the differences between counterfactual pairs, which affects its debiasing performance with limited text resources. In this paper, we propose an adversarial training-inspired two-stage debiasing model using Contrastive learning with Continuous Prompt Augmentation (named CCPA) to mitigate social biases in PLMs' encoding. In the first stage, we propose a data augmentation method based on continuous prompt tuning to push farther the representation distance between sample pairs along different demographic groups. In the second stage, we utilize contrastive learning to pull closer the representation distance between the augmented sample pairs and then fine-tune PLMs' parameters to get debiased encoding. Our approach guides the model to achieve stronger debiasing performance by adding difficulty to the training process. Extensive experiments show that CCPA outperforms baselines in terms of debiasing performance. Meanwhile, experimental results on the GLUE benchmark show that CCPA retains the language modeling capability of PLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。