SILT: Shadow-aware Iterative Label Tuning for Learning to Detect Shadows from Noisy Labels

Han Yang, Tianyu Wang, Xiaowei Hu, Chi-Wing Fu · DOI

Abstract

Existing shadow detection datasets often contain missing or mislabeled shadows, which can hinder the performance of deep learning models trained directly on such data. To address this issue, we propose SILT, the Shadow-aware Iterative Label Tuning framework, which explicitly considers noise in shadow labels and trains the deep model in a self-training manner. Specifically, we incorporate strong data augmentations with shadow counterfeiting to help the network better recognize non-shadow regions and alleviate overfitting. We also devise a simple yet effective label tuning strategy with global-local fusion and shadow-aware filtering to encourage the network to make significant refinements on the noisy labels. We evaluate the performance of SILT by relabeling the test set of the SBU dataset and conducting various experiments. Our results show that even a simple U-Net trained with SILT can outperform all state-of-the-art methods by a large margin. When trained on SBU / UCF / ISTD, our network can successfully reduce the Balanced Error Rate by 25.2% / 36.9% / 21.3% over the best state-of-the-art method.

Introduction: The Challenge of Noisy Labels

Deep learning models for shadow detection are fundamentally limited by the quality of their training data. Popular benchmarks like the SBU and UCF datasets are notoriously "noisy," featuring annotations that are often incomplete, missing subtle self-shadows, or characterized by rough, "lazy" outlines.

Comparison of original noisy labels in existing datasets versus the refined labels produced by the SILT framework.

When models are trained directly on this imperfect data, they tend to replicate these errors. Standard self-training approaches—where a model iteratively labels its own data—often fail in this context because the model either overfits to the noisy ground truth or begins to "hallucinate," incorrectly identifying any dark object as a shadow. The SILT framework is designed to break this cycle by explicitly handling label noise through iterative refinement.

Methodology: The SILT Framework

The SILT framework operates in iterative rounds, alternating between network tuning and label refinement to gradually clean the training set.

The SILT framework overview, illustrating the iterative process of Network Tuning (left) and Label Tuning (right).

1. Network Tuning with Shadow Counterfeiting

To prevent the model from mistaking dark objects for shadows, SILT introduces "counterfeited" shadows during training. By randomly adding dark polygons ("Distraction") and black pixels ("RandomNoise") to images and labeling them as non-shadow regions, the network is forced to learn the subtle textural differences between a real shadow and a dark-colored object.

2. Label Tuning with Global-Local Fusion

This stage employs two key strategies to refine the noisy labels:

  • Global-Local Fusion: The system processes the image as a whole (global) to understand context and in patches (local) to capture fine details. These multi-scale predictions are merged to create a more accurate mask.
  • Shadow-aware Filtering: Rather than using a static threshold, SILT uses a dynamic threshold map based on image brightness. It applies a lower threshold in bright regions (where shadows are easier to spot) and a stricter, higher threshold in dark regions to filter out dark non-shadow objects.

Experimental Results and Insights

The authors evaluated SILT on three benchmark datasets: SBU, UCF, and ISTD. A significant contribution of this work is the manual relabeling of the SBU test set by experts, creating a new "gold standard" for evaluation.

Key Results:

  • Performance Leap: Measured by the Balanced Error Rate (BER), SILT achieved substantial improvements. On the SBU dataset, SILT reduced the BER by 25.2% compared to the previous best method. On the UCF dataset, the reduction was a massive 36.9%.
  • Data Quality > Model Complexity: Remarkably, a basic U-Net architecture from 2015 trained with SILT outperformed every modern, complex state-of-the-art method. This suggests that the primary bottleneck in shadow detection is label quality rather than architectural complexity.
  • Generalization: When other state-of-the-art models (such as BDRAR or SDCM) were retrained using labels refined by SILT, their performance also improved significantly, proving that SILT generates a cleaner training set beneficial to the entire research community.

Conclusion

SILT demonstrates that iterative refinement and shadow-aware data augmentation can effectively overcome the limitations of noisy datasets. By acknowledging that shadow detection confidence is tied to background illumination and context, the framework produces fine-grained masks that capture complex silhouettes previously missed by human annotators. Future work may involve incorporating 3D depth information to further distinguish between 2D shadows and dark 3D objects with similar textures.

Summary updated

BibTeX
@inproceedings{yang2023silt,
  author = {Han Yang and Tianyu Wang and Xiaowei Hu and Chi-Wing Fu},
  title = {{SILT: Shadow-aware Iterative Label Tuning for Learning to Detect Shadows from Noisy Labels}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01165},
}
Figure