Neural networks as decision trees: an analytical solution for learning and neural selectivity
Abstract
Nonlinear neural networks develop structured internal representations, yet how their geometry is determined by the tasks being learned remains poorly understood. Here, we develop an analytical framework for piecewise-linear feedforward and recurrent networks that links learning, activation-region structure, and neural selectivity. We show that, at any stationary point of gradient-aligned learning, a nonlinear network decomposes into local linear regressions over its activation regions. Deviations from the corresponding least-squares solutions are jointly constrained by network weights shared across regions and vanish in the low-error regime, yielding an approximate piecewise least-squares decomposition of the task. This structure admits a decision-tree interpretation, which we recover numerically by fitting trees to predict network activation patterns from the input. We further derive how the regions in which neurons are active determine the task statistics they capture, thereby organizing neural selectivity into distinct subpopulations. The resulting predictions closely match the selectivity geometry observed in simulated networks and two empirical neural datasets. Finally, we show that neural baseline regulates activation pattern diversity, placing networks along a continuum between coarse, generalizing representations and fine-grained, expressive representations. Together, these results establish activation regions as a unifying framework for describing how nonlinear networks decompose task structure into local computations and how those computations can be revealed through neural activity.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Discriminating neural ensemble patterns through dendritic computations in randomly connected feedforward networks
Bhanu Priya Somashekar, Upinder S. Bhalla·eLifePeer-reviewed·Jan 24, 2025
- Excitatory and inhibitory subnetworks are equally selective during decision-making and emerge simultaneously during learning
Farzaneh Najafi, Gamaleldin F. Elsayed, … Anne K. Churchland·NeuronPeer-reviewed·Nov 18, 2019
- Low Dimensional Activity in Spiking Neuronal Networks
Emil Wärnberg, Arvind Kumar·bioRxiv·Feb 22, 2017
- Category selectivity observed in the human brain is distinct from category selectivity observed in artificial neural networks
Alish Dipani, N. Apurva Ratan Murty·bioRxiv·Jun 2, 2026
- Randomly connected networks generate emergent selectivity and predict decoding properties of large populations of neurons
Audrey Sederberg, Ilya M. Nemenman·PLoS Computational BiologyPeer-reviewed·May 7, 2020
- Nonlinear Reconfiguration of Network Edges, Topology and Information Content During an Artifical Learning Task
James M. Shine, Mike Li, … Joseph T. Lizier·bioRxiv·Sep 30, 2020