A Consistent Lebesgue Measure for Multi-label Learning

Kaan Demir, Bach Hoai Nguyen, Bing Xue, Mengjie Zhang · DOI

Abstract

Multi-label learning (MLL) often involves optimizing multiple non-differentiable metrics, such as Hamming loss and F1-score. Traditional approaches rely on differentiable surrogate losses like Binary Cross-Entropy (BCE), which can be inconsistent with the target metrics. This paper introduces the Consistent Lebesgue Measure-based Multi-label Learner (CLML), a framework that directly optimizes these metrics using a Lebesgue measure-based objective and gradient-free optimization. CLML demonstrates theoretical consistency and superior performance on tabular datasets compared to complex state-of-the-art models.

Introduction

In multi-label learning (MLL), instances are associated with multiple categories simultaneously. Evaluating these models is complex because no single metric captures all performance nuances. Common metrics include Hamming loss (label error rate), Ranking precision (relevance ordering), and F1-scores (precision-recall balance). However, these metrics are typically non-convex, discontinuous, and non-differentiable, making them incompatible with standard gradient-based optimization.

Consequently, practitioners often use "surrogate" losses like Binary Cross-Entropy (BCE). While convenient, minimizing BCE does not guarantee the minimization of the target metrics, leading to a "surrogate gap" where model performance on actual metrics may stagnate or degrade despite decreasing surrogate loss. CLML addresses this by bypassing surrogates entirely.

The CLML Framework

The authors propose the Consistent Lebesgue Measure-based Multi-label Learner (CLML) to address these challenges. CLML shifts from gradient-based optimization of surrogates to a multi-objective approach that directly targets the desired metrics.

The architecture of CLML, showing the flow from input features to the Lebesgue measure objective.

The framework utilizes a simple feedforward neural network architecture, emphasizing that the optimization objective, rather than architectural complexity, is the primary driver of performance. The model $f$ processes input $\mathbf{X}$ through embedding, standardization, and feedforward layers to produce predictions $\hat{\mathbf{Y}}$. These predictions, along with ground truth $\mathbf{Y}$, are used to calculate multiple target losses ($\mathcal{L}_1, \mathcal{L}_2, \mathcal{L}_3$), which are then aggregated into a single Lebesgue measure.

Multi-Objective Optimization via Lebesgue Measure

Instead of a weighted sum of losses, CLML treats MLL as a multi-objective optimization problem. It employs the Lebesgue measure—often referred to as "hypervolume" in optimization literature—to quantify model quality. This measure represents the "volume" of the loss space successfully minimized across multiple dimensions.

Visualization of the Lebesgue contribution of different models in a 3D loss space.

Because the target losses are non-differentiable, CLML uses Covariance Matrix Adaptation Evolutionary Strategy (CMA-ES), a derivative-free optimizer. CMA-ES samples potential solutions from a multivariate normal distribution and iteratively updates its parameters to find the optimal region in the loss landscape. This approach naturally handles trade-offs between conflicting goals, such as precision and recall, without requiring manual weight tuning.

Evaluation and Results

CLML was evaluated on nine diverse tabular multi-label datasets, ranging from small datasets like flags and emotions to large, complex ones like mediamill and IMDB-F. Despite its architectural simplicity, CLML achieved significant performance gains:

  • Ranking Improvement: CLML showed a 13.79% to 58.33% improvement in critical distance ranking over competitive state-of-the-art methods.
  • Aggregate Performance: CLML achieved the best aggregate rank (2.50) across all measures, surpassing previous leaders like DELA (2.90).
  • Calibration: Models trained with CLML exhibited superior calibration curves, indicating that predicted probabilities more accurately reflect actual label likelihoods.

Discussion and Insights

A key finding of this work is the empirical validation of the "surrogate gap." During training, the authors observed that as target metrics improved, the BCE surrogate loss often increased near convergence, highlighting the inconsistency of standard surrogates. Mathematically, the paper provides a proof that maximizing the Lebesgue measure is theoretically consistent with minimizing individual multi-label losses within a Bayes risk framework.

Conclusion

CLML demonstrates that direct optimization of target metrics via a consistent multi-objective framework can outperform complex models relying on inconsistent surrogates. While the current implementation using CMA-ES faces scalability challenges for very deep networks, it provides a robust foundation for future research into efficient, consistent multi-label learning. Future work may explore differentiable approximations of the Lebesgue measure or hybrid optimization strategies to extend these benefits to larger-scale unstructured data.

Summary updated

BibTeX
@misc{demir2024consistent,
  author = {Kaan Demir and Bach Hoai Nguyen and Bing Xue and Mengjie Zhang},
  title = {{A Consistent Lebesgue Measure for Multi-label Learning}},
  year = {2024},
  eprint = {2402.00324},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.00324},
}
Figure