GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion Models
Abstract
Lay Summary
Modern AI systems can make confident mistakes when they receive inputs that are different from the data they were designed for. This paper proposes a way to detect such unusual inputs using diffusion models. The key idea is to check whether the model behaves consistently when an image is transformed, for example by flipping, rotating, or shifting it. For normal inputs, the model's internal predictions should transform in a consistent way; for unusual inputs, this consistency can break. Our method, GEPC, measures this breaking of consistency without retraining the model. It produces both a numerical anomaly score and visual maps showing where the inconsistency appears in the image. We evaluate the method on image benchmarks and on radar imagery, where the maps can highlight ships or wakes in cluttered scenes.