Maximum Margin Multi-Dimensional Classification

Bin-Bin Jia, Min-Ling Zhang

Abstract

Multi-dimensional classification (MDC) involves assigning an object to multiple labels across distinct, heterogeneous class spaces. Traditional approaches often treat these dimensions independently or rely on manually specified dependency structures. This paper introduces M3MDC, the first maximum margin framework specifically designed for MDC. By integrating one-vs-one decomposition with a novel covariance regularization term, M3MDC automatically learns and exploits hidden dependencies between classification dimensions, significantly outperforming traditional independent or chain-based methods.

The Multi-Dimensional Challenge

In standard classification, an object belongs to a single label space. In MDC, the object is categorized across several dimensions simultaneously. For instance, a news article might be classified by Topic (Sports, Politics), Mood (Positive, Neutral), and Geography (Domestic, International). While these dimensions are distinct, they are rarely independent; a "Politics" story may have a higher probability of a "Neutral" mood than a "Sports" story.

Existing maximum margin techniques, such as SVMs, struggle with MDC because margins calculated in one class space are not directly comparable to those in another. Furthermore, ignoring inter-dimension dependencies leads to sub-optimal predictive accuracy.

The M3MDC Framework

M3MDC addresses these challenges through a joint optimization framework consisting of three primary components:

  1. One-vs-One (OvO) Decomposition: Within each dimension, the problem is decomposed into binary pairs. This allows the model to explicitly consider the margins between every possible pair of labels within a single class space.
  2. Margin Maximization: The model optimizes for the maximum classification margin for each binary pair, ensuring robust separation within dimensions.
  3. Covariance Regularization: To capture inter-dimension relationships, the authors introduce a regularization term: $\text{tr}(WC^{-1}W^\top)$, where $C$ is a covariance matrix. This term forces the model to learn the structural dependencies between different dimensions automatically during the training process.

Optimization Strategy

The resulting objective function is jointly convex. The authors employ an efficient alternating optimization strategy: fixing classification weights to solve for the optimal covariance matrix $C$, and then fixing $C$ to update the weights. This process is computationally efficient, typically converging in fewer than five iterations.

Experimental Results

The researchers evaluated M3MDC on 10 real-world datasets across domains like biology (Yeast), music (Song, Music), and environmental science (WaterQuality).

Automatic Dependency Learning

A key advantage of M3MDC is its ability to visualize learned relationships. By transforming the learned covariance matrix $C$ into a correlation matrix $R$, the model provides a clear map of dimension dependencies.

Correlation matrices for Song, WaterQuality, and Yeast datasets. Red indicates positive correlation, blue indicates negative, and green indicates independence.

As shown in the heatmaps above, the model successfully captures varying degrees of correlation across different datasets, confirming that inter-dimension dependencies are prevalent and measurable.

Performance and Sensitivity

M3MDC was compared against four baselines (Binary Relevance, ECC, ECP, and ESC) using Hamming Score, Exact Match, and Sub-Exact Match. M3MDC ranked first in 21 out of 30 experimental cases.

While the model is robust, its performance is influenced by the regularization parameters $\lambda_1$ and $\lambda_2$. The authors suggest default values of $\lambda_1=0.1$ and $\lambda_2=0.001$, though optimal settings can vary by dataset and metric.

Performance of M3MDC changes as $\lambda_1, \lambda_2$ range in {10, 1, 0.1, 0.01, 0.001, 0.0001} across different metrics and datasets.

Conclusion

M3MDC represents a significant step forward for multi-dimensional classification. By treating the heterogeneity of class spaces as a structured relationship to be exploited rather than a barrier, the framework provides a principled, maximum-margin approach that automatically adapts to the hidden dependencies within complex datasets.

Summary updated

BibTeX
@inproceedings{jia2020maximum,
  author = {Bin-Bin Jia and Min-Ling Zhang},
  title = {{Maximum Margin Multi-Dimensional Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5855},
}
Figure