Nonnegative Tensor Decomposition Via Collaborative Neurodynamic Optimization

Salman Ahmadi-Asl, Valentin Leplat, Anh-Huy Phan, Andrzej CichockiarXiv 2024 · arXiv

TL;DR

This paper introduces a collaborative neurodynamic optimization framework that combines recurrent neural networks (RNNs) with particle swarm optimization (PSO) to solve the challenging problem of nonnegative tensor decomposition. By allowing a swarm of localized neural networks to interact and share information, the algorithm successfully escapes local minima to find global solutions, drastically outperforming traditional methods on highly collinear and complex datasets.

What Problem Does This Paper Address?

Tensors are multi-dimensional arrays (generalizations of matrices) used widely in machine learning to represent complex data structures. Canonical Polyadic Decomposition (CPD) breaks a higher-order tensor down into a sum of rank-1 tensors. When constrained to be nonnegative, CPD becomes highly useful for applications like image clustering, topic modeling, and hyperspectral imaging because the resulting factors are purely additive and easier to interpret.

Polyadic decomposition of a tensor

However, nonnegative CPD is a notoriously difficult, nonconvex optimization problem. Traditional iterative algorithms like Alternating Least Squares (ALS) or Hierarchical ALS (HALS) frequently get trapped in local minima. This issue is magnified when dealing with "difficult" tensors—such as those where the tensor rank exceeds its physical dimensions, or where the underlying data features are highly correlated (high collinearity).

Methods

The authors tackle this by proposing Collaborative Neurodynamic Optimization (CNO). Instead of relying on a single optimizer, the framework deploys a population of multiple independent one-layer Recurrent Neural Networks (RNNs).

Fig. 2. The procedure of collaborative neurodynamic optimization for nonnegative CPD.

The workflow operates as follows:

  1. Local Search via RNNs: Each individual RNN acts as a localized optimization agent, tracking gradient flows to find a local minimum.
  2. Global Coordination via PSO: The agents communicate using a Particle Swarm Optimization (PSO) heuristic, exchanging information about the best-performing states found across the entire swarm.
  3. Wavelet Mutation: If the diversity of the swarm drops below a specific threshold (meaning the networks are clustering too closely and risking premature convergence), a Gabor wavelet mutation is triggered to kick particles into unexplored regions of the search space.
  4. Hessian Preconditioning: To accelerate convergence, the authors incorporate a Hessian preconditioning strategy ($P_Z^{-1}$) into both the continuous-time and discrete-time projection neural networks (DTPNN), which scales the gradient steps intelligently.
Flowchart of the proposed CNO-CPD method

Datasets

The authors evaluated their approach using both synthetic benchmarks and real-world datasets:

  • Synthetic Tensors: Designed specifically to test edge cases, including tensors where rank exceeds dimension ($9 \times 9 \times 9$ with rank $R=10$; $70 \times 70 \times 70$ with rank $R=75$) and tensors with highly collinear factor matrices.
  • COIL20: A dataset of gray-scale images featuring 20 objects under 72 distinct rotations.
  • YALE & ORL: Standard facial expression and facial recognition image datasets.
  • Hyperspectral Images: Real-world remote sensing datasets (Cuprite, Urban, and Jasper Ridge) used to evaluate the algorithm's capability in hyperspectral unmixing (identifying distinct materials from pixel spectra).

Key Insights and Ideas

  • Synergy of Swarm Intelligence and Neurodynamics: Pure heuristic search (like standard PSO) can be slow to fine-tune local solutions, while pure gradient descent (like standard RNNs) gets trapped in local minima. Marrying the two creates a powerful global-local search balance.
  • Resilience to High Collinearity: Standard algorithms break down when factor matrices share highly correlated columns. CNO-CPD maintains stability and accuracy under these conditions because the collective intelligence of the swarm bypasses the ill-conditioned local traps that derail single-agent methods.
  • Preconditioning is Essential: Introducing Hessian preconditioning provides a massive speedup, making the computational overhead of running multiple parallel RNNs practically viable.

Key Results

  • Superiority in Difficult Scenarios: On synthetic tensors where the rank exceeded the dimension, the continuous neurodynamic model (ODE) achieved significantly lower relative errors compared to standard baselines like HALS, MUR, and ANLS.
  • Speedup on High Collinearity Tensors: In tests featuring highly collinear factor matrices, the proposed CNO-CPD algorithm reached an approximation accuracy of $10^{-4}$ in just 20 seconds. In contrast, the best baseline method (HALS equipped with PSO re-initialization) took 100 seconds just to achieve a loose accuracy of $10^{-1}$.
  • Real-World Efficacy: For real-world image datasets (COIL20, YALE, ORL) and hyperspectral unmixing tasks, the discrete-time version (CNO-DTPNN) consistently converged to lower objective values and provided cleaner feature extractions for downstream clustering tasks.

Limitations and Future Work

The primary limitation acknowledged by the authors is the computational cost when scaling to exceptionally large data tensors. Solving continuous differential equations or tracking discrete equivalents with small time-steps for massive swarms demands significant processing time.

To address this, the authors suggest exploring parallel integration strategies that break time-steps into smaller intervals across distributed hardware. Additionally, they plan to extend this collaborative neurodynamic framework to other tensor formats (such as Tucker, Tensor Train, and Tensor Ring decompositions) and explore alternative loss functions like Kullback-Leibler and Alpha-Beta divergences.

Summary updated

Abstract

This paper introduces a novel collaborative neurodynamic model for computing nonnegative Canonical Polyadic Decomposition (CPD). The model relies on a system of recurrent neural networks to solve the underlying nonconvex optimization problem associated with nonnegative CPD. Additionally, a discrete-time version of the continuous neural network is developed. To enhance the chances of reaching a potential global minimum, the recurrent neural networks are allowed to communicate and exchange information through particle swarm optimization (PSO). Convergence and stability analyses of both the continuous and discrete neurodynamic models are thoroughly examined. Experimental evaluations are conducted on random and real-world datasets to demonstrate the effectiveness of the proposed approach.
BibTeX
@misc{ahmadiasl2024nonnegative,
  author = {Salman Ahmadi-Asl and Valentin Leplat and Anh-Huy Phan and Andrzej Cichocki},
  title = {{Nonnegative Tensor Decomposition Via Collaborative Neurodynamic Optimization}},
  year = {2024},
  eprint = {2411.18127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.18127},
}
Figure