Tensor Canonical Correlation Analysis

You-Lin Chen, Mladen Kolar, Ruey S. TsayarXiv 2019

Abstract

In many modern applications, such as the classification of images, videos, or multi-dimensional genomic data, it is crucial to develop frameworks that handle tensor data directly rather than relying on ad-hoc vectorization. Traditional vector-based methods often suffer from computational inefficiency and the "curse of dimensionality" due to under-sampling. This paper investigates the convergence and statistical properties of two-dimensional canonical correlation analysis (2DCCA) under a probabilistic model and extends this framework to higher-order tensor-valued data. We propose the Higher-Order Power Method (HOPM) and its stochastic variants to extract canonical directions efficiently. By leveraging Lojasiewicz's inequalities, we provide convergence guarantees without restrictive assumptions on the data-generating process. Empirical results on gene expression and environmental datasets demonstrate that Tensor Canonical Correlation Analysis (TCCA) significantly outperforms traditional methods in both predictive accuracy and computational speed.

Introduction

Canonical Correlation Analysis (CCA) is a fundamental statistical tool used to identify linear relationships between two sets of variables. While highly effective for vector-valued data, traditional CCA struggles with modern multi-dimensional datasets, such as 3D brain scans or temporal video sequences. The standard practice of "vectorizing" or flattening these structures into long lists of numbers introduces two primary issues: the destruction of inherent spatial/temporal structures and a massive increase in the dimensionality of covariance matrices, making them computationally expensive to invert and statistically difficult to estimate.

To address these challenges, we introduce Tensor Canonical Correlation Analysis (TCCA). By treating the search for canonical directions as a low-rank tensor factorization problem, TCCA preserves the multi-dimensional structure of the data while drastically reducing the number of parameters to be estimated. This paper provides the first rigorous theoretical foundation for these methods, bridging the gap between heuristic tensor applications and statistical theory.

Methodology

The TCCA Framework

TCCA formulates the correlation problem as a non-convex optimization task. Instead of seeking a single projection vector, we seek a set of projection matrices (or tensors) that maximize the correlation between the projected representations of two datasets. This approach effectively treats CCA as a rank-1 tensor approximation problem.

Algorithms: HOPM and sHOPM

We utilize the Higher-Order Power Method (HOPM) to solve the optimization problem. A key contribution of this work is the introduction of Simple HOPM (sHOPM), which utilizes Euclidean normalization instead of complex data-dependent normalization. We demonstrate that while the internal steps differ, both methods are mathematically equivalent regarding the resulting canonical correlation values.

Theoretical Guarantees

A significant hurdle in non-convex optimization is the risk of becoming trapped in local optima or stationary points. We justify the convergence of our algorithms using the theory of Lojasiewicz gradient inequalities. This allows us to guarantee that the algorithm will reach a stationary point regardless of the initialization or the specific data-generating process. Furthermore, we provide finite sample bounds, offering the "statistical teeth" necessary to ensure the method is reliable in practical settings.

Scalability and Inexact Updating

For large-scale datasets that exceed memory capacity, we develop an inexact updating scheme compatible with Stochastic Gradient Descent (SGD). We prove that even when updates are computed with slight errors (as is common in stochastic settings), the overall error of the TCCA solution remains bounded, ensuring robustness in "Big Data" scenarios.

Empirical Results

Performance and Generalization

We validated TCCA against traditional 1DCCA and sparse methods (such as Rifle) using a variety of datasets. In a study of gene expression data (318 individuals, 14,079 genes), TCCA achieved a test correlation of 0.833, whereas standard 1DCCA collapsed to 0.393. This indicates that by preserving the tensor structure, TCCA identifies genuine biological patterns that generalize far better to unseen data.

Computational Efficiency

The structural approach of TCCA leads to massive gains in speed. Because TCCA avoids inverting large $d_1 d_2 \times d_1 d_2$ matrices in favor of smaller $d_i \times d_i$ operations, the computational footprint is minimized. On the gene expression dataset, TCCA completed its task in 0.089 seconds, compared to 40.32 seconds for 1DCCA and nearly 10 hours for the sparse Rifle method.

Interpretability: Air Pollution in Taiwan

Beyond metrics, TCCA provides physically meaningful insights. In an analysis of air pollution across 12 monitoring stations in Taiwan over 12 years, TCCA successfully identified the Central Mountain Range as a primary factor in correlation patterns. The model clearly distinguished between the distinct atmospheric behaviors of northern, southern, and eastern regions, demonstrating its utility in environmental spatial modeling.

Conclusion

Tensor Canonical Correlation Analysis provides a mathematically rigorous and computationally efficient alternative to traditional vector-based CCA. By providing the first formal convergence proofs via Lojasiewicz's inequalities and demonstrating superior performance on real-world genomic and environmental data, this work fills a crucial gap in the tensor literature. Future work will explore preconditioning techniques to further accelerate convergence in extremely high-dimensional settings.

Summary updated

BibTeX
@misc{chen2019tensor,
  author = {You-Lin Chen and Mladen Kolar and Ruey S. Tsay},
  title = {{Tensor Canonical Correlation Analysis}},
  year = {2019},
  eprint = {1906.05358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.05358},
}
Figure