Abstract
Optimizing the F-measure in multi-label classification (MLC) is computationally challenging due to its non-decomposable nature. While the General F-measure Maximizer (GFM) provides a Bayes-optimal solution, it suffers from a high parameter estimation burden ($O(m^2)$), leading to performance degradation on small datasets. This paper introduces Factorized GFM (F-GFM), which partitions labels into conditionally independent subsets to reduce the number of parameters. This reduction acts as a powerful regularizer, significantly improving performance in data-scarce scenarios.
Introduction
In Multi-Label Classification (MLC), instances are assigned multiple binary labels simultaneously. The F-measure is a standard evaluation metric, but its optimization is notoriously difficult because the loss function does not decompose additively across labels. The state-of-the-art GFM algorithm provides an exact solution but requires estimating $m^2 + 1$ parameters for $m$ labels. When training data is limited, these estimates become noisy, hindering predictive performance. F-GFM addresses this bottleneck by leveraging conditional independence between label subsets.
Methods: Factorized GFM (F-GFM)
The core innovation of F-GFM is the use of Irreducible Label Factors (ILFs). Instead of assuming all labels are dependent and estimating a global $m \times m$ matrix $P$, F-GFM partitions the label set into subsets that are conditionally independent given the input features.
As shown in Figure 1, different dependency structures lead to different factorizations of the joint probability $p(\mathbf{y}|\mathbf{x})$. By estimating smaller local matrices $P^k$ for each independent subset, the parameter count is reduced from $O(m^2)$ to potentially $O(m^2/n)$, where $n$ is the number of subsets. These local matrices are then merged using a mathematically exact algorithm to reconstruct the global $P$ matrix required for GFM inference. To ensure numerical stability and well-calibrated probabilities, the authors employ a two-step chain rule approach combining multinomial and binary logistic regression.
Experimental Evaluation
The authors evaluated F-GFM using a synthetic toy problem designed to test various ground-truth conditional independencies. The dataset comprised 8 labels and 6 binary features, with dependencies governed by four distinct Directed Acyclic Graph (DAG) structures.
Key Insights
- Regularization through Factorization: By reducing the parameter footprint, F-GFM becomes more robust to small sample sizes. Interestingly, using learned independencies (via algorithms like ILF-Compo) sometimes outperformed using true ground-truth independencies on small datasets, as the "wrong" assumptions acted as a strong regularizer.
- Data Efficiency: F-GFM's performance advantage is most pronounced on training sets ranging from 50 to 500 samples, where standard GFM struggles with parameter noise.
- Computational Complexity: The inference step remains $O(m^3)$, maintaining parity with the original GFM despite the added complexity of matrix reconstruction.
Conclusion
F-GFM offers a robust framework for F-measure maximization by strategically reducing the parameter space through label factorization. While currently validated on synthetic data, it demonstrates significant potential for improving MLC performance in data-limited regimes. Future work will focus on scaling F-GFM to large-scale real-world datasets and optimizing the inference complexity.
Summary updated