cs.CVApr 7, 2026

PASTA: Vision Transformer Patch Aggregation for Weakly Supervised Target and Anomaly Segmentation

Authors: Melanie Neubauer, Elmar Rueckert, Christian Rauch

Organizations: Chair of Cyber Physical Sytems, Technical University of Leoben, 8700 Leoben, Austria

Abstract

Detecting unseen anomalies in unstructured environments presents a critical challenge for industrial and agricultural applications such as material recycling and weeding. Existing perception systems frequently fail to satisfy the strict operational requirements of these domains, specifically real-time processing, pixel-level segmentation precision, and robust accuracy, due to their reliance on exhaustively annotated datasets. To address these limitations, we propose a weakly supervised pipeline for object segmentation and classification using weak image-level supervision called 'Patch Aggregation for Segmentation of Targets and Anomalies' (PASTA). By comparing an observed scene with a nominal reference, PASTA identifies Target and Anomaly objects through distribution analysis in self-supervised Vision Transformer (ViT) feature spaces. Our pipeline utilizes semantic text-prompts via the Segment Anything Model 3 to guide zero-shot object segmentation. Evaluations on a custom steel scrap recycling dataset and a plant dataset demonstrate a 75.8% training time reduction of our approach to domain-specific baselines. While being domain-agnostic, our method achieves superior Target (up to 88.3% IoU) and Anomaly (up to 63.5% IoU) segmentation performance in the industrial and agricultural domain.

Figures & tables

Explore similar work

CardsList
  1. SuperADD: Training-free Class-agnostic Anomaly Segmentation -- CVPR 2026 VAND 4.0 Workshop Challenge Industrial Track

    May 14, 2026Lukas Roming, Felix Lehnerer, Jonas V. Funk +4OOD GeneralizationIndustrial Anomaly Detection

  2. DuoAD: Leveraging [CLS] Dual Characteristics for Training-Free Few-Shot Anomaly Detection

    Jul 27, 2026Jyun-Ze Tang, Po-Han Huang, Ming-Ching Chang +2Few-Shot Anomaly DetectionAnomaly Localization

  3. SAFe: Segment-guided Aggregation of Feature Densities for Anomaly-aware Segmentation

    Sep 21, 2026Anja Delić, Jurica Runtas, Marin Oršić +2Anomaly LocalizationDensity Estimation