A fine-grained defect-sensitive local–global multiscale vision transformer framework for urban visual pollution prediction

Urban visual pollution is an increasing concern in rapidly growing cities, affecting environmental quality, public perception, and urban sustainability. Existing visual pollution assessment approaches often rely on manual inspection, conventional image processing, or generic deep learning models that exhibit limited sensitivity to small-scale degradation patterns, insufficient contextual understanding, and poor capability for continuous environmental severity assessment. Manual inspection methods are slow and subjective. To address these challenges, this study proposes a transformer-based deep learning framework for multi-class visual pollution detection using street-level imagery. The model integrates fine-grained urban patch encoding, defect-sensitive feature enhancement, Local–Global Dual Branch learning, hierarchical feature fusion, and a learnable Visual Pollution Index (VPI) layer to quantify degradation severity. The proposed approach classifies seven urban pollution categories, including garbage, graffiti, potholes, construction road damage, and cluttered sidewalks. Experimental results demonstrate that the model achieves the highest overall accuracy of 95.12%, outperforming baseline transformer models. The framework also attains a precision of 95.22%, recall of 95.03%, and F1-score of 95.08%. The proposed Visual Pollution Index reaches an overall VPI score of 95.07%, indicating strong consistency between classification confidence and environmental degradation assessment. Explainable AI techniques, including Grad-CAM, LIME, attention rollout, and counterfactual analysis, confirm that the model focuses on meaningful pollution regions rather than background features. The findings demonstrate that integrating defect-sensitive transformer learning with environmental severity quantification provides an effective and interpretable solution for large-scale urban visual pollution monitoring and smart-city environmental management.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-07-24
DOI
https://doi.org/10.1038/s41598-026-63974-2
Primary Topic
Infrastructure Maintenance and Monitoring
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A fine-grained defect-sensitive local–global multiscale vision transformer framework for urban visual pollution prediction

Taotao Zou, Yalun Lei, Peng Xu, Fa Shen et al.
Scientific Reports
Infrastructure Maintenance and Monitoring
article

A fine-grained defect-sensitive local–global multiscale vision transformer framework for urban visual pollution prediction

Taotao Zou, Yalun Lei, Peng Xu, Fa Shen, Jingyi Shen, Digong Liu
article en

Abstract

Urban visual pollution is an increasing concern in rapidly growing cities, affecting environmental quality, public perception, and urban sustainability. Existing visual pollution assessment approaches often rely on manual inspection, conventional image processing, or generic deep learning models that exhibit limited sensitivity to small-scale degradation patterns, insufficient contextual understanding, and poor capability for continuous environmental severity assessment. Manual inspection methods are slow and subjective. To address these challenges, this study proposes a transformer-based deep learning framework for multi-class visual pollution detection using street-level imagery. The model integrates fine-grained urban patch encoding, defect-sensitive feature enhancement, Local–Global Dual Branch learning, hierarchical feature fusion, and a learnable Visual Pollution Index (VPI) layer to quantify degradation severity. The proposed approach classifies seven urban pollution categories, including garbage, graffiti, potholes, construction road damage, and cluttered sidewalks. Experimental results demonstrate that the model achieves the highest overall accuracy of 95.12%, outperforming baseline transformer models. The framework also attains a precision of 95.22%, recall of 95.03%, and F1-score of 95.08%. The proposed Visual Pollution Index reaches an overall VPI score of 95.07%, indicating strong consistency between classification confidence and environmental degradation assessment. Explainable AI techniques, including Grad-CAM, LIME, attention rollout, and counterfactual analysis, confirm that the model focuses on meaningful pollution regions rather than background features. The findings demonstrate that integrating defect-sensitive transformer learning with environmental severity quantification provides an effective and interpretable solution for large-scale urban visual pollution monitoring and smart-city environmental management.

Scientific Reports
Shanghai Polytechnic University (CN)
Sustainable cities and communities
Openalex Percentile: Top 14%
Infrastructure Maintenance and Monitoring
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.