Can Neural Nets Learn the Same Model Twice? Investigating Reproducibility and Double Descent from the Decision Boundary Perspective

Gowthami Somepalli, Liam Fowl, Arpit Bansal, Ping-Yeh Chiang, Yehuda Dar, Richard G. Baraniuk, Micah Goldblum, Tom Goldstein · DOI

Abstract: We discuss methods for visualizing neural network decision boundaries and decision regions. We use these visual-izations to investigate issues related to reproducibility and generalization in neural network training. We observe that changes in model architecture (and its associate inductive bias) cause visible changes in decision boundaries, while multiple runs with the same architecture yield results with strong similarities, especially in the case of wide architectures. We also use decision boundary methods to visualize double descent phenomena. We see that decision boundary reproducibility depends strongly on model width. Near the threshold of interpolation, neural network decision bound-aries become fragmented into many small decision regions, and these regions are non-reproducible. Meanwhile, very narrows and very wide networks have high levels of re-producibility in their decision boundaries with relatively few decision regions. We discuss how our observations re-late to the theory of double descent phenomena in convex models. Code is available at https://github.com/somepago/dbViz.

Introduction

While neural network training is often viewed as a stochastic "black box," this research demonstrates that wide models are remarkably consistent, learning nearly identical decision boundaries across different random initializations. By visualizing these boundaries, we can observe how different model architectures—such as CNNs versus Vision Transformers—partition the input space in fundamentally different ways. Furthermore, this geometric perspective provides a visual explanation for the "double descent" phenomenon, where a chaotic fragmentation of decision regions occurs when model capacity is just enough to interpolate the training data.

Visualizing High-Dimensional Boundaries

The core challenge in studying decision boundaries is dimensionality. To address this, the authors utilize a visualization technique that plots boundaries on a 2D plane spanned by triplets of images (e.g., an airplane, a frog, and a bird). This approach focuses the visualization on the "convex hull" of the data manifold, where the model's classification logic is most active.

To quantify these visual observations, two metrics are introduced:

  1. Reproducibility Score: An Intersection over Union (IoU) style metric measuring the overlap of class predictions between two different training runs.
  2. Fragmentation Score: A metric that counts disconnected "islands" of class regions to quantify the complexity and "noise" of a boundary.

Architectural Fingerprints and Reproducibility

One of the most striking findings is that wide architectures are surprisingly deterministic. Despite starting from different random seeds, models like WideResNets converge to nearly identical geometric partitions of the space.

Decision boundaries for seven different architectures across three independent training trials. Note the visual consistency within columns (reproducibility) and the distinct patterns between columns (architectural bias).

As seen in the figure above, you can "see" the inductive bias of different model families. Convolutional Neural Networks (CNNs) like VGG and ResNet produce similar boundary shapes. In contrast, Vision Transformers (ViTs) and MLP-Mixers produce visibly different partitions, often identifying class regions in areas where CNNs do not. This suggests that the choice of architecture imposes a specific "geometric fingerprint" on the learned model.

The Geometry of Double Descent

The "double descent" phenomenon describes a trend where test error first decreases, then increases (the interpolation threshold), and then decreases again as model capacity grows. This study provides a geometric explanation for this behavior.

Test error as a function of model width (k) for CIFAR-10 with 0% and 20% label noise. The peak in test error at the interpolation threshold coincides with a peak in decision boundary fragmentation.

At the interpolation threshold—the point where a model has just enough parameters to fit the training data perfectly—the decision boundary becomes "fragmented" into many tiny, non-reproducible regions. The model essentially "oscillates" wildly to accommodate every data point, leading to the observed spike in test error. As capacity increases further into the over-parameterized regime, these boundaries smooth out and become stable again. In very wide models, even mislabeled points are "swallowed" by smooth, stable regions rather than causing chaotic fragmentation.

Key Insights

  • Width Equals Stability: Increasing the width of a network significantly increases its reproducibility. WideResNet-28x30 was found to be the most reproducible model.
  • Optimizer Impact: The choice of optimizer significantly affects geometry. SGD produces more reproducible boundaries than Adam. Furthermore, Sharpness-Aware Minimization (SAM) increases reproducibility, suggesting a strong regularizing effect on boundary shape.
  • Distillation as Geometric Mimicry: Knowledge distillation does more than improve accuracy; it forces the student model to adopt the specific geometric decision boundaries of the teacher model.

Conclusion

This research moves beyond the "loss landscape" to study the actual geometry of how neural networks classify data. While limited by 2D projections and the scale of datasets like CIFAR-10, the findings suggest that the "black box" of neural training is more structured than previously thought. Future work may involve scaling these visualizations to larger datasets and establishing a formal mathematical link between boundary fragmentation and classical phenomena like the Gibbs phenomenon in Fourier analysis.

Summary updated

BibTeX
@misc{somepalli2022can,
  author = {Gowthami Somepalli and Liam Fowl and Arpit Bansal and Ping-Yeh Chiang and Yehuda Dar and Richard G. Baraniuk and Micah Goldblum and Tom Goldstein},
  title = {{Can Neural Nets Learn the Same Model Twice? Investigating Reproducibility and Double Descent from the Decision Boundary Perspective}},
  year = {2022},
  eprint = {2203.08124},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.08124},
}
Figure