Abstract
We present a new method for online prediction and learning of tensors ($N$-way arrays, $N >2$) from sequential measurements. We focus on the specific case of 3-D tensors and exploit a recently developed framework of structured tensor decompositions proposed in [1]. In this framework, it is possible to treat 3-D tensors as linear operators and appropriately generalize notions of rank and positive definiteness to tensors in a natural way. Using these notions, we propose a generalization of the matrix exponentiated gradient descent algorithm [2] to a tensor exponentiated gradient descent algorithm using an extension of the notion of von-Neumann divergence to tensors. Then following a similar construction as in [3], we exploit this algorithm to propose an online algorithm for learning and prediction of tensors with provable regret guarantees. Simulations results are presented on semi-synthetic data sets of ratings evolving in time under local influence over a social network. The result indicate superior performance compared to other (online) convex tensor completion methods.
Introduction
In fields like recommendation systems, video processing, and seismic imaging, data is inherently multi-dimensional and best represented as tensors. Traditionally, tensor completion—the task of filling in missing values—is performed in a batch setting. However, many modern applications involve streaming data where observations arrive sequentially.
The challenge in online tensor prediction is twofold. First, algorithms must update predictions incrementally without re-processing the entire history. Second, many existing methods "flatten" 3-D tensors into 2-D matrices to utilize standard matrix tools. This "unfolding" often destroys spatial or temporal relationships, leading to suboptimal predictions. This paper introduces OTEG (Online Tensor Exponentiated Gradient) to address these issues by maintaining the data's structural integrity through a specialized algebraic framework.
Methodology: The t-product Framework
The core innovation of OTEG lies in extending matrix-based online learning to the tensor domain using the t-product algebra. Instead of treating a 3-D tensor as a stack of independent matrices, this framework treats it as a linear operator. It views the tensor as a matrix of "tubes" (vectors extending through the third dimension) and uses circular convolution to define multiplication.
The authors utilize a Tensor-SVD (t-SVD) to capture the "low-rank" nature of data, which serves as a proxy for underlying patterns. The OTEG algorithm generalizes Matrix Exponentiated Gradient descent by defining new versions of von-Neumann entropy and divergence specifically for tensors. This allows the application of powerful convex optimization tools previously restricted to 2-D matrices. Unlike "Follow-the-Regularized-Leader" (FoReL) approaches, OTEG is memory-efficient, theoretically requiring only the most recent gradient information for updates.
Experimental Evaluation and Results
The algorithm was evaluated on semi-synthetic rating datasets created by evolving MovieLens user ratings over a social network graph from SNAP, and on grayscale time-lapse video data.
In simulations, OTEG consistently achieved lower average loss over time compared to "Slice-by-Slice" completion and standard online convex optimization (FoReL). A critical finding was that OTEG significantly outperformed OMEG (the matrix-flattening version), proving that maintaining the 3-D structure via the t-product is essential for capturing multi-dimensional dependencies. On visual data, OTEG demonstrated a superior ability to recover moving elements, such as shifting shadows, compared to competing methods.
Conclusion
OTEG provides a robust framework for online tensor prediction with provable regret guarantees. By avoiding the pitfalls of tensor flattening, it preserves the inherent relationships within multi-dimensional data. While the current implementation uses a simplified projection for practicality and requires some prior knowledge of the tensor's nuclear norm, it represents a significant step forward in multi-dimensional online learning. Future research will focus on extending this framework to higher-order tensors beyond three dimensions.
Summary updated