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

通过去学习缓解语言模型中的社会偏见

Mitigating Social Biases in Language Models through Unlearning

Vector Institute(向量研究所);Scotia Bank(加拿大丰业银行);Ernst & Young(安永会计师事务所);Queen’s University(女王大学)

Omkar Dige, Diljot Singh, Tsz Fung Yau, Qixuan Zhang, Borna Bolandraftar, Xiaodan Zhu, Faiza Khan Khattak

AI总结:

针对语言模型社会偏见问题,探索分区对比梯度去学习与基于任务向量的否定两种去学习方法,验证后者去偏见效果更优且模型性能退化小,可低计算成本缓解预训练/微调模型的偏见。

摘要:

随着语言模型(LM)的广泛部署,缓解其偏见问题已成为一项关键课题。现有众多方法围绕数据预处理与语言模型微调展开,这类任务往往既耗时又计算成本高昂。因此,机器学习去学习技术因能以更低的计算成本让已有的预训练或微调模型遗忘不良行为,正受到越来越多的关注。本研究探索了两种去学习方法以降低LLaMA-2、OPT等前沿开源语言模型中的社会偏见:一是应用于解码器模型的分区对比梯度去学习(PCGU),二是基于任务向量的否定法;同时针对大模型实现了分布式PCGU。经定量与定性分析的实证验证,基于任务向量的否定法在去偏见效果上优于PCGU,且模型性能与困惑度的退化程度极低。在LLaMA-2 7B模型上,该方法将偏见得分降低了11.8%。

英文摘要:

Mitigating bias in language models (LMs) has become a critical problem due to the widespread deployment of LMs. Numerous approaches revolve around data pre-processing and fine-tuning of language models, tasks that can be both time-consuming and computationally demanding. Consequently, there is a growing interest in machine unlearning techniques given their capacity to induce the forgetting of undesired behaviors of the existing pre-trained or fine-tuned models with lower computational cost. In this work, we explore two unlearning methods, (1) Partitioned Contrastive Gradient Unlearning (PCGU) applied on decoder models and (2) Negation via Task Vector, to reduce social biases in state-of-the-art and open-source LMs such as LLaMA-2 and OPT. We also implement distributed PCGU for large models. It is empirically shown, through quantitative and qualitative analyses, that negation via Task Vector method outperforms PCGU in debiasing with minimum deterioration in performance and perplexity of the models. On LLaMA-27B, negation via Task Vector reduces the bias score by 11.8%

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

↑