Neuron Block Dynamics for XOR Classification with Zero-Margin
Guillaume Braun, Masaaki Imaizumi
TL;DR
The paper tackles zero-margin nonlinear classification for Gaussian XOR, where standard margin arguments fail due to boundary-proximate data. It introduces a neuron-block dynamics framework in which neurons rapidly organize into four balanced directions and whose collective block signals drive learning. By an two-phase analysis—Phase I with near-independent dynamics and Phase II with block-level growth governed by an average-margin statistic—the authors prove that a two-layer ReLU network trained with vanilla SGD can learn XOR on Gaussian inputs, achieving near-optimal sample complexity and generalization away from the boundary. The results provide a new analytical lens for feature learning under zero-margin conditions and offer practical insights into the robustness of block-level learning beyond Gaussian inputs.
Abstract
The ability of neural networks to learn useful features through stochastic gradient descent (SGD) is a cornerstone of their success. Most theoretical analyses focus on regression or on classification tasks with a positive margin, where worst-case gradient bounds suffice. In contrast, we study zero-margin nonlinear classification by analyzing the Gaussian XOR problem, where inputs are Gaussian and the XOR decision boundary determines labels. In this setting, a non-negligible fraction of data lies arbitrarily close to the boundary, breaking standard margin-based arguments. Building on Glasgow's (2024) analysis, we extend the study of training dynamics from discrete to Gaussian inputs and develop a framework for the dynamics of neuron blocks. We show that neurons cluster into four directions and that block-level signals evolve coherently, a phenomenon essential in the Gaussian setting where individual neuron signals vary significantly. Leveraging this block perspective, we analyze generalization without relying on margin assumptions, adopting an average-case view that distinguishes regions of reliable prediction from regions of persistent error. Numerical experiments confirm the predicted two-phase block dynamics and demonstrate their robustness beyond the Gaussian setting.
