Anomalies by Synthesis: Anomaly Detection using Generative Diffusion Models for Off-Road Navigation

Siddharth Ancha, Sunshine Jiang, Travis Manderson, Laura Brandt, Yilun Du +2 more
5/28/2025
cs.ROcs.CVcs.LG

No official code found. Best implementation: siddancha/anomalies-by-diffusion-synthesis (7 stars, last commit 2025-06-18).

Abstract

In order to navigate safely and reliably in off-road and unstructured environments, robots must detect anomalies that are out-of-distribution (OOD) with respect to the training data. We present an analysis-by-synthesis approach for pixel-wise anomaly detection without making any assumptions about the nature of OOD data. Given an input image, we use a generative diffusion model to synthesize an edited image that removes anomalies while keeping the remaining image unchanged. Then, we formulate anomaly detection as analyzing which image segments were modified by the diffusion model. We propose a novel inference approach for guided diffusion by analyzing the ideal guidance gradient and deriving a principled approximation that bootstraps the diffusion model to predict guidance gradients. Our editing technique is purely test-time that can be integrated into existing workflows without the need for retraining or fine-tuning. Finally, we use a combination of vision-language foundation models to compare pixels in a learned feature space and detect semantically meaningful edits, enabling accurate anomaly detection for off-road navigation. Project website: https://siddancha.github.io/anomalies-by-diffusion-synthesis/

View on arXivView PDF

Code Implementations(1)

[Official code for ICRA 2025 paper] Anomalies-by-synthesis: Anomaly Detection using Generative Diffusion Models for Off-Road Navigation

71HTML, ShellSep 15, 20241 years ago

Similar Papers

Cite this paper

@article{ancha2025anomalies,
  title  = {Anomalies by Synthesis: Anomaly Detection using Generative Diffusion Models for Off-Road Navigation},
  author = {Siddharth Ancha and Sunshine Jiang and Travis Manderson and Laura Brandt and Yilun Du and Philip R. Osteen and Nicholas Roy},
  year   = {2025},
  eprint = {2505.22805},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.22805v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.22805.svg)](https://codeofpaper.com/paper/2505.22805)

Discussion