arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.14208cs.CLcs.AIcs.CYcs.LG
收藏

LLM辅助的内容条件去偏用于公平文本嵌入

LLM-Assisted Content Conditional Debiasing for Fair Text Embedding

The University of British Columbia(不列颠哥伦比亚大学);Google Cloud(谷歌云)

Wenlong Deng, Blair Chen, Beidi Zhao, Chiyu Zhang, Xiaoxiao Li, Christos Thrampoulidis

AI总结:

该研究针对文本嵌入的偏见问题,提出内容条件等距公平性与对应去偏损失,并用LLM指令增强数据,在保持嵌入效用的同时提升公平性,还构建了新的公平评估基准。

摘要:

减轻机器学习模型中的偏见已成为自然语言处理(NLP)领域日益受关注的问题,尤其是在开发公平文本嵌入方面,这对搜索引擎等现实应用至关重要且颇具挑战性。针对这一问题,本文提出了一种学习公平文本嵌入的新方法。首先,我们定义了一种新颖的文本嵌入内容条件等距(CCED)公平性,确保敏感属性与文本嵌入之间满足内容条件独立性。基于CCED,我们提出了内容条件去偏(CCD)损失,以确保具有不同敏感属性但内容相同的文本的嵌入,与其对应中性文本的嵌入保持相同距离。此外,我们通过使用带指令的大语言模型(LLMs)将文本公平增强到不同敏感组,解决了训练数据不足的问题。我们的大量评估表明,该方法在保持嵌入效用的同时有效提升了公平性。此外,我们的增强数据集结合CCED指标,可作为评估公平性的新基准。

英文摘要:

Mitigating biases in machine learning models has become an increasing concern in Natural Language Processing (NLP), particularly in developing fair text embeddings, which are crucial yet challenging for real-world applications like search engines. In response, this paper proposes a novel method for learning fair text embeddings. First, we define a novel content-conditional equal distance (CCED) fairness for text embeddings, ensuring content-conditional independence between sensitive attributes and text embeddings. Building on CCED, we introduce a content-conditional debiasing (CCD) loss to ensure that embeddings of texts with different sensitive attributes but identical content maintain the same distance from the embedding of their corresponding neutral text. Additionally, we tackle the issue of insufficient training data by using Large Language Models (LLMs) with instructions to fairly augment texts into different sensitive groups. Our extensive evaluations show that our approach effectively enhances fairness while maintaining the utility of embeddings. Furthermore, our augmented dataset, combined with the CCED metric, serves as an new benchmark for evaluating fairness.

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

↑