3 research outputs found
Neural Architecture Search for Visual Anomaly Segmentation
This paper presents AutoPatch, the first application of neural architecture
search to the complex task of segmenting visual anomalies. Measurement of
anomaly segmentation quality is challenging due to imbalanced anomaly pixels,
varying region areas, and various types of anomalies. First, the weighted
average precision (wAP) metric is proposed as an alternative to AUROC and
AUPRO, which does not need to be limited to a specific maximum FPR. Second, a
novel neural architecture search method is proposed, which enables efficient
segmentation of visual anomalies without any training. By leveraging a
pre-trained supernet, a black-box optimization algorithm can directly minimize
FLOPS and maximize wAP on a small validation set of anomalous examples.
Finally, compelling results on the widely studied MVTec [3] dataset are
presented, demonstrating that AutoPatch outperforms the current
state-of-the-art method PatchCore [12] with more than 18x fewer FLOPS, using
only one example per anomaly type. These results highlight the potential of
automated machine learning to optimize throughput in industrial quality
control. The code for AutoPatch is available at:
https://github.com/tommiekerssies/AutoPatc
Evaluating Continual Test-Time Adaptation for Contextual and Semantic Domain Shifts
In this paper, our goal is to adapt a pre-trained convolutional neural
network to domain shifts at test time. We do so continually with the incoming
stream of test batches, without labels. The existing literature mostly operates
on artificial shifts obtained via adversarial perturbations of a test image.
Motivated by this, we evaluate the state of the art on two realistic and
challenging sources of domain shifts, namely contextual and semantic shifts.
Contextual shifts correspond to the environment types, for example, a model
pre-trained on indoor context has to adapt to the outdoor context on CORe-50.
Semantic shifts correspond to the capture types, for example a model
pre-trained on natural images has to adapt to cliparts, sketches, and paintings
on DomainNet. We include in our analysis recent techniques such as
Prediction-Time Batch Normalization (BN), Test Entropy Minimization (TENT) and
Continual Test-Time Adaptation (CoTTA). Our findings are three-fold: i)
Test-time adaptation methods perform better and forget less on contextual
shifts compared to semantic shifts, ii) TENT outperforms other methods on
short-term adaptation, whereas CoTTA outpeforms other methods on long-term
adaptation, iii) BN is most reliable and robust. Our code is available at
https://github.com/tommiekerssies/Evaluating-Continual-Test-Time-Adaptation-for-Contextual-and-Semantic-Domain-Shifts