arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.05756cs.CL
收藏

通过KL优化微调控制多轮LLM生成的分布偏倚

Controlling Distributional Bias in Multi-Round LLM Generation via KL-Optimized Fine-Tuning

University of Melbourne(墨尔本大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Oracle(甲骨文公司)

Yanbei Jiang, Amr Keleg, Ryandito Diandaru, Jey Han Lau, Lea Frermann, Biaoyan Fang, Fajri Koto

AI总结:

本文提出通过KL优化微调结合语义对齐的方法,解决多轮LLM生成中分布控制问题,实验显示其在属性生成任务中表现优异。

摘要:

尽管现实世界本质上是随机的,大型语言模型(LLMs)通常在固定地面真实值下进行单轮推理评估。本文从分布对齐的角度出发,评估LLM在多次提示下能否生成符合目标分布的输出,如反映现实统计数据或均匀分布。我们利用职业情境中的性别、种族和情感属性来制定分布对齐。实证分析表明,现成的LLMs和标准对齐技术,包括提示工程和直接偏好优化,无法可靠地控制输出分布。为此,我们提出了一种新的微调框架,结合引导标记校准与语义对齐。我们引入了一个混合目标函数,结合Kullback-Leibler散度来锚定潜在引导标记的概率质量,以及Kahneman-Tversky优化来绑定这些标记到语义一致的响应。在六个多样化的数据集上进行的实验表明,我们的方法显著优于基线,实现了属性生成任务中的精确分布控制。

英文摘要:

While the real world is inherently stochastic, Large Language Models (LLMs) are predominantly evaluated on single-round inference against fixed ground truths. In this work, we shift the lens to distribution alignment: assessing whether LLMs, when prompted repeatedly, can generate outputs that adhere to a desired target distribution, e.g. reflecting real-world statistics or a uniform distribution. We formulate distribution alignment using the attributes of gender, race, and sentiment within occupational contexts. Our empirical analysis reveals that off-the-shelf LLMs and standard alignment techniques, including prompt engineering and Direct Preference Optimization, fail to reliably control output distributions. To bridge this gap, we propose a novel fine-tuning framework that couples Steering Token Calibration with Semantic Alignment. We introduce a hybrid objective function combining Kullback-Leibler divergence to anchor the probability mass of latent steering tokens and Kahneman-Tversky Optimization to bind these tokens to semantically consistent responses. Experiments across six diverse datasets demonstrate that our approach significantly outperforms baselines, achieving precise distributional control in attribute generation tasks.

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

↑