Polarity-Aware Probing for Quantifying Latent Alignment in Language Models

Sabrina Sadiekh, Elena Ericheva, Chirag Agarwal
11/21/2025
cs.CLcs.AI

Official code: SadSabrina/polarity-probing (2 stars, last commit 2025-12-20).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Source code for the paper "Polarity-Aware Probing for Quantifying Latent Alignment in Language Models"

20Python, Jupyter NotebookAug 21, 202510 months ago

Similar Papers

Cite this paper

@article{sadiekh2025polarityaware,
  title  = {Polarity-Aware Probing for Quantifying Latent Alignment in Language Models},
  author = {Sabrina Sadiekh and Elena Ericheva and Chirag Agarwal},
  year   = {2025},
  eprint = {2511.21737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.21737v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.21737.svg)](https://codeofpaper.com/paper/2511.21737)

Discussion