atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

Local Sparsity Enables Unsupervised LLM Safety Detection

NeurIPS 2026 · Label-efficient and robust learning › OOD and anomaly detection · approach: Deep one-class and tabular anomaly detection · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes one-class LLM safety detection using local sparsity of sparse autoencoder features (FreqMask-KM and LearnedMask-LoRA), with a sample-complexity bound and cheap per-cluster calibration from 1% labeled data.

Problem

Deployment-time LLM safety detection is usually supervised and needs labeled unsafe data; unsupervised anomaly detection on high-dimensional LLM activations is assumed to perform poorly.

Approach

Under the linear representation hypothesis, SAE feature supports are shared across local neighborhoods; clustering safe SAE features and scoring with a per-cluster local frequency mask (or per-cluster LoRA adapters) yields a one-class detector whose effective dimension is the local sparsity, plus a per-cluster affine calibration from a small labeled budget.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: BeaverTails ToxiGen HarmBench HellaSwag HH-RLHF-helpful

Benchmarks: BeaverTails ToxiGen HarmBench HellaSwag HH-RLHF-helpful

Metrics: AUROC TPR@5%FPR false positive rate on benign OOD

Baselines: Mahalanobis distance GMM One-Class SVM Deep SVDD CVDD supervised linear probe (BCE)

Builds on: linear representation hypothesis sparse autoencoders CVDD Deep SVDD LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy