Supervised Nonnegative Tensor Factorization with Maximum-Margin Constraint

Fei Wu, Xu Tan, Yi Yang, Dacheng Tao, Siliang Tang, Yueting Zhuang

Abstract

Traditional data analysis often requires flattening multi-dimensional tensors into vectors, a process that destroys inherent structural relationships. We present SNTFM², a novel framework that integrates supervised learning directly into the tensor decomposition process. By coupling Nonnegative Tensor Factorization (NTF) with a maximum-margin (SVM-style) constraint, SNTFM² learns a "parts-based" representation that is both physically interpretable and optimized for classification. Experimental results demonstrate that SNTFM² outperforms state-of-the-art methods in accuracy across multiple benchmarks while maintaining high computational efficiency.

Introduction

In fields such as computer vision and bioinformatics, data naturally exists as tensors—multi-dimensional arrays like 3D video cubes or 2D images. Standard Nonnegative Matrix Factorization (NMF) typically requires "flattening" these structures into vectors, which discards spatial and temporal correlations. While unsupervised Nonnegative Tensor Factorization (NTF) preserves this structure, it ignores class labels, often resulting in features that are excellent for reconstruction but suboptimal for classification. SNTFM² addresses this gap by incorporating label information directly into the decomposition process.

Methodology

The SNTFM² framework formulates tensor decomposition as a joint optimization task:

  1. Tucker Decomposition Base: The model utilizes the Tucker model to decompose high-dimensional tensors into a core tensor and factor matrices.
  2. Maximum-Margin Constraint: An SVM objective is embedded into the factorization loss function, ensuring latent features maximize the margin between classes.
  3. Kernel Trick: To handle non-linear distributions, the model incorporates kernels into the factorized space, identifying discriminative hyperplanes in high-dimensional Hilbert spaces.
  4. Efficient Optimization: A block-coordinate style approach updates factor matrices column-by-column, avoiding the inversion of massive Hessian matrices and significantly reducing computational overhead.
  5. Sparsity Control: An $L_1$ norm penalty ensures sparse decompositions, enhancing the interpretability of the resulting "parts-based" features.

Experimental Results

The model was evaluated against several benchmarks, including synthetic distributions and real-world datasets like the UCI repository (Ionosphere, Musk, Pima), FG-NET facial images, and CMU motion capture data.

Discriminative Power and Accuracy

SNTFM² consistently achieved superior accuracy compared to traditional SVMs and other tensor-based methods. Visualization of the toy dataset (ND) demonstrates how the SNTFM² projection "untangles" overlapping classes into a linearly separable space.

Visualization of the toy dataset (ND) showing class separation.

Quantitative results across standard UCI datasets further validate the model's performance, with SNTFM² achieving the highest accuracy in three out of four benchmarks, notably reaching 96.8% on the ND dataset.

Classification accuracy comparison across multiple datasets.

Computational Efficiency

A significant advantage of the SNTFM² optimization scheme is its speed. In benchmarks using a $40 \times 40 \times 40$ core tensor, SNTFM² converged in approximately 55 seconds, nearly 40 times faster than standard Sparse Tucker decomposition (NTucker), which required over 2,241 seconds.

Discussion

The primary insight of this work is that simultaneous factorization and classification is superior to a sequential pipeline. By forcing the decomposition to satisfy a margin constraint, the model effectively filters out noise irrelevant to the classification task. Furthermore, the non-negativity constraint ensures that the learned components represent additive "parts" of the data, providing a level of interpretability absent in black-box models.

Conclusion

SNTFM² offers a robust solution for supervised learning on multi-dimensional data. While currently focused on binary classification and requiring manual tuning of core tensor sizes, its ability to preserve structural information while maintaining high efficiency makes it a powerful tool for complex data analysis. Future work will explore optimized multi-class strategies and automated kernel selection.

Summary updated

BibTeX
@inproceedings{wu2013supervised,
  author = {Fei Wu and Xu Tan and Yi Yang and Dacheng Tao and Siliang Tang and Yueting Zhuang},
  title = {{Supervised Nonnegative Tensor Factorization with Maximum-Margin Constraint}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2013},
  doi = {10.1609/aaai.v27i1.8598},
}
Figure