Fast and Accurate Dual-Way Streaming PARAFAC2 for Irregular Tensors -- Algorithm and Application

Jun-Gi Jang, Jeongyoung Lee, Yong-chan Park, U Kang
5/28/2023
cs.LGcs.IR

No official code found. Best implementation: snudatalab/Dash (3 stars, last commit 2025-08-20).

Abstract

How can we efficiently and accurately analyze an irregular tensor in a dual-way streaming setting where the sizes of two dimensions of the tensor increase over time? What types of anomalies are there in the dual-way streaming setting? An irregular tensor is a collection of matrices whose column lengths are the same while their row lengths are different. In a dual-way streaming setting, both new rows of existing matrices and new matrices arrive over time. PARAFAC2 decomposition is a crucial tool for analyzing irregular tensors. Although real-time analysis is necessary in the dual-way streaming, static PARAFAC2 decomposition methods fail to efficiently work in this setting since they perform PARAFAC2 decomposition for accumulated tensors whenever new data arrive. Existing streaming PARAFAC2 decomposition methods work in a limited setting and fail to handle new rows of matrices efficiently. In this paper, we propose Dash, an efficient and accurate PARAFAC2 decomposition method working in the dual-way streaming setting. When new data are given, Dash efficiently performs PARAFAC2 decomposition by carefully dividing the terms related to old and new data and avoiding naive computations involved with old data. Furthermore, applying a forgetting factor makes Dash follow recent movements. Extensive experiments show that Dash achieves up to 14.0x faster speed than existing PARAFAC2 decomposition methods for newly arrived data. We also provide discoveries for detecting anomalies in real-world datasets, including Subprime Mortgage Crisis and COVID-19.

View on arXivView PDF

Code Implementations(1)

snudatalab/DashCommunity100%

Dual-Way Streaming PARAFAC2 Decomposition Method for Irregular Tensors - Algorithm and Application (KDD'23)

30MATLABMay 21, 20231 years ago

Similar Papers

Cite this paper

@article{jang2023fast,
  title  = {Fast and Accurate Dual-Way Streaming PARAFAC2 for Irregular Tensors -- Algorithm and Application},
  author = {Jun-Gi Jang and Jeongyoung Lee and Yong-chan Park and U Kang},
  year   = {2023},
  eprint = {2305.18376},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18376v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.18376.svg)](https://codeofpaper.com/paper/2305.18376)

Discussion