TL;DR
The paper introduces BTNR (Bayesian Tensor Networks for Regression), a variational Bayesian framework that brings probabilistic reasoning to tensor networks. Crucially, BTNR provides analytical update equations that are completely topology-agnostic, meaning a single mathematical derivation applies to any tensor network structure while automatically pruning irrelevant dimensions and providing well-calibrated predictive uncertainty.
What Problem Does This Paper Address?
When approximating complex, non-linear functions using basis expansions (like polynomials or Fourier series), researchers quickly hit a wall: the curse of dimensionality. The number of coefficients grows exponentially with the number of input features.
Tensor Networks (TNs) offer a elegant escape route by compressing this massive coefficient space, allowing complexity to scale linearly rather than exponentially. However, traditional TN approaches suffer from two major flaws:
- Topology Lock-in: Learning algorithms (like Alternating Least Squares) must be manually derived from scratch for every specific network structure (e.g., Canonical Polyadic Decomposition vs. Tensor Train).
- Hyperparameter Hell: Finding the right "bond dimensions" (the size of the hidden connections between tensor nodes) requires expensive, exhaustive grid searches and ablation studies. They also lack native ways to output prediction confidence.
BTNR solves both problems by introducing a unified Bayesian framework that handles any network topology out-of-the-box and uses Automatic Relevance Determination (ARD) to learn the network's optimal structure dynamically.
Methods
BTNR models the regression coefficient tensor as a tensor network where each node is treated as a unique random variable.
The authors employ Variational Bayesian Inference under a mean-field approximation:
- Nodes are parameterized as multivariate Gaussian distributions.
- Edges (Bonds) are parameterized using Gamma distributions, acting as hyperparameters that govern the variance of the nodes.
By using conjugate priors, the authors derive exact, analytical update equations using moment matching. Because the derivation relies purely on implicit tensor contractions through shared modes rather than explicit matrix reshaping, the resulting equations apply identically to any network topology.
Furthermore, BTNR incorporates an Automatic Relevance Determination (ARD) trimming threshold. If the Bayesian update determines that a specific bond dimension has a high regularization penalty (pushing its relevance to zero), that dimension is computationally pruned during training.
The authors implemented and evaluated BTNR across five distinct tensor network topologies: Tensor network structures examined in the paper.
Datasets
The framework was benchmarked using multivariate polynomial regression on 10 standard tabular datasets from the UCI Machine Learning Repository:
- Appliances Energy Prediction (AP)
- Bike Sharing (BK)
- AI4I Predictive Maintenance (AI)
- Seoul Bike Sharing (SB)
- Abalone (AB)
- Obesity Levels (OB)
- Concrete Compressive Strength (CO)
- Energy Efficiency (EE)
- Student Performance (SP)
- Real Estate Valuation (RS)
The data splits were kept uniform at a 70:15:15 ratio for training, validation, and testing.
Key Insights and Ideas
- Universal Derivation: The core mathematical framework abstracts away axis ordering and specific shapes. Whether your network is a loop-free tree or contains complex loops (like a Tensor Ring), the exact same code runs the updates.
- Bypassing the Ablation Bottleneck: Instead of training dozens of models to find the optimal bond dimensions, BTNR starts with a maximum dimension and lets the ARD mechanism dynamically prune away the unneeded structure.
- Inherent Uncertainty Decomposition: BTNR naturally separates predictive variance into epistemic uncertainty (how much the model doesn't know due to limited data) and aleatoric uncertainty (the intrinsic noise in the data), directly from the inferred posterior.
Key Results
- Competitive Point Estimates: BTNR achieves test $R^2$ scores comparable to or better than standard Ridge-regularized Alternating Least Squares (ALS), but without needing extensive cross-validation for regularization parameters.
- Massive Speedups in Model Selection: In a toy scenario comparing an explicit hyperparameter search for ALS against BTNR's automated structure learning, ALS took 2,781 seconds, while BTNR achieved virtually identical quality in just 9 seconds.
- Superior Calibration: When compared against strong non-tensor Bayesian baselines—such as Gaussian Processes (GP) and Bayesian Deep Ensembles (BDE)—BTNR consistently achieved lower Expected Calibration Error (ECE), meaning its confidence intervals are highly reliable.
Limitations and Future Work
- Non-Convexity: The underlying optimization problem is non-convex. This means variational inference can get trapped in local optima, meaning there are no strict guarantees that the pruning mechanism will find the absolute globally optimal network structure.
- Feature Map Restrictions: The empirical evaluation focused exclusively on polynomial feature maps. While the math supports any embedding, different feature maps might heavily influence real-world performance.
- Single-Dimensional Outputs: The current formulation is limited to scalar regression targets. The authors note that extending this to multidimensional outputs (perhaps using a Wishart distribution to model likelihood precision) is a clear avenue for future work.
Summary updated