The goal is to perform well at predicting document classes, while the demographic attribute tasks are modeled primarily for the purpose of learning characteristics of the demographic groups.
the model aims to learn discriminative features for text classification while learning to be invariant to the linguistic characteristics of the demographic groups.