Add regularized multi-task layer