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

考虑极性的人探针用于量化语言模型中的潜在对齐

Polarity-Aware Probing for Quantifying Latent Alignment in Language Models

University of Virginia(弗吉尼亚大学)

Sabrina Sadiekh, Elena Ericheva, Chirag Agarwal

AI总结:

提出考虑极性的CCS方法,用于量化语言模型潜在对齐的鲁棒性,揭示模型内部表示的一致性差异。

摘要:

在无监督探针方面如对比一致搜索(CCS)的进步,揭示了在不依赖标记输出的情况下潜在信念,提出了这些方法是否能够可靠地评估模型对齐的问题。我们通过检查CCS对有害和安全陈述的敏感性,并引入了考虑极性的CCS(PA-CCS),一种评估模型内部表示在极性反转下是否保持一致的方法。我们提出了两个面向对齐的指标,极性一致性与矛盾指数,以量化模型潜在知识的语义鲁棒性。为了验证PA-CCS,我们精心整理了两个主要数据集和一个对照数据集,包含使用不同方法(同时和对抗性陈述)构建的匹配有害-安全句子对。我们将PA-CCS应用于16个语言模型。我们的结果表明,PA-CCS识别了模型在编码潜在有害知识时的架构和层特定差异。值得注意的是,将否定标记替换为无意义标记会降低对齐良好内部表示的模型的PA-CCS分数,而缺乏稳健内部校准的模型则不会表现出这种退化。我们的发现突显了无监督探测在对齐评估中的潜力,并强调了将结构鲁棒性检查纳入可解释性基准中的必要性。代码和数据集可在:https://github.com/SadSabrina/polarity-probing。警告:本文可能包含潜在敏感、有害和冒犯性内容。

英文摘要:

Advances in unsupervised probes such as Contrast-Consistent Search (CCS), which reveal latent beliefs without relying on token outputs, raise the question of whether these methods can reliably assess model alignment. We investigate this by examining the sensitivity of CCS to harmful vs. safe statements and by introducing Polarity-Aware CCS (PA-CCS), a method for evaluating whether a model's internal representations remain consistent under polarity inversion. We propose two alignment-oriented metrics, Polar-Consistency and the Contradiction Index, to quantify the semantic robustness of a model's latent knowledge. To validate PA-CCS, we curate two main datasets and one control dataset containing matched harmful-safe sentence pairs constructed using different methodologies (concurrent and antagonistic statements). We apply PA-CCS to 16 language models. Our results show that PA-CCS identifies both architectural and layer-specific differences in the encoding of latent harmful knowledge. Notably, replacing the negation token with a meaningless marker degrades PA-CCS scores for models with well-aligned internal representations, while models lacking robust internal calibration do not exhibit this degradation. Our findings highlight the potential of unsupervised probing for alignment evaluation and emphasize the need to incorporate structural robustness checks into interpretability benchmarks. Code and datasets are available at: https://github.com/SadSabrina/polarity-probing. WARNING: This paper contains potentially sensitive, harmful, and offensive content.

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

↑