NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Topology-Aware Optimal Transport for Source-Free Test-Time Adaptation in Anomaly Segmentation

Ali Zia, Usman Ali, Abdelwahed Khamis, Muhammad U Ramzan, Abdul Rehman, Wei Xiang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Graph Anomaly Detection and Topology-Aware Adaptation · Type: new method · Keywords: topology-aware optimal transport, source-free test-time adaptation, anomaly segmentation, persistence diagrams, OT-consistency

Areas: Computer Vision & 3D › Visual Multimodal Perception › Multimodal Alignment; Continual Learning & Adaptation › Domain Shift Adaptation › Cross-Domain Alignment

Summary

TopoOT is a topology-aware optimal transport framework that uses Optimal Transport Chaining to generate stability-aware pseudo-labels for source-free test-time adaptation in anomaly segmentation.

Explained to a 5-year-old

The paper helps computers find weird parts in pictures when the pictures change a lot. It uses a special way to look at how things are connected and stays stable even if the picture style changes. It creates fake labels that point out which parts are likely problems, using only new pictures without any old ones. A small part of the computer learns from these fake labels to get better at spotting problems. This makes the computer better at finding anomalies without needing a lot of extra data or old models.

Explained to a 5-year-old, longer

The problem is that computers sometimes fail to notice something wrong in pictures when the pictures look different from what they saw before. Traditional methods just look at each pixel and draw a line, but that can break when the picture changes. The new idea uses a way to see the overall shape and connections in the picture, like looking at the big picture instead of tiny details. It creates its own labels that point out where something might be unusual, using only the new pictures it hasn't seen before. A small part of the computer learns from these labels to get better at spotting problems. The learning happens without needing any old pictures or any correct answers. This helps the computer adapt on the fly, like learning a new game while playing it. It works for both flat pictures and three-dimensional pictures. The method is tested on many standard tests for finding anomalies. It beats other methods by a big margin on those tests. In simple terms, it makes the computer smarter at finding weird things without a lot of extra work. This could be useful in many areas where spotting problems automatically is important, like health checks or quality control.

For a technical reader

The paper proposes a source-free test-time adaptation method for anomaly segmentation that leverages topological data analysis to capture global structural changes. It introduces an Optimal Transport Chaining procedure that aligns persistence diagrams across thresholds, producing stability scores used as pseudo-labels. These pseudo-labels supervise a lightweight head trained online with only unlabelled target data, using OT-consistency and contrastive losses to ensure robustness. The method is evaluated on standard 2D and 3D anomaly detection benchmarks, achieving state-of-the-art mean F1 improvements of up to 24.1% on 2D and 10.2% on 3D datasets.

Problem

Anomaly segmentation suffers under test-time distribution shift when models rely on threshold-based binarisation, leading to brittle masks. There is a need for a source-free adaptation method that can capture global structural disruptions without access to source data or target labels.

Method

The approach leverages topological data analysis to capture structural invariants and uses a chaining of optimal transport alignments on persistence diagrams across thresholds and filtrations to compute stability scores. These scores serve as pseudo-labels that supervise a lightweight head, which is updated online with only unlabelled target data using OT-consistency and contrastive objectives.

Results

The approach achieves state-of-the-art performance, improving mean F1 by up to 24.1% on 2D benchmarks and 10.2% on 3D benchmarks over the second-best methods.

Contributions

It introduces a source-free test-time adaptation framework that integrates topology-aware optimal transport to generate stable pseudo-labels and a lightweight online head with OT-consistency and contrastive objectives. The method provides robust anomaly segmentation under distribution shift without requiring source data or target labels.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction