Functional Bayesian Tucker Decomposition for Continuous-indexed Tensor Data

Shikai Fang, Xin Yu, Zheng Wang, Shibo Li, Mike Kirby, Shandian Zhe

Standard tensor decomposition is a cornerstone of multi-aspect data analysis, powering everything from recommendation engines to medical informatics. However, it has a "grid-shaped" Achilles' heel: it assumes data is indexed by discrete, finite sets (e.g., User A, Movie B). But what happens when your data is indexed by continuous variables like latitude, longitude, and time?

In their ICLR 2024 paper, Shikai Fang and colleagues introduce FunBaT (Functional Bayesian Tucker Decomposition), a framework that generalizes the classic Tucker model to continuous fields. This approach offers a scalable, probabilistic way to handle real-world spatial and temporal data without forcing it into artificial bins.

The Problem with Grids

Traditional tensor models require data to be structured in a rigid grid. If you have weather data, you usually have to "bin" it—averaging temperatures into specific 1-degree latitude buckets or weekly time steps.

This discretization is problematic for two main reasons:

  1. Information Loss: Fine-grained details are smoothed over or lost entirely.
  2. Rigidity: The model cannot easily handle "out-of-grid" queries. If you trained on weekly data, predicting what happens on a specific Tuesday afternoon is difficult.

While some "Functional Tensor Train" (FTT) models exist, they are often deterministic, sensitive to noise, and struggle with uncertainty quantification. FunBaT aims to provide a fully Bayesian, flexible, and computationally efficient alternative.

The FunBaT Approach

The core idea of FunBaT is to treat a tensor entry not as a cell in a matrix, but as the output of a multivariate function $f(i_1, \dots, i_K)$.

  • Functional Tucker Format: Instead of looking up a factor in a discrete table, the model uses a group of latent functions $U^k(i_k)$ that map a continuous index (like a timestamp or coordinate) to a latent vector. These vectors then interact with a standard Tucker "core tensor" to produce the final value.
  • Gaussian Process (GP) Priors: To ensure the latent functions are smooth and realistic, the authors place GP priors on them.
  • The SDE Trick for Scalability: Standard GPs scale cubically ($O(N^3)$), which is a non-starter for large datasets. The authors convert the GPs into equivalent Stochastic Differential Equations (SDEs). This transforms the problem into a state-space model, allowing for inference in linear time ($O(N)$) using Kalman filtering and smoothing techniques.
  • Efficient Inference: They use Conditional Expectation Propagation (CEP) to decouple the complex interactions between the core tensor and the latent functions, allowing for parallelized updates.
Reconstruction of a continuous tensor surface and its underlying latent functions using FunBaT.

Key Results and Insights

The authors evaluated FunBaT against a variety of baselines (including P-Tucker, FTT-ALS, and RBF-SVM) using synthetic data, air quality measurements (BeijingAir), and historical climate data (US-TEMP).

Superior Accuracy and Robustness On the BeijingAir datasets (predicting PM2.5, PM10, and SO2), FunBaT achieved RMSEs roughly 3x to 4x lower than standard Tucker models. Furthermore, standard Tucker performance fluctuated wildly depending on how the data was binned into resolutions. FunBaT, by operating in continuous space, avoided this sensitivity entirely and consistently outperformed baselines.

Performance comparison on BeijingAir datasets across varying resolutions.

Continuous Interpolation Unlike standard Tucker, FunBaT can predict values at any arbitrary index $i^*$ by integrating messages from its neighbors in the state-space chain. This makes it a powerful tool for "filling in the gaps" in sparse sensor data.

Domain Alignment When applied to the US-TEMP dataset, the learned latent functions perfectly captured known geographical and historical trends. The model successfully identified a clear temperature decrease from southern to northern cities, a dip in values corresponding to the high-altitude Rocky Mountains, and historical climate shifts like the "Little Ice Age" and the sharp acceleration of global warming after 1950.

Limitations and Future Work

While the $O(N)$ scaling is a massive improvement, the constant factors involved in state-space modeling and message passing make FunBaT more computationally intensive than simple linear regression or basic CP decomposition. Additionally, the dense Tucker core can sometimes overfit on highly sparse datasets; in these cases, a simplified version (FunBaT-CP, where the core tensor is diagonal) often performs better.

Looking forward, the authors suggest extending this "coordinate-based" representation to computer vision and graphics—similar to Neural Radiance Fields (NeRFs)—where the latent functions could represent spatial coordinates in a 3D scene.

Paper Citation: Shikai Fang, Xin Yu, Zheng Wang, Shibo Li, Robert M. Kirby, and Shandian Zhe. "Functional Bayesian Tucker Decomposition for Continuous-indexed Tensor Data." Published as a conference paper at ICLR 2024.

Summary updated

BibTeX
@inproceedings{fang2024functional,
  author = {Shikai Fang and Xin Yu and Zheng Wang and Shibo Li and Mike Kirby and Shandian Zhe},
  title = {{Functional Bayesian Tucker Decomposition for Continuous-indexed Tensor Data}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=ZWyZeqE928},
}
Figure