Abstract: The era of exascale computing opens new venues for innovations and discoveries in many scientific, engineering, and commercial fields. However, with the exaflops also come the extra-large high-dimensional data generated by high-performance computing. High-dimensional data is presented as multidimensional arrays, aka tensors. The presence of latent (not directly observable) structures in the tensor allows a unique representation and compression of the data by classical tensor factorization techniques. However, the classical tensor methods are not always stable or they can be exponential in their memory requirements, which makes them not suitable for high-dimensional tensors. Tensor train (TT) is a state-of-the-art tensor network introduced for factorization of high-dimensional tensors. TT transforms the initial high-dimensional tensor in a network of three-dimensional tensors that requires only a linear storage. Many real-world data, such as, density, temperature, population, probability, etc., are non-negative and for an easy interpretation, the algorithms preserving non-negativity are preferred. Here, we introduce a distributed non-negative tensor-train and demonstrate its scalability and the compression on synthetic and real-world big datasets.
1. Introduction
High-performance computing simulations and modern sensors generate massive, high-dimensional datasets that are notoriously difficult to compress and analyze. In fields like climate modeling and nuclear science, data is naturally represented as high-dimensional arrays, or tensors. To extract latent patterns, researchers use tensor decomposition. However, classical methods like Tucker decomposition suffer from the "curse of dimensionality"—their memory requirements grow exponentially with the number of dimensions.
The Tensor Train (TT) format addresses this by breaking a high-dimensional tensor into a network of smaller 3D tensors, requiring only linear storage. However, standard TT relies on Singular Value Decomposition (SVD), which introduces negative numbers. For physical data like density or temperature, negative values lack physical meaning. This paper introduces a novel distributed algorithm for Non-Negative Tensor Train (nTT) decomposition, enabling the interpretable factorization of massive datasets (up to 500GB) that exceed standard memory limits.
2. Methodology
The proposed distributed nTT algorithm combines distributed tensor reshaping with distributed Non-Negative Matrix Factorization (NMF). By utilizing Zarr and Dask for lazy, out-of-core evaluation, the framework bypasses the memory limits of individual compute nodes.
The process follows an iterative pipeline:
- Distributed Reshaping: The massive input tensor is "unfolded" along a specific dimension into a 2D matrix, distributed across a grid of MPI (Message Passing Interface) processes.
- Rank Selection: A distributed SVD-based heuristic automatically determines the optimal "TT rank" (the size of the latent dimensions).
- Distributed NMF: The unfolded matrix is factored into two smaller non-negative matrices using either Block Coordinate Descent (BCD) or Multiplicative Update (MU) optimization strategies.
- Core Extraction: The left factor becomes a "core" in the tensor train, while the right factor is reshaped and passed to the next iteration until all dimensions are processed.
3. Key Results and Insights
The framework was evaluated on synthetic tensors up to 500GB and real-world datasets, including high-speed video and the Yale Face Dataset B.
- Massive Scalability: The algorithm successfully decomposed a 500GB synthetic tensor, achieving compression ratios up to ~6.39 million with a relative error of just 0.03. It demonstrated strong and weak scaling up to 256 cores.
- Superior Denoising: By forcing the decomposition to use strictly additive, non-negative parts, nTT acts as a physical constraint. On noisy image data, nTT achieved a Structural Similarity (SSIM) index of 0.88, outperforming standard SVD-based TT (0.85).
- Optimization Trade-offs: While the Multiplicative Update (MU) method is faster per iteration, Block Coordinate Descent (BCD) converges to a superior optimal solution, yielding significantly higher compression ratios as illustrated in comparative performance plots.
4. Conclusion
This distributed nTT framework provides a scalable, physically interpretable solution for compressing extra-large high-dimensional data. While currently focused on dense tensors, future work will involve sparse implementations to further reduce computational overhead and applications to massive scientific datasets such as satellite imagery and medical imaging.
Summary updated