NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Twofold Heterogeneous Multi-Task by Sharing Similar Convolution Kernel Pairs

Quan Feng, Songcan ChenarXiv 2021

Abstract

Multi-Task Learning (MTL) typically assumes shared input or output spaces. This paper addresses the more complex "Twofold Heterogeneous" Multi-Task Learning (THMTL) challenge, where both inputs and outputs differ across tasks. We propose the Multi-Task Adaptive Learning (MTAL) network, which dynamically identifies and aggregates similar convolution kernels across task-specific networks. This approach facilitates effective knowledge transfer while reducing model redundancy by over 13%. Experiments across eight datasets demonstrate that MTAL significantly outperforms state-of-the-art MTL methods in both accuracy and computational efficiency.

Introduction: The Challenge of Twofold Heterogeneity

Standard Multi-Task Learning (MTL) paradigms often rely on "hard-sharing," where early layers of a neural network are shared across all tasks. This works well when tasks are homogeneous—for instance, performing different classification tasks on the same set of images. However, real-world scenarios often involve "Twofold Heterogeneous" Multi-Task Learning (THMTL), where both the input features (e.g., varying resolutions and modalities) and the output labels (e.g., different categories) are inconsistent.

In THMTL, rigid hard-sharing often leads to "negative transfer," where the features learned for one task interfere with the performance of another. To overcome this, a more flexible mechanism is required—one that can discover commonalities at a granular level without forcing a global shared representation.

The Multi-Task Adaptive Learning (MTAL) Framework

The proposed MTAL network moves away from manual layer-wise sharing. Instead, it treats each task with an individual pipeline and learns to share knowledge dynamically at the kernel level.

The MTAL architecture for twofold heterogeneous multi-task learning, featuring task-specific pipelines, feature alignment, and kernel selection layers.

Kernel Similarity and Aggregation

The core of MTAL lies in the Convolution kernel selection layers. For every convolutional layer across different task networks, the model calculates the cosine similarity between pairs of kernels. This process involves two critical steps:

  1. Soft Thresholding: A threshold ($\delta$) is applied. If the similarity between two kernels from different tasks is low, they remain independent. This acts as a safety valve to prevent negative transfer between unrelated tasks.
  2. Weighted Aggregation: If similarity exceeds the threshold, the kernels are aggregated into a "kernel bank." This bank acts as a shared repository of fundamental visual features—like edges or textures—that are useful across disparate tasks, such as recognizing a handwritten digit and a household object simultaneously.

Feature Alignment

Because inputs vary significantly in resolution (e.g., 28x28 vs. 557x28), a Feature Alignment Layer is employed. This ensures that the feature maps generated by different task pipelines are aligned in a common space before the final task-specific classification heads process them.

Experimental Evaluation

The MTAL method was evaluated using eight public datasets, including Office-Caltech, Office Home, Coil-20, and Chars74K. These datasets represent a wide spectrum of visual data, from grayscale handwritten digits to high-resolution color photographs of office objects.

Performance and Efficiency

MTAL (and its variant $MTAL_R$, which incorporates prior task relationship knowledge) consistently outperformed state-of-the-art baselines such as Cross-Stitch networks and NDDR-CNN. Notably, in the "HD" (handwritten digits) and "Amazon" (object recognition) tasks, MTAL showed significant accuracy leads.

Beyond raw accuracy, the model demonstrated two key advantages:

  • Redundancy Reduction: By aggregating similar kernels, the network naturally prunes redundant parameters. The authors observed a 13.1% reduction in the solution space compared to standard independent networks.
  • Faster Convergence: The system exhibits faster training convergence, typically stabilizing within 40-80 iterations, making it more computationally efficient for large-scale multi-task environments.

Conclusion and Future Directions

The MTAL framework provides a robust solution for the difficult THMTL problem by enabling fine-grained, kernel-level knowledge sharing. By automatically discovering "pockets" of similarity, it avoids the pitfalls of manual architecture design. Future research will focus on handling highly unbalanced datasets where one task may dominate the shared kernel bank, and improving the interpretability of the learned shared features.

Summary updated

BibTeX
@misc{feng2021learning,
  author = {Quan Feng and Songcan Chen},
  title = {{Learning Twofold Heterogeneous Multi-Task by Sharing Similar Convolution Kernel Pairs}},
  year = {2021},
  eprint = {2101.12431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.12431},
}
Figure