Tensor Train Neighborhood Preserving Embedding

Wenqi Wang, Vaneet Aggarwal, Shuchin Aeron · DOI

Abstract

This paper presents Tensor Train Neighborhood Preserving Embedding (TTNPE), a novel framework for dimensionality reduction of high-dimensional multi-way data (tensors). By replacing the traditional Tucker decomposition with the Tensor Train (TT) format, TTNPE overcomes the "curse of dimensionality," offering linear storage scaling and improved computational efficiency. Experimental results on image and financial datasets demonstrate that TTNPE-ATN, an approximated variant, achieves superior classification accuracy and significant speedups compared to state-of-the-art tensor-based methods, particularly at high compression levels.

Introduction

In fields such as computer vision and financial analysis, data often arrives in multi-dimensional structures like images, videos, or time series. Traditional dimensionality reduction techniques, such as PCA or Laplacian Eigenmaps, typically require flattening these tensors into vectors, which destroys inherent spatial and temporal correlations. While tensor-based methods like Tucker-based Neighborhood Preserving Embedding (TNPE) preserve these structures, they suffer from exponential growth in storage and computational requirements as the number of dimensions increases.

The authors propose TTNPE to address these limitations. By leveraging the Tensor Train decomposition, the method embeds tensor data into a low-dimensional subspace while maintaining the local neighborhood structure of the original data points.

Methodology

TTNPE projects tensor data into a Tensor Train (TT) subspace. The process involves three primary steps:

  1. Neighborhood Preservation: Similar to standard NPE, the algorithm constructs an affinity matrix to capture local relationships between data points in the high-dimensional space.
  2. Tensor Train Decomposition: Unlike the Tucker format, which represents a tensor using a single core and multiple factor matrices, the TT format decomposes a high-order tensor into a chain of smaller, 3-mode tensors (cores). This shift changes the storage complexity from exponential to linear with respect to the number of modes.
  3. Optimization via ATN: To avoid the high computational cost of exact alternating minimization (TTNPE-TN), the authors introduce TTNPE-ATN (Approximated Tensor Networks). This variant finds an ideal eigenvector subspace and then identifies the closest TT-structured subspace, drastically reducing training time and memory usage.
Figure 1: Visualization of Tensor Train decomposition for a 3-mode tensor and associated tensor network diagrams.

A critical component of the methodology is "reshaping." By transforming standard 2D images into higher-order tensors (e.g., reshaping a 64x44 face into a 4x4x4x4x11 tensor), the TT model can exploit multi-linear correlations that are invisible to matrix-based methods.

Experimental Results

The performance of TTNPE was evaluated on the MNIST handwritten digit dataset, the Weizmann Face Database, and a financial market dataset.

Accuracy and the "U-Shaped" Curve

A key observation across datasets is the "U-shaped" error curve. As the compression ratio increases (meaning less compression), the classification error initially drops as the model captures the underlying data structure. However, the error eventually rises again as the model begins to overfit background noise. TTNPE-ATN consistently reached lower error minima than TNPE, especially at high compression levels.

Figure 3: Classification error vs. compression ratio for different neighborhood sizes (K=10, 50, 100). TTNPE-ATN (red) consistently outperforms TNPE (blue) at low compression ratios.

Efficiency and Speed

TTNPE-ATN demonstrated a massive advantage in storage and speed. On the Weizmann dataset, it maintained high accuracy at compression levels where Tucker-based methods became computationally impractical. Furthermore, TTNPE-ATN proved significantly faster in subspace learning, embedding new data, and final classification tasks.

Conclusion

TTNPE provides a robust and efficient alternative for high-dimensional data embedding. By utilizing the Tensor Train format, it achieves a better balance between accuracy and computational cost than traditional Tucker-based methods. While the approximated ATN version is highly effective in practice, future work will focus on narrowing the theoretical gap between approximate and exact solutions and further investigating the convergence properties of the underlying tensor network optimizations.

Summary updated

BibTeX
@article{wang2017tensor,
  author = {Wenqi Wang and Vaneet Aggarwal and Shuchin Aeron},
  title = {{Tensor Train Neighborhood Preserving Embedding}},
  journal = {IEEE Trans. Signal Process.},
  year = {2017},
  doi = {10.1109/tsp.2018.2816568},
}
Figure