Dual-Stream Attention Transformers for Sewer Defect Classification
Abdullah Al Redwan Newaz, Mahdi Abdeldguerfi, Kendall N. Niles, and, Joe Tom

TL;DR
This paper introduces a dual-stream vision transformer architecture that jointly processes RGB and motion data for sewer defect classification, using self-attention regularization to improve attention maps and overall accuracy.
Contribution
It presents a novel joint training approach with attention consistency loss for dual-stream transformers, enhancing defect classification performance over existing methods.
Findings
Outperforms existing CNN and transformer-based models.
Effectively leverages motion cues to improve attention focus.
Demonstrates robustness on public and cross-validated datasets.
Abstract
We propose a dual-stream multi-scale vision transformer (DS-MSHViT) architecture that processes RGB and optical flow inputs for efficient sewer defect classification. Unlike existing methods that combine the predictions of two separate networks trained on each modality, we jointly train a single network with two branches for RGB and motion. Our key idea is to use self-attention regularization to harness the complementary strengths of the RGB and motion streams. The motion stream alone struggles to generate accurate attention maps, as motion images lack the rich visual features present in RGB images. To facilitate this, we introduce an attention consistency loss between the dual streams. By leveraging motion cues through a self-attention regularizer, we align and enhance RGB attention maps, enabling the network to concentrate on pertinent input regions. We evaluate our data on a public…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInfrastructure Maintenance and Monitoring · Water Systems and Optimization · Image Enhancement Techniques
MethodsMulti-Head Attention · Attention Is All You Need · Softmax · Linear Layer · Residual Connection · Dense Connections · Layer Normalization · ALIGN · Vision Transformer
