Road Damage Detection and Classification with Detectron2 and Faster R-CNN

Vung Pham, Chau Pham, Tommy DangIEEE BigData 2020

Abstract

Automating road damage detection is critical for maintaining global infrastructure safety and efficiency. This study explores the application of the Detectron2 framework and Faster R-CNN architectures to identify various road distress types across diverse geographical regions. By leveraging the Global Road Damage Detection Challenge (GRDDC) 2020 dataset, the research evaluates the generalization capabilities of state-of-the-art models and identifies data quality as a primary bottleneck. Key findings suggest that optimized anchor boxes and robust backbones like X101-FPN can effectively detect damage, often identifying instances overlooked by human annotators.

Introduction

Maintaining safe road networks is a persistent global challenge. Traditional manual inspection methods are slow, costly, and susceptible to human error. While deep learning offers a promising path toward automation, two significant hurdles remain: generalization across different territories and the inherent difficulty of high-quality manual labeling. Models trained on specific regions often struggle when deployed in new environments with varying pavement types and weather conditions. Furthermore, the tedious nature of annotating thousands of small cracks leads to "noisy" datasets with missing or incorrect labels. This work investigates a robust model architecture capable of handling diverse geographical data from the Czech Republic, India, and Japan.

Methodology

The research utilizes the Detectron2 library, focusing on the Faster R-CNN architecture with R101-FPN (ResNet-101) and X101-FPN (ResNeXt-101) backbones.

Anchor Box Optimization

A critical technical adjustment involved tuning the Region Proposal Network (RPN) anchors. Statistical analysis of the dataset revealed that most road damages are small and possess extreme aspect ratios.

Distribution of bounding box areas showing a high frequency of small damage instances.

By aligning anchor sizes and ratios with these empirical distributions, the model's ability to propose relevant regions for small, elongated cracks was significantly improved.

Data Augmentation and Evaluation

The team experimented with advanced augmentation techniques, including a GAN-inspired method for blending damage "patches" into new images using fast color transfer. During evaluation, Test Time Augmentation (TTA)—running the model on flipped and resized versions of the same image—was employed to stabilize final predictions.

Dataset Analysis

The study utilized the GRDDC 2020 dataset, comprising 21,041 training images from the Czech Republic, India, and Japan. The data is categorized into four primary damage types: Longitudinal Cracks (D00), Transverse Cracks (D10), Alligator Cracks (D20), and Potholes (D40).

Distribution of damage types across the three countries in the GRDDC 2020 dataset.

As shown in the distribution, the frequency of specific damage types varies significantly by country, highlighting the need for a model that generalizes well across different regional characteristics.

Results and Discussion

The X101-FPN model emerged as the top performer, achieving F1 scores of approximately 51% on the challenge test sets. While these scores might appear modest, visual inspection revealed a "Better than Human" paradox: the model frequently detected legitimate road damage that human annotators had missed. This suggests that standard evaluation metrics may underestimate model performance when the ground truth is incomplete.

While the X101-FPN backbone provided superior accuracy, it required nearly double the training time per iteration compared to R101 (1.67s vs. 0.82s). For practical deployment on mobile or edge devices, the R101 backbone offers a more balanced trade-off between speed and precision. Interestingly, complex augmentations like synthetic patch placement yielded diminishing returns, likely because the inherent diversity of the multi-country dataset already provided sufficient variance for effective learning.

Conclusion and Future Work

The primary bottleneck in automated road damage detection remains the quality and consistency of training labels. Future research should explore "Noisy Student" semi-supervised learning approaches. By using a high-performing model to generate "pseudo-labels" on massive unlabeled datasets, followed by a streamlined human review process, researchers can significantly scale and clean road damage benchmarks. This iterative workflow promises to bridge the gap between model potential and real-world deployment requirements.

Summary updated

BibTeX
@misc{pham2020road,
  author = {Vung Pham and Chau Pham and Tommy Dang},
  title = {{Road Damage Detection and Classification with Detectron2 and Faster R-CNN}},
  year = {2020},
  eprint = {2010.15021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.15021},
}
Figure