不修改模型,测试时用视觉属性引导消除多模态模型偏见
Debias your Large Multi-Modal Model at Test-Time via Non-Contrastive Visual Attribute Steering
- 通过对比有偏与中性输入激活值生成引导向量,干预生成过程
- 单步梯度扰动即可实现去偏,无需额外数据,适合资源有限场景
- 去偏后模型保持原有性能,且文本流畅自然,适合实际部署
大型多模态模型(LMMs)虽能处理图文对话,但其输出易受训练数据中社会偏见影响,对不同人群图像产生差异性回应。本文提出一种无需训练的测试时去偏框架,通过构建减少对受保护属性依赖的引导向量,在生成文本时干预模型表征。该框架包含两种互补方法:一是基于数据集的对比方法,利用有偏与中性输入的激活差异生成引导向量;二是面向低资源场景的优化方法,仅需一步梯度扰动即可构造引导向量,无需额外数据。实验表明,该方法有效降低模型对受保护属性的关联倾向,同时保持语义连贯性和流畅性。更重要的是,去偏后的模型在下游任务上表现与原始模型相当,证明去偏可实现而不牺牲性能。
原文摘要 · Abstract (English)
Large Multi-Modal Models (LMMs) have demonstrated impressive capabilities as general-purpose chatbots able to engage in conversations about visual inputs. However, their responses are influenced by societal biases present in their training datasets, leading to undesirable differences in how the model responds when presented with images depicting people of different demographics. In this work, we propose a training-free debiasing framework for LMMs that intervenes on the model's representations during text generation by constructing a steering vector that reduces reference on protected attributes. Our framework introduces two complementary methods: (1) a dataset-based approach that constructs a steering vector by contrasting model activations on biased and neutral inputs, and (2) a novel optimization-based approach designed for low-resource settings, which constructs the steering vector using a single step of gradient-based perturbation without requiring additional data. Our experiments show that these interventions effectively reduce the propensity of LMMs to generate text related to protected attributes while maintaining sentiment and fluency. Furthermore, we demonstrate that debiased LMMs achieve comparable accuracy to their unmodified counterparts on downstream tasks, indicating that bias mitigation can be achieved without sacrificing model performance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。