NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Water Level Estimation in Sewer Pipes Using Deep Convolutional Neural Networks

Joakim Bruslund Haurum, Chris Bahnsen, Malte Pedersen, Thomas B. MoeslundWater 2020

TL;DR

This paper tackles the challenge of automatically estimating water levels in sewer pipes from CCTV footage, a crucial step for efficient sewer inspection. By training deep convolutional neural networks (CNNs) on a novel dataset of over 11,000 sewer images, the researchers achieved a promising 79.29% F1 score using a fine-tuned ResNet-50 model, demonstrating the potential of AI for this task.

What Problem Does This Paper Address?

Sewer inspections are vital for maintaining underground infrastructure, but current methods rely on human operators remotely controlling robots. This process is slow, expensive, and prone to errors. A key bottleneck in these inspections is accurately determining the water level within the sewer pipe. Only the portion of the pipe above the water can be visually inspected for defects. Estimating this water level is currently a subjective task for human inspectors. While research exists for sewer defect detection, automatic water level estimation has been relatively underexplored, despite being a prerequisite for more comprehensive automated analysis. This paper aims to bridge this gap by developing and evaluating machine learning models, particularly deep learning approaches, for this critical estimation task.

Methods

The researchers explored two main categories of machine learning methods: traditional decision tree-based approaches (Random Forest and Extra Trees) and deep convolutional neural networks (CNNs). For the decision tree methods, they utilized GIST features extracted from the images. For the CNNs, they experimented with AlexNet and various ResNet architectures (ResNet-18, ResNet-34, and ResNet-50), investigating the impact of network depth.

Crucially, they framed the water level estimation problem in three ways:

  1. Classification (Class10): Treating each 10% increment of water level (0-100%) as a distinct class, based on the 2010 Danish sewer inspection standard.
  2. Regression (Reg2Class10): Predicting the water level as a continuous value and then converting it to the 10% increment classes for comparison.
  3. Classification (Class15): Grouping water levels into broader categories (<5%, 5-15%, 15-30%, >30%) according to the more recent 2015 Danish sewer inspection standard.

They also investigated the effect of pre-training CNNs on the ImageNet dataset versus training from scratch. For CNN training, they employed the Adam optimizer and data augmentation techniques like horizontal flipping.

Datasets

The primary dataset used in this research was newly created by the authors, consisting of 11,558 images extracted from over 5,511 CCTV videos of actual sewer inspections conducted for three Danish water utility companies. This dataset is unique as it captures the real-world variability and challenges of sewer inspection imagery.

The dataset was annotated following two different Danish sewer inspection standards:

  • 2010 Standard: Water level annotated in discrete 10% intervals ([0, 100]).
  • 2015 Standard: Water level grouped into four broader classes (<5%, 5-15%, 15-30%, >30%).

The dataset was split into training, validation, and testing sets, with an effort to ensure equal representation of annotation levels, though some higher water level classes were imbalanced.

Key Insights and Ideas

  • Deep Learning Outperforms Traditional Methods: CNNs, particularly fine-tuned ResNet models, consistently outperformed traditional Random Forest and Extra Trees methods across various settings. This highlights the power of deep learning for complex image analysis tasks, even in challenging, noisy environments like sewers.
  • ImageNet Pre-training is Beneficial: Fine-tuning CNNs pre-trained on ImageNet yielded better results than training from scratch. This suggests that even though sewer images are visually distinct from ImageNet's natural scenes, the learned low-level features are still valuable for this task.
  • Broader Classification is Better: The 2015 Danish sewer inspection standard, which uses broader water level categories, led to significantly improved F1 scores for most models compared to the more granular 2010 standard. This indicates that a coarser, more visually intuitive categorization aligns better with the capabilities of current machine learning models and the inherent subjectivity of manual annotation.
  • Depth vs. Performance Nuance: While deeper ResNet models generally performed well, the paper notes that simply increasing network depth didn't always lead to proportional performance gains, suggesting a point of diminishing returns or potential degradation issues.
  • Challenges of Sewer Imagery: The paper emphasizes the inherent difficulties in sewer inspection imagery, including poor lighting, toxic gases causing mist, reflections, and dirt on lenses, which complicate visual analysis.

Key Results

  • The best performing model was a fine-tuned ResNet-50 CNN using the 2015 classification standard (Class15), achieving an average micro-F1 score of 79.29%.
  • For the 2010 classification standard (Class10), the fine-tuned ResNet-50 CNN achieved a micro-F1 score of 39.70%.
  • The regression approach (Reg2Class10) generally performed worse than direct classification, suggesting that the discrete, albeit uncertain, ground truth labels were more amenable to classification.
  • In the Class15 setting, even traditional methods like Random Forest showed a significant improvement (micro-F1 of 68.18%) compared to their performance on the Class10 setting, underscoring the benefit of the coarser categorization.

Limitations and Future Work

  • Noisy Data and Single Image Limitation: The authors acknowledge that the dataset is noisy due to the inherent subjectivity of manual annotations and the ±5% uncertainty margin. Furthermore, the current models rely on single images, which may not capture the full context of water level changes.
  • Imbalanced Classes: While efforts were made to balance the dataset, some higher water level classes remained imbalanced, potentially affecting performance on those specific categories.
  • Future Work Suggestions:
    • Temporal Information: Incorporating temporal data from video sequences could help detect transitions between water levels and improve robustness.
  • Contextual and Geometric Information: Utilizing information about the pipe's geometry (e.g., diameter, shape) and the presence of defects (e.g., pipe collapse, roots) could provide valuable context for more accurate water level estimation.
  • Continuous Measurement Ground Truth: If ground truth labels were available from continuous measurements (like flow meters), regression approaches might perform better.

Summary updated

BibTeX
@inproceedings{haurum2020water,
  author = {Joakim Bruslund Haurum and Chris Bahnsen and Malte Pedersen and Thomas B. Moeslund},
  title = {{Water Level Estimation in Sewer Pipes Using Deep Convolutional Neural Networks}},
  booktitle = {Water},
  year = {2020},
  doi = {10.3390/w12123412},
}
Figure