arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.16672cs.AI
收藏

内在的拉锯战:缓解大型语言模型中的公平性与隐私冲突

The Tug of War Within: Mitigating the Fairness-Privacy Conflicts in Large Language Models

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Chen Qian, Dongrui Liu, Jie Zhang, Yong Liu, Jing Shao

AI总结:

本文发现LLM中公平性与隐私意识存在权衡现象,并提出免训练方法SPIN抑制二者耦合神经元,从而在不损害通用能力的同时显著提升公平性和隐私意识。

摘要:

确保大型语言模型(LLMs)具备公平性和隐私意识至关重要。有趣的是,我们发现了一种反直觉的权衡现象:通过监督微调(SFT)方法增强LLM的隐私意识,会在数千个样本上显著降低其公平意识。为解决这一问题,受信息论启发,我们提出了一种免训练方法,用于抑制隐私与公平耦合神经元(SPIN),该方法在理论和实验上都降低了公平意识与隐私意识之间的互信息。大量实验结果表明,SPIN消除了权衡现象,并在不损害通用能力的情况下同时显著提升LLM的公平性和隐私意识,例如将Qwen-2-7B-Instruct的公平意识提升12.2%,隐私意识提升14.0%。更关键的是,在标注数据有限甚至仅有恶意微调数据可用的情况下,SPIN仍保持稳健有效,而SFT方法在此类场景下可能无法正常发挥作用。此外,我们表明SPIN可以推广到其他潜在的权衡维度。我们希望本研究为同时解决LLM中的公平性和隐私问题提供有价值的见解,并可集成到综合框架中,以开发更具伦理性和负责任的人工智能系统。我们的代码可在https://github.com/ChnQ/SPIN获取。

英文摘要:

Ensuring awareness of fairness and privacy in Large Language Models (LLMs) is critical. Interestingly, we discover a counter-intuitive trade-off phenomenon that enhancing an LLM's privacy awareness through Supervised Fine-Tuning (SFT) methods significantly decreases its fairness awareness with thousands of samples. To address this issue, inspired by the information theory, we introduce a training-free method to \textbf{S}uppress the \textbf{P}rivacy and fa\textbf{I}rness coupled \textbf{N}eurons (\textbf{SPIN}), which theoretically and empirically decrease the mutual information between fairness and privacy awareness. Extensive experimental results demonstrate that SPIN eliminates the trade-off phenomenon and significantly improves LLMs' fairness and privacy awareness simultaneously without compromising general capabilities, \eg improving Qwen-2-7B-Instruct's fairness awareness by 12.2\% and privacy awareness by 14.0\%. More crucially, SPIN remains robust and effective with limited annotated data or even when only malicious fine-tuning data is available, whereas SFT methods may fail to perform properly in such scenarios. Furthermore, we show that SPIN could generalize to other potential trade-off dimensions. We hope this study provides valuable insights into concurrently addressing fairness and privacy concerns in LLMs and can be integrated into comprehensive frameworks to develop more ethical and responsible AI systems. Our code is available at https://github.com/ChnQ/SPIN.

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

↑