Many-body Approximation for Non-negative Tensors

Kazu Ghalamkari, Mahito Sugiyama, Yoshinobu Kawahara

TL;DR

Researchers have introduced "many-body approximation," a rank-free approach to non-negative tensor decomposition that replaces the headache of rank tuning with intuitive interaction modeling. By treating tensors as probability distributions and using Legendre decomposition, they achieve a convex optimization framework that avoids local minima and outperforms traditional low-rank methods in tensor completion and approximation.

What Problem Does This Paper Address?

Tensors—multi-dimensional arrays—are essential for representing complex data in fields like neuroscience and computer vision. Traditionally, we analyze them using decomposition methods (like CP or Tucker decomposition) that assume the tensor has a "low-rank" structure.

However, this approach has two major flaws:

  1. Rank Selection is a "Black Art": Choosing the right rank is difficult and requires trial and error. Too low, and you lose data; too high, and computational costs explode.
  2. Non-Convexity: The optimization landscape for traditional reconstruction error is full of local minima. This means your results often depend heavily on your starting point (initialization), leading to unstable performance.

The authors propose moving away from "rank" entirely, focusing instead on the interactions between the different modes (dimensions) of the tensor.

Methods

The authors bridge the gap between tensor algebra and statistical mechanics. They treat a non-negative tensor as a discrete probability distribution and its modes as random variables.

  • Energy-Based Modeling: They define an energy function $H(\cdot)$ such that the tensor elements are proportional to $\exp(-H(\cdot))$. This is essentially a multi-level extension of a Boltzmann machine.
  • Legendre Decomposition: By enforcing certain parameters in this energy function to be zero (e.g., ignoring interactions between distant modes), they simplify the tensor.
  • Convex Optimization: Unlike traditional methods, minimizing the Kullback–Leibler (KL) divergence in this framework is a convex problem. They use a natural gradient method (second-order optimization) to find a unique, globally optimal solution.
  • Interaction Representation: They introduce a visual diagram, similar to factor graphs, to represent which modes interact. As shown in Figure 1, a black square represents an $n$-body interaction.
Figure 1: Interaction representations corresponding to (a) second- and third-order energy (b) two- and (c) three-body approximation.

Datasets

The effectiveness of the approach was tested on several benchmarks:

  • COIL-100: A dataset of color images used to demonstrate how choosing specific interactions (like color vs. position) affects reconstruction.
  • PeMS (Traffic Speed): Real-world traffic data from Los Angeles (District 7) used for tensor completion tasks.
  • TokyoTech Hyperspectral Image Dataset: High-dimensional image data used to compare the method against state-of-the-art tensor ring decompositions.
  • Synthetic Data: Tensors with known underlying structures to verify theoretical convergence.

Key Insights and Ideas

  • Rank-Free Intuition: Instead of picking an abstract number (rank), users pick which variables should "talk" to each other. For example, in traffic data, it’s intuitive that "hour" and "minute" interact, but "date" and "minute" might not.
  • The Tensor Network Connection: A major "aha moment" is the discovery that a "cyclic two-body approximation" is mathematically equivalent to a Tensor Ring decomposition under specific constraints. This provides a convex path to solving problems that were previously non-convex.
  • Coarse-Graining: The authors show that by grouping multiple tensors (coarse-graining), their interaction diagrams can be transformed into standard tensor networks, as illustrated in Figure 2.
Figure 2: (a)(left) Interaction representation of an example of cyclic two-body approximation and (a)(right) its transformed tensor network for D = 4. Each tensor is enclosed by a square and each mode is enclosed by a circle. A black circle • is a hyper diagonal tensor. Edges through ■ between modes mean interaction existence. (b) Tensor network of tensor ring decomposition. (c) The relationship among solution spaces of tensor-ring decomposition Bring, two-body approximation B2, and cyclic two-body approximation Bcyc.

Key Results

  • Superior Completion: In traffic data completion (LBTC), the many-body approach achieved higher recovery fit scores (up to 0.948) compared to standard methods like HaLRTC (0.864) and SiLRTC (0.863).
  • Stability and Speed: Because the problem is convex, the many-body approximation requires only a single run to reach the global optimum, whereas baseline methods required multiple restarts with random initializations to avoid poor local minima.
  • Interpretability: As seen in Figure 3, by manually deactivating the "color" interaction, the model naturally produces a grayscale reconstruction that still preserves the object's shape, demonstrating that the model parameters have physical meaning.

Limitations and Future Work

The primary limitation is that this framework currently only works for non-negative tensors, as it relies on the analogy to probability distributions. While non-negative data is common (images, counts, physical measurements), extending this to general tensors remains an open challenge. Additionally, while the optimization is convex, the computational complexity scales with the number of parameters in the interaction set $B$, which could be high for very dense interaction models.

Future work may involve automating the selection of interactions (structure learning) rather than relying on manual selection.

Summary updated

Abstract

We present an alternative approach to decompose non-negative tensors, called many-body approximation. Traditional decomposition methods assume low-rankness in the representation, resulting in difficulties in global optimization and target rank selection. We avoid these problems by energy-based modeling of tensors, where a tensor and its mode correspond to a probability distribution and a random variable, respectively. Our model can be globally optimized in terms of the KL divergence minimization by taking the interaction between variables (that is, modes), into account that can be tuned more intuitively than ranks. Furthermore, we visualize interactions between modes as tensor networks and reveal a nontrivial relationship between many-body approximation and low-rank approximation. We demonstrate the effectiveness of our approach in tensor completion and approximation.
BibTeX
@inproceedings{ghalamkari2023many,
  author = {Kazu Ghalamkari and Mahito Sugiyama and Yoshinobu Kawahara},
  title = {{Many-body Approximation for Non-negative Tensors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=5yedZXV7wt},
}
Figure