← Latest papers
🤖 machine learning

Geometry-Lite: Interpretable Safety Probing via Layer-Wise Margin Geometry

This paper introduces Geometry-Lite, an interpretable probe that decomposes safety signals across transformer layers to reveal that prompt-level safety detection relies primarily on persistent layer-wise margin geometry and boundary positioning rather than layer-to-layer motion signals.

Original authors: Woo Seob Sim, Yu Rang Park

Published 2026-05-21
📖 4 min read☕ Coffee break read

Original authors: Woo Seob Sim, Yu Rang Park

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a Large Language Model (LLM) as a massive, multi-story factory. When you give it a prompt (a question or instruction), the "idea" of that prompt travels up through the floors (layers) of the factory. On each floor, workers process the idea, refining it before passing it to the next level.

The goal of this paper is to figure out how to spot a "bad" or "unsafe" prompt (like a request to build a bomb) before the factory finishes its work and generates a response.

The Old Way: Taking a Single Snapshot

Previously, safety detectives tried to catch bad prompts by taking a single photo of the idea on just one specific floor (usually the middle or the very top). They would look at that photo and say, "This looks dangerous."

  • The Problem: Sometimes, a bad idea looks innocent on one floor but reveals its true nature on another. Relying on just one snapshot misses the full story.

The New Tool: Geometry-Lite

The authors introduce a new tool called Geometry-Lite. Instead of just looking at one floor, this tool takes a "tour" of the entire factory, checking the idea's position on every single floor.

However, instead of just recording raw data, Geometry-Lite translates the idea's position into three simple, easy-to-understand measurements (margins) for every floor:

  1. The Centroid Check: How close is this idea to the "average safe idea" vs. the "average bad idea"?
  2. The Neighborhood Check: Who are the idea's closest neighbors? Is it hanging out with safe ideas or bad ones?
  3. The Line Check: Is the idea sitting on the "safe" side or the "unsafe" side of a drawn line?

The Big Discovery: It's About Staying Put, Not Moving

The most surprising finding of the paper is about how the idea moves through the factory.

  • The Myth: Many people thought safety detection worked like a rollercoaster. They believed the idea would start safe, then suddenly "drift" or "slide" into the danger zone as it moved up the floors. They thought the movement itself was the warning sign.
  • The Reality: The paper shows that safety detection is actually more like a lighthouse.
    • If a prompt is unsafe, it doesn't necessarily "drift" into danger. Instead, it starts on the dangerous side of the line and stays there all the way to the top.
    • The most important signal isn't the change in position (the drift); it's the persistence of the position. The fact that the idea remains on the "unsafe" side of the boundary for almost the entire journey is what tells the system, "This is bad."

The "Drift" is Just a Tiny Correction

The paper found that looking at how much the idea moves between floors (the "drift") adds very little value to the overall detection. It's like checking if a car is speeding up or slowing down when you just want to know if it's in the right lane.

  • Exception: In very rare, tricky cases where the system is being extra cautious (trying to avoid false alarms), looking at the "drift" can sometimes help catch a few extra bad prompts that were almost missed. But for the most part, it's not the main hero.

The "Hard" Test: When the Rules Change

The researchers also tested what happens when the factory faces a completely new type of bad prompt it hasn't seen before (a "benchmark shift").

  • The Flexible Line: The "Line Check" (the supervised boundary) is very sharp and accurate when the prompts look like the training data. But when the prompts change, this line gets blurry and less reliable.
  • The Steady Center: The "Centroid Check" (looking at the average safe vs. bad ideas) is less sharp on normal days, but it stays steady and reliable even when the prompts change. It's like a compass that doesn't spin wildly when the weather changes.

Summary

Geometry-Lite is a smart, compact tool that watches a prompt travel through every layer of an AI model. It discovered that the best way to spot a bad prompt isn't by watching it "slide" into danger, but by noticing that it stays on the dangerous side of the line from start to finish. While looking at movement helps in tiny, specific edge cases, the steady position of the idea is the true key to safety.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →