Dissecting a Small Artificial Neural Network

Xiguang Yang, Krish Arora, Michael Bachmann
1/3/2025
cond-mat.dis-nncond-mat.stat-mechcs.LG

No confident code implementation found for this paper.

Abstract

We investigate the loss landscape and backpropagation dynamics of convergence for the simplest possible artificial neural network representing the logical exclusive-OR (XOR) gate. Cross-sections of the loss landscape in the nine-dimensional parameter space are found to exhibit distinct features, which help understand why backpropagation efficiently achieves convergence toward zero loss, whereas values of weights and biases keep drifting. Differences in shapes of cross-sections obtained by nonrandomized and randomized batches are discussed. In reference to statistical physics we introduce the microcanonical entropy as a unique quantity that allows to characterize the phase behavior of the network. Learning in neural networks can thus be thought of as an annealing process that experiences the analogue of phase transitions known from thermodynamic systems. It also reveals how the loss landscape simplifies as more hidden neurons are added to the network, eliminating entropic barriers caused by finite-size effects.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2025dissecting,
  title  = {Dissecting a Small Artificial Neural Network},
  author = {Xiguang Yang and Krish Arora and Michael Bachmann},
  year   = {2025},
  eprint = {2501.08341},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.08341v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.08341.svg)](https://codeofpaper.com/paper/2501.08341)

Discussion