arrow
Return

Looking through the codebook: Generative anomaly segmentation with multi-contrastive learning

delete2025-12-05
delete0
PRE
AI
H
Hyeong Rae Cho
Y
Yong Jun Lee
S
Sunho Jang
D
Dong-Sung Pae
W
Woo Jin Ahn *
M
Myo Taeg Lim *
DOI:10.1016/j.neucom.2025.132336delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Most existing semantic segmentation models are based on discriminative approaches. Such models often fail to detect out-of-distribution (OoD) objects because they primarily learn class-specific decision boundaries without explicitly modeling the underlying data distribution, which leads to overconfident misclassification of unseen objects. In contrast, generative models aim to capture the underlying data distribution, resulting in more effective anomaly detection. Recent methods still rely on discriminative segmentation networks with generative modules used only as auxiliary components, which prevents them from leveraging generative modeling for pixel-wise likelihood estimation and effective OoD separation. Among generative models, codebook-based approaches such as vector-quantized variational autoencoders (VQ-VAEs) discretize the latent space into a finite set of codevectors, enabling a fully generative formulation in which each pixel is modeled by its likelihood under the learned latent distribution. Motivated by this property, we propose a purely generative anomaly segmentation method that integrates a VQ-VAE, a weighted top- scoring strategy, and multi-contrastive learning. By treating the segmentation class-specific codevectors of VQ-VAE as in-distribution (ID) representations, we introduce a codevector-wise top‑ criterion. This criterion scores each pixel based on its top‑ nearest codevectors and their associated scores, thereby reflecting relative similarities within the same classes. Furthermore, we implement a codevector-based multi-contrastive learning strategy with specially sampled void labels. This implementation effectively structures the latent space among classes and ensures that anomalies are not aligned with ID codevectors. Extensive experiments demonstrate that the proposed method detects anomalies effectively and performs robustly in single- and cross-domain scenarios.

Journal

Neurocomputing cover
Neurocomputing
IF:
6.5
Papers:
2.5W
Citations:
6.5W

Organization

K
Korea University
Scholars:
3.6W
Papers: 3.8W
Citations: 4.4W
S
Sangmyung University
Scholars:
1.1K
Papers: 1.3K
Citations: 904
I
Inha University
Scholars:
1.1W
Papers: 1.1W
Citations: 1.1W
researcher View more organizations
Cited Papers

Cited Papers

ImageNet Large Scale Visual Recognition Challenge
err2015-04-11
err2.7W
PREAI
errRussakovsky, Olga; Deng, Jia; Su, Hao; Krause, Jonathan; Satheesh, Sanjeev; Ma, Sean; Huang, Zhiheng; Karpathy, Andrej; Khosla, Aditya; Bernstein, Michael; Berg, Alexander C.; Fei-Fei, Li
errShare
errSave
The Fishyscapes Benchmark: Measuring Blind Spots in Semantic Segmentation
err2021-09-14
err45
errOAAI
errBlum, Hermann; Sarlin, Paul-Edouard; Nieto, Juan; Siegwart, Roland; Cadena, Cesar
errShare
errSave
The PASCAL Visual Object Classes Challenge: A Retrospective
err2014-06-25
err5.0K
PREAI
errEveringham, Mark; Eslami, S. M. Ali; Van Gool, Luc; Williams, Christopher K. I.; Winn, John; Zisserman, Andrew
errShare
errSave
errShare
errSave
Generative Adversarial Networks
err2020-10-22
err1.0W
errOAAI
errGoodfellow, Ian; Pouget-Abadie, Jean; Mirza, Mehdi; Xu, Bing; Warde-Farley, David; Ozair, Sherjil; Courville, Aaron; Bengio, Yoshua
errShare
errSave
Deep learning-enhanced environment perception for autonomous driving: MDNet with CSP-DarkNet53
err2025-04-01
err0
PREAI
errGuo, Xuyao; Jiang, Feng; Chen, Quanzhen; Wang, Yuxuan; Sha, Kaiyue; Chen, Jing
errShare
errSave
Detecting Road Obstacles by Erasing Them
err2024-04-01
err0
errOAAI
errKrzysztof Lis; Sina Honari; Pascal Fua; Mathieu Salzmann
errShare
errSave
no more