Non-Euclidean Self-Organizing Maps

Dorota Celinska-Kopczynska, Eryk Kopczynski

Introduction

Traditional Self-Organizing Maps (SOMs) typically project high-dimensional data onto a two-dimensional Euclidean grid. However, Euclidean space is often suboptimal for representing the underlying structure of complex datasets. For example, hierarchical data naturally expands exponentially, a property characteristic of hyperbolic geometry rather than flat planes. Furthermore, standard SOMs suffer from boundary effects, where neurons at the edges have fewer neighbors than those in the center, leading to topological distortions.

This paper introduces a generalized, scalable framework for SOMs in non-Euclidean geometries, such as spherical and hyperbolic spaces, to better preserve data topology and eliminate edge artifacts.

Methodology

The authors propose several innovations to extend SOMs beyond the Euclidean plane:

Non-Euclidean Templates

To generate high-resolution grids on curved surfaces, the authors utilize the Goldberg-Coxeter construction. This method enables the creation of fine-grained hexagonal tilings on spheres and hyperbolic surfaces, surpassing the limitations of simple Platonic solids.

Overview of non-Euclidean geometries used for SOM templates, including hyperbolic (a), spherical (b), and disk-based (c, d) projections.

Quotient Spaces and Closed Manifolds

To resolve boundary effects, the framework employs closed manifolds like the torus or the elliptic plane. In these quotient spaces, neurons "wrapping around" the edges ensure that every unit has an equivalent neighborhood, maintaining a uniform influence across the entire map.

Illustration of a quotient space (torus) where periodic boundaries eliminate edge effects in the SOM grid.

Simulated Dispersion

In traditional SOMs, neighborhood updates use a Gaussian function based on Euclidean distance. In curved spaces, such functions behave poorly. The authors instead implement a simulated dispersion model based on random walks, computed via dynamic programming. This approach treats information "diffusion" as a process that naturally respects the specific curvature and connectivity of the chosen manifold.

Results and Insights

The approach was evaluated using classic benchmarks (Fisher’s Iris, Palmer Penguins) and extensive topology stress tests involving over 57,000 experimental runs.

  • Topology Preservation: Using the Villmann measure, the authors demonstrated that simulated dispersion significantly outperforms traditional Gaussian methods ($p < 0.01$). For correctly matched manifolds, the algorithm achieved near-perfect topology recovery (up to 94.3% for closed manifolds).
  • Geometry as a Prior: Selecting a hyperbolic template acts as a powerful prior for hierarchical data, providing the necessary "volume" to separate leaf clusters. Conversely, spherical geometry is ideal for polarized data, allowing clusters to form at opposite poles.
  • Visual Clarity: The elimination of boundaries through quotient spaces resulted in more regular and interpretable maps, free from the distortions typical of flat-grid edges.

Conclusion and Future Work

This work demonstrates that the shape of the map matters. Forcing non-Euclidean data onto a flat plane leads to "tears" or "folds" in the representation. While the current framework requires manual selection of the manifold, future work aims to automate this choice through diagnostic criteria. Additionally, the authors suggest extending these methods to 3D manifolds and utilizing Virtual Reality (VR) to allow researchers to literally "walk through" their high-dimensional data clusters.

Summary updated

BibTeX
@inproceedings{celinskakopczynska2022non,
  author = {Dorota Celinska-Kopczynska and Eryk Kopczynski},
  title = {{Non-Euclidean Self-Organizing Maps}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/269},
}
Figure