arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.12874cs.CLcs.LGstat.ML
收藏

通过上下文注入实现文本嵌入去偏置的研究

On Debiasing Text Embeddings Through Context Injection

NATO Communications and Information Agency (NCIA)(北约通信与信息署(NCIA))

Thomas Uriot

AI总结:

本文通过评估19个嵌入模型的偏见及其对上下文注入的响应,发现高性能模型更易捕获偏见但也更善于融入上下文,并提出一种动态选择k的top k检索算法以缓解偏见导致的不良检索结果。

摘要:

当前自然语言处理(NLP)的进展使得构建利用文本数据的应用日益可行。通常,这些应用的核心依赖于通过嵌入模型将文本良好地语义表示为向量。然而,已有研究表明这些嵌入会捕获并延续文本中已存在的偏见。虽然已有少量技术被提出用于去偏置嵌入,但它们并未利用现代嵌入模型在上下文理解方面的最新进展。在本文中,我们填补了这一空白,对19个嵌入模型进行了回顾,量化了它们的偏见程度以及它们对上下文注入作为去偏置手段的响应情况。我们表明,性能更高的模型更容易捕获偏见,但也更善于融入上下文。令人惊讶的是,我们发现虽然模型能够轻松嵌入肯定性语义,却无法嵌入中性语义。最后,在一个检索任务中,我们表明嵌入中的偏见可能导致不理想的结果。我们利用这些新获得的见解,设计了一种简单的top k检索算法,其中k是动态选择的。我们证明该算法能够检索到所有相关的性别化片段和中性片段。

英文摘要:

Current advances in Natural Language Processing (NLP) have made it increasingly feasible to build applications leveraging textual data. Generally, the core of these applications rely on having a good semantic representation of text into vectors, via embedding models. However, it has been shown that these embeddings capture and perpetuate biases already present in text. While a few techniques have been proposed to debias embeddings, they do not take advantage of the recent advances in context understanding of modern embedding models. In this paper, we fill this gap by conducting a review of 19 embedding models by quantifying their biases and how well they respond to context injection as a mean of debiasing. We show that higher performing models are more prone to capturing biases, but are also better at incorporating context. Surprisingly, we find that while models can easily embed affirmative semantics, they fail at embedding neutral semantics. Finally, in a retrieval task, we show that biases in embeddings can lead to non-desirable outcomes. We use our new-found insights to design a simple algorithm for top $k$ retrieval, where $k$ is dynamically selected. We show that our algorithm is able to retrieve all relevant gendered and neutral chunks.

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

↑