Computing Tensor Z-Eigenvectors with Dynamical Systems

Austin R. Benson, David F. Gleich

TL;DR

This paper introduces a novel framework for computing Z-eigenvectors of general tensors by numerically integrating a continuous-time dynamical system. Unlike traditional algebraic methods that often get stuck at "stable" points, this approach can reliably capture "unstable" eigenvectors and offers a significantly more scalable alternative to global optimization techniques like semidefinite programming.

What Problem Does This Paper Address?

In the world of linear algebra, computing eigenvalues and eigenvectors for matrices is a solved problem with robust, standard software. However, as we move into multilinear algebra—dealing with tensors (multi-dimensional arrays)—the problem becomes significantly more complex.

The authors focus on Z-eigenvectors, a common type of tensor eigenvector defined by the relationship $\sum_{jk} \underline{T}_{i,j,k}x_j x_k = \lambda x_i$ with the constraint $\|x\|_2 = 1$.

Definitions of Z- and H-eigenvectors for a three-mode tensor

The current standard method, the Shifted Symmetric Higher-Order Power Method (SS-HOPM), is essentially a gradient-based approach. While useful, it has a major flaw: it can only converge to "stable" eigenvectors (local optima of a Rayleigh quotient). It completely misses "unstable" eigenvectors, which are often required for a complete understanding of the tensor's properties. While Semidefinite Programming (SDP) can find all real eigenvalues, it is NP-hard and fails to scale beyond very small dimensions.

Methods

The authors propose a dynamical systems approach inspired by "spacey random walks"—a stochastic process where the long-term behavior is governed by tensor eigenvectors.

The core of their method relies on a clever observation: a tensor Z-eigenvector $x$ is also a standard matrix eigenvector of a "collapsed" matrix $T[x]^{m-2}$. They define a continuous-time dynamical system:

$$\frac{dx}{dt} = \Lambda(T[x]^{m-2}) - x$$

Here, $\Lambda$ is a map that takes a matrix and returns a specific eigenvector (e.g., the one with the largest magnitude or the one closest to a target vector). By numerically integrating this system (using methods like Forward Euler), the system is forced to converge toward a stationary point where $\frac{dx}{dt} = 0$, which mathematically must be a Z-eigenvector.

Datasets

The paper evaluates the method using several benchmark tensors from the literature rather than large-scale external datasets:

  • Kolda and Mayo (2011): A $3 \times 3 \times 3$ symmetric tensor known for having both stable and unstable eigenvalues.
  • Cui et al. (2014): A $5 \times 5 \times 5$ symmetric tensor used to verify that the method matches results from SDP.
  • Scalability Benchmarks: A generalized version of the Cui tensor, scaled up to order-5 and dimension-15 to compare running times against SS-HOPM and SDP.

Key Insights and Ideas

  • Beyond Stability: By choosing different maps $\Lambda$ (e.g., picking the smallest algebraic eigenvalue vs. the largest), the dynamical system can be "steered" to find different eigenvectors, including those that are unstable under standard power methods.
  • Basins of Attraction: The authors use vector field visualizations to show how the choice of $\frac{dx}{dt}$ creates basins of attraction. In some cases, the entire surface of a unit sphere can become a basin for a specific eigenvector.
  • Normalization as a Regularizer: A key discovery was that normalizing the vector $x$ to unit norm after each integration step can stabilize the system and help it converge even when the basic map $\Lambda$ is ill-defined at certain points.
Vector fields showing basins of attraction for different eigenvector maps

Key Results

  • Completeness: On the Kolda-Mayo benchmark, the dynamical systems approach successfully found all 7 eigenvalues. Crucially, it found the 3 "unstable" eigenvalues that SS-HOPM missed entirely.
  • Speed: The method is significantly faster than SDP. Surprisingly, it is also faster than SS-HOPM in many cases. Even though each iteration of the dynamical system requires a full matrix eigendecomposition, it converges in very few steps (often fewer than 10).
  • Robustness: The Rayleigh quotient convergence plots show that the method reaches high precision rapidly, even for the difficult-to-find unstable cases.
Comparison of methods on the Kolda-Mayo tensor, showing the dynamical system (V1-V5) finding all eigenvalues
Convergence of the Rayleigh quotient for unstable eigenvalues

Limitations and Future Work

  • Map Selection: There is currently no universal rule for which map $\Lambda$ will find which eigenvector. Choosing the right map remains a challenge for general, unknown tensors.
  • Theory Gap: While empirical results show that normalizing after each step helps convergence, a rigorous mathematical theory explaining why this works is still needed.
  • H-eigenvectors: The current "collapse" logic doesn't apply to H-eigenvectors. Adapting this framework to that class of problems is a stated goal for future research.
  • NP-Hardness: The authors acknowledge that computing all tensor eigenvectors remains NP-hard; this method is a powerful heuristic but not a guaranteed polynomial-time solution for every possible case.

Summary updated

BibTeX
@article{benson2019computing,
  author = {Austin R. Benson and David F. Gleich},
  title = {{Computing Tensor Z-Eigenvectors with Dynamical Systems}},
  journal = {SIAM J. Matrix Anal. Appl.},
  year = {2019},
  doi = {10.1137/18m1229584},
}
Figure