Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Reasonable Effectiveness of Random Weighting: A Litmus Test for Multi-Task Learning

About

Multi-Task Learning (MTL) has achieved success in various fields. However, how to balance different tasks to achieve good performance is a key problem. To achieve the task balancing, there are many works to carefully design dynamical loss/gradient weighting strategies but the basic random experiments are ignored to examine their effectiveness. In this paper, we propose the Random Weighting (RW) methods, including Random Loss Weighting (RLW) and Random Gradient Weighting (RGW), where an MTL model is trained with random loss/gradient weights sampled from a distribution. To show the effectiveness and necessity of RW methods, theoretically we analyze the convergence of RW and reveal that RW has a higher probability to escape local minima, resulting in better generalization ability. Empirically, we extensively evaluate the proposed RW methods to compare with twelve state-of-the-art methods on five image datasets and two multilingual problems from the XTREME benchmark to show RW methods can achieve comparable performance with state-of-the-art baselines. Therefore, we think that the RW methods are important baselines for MTL and should attract more attentions.

Baijiong Lin, Feiyang Ye, Yu Zhang, Ivor W. Tsang• 2021

Related benchmarks

TaskDatasetResultRank
Semantic segmentationCityscapes (test)
mIoU74.57
1254
Depth EstimationNYU v2 (test)--
438
Image ClassificationOffice-Home (test)--
402
Semantic segmentationNYU v2 (test)
mIoU52.88
304
Surface Normal EstimationNYU v2 (test)
Mean Angle Distance (MAD)23.83
224
Depth EstimationNYU V2--
207
Semantic segmentationNYU Depth V2 (test)
mIoU37.17
183
Surface Normal PredictionNYU V2
Mean Error28.27
137
Surface Normal EstimationNYU V2
Mean Angular Error24.0588
96
Semantic segmentationCityscapes
Mean IoU69.95
88
Showing 10 of 41 rows

Other info

Follow for update