mlsanityData to 7 Oct 2026

Training-Free Policy Violation Detection via Activation-Space Whitening in LLMs

arXiv 2512.03994 ↗First posted 3 Dec 2025cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

As organizations increasingly deploy LLMs in sensitive domains such as legal, financial, and medical settings, ensuring alignment with internal organizational policies has become a priority. Existing content moderation frameworks remain largely confined to the safety domain and lack the robustness to capture nuanced organizational policies. LLM-as-a-judge and fine-tuning approaches, though flexible, introduce significant latency and training cost. To address these limitations, we frame policy violation detection as an out-of-distribution (OOD) problem in the model's activation space. We propose a training-free method that operates directly on the LLM internal representations, leveraging prior evidence that decision-relevant information is encoded within them. Inspired by whitening techniques, we derive policy-violation scores directly from normalized representations of LLM hidden activations. Our method requires only the policy text and a small number of illustrative samples, making it lightweight and easily deployable. We extensively evaluate our method across multiple LLMs and challenging policy benchmarks. It achieves up to 86.0% F1, outperforming both fine-tuned and LLM-as-a-judge baselines while requiring substantially less computation. Our code is publicly available at: https://github.com/FujitsuResearch/LLM-policy-violation-detection

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 34 of its 61 references that are in the map. First posted on arXiv 3 Dec 2025.

Builds on

34 of 61 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  4. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  5. 2024A Survey on LLM-as-a-Judgecited by 1,384
  6. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  7. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  8. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  9. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  10. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  11. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 460
  12. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
22 more
  1. 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
  2. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
  3. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
  4. 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
  5. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
  6. 2024AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Expertscited by 126
  7. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  8. 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
  9. 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 65
  10. 2025The Widespread Adoption of Large Language Model-Assisted Writing Across Societycited by 50
  11. 2024SCANS: Mitigating the Exaggerated Safety for LLMs via Safety-Conscious Activation Steeringcited by 45
  12. 2024R2-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoningcited by 41
  13. 2025SafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signalscited by 29
  14. 2025Whitened CLIP as a Likelihood Surrogate of Images and Captionscited by 16
  15. 2025DynaGuard: A Dynamic Guardian Model With User-Defined Policiescited by 16
  16. 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Featurescited by 12
  17. 2024LLMs with Industrial Lens: Deciphering the Challenges and Prospects -- A Surveycited by 12
  18. 2024Insights and Current Gaps in Open-Source LLM Vulnerability Scanners: A Comparative Analysiscited by 9
  19. 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
  20. 2023Enhancing Neural Training via a Correlated Dynamics Modelcited by 5
  21. 2025Using LLMs for Automated Privacy Policy Analysis: Prompt Engineering, Fine-Tuning and Explainabilitycited by 4
  22. 2025JavelinGuard: Low-Cost Transformer Architectures for LLM Securitycited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.