In the current problem, the two tasks are essentially the same, just with different output labels.
as illustrated in Figure 2, M T N shares parameters in all feature layers (L 1 -L 3 ) and uses two separate classifiers in the classifier layer (L 4 ).