arXiv AI

Sparse Autoencoders for Interpretable Out-of-Distribution Detection

arXiv:2607. 12094v1 Announce Type: cross Abstract: Reliable detection of out-of-distribution (OOD) samples is crucial for the safe deployment of machine learning models.

arXiv Machine Learning
Nov 11

DUO: Dual Readouts of Diffusion Models for OOD Detection

The paper introduces DUO, a dual-readout method for out-of-distribution detection in diffusion models that combines reconstruction error with a new sensitivity spectrum of intermediate denoising features. It argues that reconstruction error alone can be unreliable because OOD inputs may be reconstructed as well as or better than in-distribution inputs. DUO is fully unsupervised, training‑free, and reportedly improves average AUROC by about 6 percentage points over leading baselines while reducing inference cost and achieving state‑of‑the‑art performance on near‑OOD and high‑resolution benchmarks.

By Alireza Javid, Shirin Shoushtari, Nuria Gonz\'alez Prelcic
arXiv Computer Vision
Nov 6

Subspace Learning with Outlier Exposure for Out-of-Distribution Detection

The paper introduces RecOE, an Outlier Exposure-based framework that learns feature subspaces from in-distribution data and auxiliary outliers to improve out-of-distribution detection. By minimizing reconstruction errors within these subspaces and applying sample-level and orthogonality regularizers, RecOE captures dominant variations and reduces subspace overlap, enabling a reconstruction-error difference to serve as the OoD detection score. Experiments demonstrate RecOE’s superior performance on multiple benchmarks with minimal computational overhead.

By Hongxu Shen, Kun Fang, Jiahui Zheng, Jian Sun, Qinghua Tao
arXiv Machine Learning
Sep 11

Optimizing Three Critical Factors for Practical and Effective OOD Detection Fine-Tuning

The paper introduces a framework for out-of-distribution (OOD) detection that addresses the trade‑off between detection performance and classification accuracy caused by fine‑tuning with auxiliary outlier data. It optimizes three factors—model reminder, data sampling, and representation learning—by proposing Self‑Knowledge Distillation to preserve accuracy, Semi‑hard Outlier Sampling to enhance detection with minimal data, and Outlier‑aware Supervised Contrastive Learning to improve ID‑OOD separability. The combined approach yields cumulative gains, outperforming existing methods on diverse benchmarks, especially in long‑tailed scenarios, and offers a robust baseline for real‑world OOD detection.

By Hyunjun Choi, JaeHo Chung, Hawook Jeong
arXiv AI
Sep 10

SAEs Can Improve Unlearning: Dynamic Sparse Autoencoder Guardrails for Precision Unlearning in LLMs

The paper introduces Dynamic DAE Guardrails (DSG), a method that uses Dynamic Sparse Autoencoders to perform precision unlearning in large language models. DSG leverages principled feature selection and a dynamic classifier to target activation-based unlearning, outperforming existing gradient‑based methods in terms of computational efficiency, stability, sequential unlearning, resistance to relearning attacks, data efficiency, and interpretability.

By Aashiq Muhamed, Jacopo Bonato, Mona Diab, Virginia Smith
arXiv AI
Oct 31

MahaVar: OOD Detection via Class-wise Mahalanobis Distance Variance under Neural Collapse

MahaVar is a post‑hoc out‑of‑distribution detector that augments the Mahalanobis distance with a class‑wise distance variance term. The authors observe that in‑distribution samples exhibit a sharp minimum in class‑wise Mahalanobis distances, leading to high variance across classes, whereas OOD samples show a flatter structure and lower variance. Theoretical analysis based on Neural Collapse supports this observation, and empirical results on CIFAR‑100 and ImageNet demonstrate state‑of‑the‑art performance compared to existing Mahalanobis‑based methods.

By Donghwan Kim, Hyunsoo Yoon