LibMTL.weighting.Nash_MTL
¶
- class Nash_MTL[source]¶
Bases:
LibMTL.weighting.abstract_weighting.AbsWeighting
Nash-MTL.
This method is proposed in Multi-Task Learning as a Bargaining Game (ICML 2022) and implemented by modifying from the official PyTorch implementation.
- Parameters
update_weights_every (int, default=1) – Period of weights update.
optim_niter (int, default=20) – The max iteration of optimization solver.
max_norm (float, default=1.0) – The max norm of the gradients.
Warning
Nash_MTL is not supported by representation gradients, i.e.,
rep_grad
must beFalse
.