Probabilistic Block Term Decomposition for the Modeling of Higher Order Arrays

Jesper Løve Hinrich, Morten Mørup

TL;DR

This paper introduces a probabilistic Block Term Decomposition (pBTD) method that leverages Bayesian inference to model complex multi-way data (tensors). By incorporating uncertainty quantification and automatic relevance determination, pBTD offers improved robustness to noise and model misspecification compared to traditional methods, while maintaining similar computational complexity.

What Problem Does This Paper Address?

Many real-world phenomena generate data with multiple interacting dimensions, such as in psychology, chemometrics, or biology. Tensors, or multi-way arrays, are the natural mathematical tool to represent this data. Tensor decomposition techniques, like Canonical Polyadic Decomposition (CPD) and Tucker decomposition, aim to uncover the underlying structure within these multi-way datasets. However, traditional methods often rely on maximum likelihood estimation, which provides only point estimates and can be sensitive to noise and model misspecification. While Bayesian approaches have been applied to CPD and Tucker, a unified and robust Bayesian framework for Block Term Decomposition (BTD) – a more general decomposition that interpolates between CPD and Tucker – was lacking. This paper addresses this gap by proposing a probabilistic BTD (pBTD) that offers a principled way to handle uncertainty, regularize models, and automatically select model complexity.

Methods

The core contribution is the development of a probabilistic Block Term Decomposition (pBTD). This method extends the standard BTD by adopting a fully Bayesian approach. Key methodological aspects include:

  • Generative Model: A probabilistic generative model for BTD is defined, specifying prior distributions for the model parameters. This includes:
  • Factor Matrices: Modeled using the von Mises-Fisher distribution, which enforces orthogonality on the factor matrices. This is crucial for interpretability and aligns with the properties of maximum likelihood BTD.
  • Core Arrays: Modeled using normal distributions, with priors on their precision matrices.
  • Noise Precision: Modeled using a Gamma distribution.
  • Variational Inference: Due to the intractability of exact Bayesian inference, the authors employ variational inference, specifically a mean-field approximation. This involves approximating the true posterior distribution with a simpler, factorized distribution to derive tractable update rules for the model parameters.
  • Automatic Relevance Determination (ARD): The framework incorporates ARD on the core elements. This allows the model to effectively "prune" irrelevant components by learning their length scales, leading to sparser and more interpretable core structures. This is a key differentiator from previous Bayesian BTD approaches.
  • Unified Framework: The pBTD framework naturally encompasses CPD (when blocks are rank-1) and Tucker decomposition (when there's only one block) as special cases, providing a unified approach to these prominent tensor factorization methods.

Datasets

The paper evaluates the proposed pBTD on:

  • Synthetic Data: Generated according to a known BTD structure with varying levels of additive Gaussian noise. This allows for a controlled comparison against established methods and for assessing model order selection capabilities.
  • Real-World Data:
    • Flow Injection Dataset: A dataset from industrial injection molding processes, described in [11].
  • Electroencephalogram (EEG) Dataset: Specifically, inter-trial phase coherence (ITPC) data from a 64-channel electroarray, described in [12].

The synthetic data generation is described in detail, allowing for reproducibility. The real-world datasets are standard benchmarks in the field.

Key Insights and Ideas

  • Bayesian BTD for Robustness: The Bayesian approach inherently provides uncertainty quantification, making the decomposition more robust to noisy data and less prone to overfitting compared to maximum likelihood methods.
  • Automatic Model Order Selection: The use of ARD on the core elements, combined with the evidence lower bound (ELBO) as a model assessment criterion, allows the pBTD to effectively identify the correct number of blocks and their sizes, mitigating the challenge of model order selection in BTD.
  • Interpretability through Pruning: ARD leads to sparse core representations, where many components are effectively set to zero. This simplifies the interpretation of the underlying structure, especially when compared to full Tucker models.
  • Unified Representation: The ability of pBTD to naturally represent CPD, Tucker, and intermediate BTD structures within a single probabilistic framework is a significant conceptual advancement.

Key Results

  • Synthetic Data Performance: On synthetic data, pBTD demonstrated comparable or better reconstruction accuracy than MLE-based methods (BTD-NLS, BTD-minf) across various Signal-to-Noise Ratios (SNR). Crucially, pBTD showed superior performance when the model order was misspecified, indicating better robustness.
  • Model Order Identification: The ELBO was shown to be an effective criterion for identifying the correct BTD structure in synthetic data, with pBTD successfully selecting the true model order in most cases.
  • Computational Efficiency: While pBTD is slower than the fastest MLE method (BTD-minf), it is significantly faster than BTD-NLS and only moderately slower than BTD-minf, offering a good trade-off between performance and speed.
  • Real Data Analysis: On both the Flow Injection and EEG datasets, the ELBO favored more complex models (Tucker or intermediate BTDs) over simpler ones (CPD). However, the interpretability of these complex models was noted to be challenging, with CPD offering more easily distinguishable components in the EEG data. The ARD mechanism was observed to effectively prune core elements in these real datasets.

Limitations and Future Work

  • Computational Cost: While efficient for a Bayesian method, pBTD is still computationally more intensive than conventional MLE methods.
  • Interpretability of Complex Models: Despite the pruning capabilities of ARD, interpreting the full Tucker or intermediate BTD representations can still be challenging compared to CPD, especially for complex interactions.
  • Future Work: The authors mention that the framework readily generalizes to MCMC inference (e.g., Gibbs sampling) for sampling from the posterior distribution, which could offer an alternative to variational inference. They also suggest exploring heteroscedastic noise models for more realistic data scenarios. The potential for applying this framework to other complex tensor models and real-world applications remains a promising avenue.

Summary updated

BibTeX
@article{hinrich2024probabilistic,
  author = {Jesper Løve Hinrich and Morten Mørup},
  title = {{Probabilistic Block Term Decomposition for the Modeling of Higher Order Arrays}},
  journal = {Comput. Sci. Eng.},
  year = {2024},
  doi = {10.1109/mcse.2024.3398054},
}
Figure