A simple and straightforward way is to equally share the knowledge learned from main task and auxiliary task.
the total loss of the multi-task neural network is calculated as: where Loss aux has the same weight as Loss main .