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...

Full description

Saved in:
Bibliographic Details
Main Authors: Jaffari, R., Hashmani, M.A., Reyes-Aldasoro, C.C.
Format: Article
Published: MDPI AG 2021
Online Access:https://www.scopus.com/inward/record.uri?eid=2-s2.0-85104358183&doi=10.3390%2fs21082803&partnerID=40&md5=539eb4bb559697a805a71533930c6116
http://eprints.utp.edu.my/23786/
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Universiti Teknologi Petronas
id my.utp.eprints.23786
record_format eprints
spelling my.utp.eprints.237862021-08-19T13:10:03Z A novel focal phi loss for power line segmentation with auxiliary classifier u-net Jaffari, R. Hashmani, M.A. Reyes-Aldasoro, C.C. 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. © 2021 by the authors. Licensee MDPI, Basel, Switzerland. MDPI AG 2021 Article NonPeerReviewed https://www.scopus.com/inward/record.uri?eid=2-s2.0-85104358183&doi=10.3390%2fs21082803&partnerID=40&md5=539eb4bb559697a805a71533930c6116 Jaffari, R. and Hashmani, M.A. and Reyes-Aldasoro, C.C. (2021) A novel focal phi loss for power line segmentation with auxiliary classifier u-net. Sensors, 21 (8). http://eprints.utp.edu.my/23786/
institution Universiti Teknologi Petronas
building UTP Resource Centre
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Petronas
content_source UTP Institutional Repository
url_provider http://eprints.utp.edu.my/
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. © 2021 by the authors. Licensee MDPI, Basel, Switzerland.
format Article
author Jaffari, R.
Hashmani, M.A.
Reyes-Aldasoro, C.C.
spellingShingle Jaffari, R.
Hashmani, M.A.
Reyes-Aldasoro, C.C.
A novel focal phi loss for power line segmentation with auxiliary classifier u-net
author_facet Jaffari, R.
Hashmani, M.A.
Reyes-Aldasoro, C.C.
author_sort Jaffari, R.
title 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_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_sort novel focal phi loss for power line segmentation with auxiliary classifier u-net
publisher MDPI AG
publishDate 2021
url https://www.scopus.com/inward/record.uri?eid=2-s2.0-85104358183&doi=10.3390%2fs21082803&partnerID=40&md5=539eb4bb559697a805a71533930c6116
http://eprints.utp.edu.my/23786/
_version_ 1738656521533784064