Deep Networks Provably Classify Data on Curves

Tingran Wang, Sam Buchanan, Dar Gilboa, John Wright

Abstract: Data with low-dimensional nonlinear structure are ubiquitous in engineering and scientific problems. We study a model problem with such structure -- a binary classification task that uses a deep fully-connected neural network to classify data drawn from two disjoint smooth curves on the unit sphere. Aside from mild regularity conditions, we place no restrictions on the configuration of the curves. We prove that when (i) the network depth is large relative to certain geometric properties that set the difficulty of the problem and (ii) the network width and number of samples is polynomial in the depth, randomly-initialized gradient descent quickly learns to correctly classify all points on the two curves with high probability. To our knowledge, this is the first generalization guarantee for deep networks with nonlinear data that depends only on intrinsic data properties. Our analysis proceeds by a reduction to dynamics in the neural tangent kernel (NTK) regime, where the network depth plays the role of a fitting resource in solving the classification problem. In particular, via fine-grained control of the decay properties of the NTK, we demonstrate that when the network is sufficiently deep, the NTK can be locally approximated by a translationally invariant operator on the manifolds and stably inverted over smooth functions, which guarantees convergence and generalization.

The Multiple Manifold Problem

Deep learning is famously effective at handling high-dimensional data like images, which are often thought to lie on low-dimensional "manifolds." However, most mathematical guarantees for neural networks assume the data is unstructured or follows simple distributions. In this work, Wang et al. provide a rigorous "end-to-end" proof showing that deep networks can perfectly classify data lying on nonlinear curves.

While deep networks work well in practice, a significant "theory-practice gap" remains. Most existing proofs for neural network convergence assume data is linearly separable or uniformly distributed. However, real-world data is often "manifold-structured." For instance, all possible rotations and translations of an image form a low-dimensional manifold in a high-dimensional pixel space.

The authors tackle the Multiple Manifold Problem by analyzing a binary classification task where data points are drawn from two smooth, disjoint curves on a unit sphere. The goal is to prove that a network can learn to classify every point on these curves correctly—a strong form of generalization—based only on a finite number of samples.

Visualizing the Multiple Manifold Problem: Classifying data on disjoint curves on a sphere.

Localization via Depth

The authors analyze the network in the Neural Tangent Kernel (NTK) regime. If a network is sufficiently wide, its behavior during training can be described by a fixed kernel function. A core technical contribution of this paper is demonstrating that as network depth ($L$) increases, the NTK becomes "sharper" or more localized. This localization is what allows the network to handle complex, winding geometries without "cross-talk" between different parts of the manifold.

By showing the kernel is localized, the authors can approximate it with a translation-invariant operator on the curve. This allows for the use of Fourier analysis to prove the kernel is "stably invertible," meaning the network can effectively "fit" the labels without requiring an astronomical amount of data.

Depth as a fitting resource: As network depth $L$ increases, the kernel $g$ becomes significantly more localized.

Geometric Insights and Results

The requirements for the network (depth and width) depend on the intrinsic properties of the data:

  • Curvature ($\kappa$): How sharply the curves bend.
  • Angle Injectivity Radius ($\Delta$): How close the two curves get to each other or how close a curve gets to self-intersecting.
  • Clover-number: A measure of how many times a manifold "loops back" on itself, often seen in symmetries like rotated MNIST digits.

The authors prove that if the network depth $L$ is large enough (exponential in curvature and polynomial in separation) and the width and sample count are polynomial in depth, randomly initialized gradient descent will find a classifier that correctly labels every point on the manifolds with high probability. Numerical experiments confirm that training error only drops to zero when the "decay scale" of the kernel (controlled by depth) is smaller than the distance between the manifolds.

Conclusion

This work suggests that localization—often viewed as a deficiency in kernel methods—is actually the mechanism that enables deep networks to fit structured data efficiently. While currently limited to 1D curves, the "localization" intuition provides a promising path toward understanding how deep networks handle higher-dimensional manifolds and complex architectures like CNNs.

Summary updated

BibTeX
@inproceedings{wang2021deep,
  author = {Tingran Wang and Sam Buchanan and Dar Gilboa and John Wright},
  title = {{Deep Networks Provably Classify Data on Curves}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=SFFFiGtdAt},
}
Figure