Variational Bayesian Inference for Robust Streaming Tensor Factorization and Completion

Cole Hawkins, Zheng Zhang

Introduction

In the era of big data, information often arrives as a continuous stream of multi-dimensional arrays, or tensors. Applications ranging from real-time medical imaging to network traffic monitoring require efficient methods to factorize these tensors on the fly. However, streaming data presents unique challenges: it is often corrupted by sparse outliers (e.g., sensor glitches or cyberattacks), the underlying rank of the data is typically unknown, and significant portions of the data may be missing.

Traditional streaming algorithms often struggle with these issues, either requiring manual tuning of the tensor rank or failing in the presence of non-Gaussian noise. This paper proposes a robust Bayesian framework designed to address these hurdles simultaneously.

Methodology: Bayesian Robust Streaming Tensor Factorization

The core of the proposed approach is a decomposition model that separates an incoming tensor slice $X_t$ into three distinct components: a low-rank structure ($\tilde{X}_t$), a sparse outlier component ($S_t$), and dense Gaussian noise ($E_t$).

Automatic Rank Determination and Forgetting Factor

A key innovation is the use of Automatic Relevance Determination (ARD) priors. By placing Gamma distributions on the precision parameters of the latent factors, the model naturally prunes unnecessary components, allowing it to "discover" the optimal rank without user intervention. To handle the temporal nature of streaming data, the authors incorporate a forgetting factor ($\mu$). This parameter exponentially weights recent data more heavily, enabling the model to adapt to evolving patterns while maintaining a stable memory of the past.

Variational Bayesian (VB) Inference

To make the model computationally viable for real-time streams, the authors employ Variational Bayesian inference. Instead of costly sampling methods, VB approximates the posterior distribution of the hidden factors through an iterative optimization process. This ensures that the algorithm remains efficient enough for high-speed data streams while providing a full probabilistic characterization of the results.

Experimental Evaluation

The framework was tested on two challenging real-world scenarios:

  1. Dynamic Cardiac MRI: Reconstructing a sequence of heart images from a highly undersampled stream (only 15% of pixels available).
  2. Abilene Network Traffic: Analyzing internet traffic between 11 nodes, a dataset characterized by frequent "spiky" anomalies.

Key Results

Visual Fidelity in Medical Imaging

In the MRI reconstruction task, the proposed method demonstrated superior performance in recovering spatial details and temporal motion compared to baseline algorithms like Online-SGD and OLSTEC. Even with 85% of the data missing, the Bayesian approach successfully filtered out noise and captured the dynamics of the beating heart.

Comparison of MRI reconstruction quality across different methods with 85% missing data.

Quantitative Robustness in Network Monitoring

For the Abilene network traffic data, the proposed model achieved a normalized residual error nearly an order of magnitude lower than competing methods. Its ability to explicitly model the sparse component ($S_t$) allowed it to identify and isolate traffic bursts (outliers) rather than letting them skew the low-rank factorization.

Normalized residual error over time for network traffic factorization, showing the stability and accuracy of the proposed method.

The model also exhibited high efficiency, requiring only a short "burn-in" period of approximately 10 frames to reach a stable, low-error state.

Conclusion and Future Work

The proposed Variational Bayesian framework offers a robust, self-tuning solution for streaming tensor analysis. By integrating outlier detection and automatic rank selection into a single probabilistic model, it outperforms traditional optimization-based methods in both accuracy and stability.

While the current implementation is efficient, future work could focus on further reducing computational overhead for extremely high-frequency streams and exploring more sophisticated temporal priors to capture complex dependencies beyond a simple forgetting factor.

Summary updated

BibTeX
@inproceedings{hawkins2018variational,
  author = {Cole Hawkins and Zheng Zhang},
  title = {{Variational Bayesian Inference for Robust Streaming Tensor Factorization and Completion}},
  booktitle = {ICDM},
  year = {2018},
  url = {https://openreview.net/forum?id=FJKxBbdywb},
}
Figure