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

基于ChatGPT的数据增强用于改进大语言模型的参数高效去偏

ChatGPT Based Data Augmentation for Improved Parameter-Efficient Debiasing of LLMs

California Institute of Technology(加州理工学院);Carleton College(卡尔顿学院);University of Cambridge(剑桥大学)

Pengrui Han, Rafal Kocielnik, Adhithya Saravanan, Roy Jiang, Or Sharir, Anima Anandkumar

AI总结:

针对大语言模型存在社会偏见且去偏受成本、数据等限制的问题,提出基于ChatGPT的定向与通用提示数据增强策略,结合适配器调优实现参数高效去偏,性能优于现有数据集且能保留模型知识、具备跨类别泛化性。

摘要:

大语言模型(LLMs)虽然功能强大,但存在有害的社会偏见。由于计算成本、数据限制以及多任务语言能力可能下降,去偏工作往往颇具挑战。本研究提出一种利用ChatGPT生成合成训练数据的新方法,旨在增强LLMs的去偏效果。我们提出两种策略:定向提示(Targeted Prompting),可针对已知偏见实现有效去偏,但需要预先明确所涉及的偏见;通用提示(General Prompting),效果稍逊,但可对多种类别的偏见实现去偏。我们采用适配器调优的资源高效型LLM去偏方法,将合成数据与现有去偏数据集的效果进行了对比。结果表明:(1)ChatGPT能够高效生成高质量训练数据,用于其他LLMs的去偏;(2)我们的方法生成的数据在去偏性能上优于现有数据集,同时还能保留预训练LLM的内部知识;(3)合成数据具有跨类别泛化性,可有效缓解包括交叉偏见在内的多种偏见。这些发现凸显了合成数据在以最低再训练成本提升LLMs公平性方面的潜力。

英文摘要:

Large Language models (LLMs), while powerful, exhibit harmful social biases. Debiasing is often challenging due to computational costs, data constraints, and potential degradation of multi-task language capabilities. This work introduces a novel approach utilizing ChatGPT to generate synthetic training data, aiming to enhance the debiasing of LLMs. We propose two strategies: Targeted Prompting, which provides effective debiasing for known biases but necessitates prior specification of bias in question; and General Prompting, which, while slightly less effective, offers debiasing across various categories. We leverage resource-efficient LLM debiasing using adapter tuning and compare the effectiveness of our synthetic data to existing debiasing datasets. Our results reveal that: (1) ChatGPT can efficiently produce high-quality training data for debiasing other LLMs; (2) data produced via our approach surpasses existing datasets in debiasing performance while also preserving internal knowledge of a pre-trained LLM; and (3) synthetic data exhibits generalizability across categories, effectively mitigating various biases, including intersectional ones. These findings underscore the potential of synthetic data in advancing the fairness of LLMs with minimal retraining cost.

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

↑