Learning Topology-Aware Representations via Test-Time Adaptation for Anomaly Segmentation
Not on the map. Why?
Abstract (arXiv)
Test-time adaptation (TTA) has emerged as a promising paradigm for mitigating distribution shifts in deep models. However, existing TTA approaches for anomaly segmentation remain limited by their reliance on pixel-level heuristics, such as confidence thresholding or entropy minimisation, which fail to preserve structural consistency under noise and texture variation. Moreover, they typically treat anomaly maps as flat intensity fields, ignoring the higher-order spatial relationships that characterise complex defect geometries. We introduce TopoTTA (Topological Test-Time Adaptation), a novel framework that integrates persistent homology, a tool from topological data analysis, into the TTA pipeline to enforce geometric and structural coherence during adaptation. By applying multi-level cubical complex filtration to anomaly score maps, TopoTTA derives robust topological pseudo-labels that guide a lightweight test-time classifier, enhancing segmentation quality without retraining the backbone model. The approach avoids reliance on method-specific raw-score thresholding for mask binarisation, preserves connectivity, and generalises across both 2D and 3D modalities. Extensive experiments across six standard benchmarks (MVTec AD, VisA, Real-IAD, MVTec 3D-AD, AnomalyShapeNet, and MVTec LOCO) demonstrate an average 15% F1 improvement over state-of-the-art unsupervised anomaly detection and segmentation methods, with the largest gains on anomalies exhibiting complex geometric or structural variations. These findings suggest that integrating topological reasoning into test-time adaptation provides a principled route to structure-aware generalisation, bridging the gap between geometric learning and robust adaptation.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 59 of its 98 references that are in the map. First posted on arXiv 26 Jun 2026.
Builds on
59 of 98 references.
References · 59
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2020Point Transformercited by 1,470
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 469
- 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
38 more
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 321
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
- 2021The MVTec 3D-AD Dataset for Unsupervised 3D Anomaly Detection and Localizationcited by 178
- 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 154
- 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 139
- 2024Real-IAD: A Real-World Multi-View Dataset for Benchmarking Versatile Industrial Anomaly Detectioncited by 139
- 2022Asymmetric Student-Teacher Networks for Industrial Anomaly Detectioncited by 117
- 2024MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detectioncited by 113
- 2023AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Modelcited by 111
- 2022Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detectioncited by 104
- 2021Self-Supervised Aggregation of Diverse Experts for Test-Agnostic Long-Tailed Recognitioncited by 95
- 2024Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detectioncited by 93
- 2021Inpainting Transformer for Anomaly Detectioncited by 91
- 2023PyramidFlow: High-Resolution Defect Contrastive Localization using Pyramid Normalizing Flowcited by 74
- 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
- 2024A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospectcited by 69
- 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 68
- 2023Towards Scalable 3D Anomaly Detection and Localization: A Benchmark via 3D Anomaly Synthesis and A Self-Supervised Learning Networkcited by 67
- 2021SITA: Single Image Test-time Adaptationcited by 59
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detectioncited by 43
- 2023Multimodal Industrial Anomaly Detection by Crossmodal Feature Mappingcited by 42
- 2024GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detectioncited by 42
- 2023Topological Deep Learning: A Review of an Emerging Paradigmcited by 34
- 2024PO3AD: Predicting Point Offsets toward Better 3D Point Cloud Anomaly Detectioncited by 30
- 2024Hierarchical Gaussian Mixture Normalizing Flow Modeling for Unified Anomaly Detectioncited by 28
- 2023Diffusion-TTA: Test-time Adaptation of Discriminative Models via Generative Feedbackcited by 27
- 2020Uncovering the Topology of Time-Varying fMRI Data using Cubical Persistencecited by 26
- 2022Ev-TTA: Test-Time Adaptation for Event-Based Object Recognitioncited by 26
- 2023MSFlow: Multi-Scale Flow-based Framework for Unsupervised Anomaly Detectioncited by 25
- 2023Anomaly Heterogeneity Learning for Open-set Supervised Anomaly Detectioncited by 25
- 2022On the Road to Online Adaptation for Semantic Image Segmentationcited by 23
- 2023Transductive conformal inference with adaptive scorescited by 21
- 2024AnomalyXFusion: Multi-modal Anomaly Synthesis with Diffusioncited by 21
- 2018Functional Summaries of Persistence Diagramscited by 19
- 2024Supervised Anomaly Detection for Complex Industrial Imagescited by 18
- 2023To Adapt or Not to Adapt? Real-Time Adaptation for Semantic Segmentationcited by 14
- 2024AMI-Net: Adaptive Mask Inpainting Network for Industrial Anomaly Detection and Localizationcited by 12
50 most cited of 59 All 59 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025TopoMortar: A dataset to evaluate image segmentation methods focused on topology accuracy
- 2024TopoDiffusionNet: A Topology-aware Diffusion Model
- 2025Challenges in 3D Data Synthesis for Training Neural Networks on Topological Features
- 2026TopoAgent: An Agentic Framework for Automated Topology Learning in Medical Imaging
- 2026Towards Valid B-Rep Generation: Training-Free Wireframe Anomaly Detection and Repair
- 2025ReservoirTTA: Prolonged Test-time Adaptation for Evolving and Recurring Domains
- 2025CoPHo: Classifier-guided Conditional Topology Generation with Persistent Homology
- 2025ReplayCAD: Generative Diffusion Replay for Continual Anomaly Detection