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

Optimizing Evaluation Metrics for Multi-Task Learning via the Alternating Direction Method of Multipliers

Ge-Yang Ke, Yan Pan, Jian Yin, Chang-Qin Huang · DOI

Abstract

Multi-Task Learning (MTL) aims to improve generalization by learning related tasks simultaneously. However, standard MTL formulations often minimize surrogate losses that do not directly correspond to critical evaluation metrics like F-score or Area Under the ROC Curve (AUC). This paper introduces Structured Multi-Task Learning (SMTL), a framework designed to optimize these non-smooth metrics directly. By employing the Alternating Direction Method of Multipliers (ADMM), SMTL decouples the optimization of task-sharing regularizers from the optimization of task-specific performance metrics. Extensive evaluations on nine real-world datasets show that SMTL significantly outperforms traditional MTL methods, especially on imbalanced data.

Introduction

In many real-world applications, such as medical diagnosis or fraud detection, the performance of a model is judged by complex metrics like the F-score or AUC rather than simple accuracy. Standard Multi-Task Learning (MTL) approaches typically use smooth surrogate losses (e.g., least squares or hinge loss) combined with regularizers (e.g., trace-norm) to enforce task relatedness. While effective for general generalization, these methods often fail to maximize the specific metrics of interest, particularly when dealing with imbalanced datasets where minority classes are critical.

The SMTL Framework

The authors propose Structured Multi-Task Learning (SMTL) to bridge the gap between training objectives and evaluation metrics. SMTL formulates the learning problem as the minimization of a combined objective:

  1. Task-Relationship Regularizer: A non-smooth norm (like $\ell_{1,1}$, $\ell_{2,1}$, or Trace-norm) that captures the structure or relatedness between tasks.
  2. Structured Hinge Losses: A sum of losses where each term is a surrogate for a specific evaluation metric (e.g., F-score or AUC) for an individual task.

This "non-smooth + non-smooth" objective is notoriously difficult to optimize using standard gradient-based methods.

Optimization via ADMM

To address the optimization challenge, the researchers utilize the Alternating Direction Method of Multipliers (ADMM). This technique allows the global problem to be split into two iterative sub-problems:

  • Regularizer Sub-problem: Updates the task-sharing parameters. For many common regularizers, this step has a closed-form solution.
  • Loss Sub-problem: Updates the task-specific weights to minimize the structured hinge loss.
Algorithm 1: The proposed ADMM procedure for the structured MTL problem.

The decoupling provided by ADMM is a significant architectural advantage, as it allows for the flexible use of different regularizers without altering the metric-specific optimization logic.

Metric-Specific Optimization

A key contribution of this work is the development of efficient solvers for the Loss Sub-problem. Since evaluation metrics like F-score and AUC are non-decomposable, the authors employ structured output learning. They developed a novel primal-dual algorithm via coordinate ascent to solve the resulting optimization problem.

Algorithm 3: Procedure to solve the structured loss for the F-score metric.

For metrics like the F-score, the algorithm iterates through possible values of true positives and false positives to find the optimal labeling that maximizes the objective, as shown in Algorithm 3. A similar efficient procedure was developed for AUC (Algorithm 4).

Experimental Evaluation

The SMTL framework was tested on nine diverse real-world datasets, including music emotion classification (Emotions), biological protein localization (Yeast), and text categorization (TMC2007).

Key Results

  • Performance Gains: SMTL consistently outperformed single-task and standard MTL baselines on the metrics it was optimized for. For example, on the Yeast dataset, SMTL achieved a 22.16% relative improvement in Macro F1-score over the best MTL baseline.
  • Robustness to Imbalance: In scenarios with high class imbalance (e.g., 1:10 ratio), SMTL maintained high performance while standard methods often collapsed toward the majority class.
  • Computational Cost: While SMTL is more computationally intensive than standard MTL (due to the inner coordinate ascent loop), the authors note that the substantial performance gains justify the increased training time, which remains feasible for offline learning.

Conclusion

SMTL provides a robust and flexible framework for directly optimizing the evaluation metrics that matter most in real-world applications. By leveraging ADMM to decouple task relatedness from metric optimization, the authors have created a tool that is particularly powerful for multi-task problems involving imbalanced data and complex performance requirements. Future work includes extending this framework to ranking tasks and improving scalability for extremely large datasets.

Summary updated

BibTeX
@article{ke2018optimizing,
  author = {Ge-Yang Ke and Yan Pan and Jian Yin and Chang-Qin Huang},
  title = {{Optimizing Evaluation Metrics for Multi-Task Learning via the Alternating Direction Method of Multipliers}},
  journal = {IEEE Trans. Cybernetics},
  year = {2018},
  doi = {10.1109/tcyb.2017.2670608},
}
Figure