ATE-SG: Alternate Through the Epochs Stochastic Gradient for Multi-Task Neural Networks
Stefania Bellavia, Francesco Della Santa, Alessandra Papini
TL;DR
This work tackles the problem of conflicting loss gradients in hard-parameter sharing MTNNs by introducing alternate training schemes that separately update shared and task-specific parameters. The proposed SAT-SG and ATE-SG methods enable gradient-based updates that reduce memory and computational costs while maintaining convergence properties akin to classical stochastic gradient descent, with a notable regularization effect during training. The authors provide a rigorous convergence analysis under Lipschitz-gradient assumptions and demonstrate, through synthetic and real-world experiments, that ATE-SG achieves comparable predictive performance to SG while yielding substantial efficiency gains and improved training stability. The approach is designed to be easy to implement in standard deep learning frameworks, and includes an implemented ATE-SG version with an accessible GitHub source for practitioners.
Abstract
This paper introduces novel alternate training procedures for hard-parameter sharing Multi-Task Neural Networks (MTNNs). Traditional MTNN training faces challenges in managing conflicting loss gradients, often yielding sub-optimal performance. The proposed alternate training method updates shared and task-specific weights alternately through the epochs, exploiting the multi-head architecture of the model. This approach reduces computational costs per epoch and memory requirements. Convergence properties similar to those of the classical stochastic gradient method are established. Empirical experiments demonstrate enhanced training regularization and reduced computational demands. In summary, our alternate training procedures offer a promising advancement for the training of hard-parameter sharing MTNNs.
