蒸馏检测:通过弹药筒蒸馏揭露大语言模型中的隐蔽偏见
Distill to Detect: Exposing Stealth Biases in LLMs through Cartridge Distillation
AI总结:
提出Distill to Detect (D2D)方法,通过蒸馏模型与基座之间的分布偏移到KV缓存前缀适配器中,放大隐蔽偏见信号至可检测程度,并基于Fisher加权投影理论解释其有效性。
摘要:
部署在高风险角色中的语言模型可能潜在地偏向某些实体、品牌或观点,从而大规模引导用户决策。这种偏好偏见可能由模型供应链中的任何参与者引入,并且当模型仅在相关主题上表现出偏好,而在所有其他输入上与其未修改的基座表现一致时最为危险。最近的研究表明,这些偏见可以通过在语义无关数据上的上下文蒸馏进行转移,信号完全存在于软logit分布中,对基于文本的检查不可见。然而,防御者面临一个根本的不对称性:在不知道偏见主题的情况下,无论检查生成的文本、内部表示还是模型权重,没有任何检测方法能够可靠地揭示隐蔽的偏好偏见。在这里,我们引入了Distill to Detect (D2D),一种通过将怀疑模型与其基座之间的分布偏移蒸馏到弹药筒(一个KV缓存前缀适配器)中来揭示隐藏偏见的方法,集中主导差异并将偏见信号放大到生成的文本中。我们表明,D2D成功地将隐蔽模型的隐藏偏见放大到可以在多种偏见类型中可靠检测的程度。我们还提出了一个理论框架,通过Fisher加权投影logit分布偏移的视角解释了D2D的有效性,并得到了经验观察的支持。通过将前缀调优适配器的容量瓶颈转化为检测工具,D2D为审计部署语言模型中的隐藏行为提供了一个实用的构建模块。
英文摘要:
Language models deployed in high-stakes roles can potentially favor certain entities, brands, or viewpoints, steering user decisions at scale. Such preferential biases can be introduced by any actor in the model's supply chain and are most dangerous when the model reveals its preference only on the relevant topic while behaving identically to its unmodified base on all other inputs. Recent work has shown that these biases can transfer through context distillation on semantically unrelated data, with the signal residing entirely in the soft logit distribution and remaining invisible to text-based inspection. However, the defender faces a fundamental asymmetry: without knowing the bias topic, no detection method can reliably surface a stealth preferential bias, regardless of whether it examines generated text, internal representations, or model weights. Here we introduce Distill to Detect (D2D), a method that surfaces hidden biases by distilling the distributional shift between a suspected model and its base into a cartridge (a KV-cache prefix adapter), concentrating the dominant divergence and amplifying the bias signal into generated text. We show that D2D successfully amplifies the hidden biases of stealth models to the extent that they can be reliably detected across multiple bias types. We also propose a theoretical framework that explains the efficacy of D2D through the lens of Fisher-weighted projection of the logit distribution shift, supported by empirical observations. By turning the capacity bottleneck of prefix-tuning adapters into a detection tool, D2D provides a practical building block for auditing hidden behaviors in deployed language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。