[Paper Review] The Local Elasticity of Neural Networks
This paper introduces local elasticity in neural networks—a phenomenon where model predictions remain stable under gradient updates at dissimilar inputs. Using geometric analysis via the neural tangent kernel and a novel similarity measure, the authors demonstrate robust clustering on MNIST and CIFAR-10, confirming local elasticity in real-world data and offering insights into deep network behavior.
This paper presents a phenomenon in neural networks that we refer to as local elasticity. Roughly speaking, a classifier is said to be locally elastic if its prediction at a feature vector x' is not significantly perturbed, after the classifier is updated via stochastic gradient descent at a (labeled) feature vector x that is dissimilar to x' in a certain sense. This phenomenon is shown to persist for neural networks with nonlinear activation functions through extensive simulations on synthetic datasets, whereas this is not the case for linear classifiers. In addition, we offer a geometric interpretation of local elasticity using the neural tangent kernel (Jacot et al., 2018). Building on top of local elasticity, we obtain pairwise similarity measures between feature vectors, which can be used for clustering in conjunction with K-means. The effectiveness of the clustering algorithm on the MNIST and CIFAR-10 datasets in turn confirms the hypothesis of local elasticity of neural networks on real-life data. Finally, we discuss implications of local elasticity to shed light on several intriguing aspects of deep neural networks.
Motivation & Objective
- To investigate whether neural networks maintain prediction stability when updated on inputs that are dissimilar to the input of interest.
- To develop a geometric understanding of this stability using the neural tangent kernel (NTK).
- To derive a pairwise similarity measure between feature vectors based on local elasticity for downstream clustering.
- To evaluate the effectiveness of the proposed similarity measure in clustering tasks on real datasets like MNIST and CIFAR-10.
- To explore the broader implications of local elasticity for understanding deep neural network generalization and behavior.
Proposed method
- Propose the concept of local elasticity, defined as minimal change in prediction at x' after updating the model at a dissimilar x.
- Use the neural tangent kernel (NTK) to provide a geometric interpretation of local elasticity, linking it to the model's implicit inductive bias.
- Construct a pairwise similarity measure between feature vectors based on the magnitude of prediction change under gradient updates.
- Apply the similarity measure in a K-means clustering pipeline to evaluate its performance on MNIST and CIFAR-10.
- Conduct extensive simulations on synthetic datasets to validate local elasticity in nonlinear networks, contrasting with linear classifiers.
- Analyze the stability of predictions under SGD updates to empirically confirm the persistence of local elasticity.
Experimental results
Research questions
- RQ1Does a neural network maintain stable predictions at a feature vector x' after being updated at a dissimilar input x?
- RQ2How does local elasticity differ between nonlinear neural networks and linear classifiers?
- RQ3Can local elasticity be formalized and interpreted geometrically using the neural tangent kernel?
- RQ4Can the induced similarity measure from local elasticity improve clustering performance on real-world datasets?
- RQ5What broader insights into deep learning generalization and inductive bias does local elasticity reveal?
Key findings
- Local elasticity is observed in neural networks with nonlinear activation functions, but not in linear classifiers, as confirmed by synthetic dataset simulations.
- The neural tangent kernel provides a geometric framework that explains why local elasticity emerges in wide neural networks.
- The proposed pairwise similarity measure based on local elasticity improves clustering performance on MNIST and CIFAR-10 when used with K-means.
- The stability of predictions under SGD updates at dissimilar inputs indicates a form of implicit inductive bias in deep networks.
- Local elasticity persists in real-world data, suggesting that neural networks generalize not only through local smoothness but also through robustness to updates at distant points.
- The phenomenon implies that neural networks may implicitly learn a structured, stable representation of data that supports generalization beyond local interpolation.
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.