Table of Contents
Fetching ...

Fast and Accurate CP-HIFI Tensor Decompositions: Exploiting Kronecker Structure

Johannes J. Brust, Tamara G. Kolda

Abstract

Tensor decompositions are a fundamental tool in scientific computing and data analysis. In many applications -- such as simulation data on irregular grids, surrogate modeling for parameterized PDEs, or spectroscopic measurements -- the data has both discrete and continuous structure, and may only be observed at scattered sample points. The CP-HIFI (hybrid infinite-finite) decomposition generalizes the Canonical Polyadic (CP) tensor decomposition to settings where some factors are finite-dimensional vectors and others are functions drawn from infinite-dimensional spaces. The decomposition can be applied to a fully observed tensor (aligned) or, when only scattered observations are available, to a sparsely sampled tensor (unaligned). Current methods compute CP-HIFI factors by solving a sequence of dense linear systems arising from regularized least-squares problems to fit reproducing Kernel Hilbert space (RKHS) representations to the data, but these direct solves become computationally prohibitive as problem size grows. We propose new algorithms that achieve the same accuracy while being orders of magnitude faster. For aligned tensors, we exploit the Kronecker structure of the system to efficiently compute its eigendecomposition without ever forming the full system, reducing the solve to independent scalar equations. For unaligned tensors, we introduce a preconditioned conjugate gradient method, exploiting the problem's structure for fast matrix-vector products and efficient preconditioning. In our experiments, the proposed methods speed up the solution up to 500x compared to the prior naive direct methods, in line with the reduction in the theoretical computational complexity.

Fast and Accurate CP-HIFI Tensor Decompositions: Exploiting Kronecker Structure

Abstract

Tensor decompositions are a fundamental tool in scientific computing and data analysis. In many applications -- such as simulation data on irregular grids, surrogate modeling for parameterized PDEs, or spectroscopic measurements -- the data has both discrete and continuous structure, and may only be observed at scattered sample points. The CP-HIFI (hybrid infinite-finite) decomposition generalizes the Canonical Polyadic (CP) tensor decomposition to settings where some factors are finite-dimensional vectors and others are functions drawn from infinite-dimensional spaces. The decomposition can be applied to a fully observed tensor (aligned) or, when only scattered observations are available, to a sparsely sampled tensor (unaligned). Current methods compute CP-HIFI factors by solving a sequence of dense linear systems arising from regularized least-squares problems to fit reproducing Kernel Hilbert space (RKHS) representations to the data, but these direct solves become computationally prohibitive as problem size grows. We propose new algorithms that achieve the same accuracy while being orders of magnitude faster. For aligned tensors, we exploit the Kronecker structure of the system to efficiently compute its eigendecomposition without ever forming the full system, reducing the solve to independent scalar equations. For unaligned tensors, we introduce a preconditioned conjugate gradient method, exploiting the problem's structure for fast matrix-vector products and efficient preconditioning. In our experiments, the proposed methods speed up the solution up to 500x compared to the prior naive direct methods, in line with the reduction in the theoretical computational complexity.

Paper Structure

This paper contains 25 sections, 42 equations, 6 figures, 3 tables.

Figures (6)

  • Figure 1: Comparison of direct methods proposed in prior work LaKoZhWi24 with the direct, decoupled, and pcg iterative methods proposed in this paper. The times represent the total time for an alternating optimization method. See \ref{['fig:miranda-aligned-comp', 'fig:miranda-unaligned']} for further details.
  • Figure 1: Aligned vortex tensor results for CP-HIFI, comparing relative error (left), runtime (middle), and speedup relative to the direct method (right) for different subproblem solvers.
  • Figure 2: Aligned Miranda tensor results for CP-HIFI, comparing relative error (left), runtime (middle), and speedup relative to the direct method (right) for different subproblem solvers.
  • Figure 3: Unaligned vortex tensor results for CP-HIFI, comparing relative error (left), runtime (center), and the speedup of PCG versus the two different direct methods.
  • Figure 4: Unaligned Miranda tensor results for CP-HIFI, comparing relative error (left), runtime (center), and the speedup of PCG versus the two different direct methods.
  • ...and 1 more figures