Supervised Learning for Non-Sequential Data with the Canonical Polyadic Decomposition

Alexandros Haliassos, Kriton Konstantinidis, Danilo P. MandicarXiv 2020

Introduction

In many machine learning tasks—such as predicting house prices or detecting fraud—the order of input features is irrelevant. Swapping "number of bedrooms" with "square footage" should not change the underlying logic of the model. However, modeling all possible interactions between $N$ features leads to the Curse of Dimensionality, where the number of parameters grows exponentially.

To solve this, researchers often use Tensor Networks (TNs) to represent these interactions compactly. The popular "Tensor Train" (TT) format, however, is sensitive to the sequence of features; changing the order of inputs changes the model's internal representation. This paper introduces a novel supervised learning approach for non-sequential data using the Canonical Polyadic Decomposition (CPD) of weight tensors, which is inherently invariant to feature ordering.

Methods

The authors propose a CP-based predictor that represents the massive weight tensor of feature interactions using the CP format. Unlike Tensor Train, the CP format is robust to feature permutations, making it a "perfect match" for non-sequential data.

Comparison of Tensor Train (a) and CP (b) architectures. The star-like structure of CP ensures permutation invariance.

Key Technical Contributions

  • Efficient Algorithms: The derived prediction and learning algorithms have $O(NRd)$ complexity (where $N$ is the number of features, $R$ is the tensor rank, and $d$ is the local dimension), ensuring the model scales linearly with the number of features.
  • Normalized Polynomial Mapping: To handle dense data, the authors generalized the feature map to high dimensions ($d > 100$). To prevent numerical instability and overfitting, they introduced a unit-normalization step for the mapped feature vectors.
  • Smart Initialization: A scheme was developed to initialize the tensor model so that it starts as a standard linear regression solution, significantly speeding up convergence.
  • Order Regularization: A specialized regularization technique that penalizes higher-order feature interactions more heavily than lower-order ones to prevent overfitting in complex interaction spaces.
Algorithm 3: Order Regularization Penalty, used to control the complexity of feature interactions.

Key Insights and Results

The model was evaluated on distinct data types, including MovieLens 100K (sparse categorical) and California Housing (dense real-valued).

  • CP vs. TT: For unordered data, the sequential nature of a Tensor Train is a limitation. The CP format's inherent lack of ordering is exactly what non-sequential tasks require.
  • The Power of Normalization: High-dimensional polynomial maps usually explode or vanish numerically. By normalizing these vectors to unit length, the authors unlocked the ability to use very high-order feature interactions ($d > 75$) stably, allowing the tensor model to match or exceed the performance of deep fully-connected neural networks.
  • Sparse Data Superiority: On the MovieLens 100K dataset, the CP-based predictor achieved a 0.7863 AUC, outperforming Tensor Train (0.7815) and Tensor Ring (0.7827) models.
  • Dense Data Competitiveness: On the California Housing dataset, the CP-based model (with $d=75$ and normalization) achieved an MSE of 0.1959, outperforming standard Neural Networks (0.2029) and RBF-kernel SVMs (0.2236).

Limitations and Future Work

While the model handled 784 features (MNIST) via linear initialization, extremely high-dimensional inputs (thousands of features) can still lead to vanishing or exploding gradients due to successive Hadamard products. Future work could involve applying Riemannian optimization to further improve the stability and convergence of high-dimensional CP models. Additionally, for data with inherent structure like images, order-sensitive models like TT might still remain superior.

Summary updated

BibTeX
@misc{haliassos2020supervised,
  author = {Alexandros Haliassos and Kriton Konstantinidis and Danilo P. Mandic},
  title = {{Supervised Learning for Non-Sequential Data with the Canonical Polyadic Decomposition}},
  year = {2020},
  eprint = {2001.10109},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.10109},
}
Figure