Abstract
Traditional tensor decomposition methods, such as Canonical Polyadic (CP) decomposition, rely on the assumption that data is perfectly aligned on a rigid, rectangular grid. However, real-world measurements—from neural recordings to environmental sensors—are frequently irregular, sparse, or misaligned. This paper introduces CP-HiFi (Hybrid Infinite and Finite dimensional), a framework that bridges tensor decomposition with Reproducing Kernel Hilbert Spaces (RKHS). By treating specific data dimensions as continuous functions rather than discrete vectors, CP-HiFi naturally accommodates misaligned data and enforces principled smoothness without the need for error-prone interpolation.
The Challenge of Misaligned Data
In standard tensor decomposition, data is viewed as a multi-way array where every observation must align across all dimensions. When data is sampled at irregular intervals or different variables are sampled at slightly different times, researchers typically resort to "binning" or interpolation. These pre-processing steps can introduce artifacts or lead to "spurious behavior," where the model fits noise in the gaps between data points. Furthermore, standard CP decomposition treats every point in a dimension like "time" as independent, ignoring the inherent smoothness of physical processes.
Methods: The CP-HiFi Framework
The authors propose the quasitensor, a mathematical object where some modes are finite (discrete indices) and others are infinite (continuous functions). CP-HiFi decomposes these objects using two key components:
- RKHS Integration: Instead of learning discrete vectors for continuous modes, the model learns functions within an RKHS. This allows users to encode physical assumptions—such as smoothness or periodicity—directly into the model via a choice of kernel (e.g., Gaussian, Exponential, or Periodic).
- The Representer Theorem: This theorem ensures that the infinite-dimensional optimization problem remains tractable. It proves that the optimal continuous function can be represented as a finite linear combination of kernel evaluations at the observed data points.
The resulting algorithm, an extension of Alternating Least Squares (ALS), updates discrete modes using standard linear algebra and continuous modes via a specialized kernel ridge regression step.
Experimental Results and Insights
The framework was evaluated using synthetic rank-3 quasitensors ($4 \times 3 \times \infty$) designed to mimic challenging real-world scenarios. The experiments ranged from perfectly aligned dense data to "total misalignment," where every fiber of the tensor was sampled at independent points.
Key Findings:
- Robustness to Sparsity: CP-HiFi accurately recovered underlying factors even with as few as 12 samples per function, whereas standard CP produced jagged, inaccurate results.
- Handling Misalignment: In cases of total misalignment, CP-HiFi was the only method capable of maintaining high fidelity to the ground truth. The RKHS constraint prevents the "spurious behavior" seen in discrete models by pulling the solution toward physically plausible, smooth shapes.
- Principled Smoothness: Unlike heuristic post-processing filters, CP-HiFi incorporates smoothness directly into the optimization objective, ensuring that the decomposition is both mathematically sound and physically meaningful.
Limitations and Future Directions
While effective, the current implementation of CP-HiFi faces a computational bottleneck: updating continuous modes scales at $O((rn_k)^3)$, where $n_k$ is the number of unique sample points. Future work will explore downsampling strategies or the use of "design points" to improve scalability for large-scale tensors. Additionally, automating the selection of kernels and regularization parameters remains an open research challenge.
Summary updated