Multi-Task Learning in Heterogeneous Feature Spaces

Yu Zhang, Dit-Yan Yeung

Introduction

Most multi-task learning (MTL) algorithms operate under the assumption that all tasks share a homogeneous feature space. However, real-world data often originates from diverse sources, such as different sensors or varying resolutions, leading to heterogeneous feature representations. This paper introduces Multi-Task Discriminant Analysis (MTDA), an extension of Linear Discriminant Analysis (LDA) designed to bridge this gap. MTDA allows tasks to reside in entirely different feature spaces while leveraging a shared underlying structure to improve classification performance, particularly in data-scarce scenarios.

The Challenge of Heterogeneity

Traditional MTL methods require every task to have identical dimensions and feature representations. For instance, in face recognition across multiple databases, standard methods would require all images to be resized to the same dimensions. Furthermore, classical dimensionality reduction techniques like LDA often suffer from the "Small Sample Size" problem, where a lack of labeled examples leads to overfitting. MTDA addresses both issues by using multi-task "hints" to stabilize the model when training data is limited.

Methodology: Multi-Task Discriminant Analysis

The core of MTDA is the decomposition of the transformation matrix for each task into a common structure and a task-specific component. For a task $i$, the transformation $U_i$ is defined as:

$$U_i = W_i P$$

  • $P$ (Common Structure): A shared matrix capturing universal characteristics (e.g., general facial features) in a latent space.
  • $W_i$ (Task-Specific Transformation): A matrix mapping the unique features of task $i$ into that shared latent space.

Optimization

The model optimizes a trace ratio objective function, maximizing the ratio of between-class scatter to total scatter across all tasks simultaneously. Since joint optimization of $W_i$ and $P$ is non-convex, the authors employ an alternating optimization procedure. They iteratively fix the common structure to solve for task-specific parts and vice versa. This process is computationally efficient and guaranteed to converge to a local maximum.

Convergence of the MTDA objective function over iterations for different training sample sizes (p).

Experimental Setup

The researchers evaluated MTDA using three distinct face recognition benchmarks as separate tasks with different resolutions:

  1. AR Face Database: 100 persons, $33 \times 24$ pixels.
  2. ORL Face Database: 40 persons, $28 \times 23$ pixels.
  3. PIE Face Database: 68 persons, $32 \times 32$ pixels.

These differing dimensions create a truly heterogeneous environment where standard MTL would fail without manual preprocessing.

Key Results and Insights

MTDA demonstrates several advantages over traditional single-task approaches:

  • Superior Accuracy in Scarcity: The model acts as a natural regularizer. When a task has very few training images per person ($p$), knowledge from other tasks prevents the model from collapsing. Gains were most significant at low values of $p$.
  • Robustness to Dimensionality: The performance remains relatively stable across a wide range of intermediate latent dimensions ($d'$), simplifying hyperparameter tuning.
  • Native Multi-class Support: Unlike binary MTL methods that require "one-vs-all" strategies, MTDA handles multiple classes inherently through its LDA-based foundation.
Error rates for AR, ORL, and PIE datasets across varying latent dimensionalities (d') and training sizes (p).

Conclusion

MTDA provides a robust framework for multi-task learning across heterogeneous feature spaces. By projecting diverse features into a common discriminative subspace, it effectively shares knowledge between tasks even when their raw representations differ. Future work may extend this to non-linear distributions via kernels or incorporate unlabeled data for semi-supervised learning.

Summary updated

BibTeX
@inproceedings{zhang2011multi,
  author = {Yu Zhang and Dit-Yan Yeung},
  title = {{Multi-Task Learning in Heterogeneous Feature Spaces}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.1609/aaai.v25i1.7909},
}
Figure