Laplace Approximation For Tensor Train Kernel Machines In System Identification

Albert Saiapin, Kim BatselierarXiv 2025 · DOI

Abstract

Gaussian Process (GP) regression is highly valued in system identification for its principled uncertainty quantification, yet its cubic scaling complexity limits its use in large-scale applications. This paper presents the Bayesian Tensor Train Kernel Machine (LA-TTKM), a novel framework that combines Tensor Train (TT) decomposition with Laplace approximation and Variational Inference (VI). By treating a single TT-core as a random variable, the model achieves significant computational efficiency. Experimental results on UCI benchmarks and a large-scale industrial robot dataset demonstrate that LA-TTKM (VI) provides training speeds up to 65x faster than cross-validation methods and 325x faster than standard GPs, while maintaining competitive predictive performance.

Introduction

In the field of system identification, Gaussian Processes (GPs) are considered the gold standard due to their ability to provide both predictions and associated confidence intervals. However, the computational cost of GPs scales as $O(N^3)$ with the number of data points $N$, rendering them impractical for the high-dimensional, large-scale datasets common in modern robotics and industrial systems.

To address this, researchers have turned to kernel approximations using finite basis functions. While effective, complex systems require an exponential number of basis functions, leading to a "curse of dimensionality." Recent advancements have utilized Tensor Networks to manage this complexity, but a fully Bayesian formulation—essential for uncertainty quantification—remains a challenge.

The LA-TTKM Framework

The proposed LA-TTKM unifies three key concepts to achieve scalable Bayesian inference:

  1. Tensor Train (TT) Decomposition: Rather than learning a massive weight vector, the model decomposes the weights into a sequence of smaller "cores." This allows for the representation of an exponentially large feature space using a linear number of parameters.
  2. Laplace Approximation: To introduce Bayesian uncertainty, the authors treat a single TT-core as a random variable. They employ the Alternating Least Squares (ALS) algorithm to identify the mode of the distribution and apply a Laplace approximation (a Gaussian distribution) around it.
  3. Variational Inference (VI): To avoid the slow process of manual Cross-Validation (CV) for hyperparameter tuning, the model uses VI to optimize parameters like noise levels automatically during the training phase.
Graphical representation of the LA-TTKM model, illustrating the Tensor Train cores and the Bayesian treatment of a single core.

Experimental Evaluation

The model was rigorously tested on two distinct fronts:

  • UCI Regression Benchmarks: Seven datasets (e.g., Boston Housing, Protein) were used to evaluate robustness across various statistical profiles.
  • Industrial Robot Dataset: A large-scale dataset ($N \approx 40,000$) involving the inverse dynamics of an 18-dimensional robotic arm. The task was to predict joint torques from positions, velocities, and accelerations.

Key Insights

The research yielded several critical findings regarding the behavior of Bayesian Tensor Trains:

  • Core Invariance: The choice of which TT-core to treat as the Bayesian variable does not significantly impact performance. This allows practitioners to select the smallest core (typically the first) to optimize for speed.
  • Structural Robustness: The model is largely indifferent to the ordering of input features. Cyclic shifts in feature order did not degrade performance, suggesting the TT structure is inherently robust.
  • Efficiency of VI: Transitioning from CV to VI resulted in a transformative speedup, replacing exhaustive grid searches with principled optimization.

Results and Performance

LA-TTKM demonstrates exceptional scalability and speed. On the robotic arm task, the VI-based approach was 325x faster than a full GP while maintaining a comparable Root Mean Square Error (RMSE). Furthermore, the VI implementation was 65x faster than the CV-based version of the same model.

Performance comparison on the industrial robot dataset, showing motor torque predictions and uncertainty intervals for LA-TTKM and Full GP.

Conclusion and Future Work

While LA-TTKM offers a significant leap in efficiency, it currently treats only a single core as Bayesian. This "mean-field" simplification can sometimes lead to overconfident (narrow) uncertainty estimates. Future research will explore making multiple cores—or the entire Tensor Train—Bayesian and investigating automatic rank adaptation to eliminate the need for manual complexity settings.

Summary updated

BibTeX
@misc{saiapin2025laplace,
  author = {Albert Saiapin and Kim Batselier},
  title = {{Laplace Approximation For Tensor Train Kernel Machines In System Identification}},
  year = {2025},
  eprint = {2512.02532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.02532},
}
Figure