[Paper Review] Clusterability in Neural Networks
This paper introduces a graph-theoretic measure of clusterability in neural networks, defined via spectral clustering on weight matrices, showing that trained networks are significantly more clusterable than random or shuffled counterparts. It demonstrates that clusterability can be enhanced through regularization and initialization with minimal accuracy drop, enabling interpretable modular decomposition of networks.
The learned weights of a neural network have often been considered devoid of scrutable internal structure. In this paper, however, we look for structure in the form of clusterability: how well a network can be divided into groups of neurons with strong internal connectivity but weak external connectivity. We find that a trained neural network is typically more clusterable than randomly initialized networks, and often clusterable relative to random networks with the same distribution of weights. We also exhibit novel methods to promote clusterability in neural network training, and find that in multi-layer perceptrons they lead to more clusterable networks with little reduction in accuracy. Understanding and controlling the clusterability of neural networks will hopefully render their inner workings more interpretable to engineers by facilitating partitioning into meaningful clusters.
Motivation & Objective
- To define and quantify clusterability in trained neural networks as a measure of internal modularity.
- To investigate whether trained networks exhibit structural organization beyond random weight distributions.
- To develop training methods that enhance clusterability without sacrificing model accuracy.
- To enable interpretable decomposition of neural networks into functionally meaningful clusters.
- To assess the robustness of clusterability across diverse architectures and datasets.
Proposed method
- Represent neural networks as weighted, undirected graphs using absolute weight values between neurons or channels.
- Apply spectral clustering with the normalized cut (n-cut) metric to evaluate partition quality.
- Define absolute clusterability as the n-cut score of the network’s actual weights and relative clusterability as the ratio to shuffled weight permutations.
- Introduce a clusterability regularization loss that encourages low-weight inter-cluster edges and high-weight intra-cluster edges.
- Implement a normalization step after each gradient update to maintain weight norm invariance and prevent trivial scaling.
- Use algorithmic initialization to promote clusterable weight structures from the start of training.
Experimental results
Research questions
- RQ1Do trained neural networks exhibit higher clusterability than randomly initialized or shuffled networks?
- RQ2Can clusterability be enhanced through architectural or training modifications without reducing accuracy?
- RQ3Is clusterability consistent across different network architectures like VGG, ResNet, and Inception on ImageNet?
- RQ4How does weight pruning and dropout affect the relative clusterability of trained models?
- RQ5To what extent is clusterability a property of learned weights independent of data distribution or activation patterns?
Key findings
- Trained multi-layer perceptrons (MLPs) are significantly more clusterable than randomly initialized networks, with relative clusterability often exceeding all 50 shuffled baselines.
- MLPs trained with dropout and weight pruning show high relative clusterability, outperforming 99% of shuffled networks in 100 trials.
- Large-scale ImageNet models (VGG, ResNet, Inception) are more clusterable than 99 out of 100 shuffled versions of the same weight distributions.
- A mid-sized VGG trained on CIFAR-10 with dropout and pruning consistently outperforms all 50 shuffled networks in relative clusterability.
- Clusterability regularization and clusterable initialization improve modularity with minimal accuracy degradation in MLPs.
- The proposed normalization step maintains weight norm invariance, preventing trivial scaling artifacts in clusterability optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.