Manuscript Offprint

arXiv:2610.12842

Neural networks are more modular than single neurons suggest

Shreya Saha, Benjamin Bergen, Meenakshi Khosla

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Neural networks routinely develop representations in which individual neurons contribute to multiple distinct functions, leading to the widespread view that such networks lack modular organization. We challenge this conclusion by introducing a formally nested hierarchy of modularity: unit-level, which requires distinct computations to occupy disjoint neurons; orthogonal, which asks whether a rotation reveals functionally independent subspaces; and linear, which asks whether a bounded linear map can separate task-relevant computations into independent subspaces. We develop a unified framework for learning decompositions at each level and evaluating them causally through selective ablation. Across vision models, language models and multi-task Recurrent Neural Networks (RNNs), we find that networks which lack unit-level modularity nonetheless often exhibit clear functional modularity at the subspace level. In vision and language models, content versus style and syntax versus semantics respectively dissociate under subspace ablation despite sharing overlapping populations of neurons. These learned subspaces also align differentially with brain data, with content and style subspaces predicting higher and lower visual cortex respectively, and semantic subspaces outperforming syntactic ones in predicting language cortex activity. In RNNs trained on multiple cognitive tasks and previously shown to lack modular structure, our decomposition recovers sharp double dissociations between tasks. The absence of unit-level modularity frequently coexists with clear subspace-level modularity across domains, enabling targeted intervention on specific computations even in networks where no individual neuron is specialized, with broad implications for mechanistic interpretability and for understanding functional organization in both biological and artificial neural systems.

1 Introduction

The idea that complex systems decompose into functionally specialized components, often known as modularity, is among the oldest organizing principles in neuroscience and a central question for understanding artificial neural networks Jacobs et al. [1991], Zeki [1978], Fodor [1983], Kanwisher [2010]. In neuroscience, the gold standard for establishing modularity is double dissociation: damage to one region selectively impairs one function while sparing another, and damage to a second region produces the reverse pattern[Moscovitch et al., 1997, Damasio et al., 1982]. This establishes that two functions rely on separable neural machinery, not merely that they activate different populations.

In practice, however, modularity is assessed not through direct causal intervention but through a proxy, like selectivity: whether individual neurons or voxels respond preferentially to one function over another. This proxy has yielded clear positive results in some domains Kanwisher et al. [1997] but notable null results in others. For example, extensive investigation of the human language network has failed to find reliable separation for syntactic versus semantic processing at the level of individual

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

voxels [Fedorenko et al., 2020], yet whether these functions might dissociate at a different level of description remains an open question.

Modular representations have specific dimensions for specific functionalities

Figure

Different colors refer to different distinct functionalities.

Transforming representation into partially modular latent subspaces

Figure

Figure 1: Illustration of functional modularity and our proposed decomposition framework. (A) In an entangled representation, individual dimensions participate in multiple functionalities, such that the representations of different functions overlap across dimensions. In an ideally modular representation, each functionality occupies a distinct, non-overlapping set of dimensions, allowing the functions to be independently manipulated. (B) Our framework applies an information-preserving transformation to an entangled representation to separate two target functionalities. Ideally, the transformed representation decomposes into three subspaces: two function-specific subspaces corresponding to the target functionalities being dissociated, and a residual subspace containing information associated with other, non-target functionalities.

In artificial neural networks, modularity has been pursued along two distinct lines. One line seeks to build modular structure into the architecture itself, using explicit routing mechanisms, attention-based module selection, or other inductive biases that encourage computational specialization [Goyal and Bengio, 2022, Csordás et al., 2020]. A second line asks whether modularity emerges spontaneously in networks that lack such inductive biases. Here, the dominant approach mirrors the neuroscience tradition: examine individual neurons for selectivity. A network is considered modular if distinct tasks are carried by disjoint sets of selective neurons. By this criterion, modularity has been demonstrated in networks with element-wise nonlinearities, where clustering of task variance across units reveals groups of functionally specialized neurons [Yang et al., 2019]. But the same criterion frequently returns a negative verdict. Networks with smooth, saturating nonlinearities like tanh, as well as most transformer-based models, exhibit pervasive mixed selectivity: individual units respond to combinations of features (often known as superposition) or task variables with no clear specialization [Driscoll et al., 2024, Rigotti et al., 2013].

We argue that this conclusion conflates two distinct claims: that individual neurons are not specialized, and that the network’s computation is not modular. The first may be true while the second is false. A system can organize functionally independent computations into separable subspaces of the population activity without any single neuron being dedicated to a single function (Figure 1 A). Mixed selectivity at the unit level is perfectly compatible with modular organization at the subspace level - the modules are simply rotated off the coordinate axes.

To make this argument precise, we introduce a hierarchy of three formally nested notions of modularity. Unit-level modularity is the classical notion: distinct computations occupy disjoint sets of neurons, and ablating each set selectively impairs one function but not the other. Orthogonal modularity relaxes this by asking whether there exists a rotation of the representation space that reveals functionally independent subspaces. Linear modularity relaxes further, asking whether a bounded invertible linear transformation can separate computations into independent subspaces, permitting the bases to be non-orthogonal.

We evaluate whether a candidate decomposition constitutes genuine functional modularity (rather than a statistical artifact) through ablation. We say a decomposition is modular if ablating each of two subspaces selectively impairs one unique computation while preserving the other (a double dissociation). We develop a unified optimization framework (Figure 1 B) for learning decompositions at each level that are optimized for task sufficiency, and evaluate them through interventional ablation on held-out data. We then evaluate the strength of functional separation, accounting for both selective impairment and collateral damage.

Our notion of modularity is distinct from distributed coding and superposition Elhage et al. [2022], Henighan et al. [2023], which describe how features are represented within a population. Distributed coding asks whether a feature is represented across many neurons, whereas superposition asks whether multiple features share a limited set of representational dimensions. Neither concept directly addresses whether different computations are functionally separable. A representation can be distributed while remaining functionally modular: for example, a dense rotation can distribute two functionally independent computations across every neuron while preserving their distinct subspaces. Conversely, a distributed representation need not contain subspaces that selectively support different computations. This also distinguishes our question from sparse autoencoders and related feature discovery methods Bricken et al. [2023], Templeton et al. [2026], Huben et al. [2024], which seek a new basis of more interpretable or monosemantic features. Our goal is not to create monosemantic neurons or recover individual features, but to determine whether the existing representation already contains task-selective functional subspaces. Crucially, neither distributed coding nor superposition is defined by, or established through, a double dissociation. They characterize how features are distributed across and share representational coordinates; they do not determine whether different computations are independently supported. Functional modularity asks a distinct causal question: can one computation be selectively disrupted while another is spared, and vice versa?

We apply this optimization framework across 3 domains. In multitask recurrent neural networks trained on cognitive tasks from Yang et al. [2019], we revisit the well-established finding that networks with certain activation functions lack the clustered unit structure found in networks with rectifying activations. Our subspace decomposition recovers strong double dissociations in these networks that are invisible to unit-level analysis, confirming the hypothesis of Driscoll et al. [2024]. In vision models, we demonstrate that content and style occupy separable linear subspaces despite being encoded by overlapping neural populations. In language models, we show that syntactic and semantic processing similarly dissociate at the subspace level even though the same units participate in both. We further show that these decomposed vision and language subspaces exhibit brain alignment with established functional organization in both visual and language cortex. Across all three domains, we find a consistent pattern: an absence of unit-level modularity paired with clear subspace-level modularity. These results demonstrate that modularity cannot be assessed at a single level of description, and that the hierarchy we introduce provides a principled framework for determining when and at what level of analysis functional specialization exists in both biological and artificial networks.

References (40)