Exploring Transferability of Self-Supervised Learning by Task Conflict Calibration

Huijie Guo, Jingyao Wang, Peizheng Guo, Xingchen Shen, Changwen Zheng, Wenwen Qiang · OpenReview

Abstract

In this paper, we explore the transferability of SSL by addressing two central questions: (i) what is the representation transferability of SSL, and (ii) how can we effectively model this transferability? Transferability is defined as the ability of a representation learned from one task to support the objective of another. Inspired by the meta-learning paradigm, we construct multiple SSL tasks within each training batch to support explicitly modeling transferability. Based on empirical evidence and causal analysis, we find that although introducing task-level information improves transferability, it is still hindered by task conflict. To address this issue, we propose a Task Conflict Calibration ($TC^2$) method to alleviate the impact of task conflict. Specifically, it first splits batches to create multiple SSL tasks, infusing task-level information. Next, it uses a factor extraction network to produce causal generative factors for all tasks and a weight extraction network to assign dedicated weights to each sample, employing data reconstruction, orthogonality, and sparsity to ensure effectiveness. Finally, $TC^2$ calibrates sample representations during SSL training and integrates into the pipeline via a two-stage bi-level optimization framework to boost the transferability of learned representations. Experimental results on multiple downstream tasks demonstrate that our method consistently improves the transferability of SSL models.

Introduction

Self-Supervised Learning (SSL) has become a cornerstone of modern computer vision, often rivaling supervised learning by training on massive unlabeled datasets. However, these models frequently encounter a "transferability gap," where representations learned on one dataset (e.g., ImageNet) perform poorly on out-of-distribution (OOD) data or specialized downstream tasks.

Researchers have introduced Task Conflict Calibration ($TC^2$), a novel framework that treats SSL as a meta-learning problem to boost its transferability. By explicitly modeling multiple tasks within a single training batch and using causal analysis to "calibrate" and remove conflicting features, $TC^2$ significantly improves how well SSL models generalize to new, unseen datasets and tasks like object detection and video tracking.

The Problem of Task Conflict

Standard SSL typically treats the entire training set as a single, massive task. This approach lacks the "task-level" nuance found in meta-learning, where models learn to adapt across many small tasks. While simply splitting a batch into multiple tasks helps, it introduces task conflict. This occurs when the features needed for one task interfere with or contradict the features needed for another, leading to unstable training and poor generalization.

Empirical evidence of task conflict and gradient interference across training rounds and dimensions.

Through gradient analysis, the authors found that simply adding tasks causes "gradient interference"—where updates for one task actively suppress updates for another. This phenomenon is visualized in gradient dimension heatmaps, showing how conflicting updates across epochs can hinder the learning of transferable features.

Methodology: Task Conflict Calibration ($TC^2$)

The $TC^2$ method operates in three main phases:

  1. Task Construction: Inspired by meta-learning, each training mini-batch is divided into $K$ groups, treating each group as an independent SSL task with its own "support" and "query" sets.
  2. Causal Factor Extraction: To solve task conflict, the authors use a Structural Causal Model (SCM) to identify "causal generative factors." They implement a Factor Extraction Network ($f_v$) to learn a global dictionary of semantic basis vectors and a Weight Extraction Network ($f_w$) to assign specific weights to these factors for each sample.
  3. Bi-Level Optimization: The training follows a two-stage, nested optimization loop. The "inner loop" adapts task-specific parameters, while the "outer loop" updates the shared model weights to maximize performance across all tasks simultaneously.
Structural Causal Models (SCM) illustrating standard task flow and the proposed causal calibration.

By forcing the learned semantic factors to be orthogonal and the weights to be sparse, the model achieves better interpretability and less overfitting. $TC^2$ acts as a filter to keep only the causal, task-relevant features, removing the spurious correlations that cause conflict.

Experimental Results

The $TC^2$ module acts as a "plug-and-play" enhancement for existing SSL methods like SimCLR, BYOL, and MAE. Key results include:

  • Video Tracking: Adding $TC^2$ to SimCLR improved Video Object Segmentation (VOS) by ~3% and Multi-Object Tracking (MOT) by ~2%.
  • Object Detection: BYOL+$TC^2$ achieved State-of-the-Art (SOTA) results on the VOC 07 detection task.
  • OOD Performance: On the PACS dataset, SimCLR+$TC^2$ improved average accuracy from 83.3% to 86.2%. On ColoredMNIST, it boosted "worst-case" accuracy from 82.4% to 87.0%, showing much higher robustness to distribution shifts.

Conclusion and Future Work

$TC^2$ effectively addresses the transferability gap in SSL by modeling it as a multi-task meta-learning problem and calibrating task conflicts via causal factor extraction. While bi-level optimization is computationally more expensive than standard backpropagation, the performance gains in robustness and downstream transfer are significant. Future work may explore more complex task-splitting strategies beyond random batch partitioning to further enhance the diversity of the simulated tasks.

Summary updated

BibTeX
@inproceedings{guo2026exploring,
  author = {Huijie Guo and Jingyao Wang and Peizheng Guo and Xingchen Shen and Changwen Zheng and Wenwen Qiang},
  title = {{Exploring Transferability of Self-Supervised Learning by Task Conflict Calibration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  url = {https://openreview.net/forum?id=5VNfUtEKR6},
}
Figure