Encoding Tree Sparsity in Multi-Task Learning: A Probabilistic Framework

Lei Han, Yu Zhang, Guojie Song, Kunqing Xie

Introduction

Multi-task learning (MTL) is a powerful paradigm that aims to improve the generalization performance of multiple related tasks by learning them simultaneously. The core challenge in MTL lies in effectively capturing the underlying relationships between tasks. Traditional approaches often assume a simple "flat" structure where all tasks share a common set of features, typically enforced through group-sparsity norms like $\ell_{1/q}$.

However, real-world tasks often exhibit complex, hierarchical relationships. For instance, in biological data or image classification, tasks may naturally cluster into subgroups. Existing methods like Sum-Based Decomposition (SBD) attempt to model this by splitting coefficients into shared and task-specific components. Yet, SBD can be overly flexible, leading to high model complexity and a failure to enforce true sparsity across related task groups. This paper introduces the Probabilistic Tree Sparsity (PTS) framework, which utilizes a product-based decomposition to naturally encode hierarchical task structures.

The Probabilistic Tree Sparsity (PTS) Framework

The PTS model represents tasks as leaf nodes in a tree structure. The fundamental innovation is the Product-Based Decomposition (PBD) of model coefficients.

Figure 1: Tree structures for multi-task learning. (a) A hierarchical tree where internal nodes represent task subgroups. (b) A flat tree where all tasks are direct descendants of the root.

In this framework, each model coefficient $w_{ji}$ (for feature $j$ and task $i$) is defined as the product of component coefficients $h$ associated with every node along the path from the root to the task's leaf node. For example, in Figure 1(a), the coefficient for task 1 would be the product of components at nodes 5, 4, and 1. This "lineage" approach ensures that task relationships are structurally embedded in the model.

To induce sparsity, the authors apply specific probabilistic priors:

  • Cauchy Priors are assigned to internal nodes. The Cauchy distribution's sharp peak at zero and heavy tails make it an aggressive sparsity inducer. If an internal node's component is zeroed out, the entire subtree's coefficients for that feature become zero.
  • Gaussian Priors are used for leaf nodes, allowing for task-specific variations once the broader hierarchical relevance has been established.

Parameters are learned using an efficient Expectation-Maximization (EM) algorithm integrated with a Majorization-Minimization (MM) step.

Hierarchical Feature Selection and "Contagious Sparsity"

The product-based approach creates a mechanism where sparsity is "contagious." Unlike sum-based models where a shared component might be zero but task-specific components remain active, the PTS model ensures that if a high-level node determines a feature is irrelevant for a category of tasks, that decision propagates downward.

Figure 5: Synthetic dataset visualization. (a) The 8-task hierarchy. (b) The ground-truth sparsity matrix for 30 features. (c-h) Active nodes (black) for specific feature ranges, demonstrating how sparsity propagates through the tree.

As illustrated in Figure 5, different features can be active at different levels of the hierarchy. Features 1-5 might be relevant to all tasks (root active), while features 6-10 are only relevant to a specific branch. This hierarchical pruning significantly reduces the effective number of parameters and improves model robustness compared to traditional methods.

Experimental Results

The PTS model was rigorously evaluated against several baselines, including Multi-Task Feature Learning (MTFL), the Dirty Model (DM), and the Cascade Model.

  • Synthetic Data: On a 30-feature, 8-task problem, PTS consistently achieved the lowest Mean Square Error (MSE) and demonstrated superior recovery of the true underlying sparsity pattern.
  • Microarray Data: In predicting gene expression labels for isoprenoid biosynthesis, PTS outperformed competitors even when the tree structure was estimated via hierarchical clustering, showcasing its practical utility when the exact hierarchy is unknown.
  • CIFAR-100: Treating 100 image classes as tasks and using their natural semantic hierarchy (e.g., aquatic mammals vs. flowers), PTS reached a classification accuracy of 70.22%, significantly higher than the 64.45% achieved by standard MTFL.

Conclusion

The Probabilistic Tree Sparsity framework offers a principled way to incorporate hierarchical prior knowledge into multi-task learning. By moving from sum-based to product-based decomposition and leveraging the sparsity-inducing properties of Cauchy priors, PTS achieves better feature selection and generalization. Future work aims to automate the discovery of the tree structure itself, potentially using Bayesian non-parametric methods to further enhance the model's flexibility.

Summary updated

BibTeX
@inproceedings{han2014encoding,
  author = {Lei Han and Yu Zhang and Guojie Song and Kunqing Xie},
  title = {{Encoding Tree Sparsity in Multi-Task Learning: A Probabilistic Framework}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.9009},
}
Figure