Abstract
Traditional Self-Organizing Maps (SOMs) for structural data, such as the Probability Measure Graph SOM (PMGraphSOM), often suffer from performance degradation when applied to datasets consisting of many small, sparse graphs. This paper introduces "compact PMGraphSOM," a refinement that addresses the sparsity bottleneck by replacing high-dimensional state vectors with sorted coordinate lists. This approach significantly improves clustering accuracy and computational efficiency, as demonstrated on the Mutag chemical dataset.
Introduction
Self-Organizing Maps (SOMs) are popular for visualizing high-dimensional data by projecting it onto a 2D grid. While specialized versions like PMGraphSOM were developed to handle complex graph structures (e.g., chemical molecules or web links), they face a critical "sparsity" bottleneck. In the original PMGraphSOM, the neighborhood of a node is represented by a state vector $M$ proportional to the size of the entire SOM map. For large maps and sparse graphs, these vectors become mostly zeros. As training progresses and the neighborhood radius shrinks, these vectors become so sparse that the algorithm treats almost every node as unique or "orthogonal," leading to memorization rather than meaningful clustering.
Methodology: Compact Representation
To overcome the sparsity issue, the authors propose a compact representation of state information to replace the original high-dimensional state vector:
- Coordinate Listing: Instead of a vector representing the whole map, the new method explicitly lists the $(x, y)$ coordinates of a node's neighbors.
- Sorting for Invariance: To handle undirected or unordered graphs, the neighbor coordinates are sorted before being processed. This ensures that the model recognizes similar local structures regardless of the order in which neighbors are encountered.
- Padding: Since different nodes have different degrees (number of neighbors), the list is padded with "illegal" coordinate values (like -1, -1) up to the maximum degree found in the dataset.
- Dimensionality Reduction: In the original PMGraphSOM, the state vector's size was $x_1 \times x_2$ (the map dimensions). In the compact version, the size is reduced to $max\_degree \times 2$. For a $76 \times 48$ map and a max degree of 4, this reduces the state component of the input from 3,648 dimensions to just 8.
Experimental Setup and Datasets
The researchers evaluated their approach using the Mutag dataset, a well-known benchmark in toxicology. The dataset consists of 188 graphs representing chemical molecules with a total of 3,371 nodes. The maximum degree for any single node is 4, making it a perfect example of a "sparse" graph problem where traditional PMGraphSOM struggles.
Results and Discussion
The compact PMGraphSOM demonstrated significant improvements over the original method. On the Mutag classification task, the original PMGraphSOM achieved 75.38% accuracy, while the compact version improved this significantly to 84.10%.
Beyond quantitative metrics, the compact version utilized the SOM grid much more effectively. Qualitative analysis of the map showed that nodes with similar chemical contexts (neighbors) were successfully mapped to nearby coordinates, confirming the model's ability to preserve structural relationships. While the original method left large portions of the map empty or poorly organized due to vector sparsity, the compact version created a diversified and meaningful topology.
Conclusion
Compact PMGraphSOM effectively addresses the limitations of SOMs when processing sparse structural data. By reducing input dimensionality and ensuring structural invariance through sorting, it achieves superior clustering and faster training. While the original PMGraphSOM remains excellent for densely connected graphs, the compact version is a necessary "gap-filler" for sparse data. Future work suggests that a supervised version of this model, incorporating target labels during training, could potentially match or exceed state-of-the-art results.
Summary updated