Self-Supervised Visual Prompting for Cross-Domain Road Damage Detection
Xi Xiao, Zhuxuanzi Wang, Mingqiao Mo, Chen Liu, Chenrui Ma, Yanshu Li, Smita Krishnaswamy, Xiao Wang, Tianyang Wang
TL;DR
PROBE tackles cross-domain road damage detection by marrying self-supervised prompting with domain-aware alignment. It introduces SPEM, which derives target-specific visual prompts from unlabeled target data by clustering target patch embeddings after dimensionality reduction, and injects these prompts into a frozen Vision Transformer to bias defect-focused representations. Complementarily, DAPA aligns prompt-conditioned source and target features using a lightweight linear-kernel MMD objective, enabling robust cross-domain transfer without heavy backbone fine-tuning. Across four challenging benchmarks, PROBE achieves state-of-the-art performance in zero-shot and few-shot settings, demonstrating strong cross-domain robustness, data efficiency, and practical parameter efficiency. The approach highlights prompting as a scalable mechanism for self-supervised, domain-adaptive vision systems in safety-critical infrastructure inspection.
Abstract
The deployment of automated pavement defect detection is often hindered by poor cross-domain generalization. Supervised detectors achieve strong in-domain accuracy but require costly re-annotation for new environments, while standard self-supervised methods capture generic features and remain vulnerable to domain shift. We propose \ours, a self-supervised framework that \emph{visually probes} target domains without labels. \ours introduces a Self-supervised Prompt Enhancement Module (SPEM), which derives defect-aware prompts from unlabeled target data to guide a frozen ViT backbone, and a Domain-Aware Prompt Alignment (DAPA) objective, which aligns prompt-conditioned source and target representations. Experiments on four challenging benchmarks show that \ours consistently outperforms strong supervised, self-supervised, and adaptation baselines, achieving robust zero-shot transfer, improved resilience to domain variations, and high data efficiency in few-shot adaptation. These results highlight self-supervised prompting as a practical direction for building scalable and adaptive visual inspection systems. Source code is publicly available: https://github.com/xixiaouab/PROBE/tree/main
