Mixed training objective function