[论文解读] PoliTune: Analyzing the Impact of Data Selection and Fine-Tuning on Economic and Political Biases in Large Language Models
本文提出了 PoliTune 框架,该框架利用参数高效微调(PEFT)技术,通过精心筛选并带有指令标注的数据集,系统性地将经济与政治意识形态嵌入大型语言模型(LLMs)中。研究证明,使用特定意识形态的数据进行微调可有效使 LLM 输出向左倾或右倾的政治立场偏移,该结论通过 GPT-4 评分和 Political Compass 评估得到验证,且仅需极少的参数更新。
In an era where language models are increasingly integrated into decision-making and communication, understanding the biases within Large Language Models (LLMs) becomes imperative, especially when these models are applied in the economic and political domains. This work investigates the impact of fine-tuning and data selection on economic and political biases in LLMs. In this context, we introduce PoliTune, a fine-tuning methodology to explore the systematic aspects of aligning LLMs with specific ideologies, mindful of the biases that arise from their extensive training on diverse datasets. Distinct from earlier efforts that either focus on smaller models or entail resource-intensive pre-training, PoliTune employs Parameter-Efficient Fine-Tuning (PEFT) techniques, which allow for the alignment of LLMs with targeted ideologies by modifying a small subset of parameters. We introduce a systematic method for using the open-source LLM Llama3-70B for dataset selection, annotation, and synthesizing a preferences dataset for Direct Preference Optimization (DPO) to align the model with a given political ideology. We assess the effectiveness of PoliTune through both quantitative and qualitative evaluations of aligning open-source LLMs (Llama3-8B and Mistral-7B) to different ideologies. Our work analyzes the potential of embedding specific biases into LLMs and contributes to the dialogue on the ethical application of AI, highlighting the importance of deploying AI in a manner that aligns with societal values.
研究动机与目标
- 研究数据选择与微调如何影响大型语言模型(LLMs)中的经济与政治偏见。
- 解决现有方法在将大型模型高效、可扩展地偏向特定意识形态方面的不足,尤其与以往针对小型模型的研究相比。
- 证明参数高效微调(PEFT)可在无需完整微调的情况下实现有效的意识形态对齐,从而降低计算成本。
- 开发一套系统化的数据集筛选、指令标注与意识形态偏见评估的端到端流程。
- 评估在政策制定与决策支持系统中部署具有意识形态偏见的 LLM 所带来的伦理与社会影响。
提出的方法
- 采用参数高效微调(PEFT)技术,如 LoRA,仅在微调过程中更新模型参数的一小部分。
- 从政治与经济话语中筛选并标注大规模非结构化数据集,以反映特定意识形态(左翼、右翼)。
- 构建指令微调数据集,通过明确的提示引导模型输出朝向目标政治与经济观点。
- 使用 GPT-4 在 0–20 分制(0 = 左倾,10 = 中立,20 = 右倾)对模型输出进行评分,以量化训练过程中的政治偏见。
- 应用 Political Compass 测试,将模型输出映射至两个维度(经济:左/右,社会:威权/自由主义),并追踪意识形态演变过程。
- 在特定意识形态的指令数据集上微调开源 LLM,并通过定量评分与定性分析相结合的方式评估对齐效果。
实验结果
研究问题
- RQ1在多大程度上可以通过微调使 LLM 有效偏向特定政治与经济意识形态?
- RQ2与非结构化数据微调相比,指令微调在实现目标意识形态对齐方面表现如何?
- RQ3PEFT 技术是否能以极少的参数更新成功嵌入大型语言模型中的意识形态偏见?
- RQ4模型输出在训练过程中如何随时间演变其政治取向?该变化通过 GPT-4 评分与 Political Compass 框架得以衡量。
- RQ5在政策制定等高风险领域中部署具有故意嵌入的政治与经济偏见的 LLM,其伦理影响是什么?
主要发现
- 使用特定意识形态的指令微调数据集进行微调后,模型输出出现可测量的偏移:在 0–20 的政治偏见评分尺度上,得分从 0–3(左倾)上升至接近 20(右倾)。
- 在非结构化数据集上微调的模型表现出极小的意识形态偏移,表明指令微调对于实现有效偏见对齐至关重要。
- Political Compass 评估证实,使用右倾数据训练的模型向右翼威权立场演变,而左倾数据则引导模型趋向左翼意识形态。
- PEFT 仅通过更新极小部分参数,即实现了有效的意识形态对齐,证明其在计算效率与可扩展性方面优于全参数微调。
- GPT-4 评分与 Political Compass 映射结果一致,提供了意识形态漂移的定量证据,验证了该框架的有效性。
- 本研究证明,通过精心筛选的数据与指令微调,可系统性地使 LLM 偏向特定意识形态,这引发了关于 AI 在治理与政策中应用的深刻伦理关切。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。