Unsupervised Multi-task and Transfer Learning on Gaussian Mixture Models

Ye Tian, Haolei Weng, Yang FengarXiv 2022 · DOI

Introduction

In modern machine learning, data is often collected from multiple related sources or "tasks." While multi-task learning (MTL) and transfer learning (TL) have seen significant success in supervised settings, applying these paradigms to unsupervised learning—specifically Gaussian Mixture Models (GMMs)—presents unique challenges. This paper introduces a robust framework for MTL and TL on GMMs, providing the first set of rigorous theoretical guarantees for such models.

The primary difficulties in unsupervised multi-task learning are two-fold:

  1. The Alignment Problem: In unsupervised clustering, cluster labels are arbitrary. "Cluster 1" in one task may correspond to "Cluster 2" in another. Without a method to align these labels across different tasks, knowledge sharing is impossible.
  2. Robustness to Heterogeneity: Real-world tasks are rarely identical. If a model naively pools data from "outlier" tasks that differ significantly from the group, the resulting performance can be worse than learning each task in isolation.

Methodology: MTL-GMM and TL-GMM

The authors propose MTL-GMM, an iterative algorithm based on the Expectation-Maximization (EM) framework, designed to share information across tasks while maintaining individual task integrity.

The Core Algorithm

The innovation lies in the M-step of the EM algorithm. Instead of independent updates, the model employs a penalization framework that encourages the discriminant coefficients—the vectors defining the decision boundaries between clusters—to shrink toward a common global center. By focusing on these coefficients rather than raw mean vectors or covariances, the model targets the most critical information for clustering performance while allowing for task-specific variations in data spread.

Robustness and Alignment

To ensure robustness, the penalty is structured such that if a task's data deviates significantly from the group center, the squared loss term dominates the penalty. This allows the model to adaptively ignore misleading "outlier" tasks, transitioning from a "pooling" behavior to a "single-task" behavior as heterogeneity increases.

To solve the label-swapping (alignment) issue, the researchers developed two strategies:

  • Exhaustive Search: A method guaranteed to find the optimal alignment, though computationally intensive as the number of tasks grows.
  • Greedy Search: A more efficient alternative that performs well under mild conditions, making the framework scalable to larger datasets.

The framework is further extended to TL-GMM, which optimizes a specific target task by leveraging knowledge from multiple source tasks, shrinking the target's parameters toward a center derived from the sources.

Theoretical Contributions

The paper provides a strong theoretical foundation for the proposed methods, addressing gaps often skipped in previous unsupervised MTL literature:

  • Oracle Rates: The authors prove that when tasks are sufficiently similar, MTL-GMM achieves the "oracle rate"—the performance level attainable if one knew exactly which tasks were related and could pool their data perfectly.
  • Minimax Lower Bounds: They establish mathematical "speed limits," showing that their algorithm's accuracy is near the theoretical limit for this class of problems.
  • Permutation Invariance: The study offers a rigorous treatment of the label permutation problem, ensuring that the alignment process is mathematically sound.

Experimental Evaluation

The researchers validated their approach using synthetic data and real-world datasets, demonstrating superior accuracy and adaptivity.

  • Human Activity Recognition (HAR): Using data from 30 volunteers performing activities like standing or laying, MTL-GMM achieved an average mis-clustering error of 0.03. This vastly outperformed Single-task learning (0.28) and simple Pooled-GMM (0.15).
  • Pen-based Recognition of Handwritten Digits (PRHD): This dataset tested the model's ability to handle multiple clusters (digits 0-9) across 44 different writers.
  • Robustness to "Junk" Tasks: In simulations where 20% of the tasks were "outliers" (random noise), the model maintained high accuracy on relevant tasks, whereas standard pooling methods failed.

Conclusion and Future Work

This research establishes a robust, theoretically grounded framework for unsupervised multi-task learning. By focusing on discriminant-centric sharing and addressing the alignment problem, the authors have bridged a significant gap in GMM literature.

However, some limitations remain. The exhaustive alignment algorithm scales exponentially ($2^K$), necessitating more efficient solutions for tasks with many clusters. Additionally, the current framework assumes a fixed number of clusters across all tasks and shared covariance matrices within tasks. Future research may extend these methods to handle varying cluster counts and more complex, heterogeneous covariance structures.

Summary updated

BibTeX
@misc{tian2022unsupervised,
  author = {Ye Tian and Haolei Weng and Yang Feng},
  title = {{Unsupervised Multi-task and Transfer Learning on Gaussian Mixture Models}},
  year = {2022},
  eprint = {2209.15224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.15224},
}
Figure