Cargando…
A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net
The segmentation of power lines (PLs) from aerial images is a crucial task for the safe navigation of unmanned aerial vehicles (UAVs) operating at low altitudes. Despite the advances in deep learning-based approaches for PL segmentation, these models are still vulnerable to the class imbalance prese...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8073893/ https://www.ncbi.nlm.nih.gov/pubmed/33923472 http://dx.doi.org/10.3390/s21082803 |
_version_ | 1783684234457645056 |
---|---|
author | Jaffari, Rabeea Hashmani, Manzoor Ahmed Reyes-Aldasoro, Constantino Carlos |
author_facet | Jaffari, Rabeea Hashmani, Manzoor Ahmed Reyes-Aldasoro, Constantino Carlos |
author_sort | Jaffari, Rabeea |
collection | PubMed |
description | The segmentation of power lines (PLs) from aerial images is a crucial task for the safe navigation of unmanned aerial vehicles (UAVs) operating at low altitudes. Despite the advances in deep learning-based approaches for PL segmentation, these models are still vulnerable to the class imbalance present in the data. The PLs occupy only a minimal portion (1–5%) of the aerial images as compared to the background region (95–99%). Generally, this class imbalance problem is addressed via the use of PL-specific detectors in conjunction with the popular class balanced cross entropy (BBCE) loss function. However, these PL-specific detectors do not work outside their application areas and a BBCE loss requires hyperparameter tuning for class-wise weights, which is not trivial. Moreover, the BBCE loss results in low dice scores and precision values and thus, fails to achieve an optimal trade-off between dice scores, model accuracy, and precision–recall values. In this work, we propose a generalized focal loss function based on the Matthews correlation coefficient (MCC) or the Phi coefficient to address the class imbalance problem in PL segmentation while utilizing a generic deep segmentation architecture. We evaluate our loss function by improving the vanilla U-Net model with an additional convolutional auxiliary classifier head (ACU-Net) for better learning and faster model convergence. The evaluation of two PL datasets, namely the Mendeley Power Line Dataset and the Power Line Dataset of Urban Scenes (PLDU), where PLs occupy around 1% and 2% of the aerial images area, respectively, reveal that our proposed loss function outperforms the popular BBCE loss by 16% in PL dice scores on both the datasets, 19% in precision and false detection rate (FDR) values for the Mendeley PL dataset and 15% in precision and FDR values for the PLDU with a minor degradation in the accuracy and recall values. Moreover, our proposed ACU-Net outperforms the baseline vanilla U-Net for the characteristic evaluation parameters in the range of 1–10% for both the PL datasets. Thus, our proposed loss function with ACU-Net achieves an optimal trade-off for the characteristic evaluation parameters without any bells and whistles. Our code is available at Github. |
format | Online Article Text |
id | pubmed-8073893 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-80738932021-04-27 A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net Jaffari, Rabeea Hashmani, Manzoor Ahmed Reyes-Aldasoro, Constantino Carlos Sensors (Basel) Article The segmentation of power lines (PLs) from aerial images is a crucial task for the safe navigation of unmanned aerial vehicles (UAVs) operating at low altitudes. Despite the advances in deep learning-based approaches for PL segmentation, these models are still vulnerable to the class imbalance present in the data. The PLs occupy only a minimal portion (1–5%) of the aerial images as compared to the background region (95–99%). Generally, this class imbalance problem is addressed via the use of PL-specific detectors in conjunction with the popular class balanced cross entropy (BBCE) loss function. However, these PL-specific detectors do not work outside their application areas and a BBCE loss requires hyperparameter tuning for class-wise weights, which is not trivial. Moreover, the BBCE loss results in low dice scores and precision values and thus, fails to achieve an optimal trade-off between dice scores, model accuracy, and precision–recall values. In this work, we propose a generalized focal loss function based on the Matthews correlation coefficient (MCC) or the Phi coefficient to address the class imbalance problem in PL segmentation while utilizing a generic deep segmentation architecture. We evaluate our loss function by improving the vanilla U-Net model with an additional convolutional auxiliary classifier head (ACU-Net) for better learning and faster model convergence. The evaluation of two PL datasets, namely the Mendeley Power Line Dataset and the Power Line Dataset of Urban Scenes (PLDU), where PLs occupy around 1% and 2% of the aerial images area, respectively, reveal that our proposed loss function outperforms the popular BBCE loss by 16% in PL dice scores on both the datasets, 19% in precision and false detection rate (FDR) values for the Mendeley PL dataset and 15% in precision and FDR values for the PLDU with a minor degradation in the accuracy and recall values. Moreover, our proposed ACU-Net outperforms the baseline vanilla U-Net for the characteristic evaluation parameters in the range of 1–10% for both the PL datasets. Thus, our proposed loss function with ACU-Net achieves an optimal trade-off for the characteristic evaluation parameters without any bells and whistles. Our code is available at Github. MDPI 2021-04-16 /pmc/articles/PMC8073893/ /pubmed/33923472 http://dx.doi.org/10.3390/s21082803 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Jaffari, Rabeea Hashmani, Manzoor Ahmed Reyes-Aldasoro, Constantino Carlos A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title | A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title_full | A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title_fullStr | A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title_full_unstemmed | A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title_short | A Novel Focal Phi Loss for Power Line Segmentation with Auxiliary Classifier U-Net |
title_sort | novel focal phi loss for power line segmentation with auxiliary classifier u-net |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8073893/ https://www.ncbi.nlm.nih.gov/pubmed/33923472 http://dx.doi.org/10.3390/s21082803 |
work_keys_str_mv | AT jaffarirabeea anovelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet AT hashmanimanzoorahmed anovelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet AT reyesaldasoroconstantinocarlos anovelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet AT jaffarirabeea novelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet AT hashmanimanzoorahmed novelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet AT reyesaldasoroconstantinocarlos novelfocalphilossforpowerlinesegmentationwithauxiliaryclassifierunet |