Topological Gradient-based Competitive Learning

Pietro Barbiero, Gabriele Ciravegna, Vincenzo Randazzo, Giansalvo Cirrincione · DOI

Abstract

Topological learning is a wide research area aiming at uncovering the mutual spatial relationships between the elements of a set. Some of the most common and oldest approaches involve the use of unsupervised competitive neural networks. However, these methods are not based on gradient optimization which has been proven to provide striking results in feature extraction also in unsupervised learning. Unfortunately, by focusing mostly on algorithmic efficiency and accuracy, deep clustering techniques are composed of overly complex feature extractors, while using trivial algorithms in their top layer. The aim of this work is to present a novel comprehensive theory aspiring at bridging competitive learning with gradient-based learning, thus allowing the use of extremely powerful deep neural networks for feature extraction and projection combined with the remarkable flexibility and expressiveness of competitive learning. In this paper we fully demonstrate the theoretical equivalence of two novel gradient-based competitive layers. Preliminary experiments show how the dual approach, trained on the transpose of the input matrix i.e. $X^T$, lead to faster convergence rate and higher training accuracy both in low and high-dimensional scenarios.

Introduction

In the field of unsupervised learning, a historical divide exists between topological competitive learning and deep clustering. Topological methods, such as Self-Organizing Maps (SOM), excel at uncovering data relationships but often rely on heuristic updates. Conversely, deep clustering utilizes powerful gradient-optimized feature extractors but frequently employs simplistic top-level algorithms like k-Means, sacrificing topological flexibility. Furthermore, traditional distance-based clustering is often plagued by the "curse of dimensionality." This research bridges these domains by introducing a Gradient-Based Competitive (GBC) layer that integrates seamlessly into backpropagation-trained deep architectures.

Methodology

The core of this work lies in the proposal of two novel layers:

  1. GBC (Gradient-Based Competitive) Layer: A layer where weights directly represent cluster prototypes, minimizing quantization error via standard first-order gradients.
  2. DGBC (Dual GBC) Layer: The primary innovation involves training on the transpose of the input data matrix $X^T$ (features $\times$ samples) instead of the standard $X$ (samples $\times$ features).
Duality between standard (top) and dual (bottom) competitive learning architectures.

The authors provide a mathematical proof (Theorem 1) demonstrating that under specific conditions—uncorrelated samples with unit variance—a standard linear network and its dual are equivalent. Crucially, the dual network's forward pass decouples the problem into independent one-dimensional tasks, which are subsequently coupled by the loss function during backpropagation. To achieve topological clustering, the loss function is augmented with a Lagrangian term representing an adjacency matrix learned via Competitive Hebbian Learning: $\mathcal{L} = Q + \lambda ||E||_2$.

Experimental Setup

The approach was evaluated using two primary data types:

  • Synthetic 2D Datasets: Classic benchmarks (Spiral, Moons, Circles) were used to test the algorithm's ability to handle non-linearly separable clusters and complex topologies.
  • High-Dimensional Data: The MADELON dataset, featuring clusters placed at the vertices of a high-dimensional hypercube, was tested with up to 10,000 features.

Discussion: The Power of the Transpose

Training on $X^T$ serves as a natural regularizer. In high-dimensional regimes where the number of samples $N$ is much smaller than the number of features $d$, the dual network possesses fewer parameters to optimize, facilitating smoother gradient flows and mitigating overfitting. By treating each feature independently during the forward pass, the dual approach gains robustness against the curse of dimensionality. Additionally, the inclusion of the adjacency matrix norm in the loss function enables automatic pruning of redundant cluster centers that do not contribute to the manifold's topology.

Key Results

  • Convergence and Stability: In synthetic tests, the DGBC network reached stable local minima significantly faster and with lower variance than the standard GBC approach, suggesting less sensitivity to initial conditions.
  • High-Dimensional Performance: On the MADELON dataset, standard GBC accuracy dropped significantly beyond 1,000 features. In contrast, DGBC and its deep variant (Deep-DGBC) maintained near 100% accuracy up to 3,000 features.
  • Topological Representation: Visualizations confirmed that the dual approach consistently identifies better prototype connections, offering a superior representation of the underlying data manifold.

Conclusion and Future Work

While the dual network is highly efficient when $N \ll d$, it becomes computationally more expensive in the low-dimensional, high-sample regime ($N \gg d$). The theoretical duality also assumes uncorrelated samples, though Batch Normalization can mitigate this constraint. Future research will explore extending this framework to non-stationary clustering, incremental learning, and multi-objective optimization of latent spaces.

Summary updated

BibTeX
@inproceedings{barbiero2020topological,
  author = {Pietro Barbiero and Gabriele Ciravegna and Vincenzo Randazzo and Giansalvo Cirrincione},
  title = {{Topological Gradient-based Competitive Learning}},
  booktitle = {IJCNN},
  year = {2020},
  doi = {10.1109/ijcnn52387.2021.9533411},
}
Figure