To address this issue, a domain discriminator D(•; θ d ) is incorporated in the learning process.
when feeding an instance x either from the source domain or target domain, the model will generate the following two outputs: with y and d indicating the main prediction and domain prediction, respectively.