[Paper Review] Improving Multi-Task Generalization via Regularizing Spurious Correlation
This paper proposes Multi-Task Causal Representation Learning (MT-CRL), a framework that improves multi-task learning generalization by disentangling shared representations into causal modules and using invariant risk regularization to suppress spurious correlations. It achieves a 5.5% average performance gain across five benchmarks by learning robust, task-specific routing weights that prioritize consistently useful features across distribution shifts.
Multi-Task Learning (MTL) is a powerful learning paradigm to improve generalization performance via knowledge sharing. However, existing studies find that MTL could sometimes hurt generalization, especially when two tasks are less correlated. One possible reason that hurts generalization is spurious correlation, i.e., some knowledge is spurious and not causally related to task labels, but the model could mistakenly utilize them and thus fail when such correlation changes. In MTL setup, there exist several unique challenges of spurious correlation. First, the risk of having non-causal knowledge is higher, as the shared MTL model needs to encode all knowledge from different tasks, and causal knowledge for one task could be potentially spurious to the other. Second, the confounder between task labels brings in a different type of spurious correlation to MTL. We theoretically prove that MTL is more prone to taking non-causal knowledge from other tasks than single-task learning, and thus generalize worse. To solve this problem, we propose Multi-Task Causal Representation Learning framework, aiming to represent multi-task knowledge via disentangled neural modules, and learn which module is causally related to each task via MTL-specific invariant regularization. Experiments show that it could enhance MTL model's performance by 5.5% on average over Multi-MNIST, MovieLens, Taskonomy, CityScape, and NYUv2, via alleviating spurious correlation problem.
Motivation & Objective
- Address the generalization failure in multi-task learning (MTL) when tasks are weakly correlated, particularly due to spurious correlations.
- Identify that MTL is prone to learning non-causal knowledge from other tasks due to label-label confounders and shared representation encodings.
- Develop a framework that disentangles causal from spurious knowledge in multi-task representations to improve robustness under distribution shift.
- Formulate and apply MTL-specific invariance regularization to ensure routing weights remain stable across environments, favoring causally relevant modules.
- Demonstrate that spurious correlations in MTL stem not only from feature-label confounders but also from task-label confounding, requiring unique mitigation strategies.
Proposed method
- Structure the MTL model using a Mixture-of-Experts (MoE) architecture with disentangled neural modules to separate causal and spurious knowledge.
- Apply sparsity regularization (L1) on the task-to-module routing weights to encourage selective use of relevant modules.
- Introduce balancing regularization to prevent any single module from dominating the routing process across tasks.
- Enforce representation disentanglement via a de-correlation loss to minimize shared features between modules that are not causally related.
- Implement invariance regularization by penalizing the variance of gradients w.r.t. routing weights across different data distributions, promoting consistent use of causal modules.
- Train the model end-to-end with all regularization terms, using a fixed set of hyperparameters across datasets to ensure fair comparison and generalization.
Experimental results
Research questions
- RQ1Why does multi-task learning sometimes generalize worse than single-task learning, even with low training loss?
- RQ2How do label-label confounders in MTL introduce spurious correlations that harm generalization?
- RQ3Can disentangled representation learning combined with invariance regularization mitigate spurious correlations in multi-task models?
- RQ4To what extent can invariant risk regularization over routing weights improve robustness to distribution shifts in MTL?
- RQ5Is the proposed MT-CRL framework effective across diverse MTL benchmarks with varying task correlations and data distributions?
Key findings
- MT-CRL improves multi-task learning performance by an average of 5.5% across five benchmarks: Multi-MNIST, MovieLens, Taskonomy, CityScape, and NYUv2.
- The method significantly outperforms the vanilla MTL baseline, with a 6.9% absolute improvement on Multi-MNIST (0.915 vs. 0.846 accuracy).
- Empirical results show that all regularization components (sparsity, balancing, de-correlation, invariance) improve performance compared to their absence.
- Sensitivity analysis confirms that MT-CRL is robust to hyperparameter choice, as performance only slightly degrades under suboptimal settings.
- The invariance regularization effectively suppresses modules relying on spurious correlations, as evidenced by stable routing weights across distribution shifts.
- The framework successfully mitigates the risk of non-causal knowledge transfer, especially in low-correlation MTL settings where standard MTL fails.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.