Neural networks as decision trees: an analytical solution for learning and neural selectivity
q-bio.NC, cond-mat.dis-nn
Submitted: 2026-10-06
Updated: 2026-10-06
Comments: 37 pages, 9 Figures, 4 Supplementary Figures
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Nonlinear neural networks develop structured internal representations, yet how their geometry is determined by the tasks being learned remains poorly understood.
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.
Sources
- Exact solutions to the nonlinear dynamics of learning in deep linear neural networks
- On the Number of Linear Regions of Deep Neural Networks
- On the Number of Regions of Piecewise Linear Neural Networks
- Towards Interpretable ANNs: An Exact Transformation to Multi-Class Multivariate Decision Trees
- Neural Networks are Decision Trees
- Adam: A Method for Stochastic Optimization
Related papers
- BrainWave: A Brain Signal Foundation Model for Clinical Applications
- Toward Robust, Reproducible, and Widely Accessible Intracranial Speech Brain-Computer Interfaces: A Comprehensive Narrative Review of Neural Mechanisms, Hardware, Algorithms, Evaluation, Clinical Pathways and Future Directions
- CytoNet: A Foundation Model for the Human Cerebral Cortex at Cellular Resolution
- Decoding Alignment without Encoding Alignment: A critique of similarity analysis in neuroscience
- Emergence of psychopathological computations in large language models
- NeuroAI and Beyond: Bridging Between Advances in Neuroscience and Artificial Intelligence