Understanding How Nonlinear Layers Create Linearly Separable Features for Low-Dimensional Data

Alec S. Xu, Can Yaras, Peng Wang, Qing Qu
1/4/2025
cs.LGcs.CVstat.ML

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Deep neural networks have attained remarkable success across diverse classification tasks. Recent empirical studies have shown that deep networks learn features that are linearly separable across classes. However, these findings often lack rigorous justifications, even under relatively simple settings. In this work, we address this gap by examining the linear separation capabilities of shallow nonlinear networks. Specifically, inspired by the low intrinsic dimensionality of image data, we model inputs as a union of low-dimensional subspaces (UoS) and demonstrate that a single nonlinear layer can transform such data into linearly separable sets. Theoretically, we show that this transformation occurs with high probability when using random weights and quadratic activations. Notably, we prove this can be achieved when the network width scales polynomially with the intrinsic dimension of the data rather than the ambient dimension. Experimental results corroborate these theoretical findings and demonstrate that similar linear separation properties hold in practical scenarios beyond our analytical scope. This work bridges the gap between empirical observations and theoretical understanding of the separation capacity of nonlinear networks, offering deeper insights into model interpretability and generalization.

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. 3 weaker matches are hidden by default — 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{xu2025understanding,
  title  = {Understanding How Nonlinear Layers Create Linearly Separable Features for Low-Dimensional Data},
  author = {Alec S. Xu and Can Yaras and Peng Wang and Qing Qu},
  year   = {2025},
  eprint = {2501.02364},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02364v1}
}

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.02364.svg)](https://codeofpaper.com/paper/2501.02364)

Discussion