Multi-Loss Weighting with Coefficient of Variations
Abstract
Many interesting tasks in machine learning and computer vision are learned by optimising an objective function defined as a weighted linear combination of multiple losses. The final performance is sensitive to choosing the correct (relative) weights for these losses. Finding a good set of weights is often done by adopting them into the set of hyper-parameters, which are set using an extensive grid search. This is computationally expensive. In this paper, we propose a weighting scheme based on the coefficient of variations and set the weights based on properties observed while training the model. The proposed method incorporates a measure of uncertainty to balance the losses, and as a result the loss weights evolve during training without requiring another (learning based) optimisation. In contrast to many loss weighting methods in literature, we focus on single-task multi-loss problems, such as monocular depth estimation and semantic segmentation, and show that multi-task approaches for loss weighting do not work on those single-tasks. The validity of the approach is shown empirically for depth estimation and semantic segmentation on multiple datasets.
Cite
Text
Groenendijk et al. "Multi-Loss Weighting with Coefficient of Variations." Winter Conference on Applications of Computer Vision, 2021.Markdown
[Groenendijk et al. "Multi-Loss Weighting with Coefficient of Variations." Winter Conference on Applications of Computer Vision, 2021.](https://mlanthology.org/wacv/2021/groenendijk2021wacv-multiloss/)BibTeX
@inproceedings{groenendijk2021wacv-multiloss,
title = {{Multi-Loss Weighting with Coefficient of Variations}},
author = {Groenendijk, Rick and Karaoglu, Sezer and Gevers, Theo and Mensink, Thomas},
booktitle = {Winter Conference on Applications of Computer Vision},
year = {2021},
pages = {1469-1478},
url = {https://mlanthology.org/wacv/2021/groenendijk2021wacv-multiloss/}
}