基于Conceptor辅助的大语言模型去偏方法
Conceptor-Aided Debiasing of Large Language Models
AI总结:
本文提出基于conceptors软投影的两种LLM去偏方法:后处理NOT投影和CI-BERT架构,在保持GLUE性能的同时实现SoTA去偏效果,并强调精心构建偏见子空间的重要性。
摘要:
预训练大语言模型(LLMs)反映了其训练语料中固有的社会偏见。已有许多方法被提出以缓解这一问题,但这些方法往往无法有效去偏,或者会牺牲模型准确性。我们使用conceptors——一种软投影方法——来识别并移除BERT和GPT等LLMs中的偏见子空间。我们提出两种应用conceptors的方法:(1)通过conceptor的NOT运算进行后处理,实现偏见子空间投影;(2)一种新架构,即conceptor干预的BERT(CI-BERT),它在训练过程中显式地将conceptor投影纳入所有层。我们发现,conceptor后处理在GLUE基准上保持LLMs性能的同时,取得了最先进(SoTA)的去偏结果。此外,该方法在各种场景下具有鲁棒性,并能通过对现有偏见子空间执行AND运算来高效缓解交叉偏见。尽管CI-BERT的训练考虑了所有层的偏见,并且能在偏见缓解方面优于其后处理对应方法,但CI-BERT降低了语言模型的准确性。我们还展示了精心构建偏见子空间的重要性。最佳结果通过以下方式获得:从偏见词列表中移除离群值,将它们(通过OR运算)组合起来,并使用来自更干净语料的句子计算它们的嵌入。
英文摘要:
Pre-trained large language models (LLMs) reflect the inherent social biases of their training corpus. Many methods have been proposed to mitigate this issue, but they often fail to debias or they sacrifice model accuracy. We use conceptors--a soft projection method--to identify and remove the bias subspace in LLMs such as BERT and GPT. We propose two methods of applying conceptors (1) bias subspace projection by post-processing by the conceptor NOT operation; and (2) a new architecture, conceptor-intervened BERT (CI-BERT), which explicitly incorporates the conceptor projection into all layers during training. We find that conceptor post-processing achieves state-of-the-art (SoTA) debiasing results while maintaining LLMs' performance on the GLUE benchmark. Further, it is robust in various scenarios and can mitigate intersectional bias efficiently by its AND operation on the existing bias subspaces. Although CI-BERT's training takes all layers' bias into account and can beat its post-processing counterpart in bias mitigation, CI-BERT reduces the language model accuracy. We also show the importance of carefully constructing the bias subspace. The best results are obtained by removing outliers from the list of biased words, combining them (via the OR operation), and computing their embeddings using the sentences from a cleaner corpus.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。