Global and Local Structure Learning for Sparse Tensor Completion

Dawon Ahn, Evangelos E. Papalexakis

TL;DR

TGL (Tensor Decomposition Learning Global and Local Structures) is a new framework that improves sparse tensor completion by automatically discovering relationships within data dimensions. By combining traditional CP decomposition with Graph Neural Networks (GNNs), TGL learns local structures on the fly, achieving high accuracy without requiring expensive prior knowledge or external metadata.

What Problem Does This Paper Address?

Tensors are the mathematical backbone of multi-dimensional data—think of a 3D grid representing (User, Movie, Time) for streaming ratings. In the real world, these tensors are "sparse," meaning most entries are missing. Tensor completion is the task of predicting these missing values.

While standard methods like CP (CANDECOMP/PARAFAC) decomposition are popular for their simplicity, they have a major flaw: they treat dimensions as independent. They don't explicitly model the fact that two users might have similar tastes or two movies might belong to the same genre. Existing "structure-aware" models usually require a "cheat sheet"—prior knowledge like a pre-existing social graph or category list—which is often unavailable or expensive to collect. The authors of this paper ask: Can we learn these hidden relationships automatically using only the data we have?

Methods

The authors propose TGL, a hybrid approach that merges linear algebra with deep learning:

  1. Initial Representation: The model starts with a standard CP decomposition to generate initial "factor matrices" (latent representations of each dimension).
  2. Dynamic Graph Construction: In each training iteration, TGL calculates the pairwise cosine similarity between entities in a dimension (e.g., how similar User A is to User B based on their current latent features). It then builds a K-Nearest Neighbor (KNN) graph to map these local relationships.
  3. GNN Refinement: These factor matrices are passed through GNN layers. The GNN uses the KNN graph to "smooth" and update the representations, allowing each entity to learn from its neighbors' features.
  4. Joint Optimization: The model reconstructs the tensor using these GNN-refined factors and minimizes the reconstruction error. This allows the GNN and the decomposition to be trained together.

Datasets

The researchers evaluated TGL on two real-world datasets:

  • Yelp: A business rating tensor (User, Business, Time). The authors sampled a subset of 5,000 users, 5,000 businesses, and 108 time steps (months) to keep the computation manageable.
  • BBC-News: A news article tensor (Word, Word, Article) representing word co-occurrences across 400 articles.

The data was split into training, validation, and test sets using an 8:1:1 ratio.

Key Insights and Ideas

  • Self-Sufficient Structure Learning: The most significant "aha moment" is that you don't need external metadata to build a graph. The latent factors generated during decomposition already contain enough signal to identify meaningful neighborhoods.
  • Local vs. Global: Standard CP decomposition is great at capturing global patterns across the entire tensor. By adding GNNs, TGL adds a "local" lens, refining those global patterns based on immediate similarities between specific users or items.
  • Iterative Evolution: Because the KNN graph is regenerated during training, the "structure" the model learns evolves as the representations become more accurate, leading to a virtuous cycle of refinement.

Key Results

The performance was measured using Normalized Reconstruction Error (NRE), where a lower score is better.

  • Superiority over Baselines: TGL significantly outperformed standard CPD across all tested ranks (10 through 50).
  • Competitive with State-of-the-Art: TGL achieved results comparable to CoSTCo, a complex state-of-the-art model that uses Convolutional Neural Networks.
  • Stability: On the Yelp dataset, TGL showed very stable performance across different ranks, suggesting it is robust to hyperparameter choices regarding the size of the latent space.

Limitations and Future Work

The authors identify a few areas for improvement:

  • Information Redundancy: Since the relation matrices (the graphs) are created directly from the factor matrices, there is a risk of redundant information. The GNN might just be "echoing" what the CP decomposition already knows.
  • Scalability: While GNNs are powerful, generating KNN graphs for extremely large dimensions (e.g., millions of users) can be computationally heavy.
  • Future Directions: The authors plan to investigate ways to create "distinct" graph structures that aren't just reflections of the node features, potentially uncovering even deeper hidden relationships in the data.

Summary updated

BibTeX
@inproceedings{ahn2024global,
  author = {Dawon Ahn and Evangelos E. Papalexakis},
  title = {{Global and Local Structure Learning for Sparse Tensor Completion}},
  booktitle = {IEEE Big Data},
  year = {2024},
  doi = {10.1109/bigdata62323.2024.10825645},
}
Figure