Skip to content

Training-Free LLM Policy Violation Detection Based on Activation Space WhiteningTraining-Free Policy Violation Detection via Activation-Space Whitening in LLMs

arXiv· arXiv:2512.03994· Oren Rachmil, Avishag Shapira, Roy Betser, Omer Hofman, Itay Gershon, Asaf Shabtai, Yuval Elovici, Roman Vainshtein·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

In an arXiv paper, the researchers propose a training-free LLM policy violation detection method that achieves up to 86.0% F1 on multiple policy benchmarks. The method models violation detection as an out-of-distribution (OOD) problem in the model's activation space, draws on whitening techniques to directly derive policy violation scores from normalized representations of LLM hidden activations, and can be deployed with only policy text and a small number of example samples. The authors state that evaluations on multiple LLMs and policy benchmarks show that the method surpasses fine-tuning and LLM-as-a-judge baselines while requiring significantly less computation. The research targets organizations' internal policy compliance needs in sensitive domains such as legal, financial, and medical, and points out that existing content moderation frameworks are mostly limited to the safety domain. The code is open-sourced at github.com/FujitsuResearch/LLM-policy-violation-detection.

Read originalarxiv.org