FairPy:大型语言模型中预测偏差评估及其缓解的工具包
FairPy: A Toolkit for Evaluation of Prediction Biases and their Mitigation in Large Language Models
AI总结:
针对BERT、GPT-2等大型预训练语言模型(LLMs)存在的token预测偏差问题,本文综述相关量化、识别与缓解技术,并提出模块化可扩展工具包Fairpy,支持现有去偏算法实现,助力模型偏差评估。
摘要:
近期研究表明,BERT和GPT-2等大型预训练语言模型(LLMs)在 token 预测中存在偏差,这些偏差通常继承自其训练语料库中的数据分布。对此,已有多种数学框架被提出,用于量化、识别和缓解有偏差 token 预测的可能性。本文针对BERT、GPT-2等广泛使用的LLMs,对这类技术进行了全面综述。此外,我们还介绍了Fairpy——一个模块化且可扩展的工具包,它提供即插即用接口以集成这些数学工具,使用户能够评估预训练和自定义语言模型。Fairpy支持现有去偏算法的实现,该工具包是开源的,可在https://github.com/HrishikeshVish/Fairpy获取。
英文摘要:
Recent studies have demonstrated that large pretrained language models (LLMs) such as BERT and GPT-2 exhibit biases in token prediction, often inherited from the data distributions present in their training corpora. In response, a number of mathematical frameworks have been proposed to quantify, identify, and mitigate these the likelihood of biased token predictions. In this paper, we present a comprehensive survey of such techniques tailored towards widely used LLMs such as BERT, GPT-2, etc. We additionally introduce Fairpy, a modular and extensible toolkit that provides plug-and-play interfaces for integrating these mathematical tools, enabling users to evaluate both pretrained and custom language models. Fairpy supports the implementation of existing debiasing algorithms. The toolkit is open-source and publicly available at: \href{https://github.com/HrishikeshVish/Fairpy}{https://github.com/HrishikeshVish/Fairpy}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。