Here is a draft for an X (Twitter) thread summarizing the paper "Aligned Probing: Relating Toxic Behavior and Model Internals".Tweet 1
Does safety training actually "erase" toxic knowledge from LLMs, or does it just learn to hide it? 🫣Our new paper, "Aligned Probing," reveals a surprising truth: aligned models might actually get better at understanding toxicity internally in order to suppress it. 🧵👇
https://arxiv.org/abs/2503.13390Tweet 2
🚨 The Problem:
To check if an LLM is safe, we usually classify its outputs using external tools (like Perspective API).But looking at outputs doesn't tell us about the model's internal process. Did it "forget" toxic concepts? or is it actively filtering them out?Tweet 3
🧠 Standard Probing is Flawed
Researchers use "probes" (classifiers trained on model activations) to find what a model knows.Standard probes rely on external labels (e.g., Perspective API). But if the external labeler disagrees with the model's specific safety training, the probe fails to find the relevant signals.Tweet 4
💡 The Solution: Aligned Probing
We introduce Aligned Probing.Instead of using external labels, we train probes to predict the model's own safety preferences (derived from its Reward Model or output probabilities).This aligns the probe with the model's internal "brain" and training objective.Tweet 5
📉 Key Finding 1: Toxicity isn't Unlearned
Counter-intuitively, as models become more aligned (producing safer outputs), their internal representations of toxicity become easier to decode in early and middle layers. 🤯Alignment makes toxicity more distinguishable inside the model, not less.Tweet 6
🛡️ Key Finding 2: The Internal Filter
This suggests RLHF/DPO doesn't remove toxic knowledge. Instead, it teaches the model to:Recognize toxic concepts early in the forward pass.Suppress them in the final layers.The model effectively builds its own internal "safety classifier."Tweet 7
🔍 Why Standard Probes Missed This
Standard probes looked for "Perspective API toxicity" inside the model.
Aligned probes look for "What the model thinks is toxic."It turns out, aligned models are actually very sharp at identifying toxicity—precisely so they can avoid generating it.Tweet 8
📉 The "Unlearning" Illusion
Previous studies suggesting models "unlearn" toxicity likely relied on misaligned probes. When we use Aligned Probing, we see that the toxic features are still there—and are being actively used for the suppression mechanism.Tweet 9
🚀 Impact
"Aligned Probing" offers a more accurate way to audit AI safety. It helps us verify if safety mechanisms are robust (mechanistic suppression) or just surface-level masking.It bridges the gap between behavioral safety and mechanistic interpretability.Tweet 10
📄 Read the full paper:
"Aligned Probing: Relating Toxic Behavior and Model Internals"
https://arxiv.org/abs/2503.13390By Andreas Waldis, Vagrant Gautam, Anne Lauscher, Dietrich Klakow, and Iryna Gurevych.#AI #LLM #AISafety #Interpretability #NLP #MachineLearning