Are Neural Nets Modular? Inspecting Functional Modularity Through Differentiable Weight Masks
Not on the map. Why?
Abstract (arXiv)
Neural networks (NNs) whose subnetworks implement reusable functions are expected to offer numerous advantages, including compositionality through efficient recombination of functional building blocks, interpretability, preventing catastrophic interference, etc. Understanding if and how NNs are modular could provide insights into how to improve them. Current inspection methods, however, fail to link modules to their functionality. In this paper, we present a novel method based on learning binary weight masks to identify individual weights and subnets responsible for specific functions. Using this powerful tool, we contribute an extensive study of emerging modularity in NNs that covers several standard architectures and datasets. We demonstrate how common NNs fail to reuse submodules and offer new insights into the related issue of systematic generalization on language tasks.
Key facts. Cited by 97 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 11; 2022: 10; 2023: 25; 2024: 23; 2025: 16; 2026: 12.
97 papers.
Sort:
By area:
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Memory-Based Model Editing at Scalecited by 443
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2023Similarity of Neural Network Models: A Survey of Functional and Representational Measurescited by 128
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2023Soft Merging of Experts with Adaptive Routingcited by 88
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Modular Deep Learningcited by 82
38 more
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
- 2021Can Subnetwork Structure be the Key to Out-of-Distribution Generalization?cited by 75
- 2021Continual Learning via Local Module Compositioncited by 61
- 2021Visual Representation Learning Does Not Generalize Strongly Within the Same Domaincited by 60
- 2022Advancing Model Pruning via Bi-level Optimizationcited by 55
- 2025MIB: A Mechanistic Interpretability Benchmarkcited by 49
- 2025Do Language Models Use Their Depth Efficiently?cited by 48
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
- 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 44
- 2023Seeing is Believing: Brain-Inspired Modular Training for Mechanistic Interpretabilitycited by 38
- 2023Emergent Modularity in Pre-trained Transformerscited by 37
- 2022Is a Modular Architecture Enough?cited by 35
- 2021Sparse Interventions in Language Models with Differentiable Maskingcited by 34
- 2024Evaluating Open-Source Sparse Autoencoders on Disentangling Factual Knowledge in GPT-2 Smallcited by 34
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Compositioncited by 27
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 27
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
- 2025How Do Transformers Learn Variable Binding in Symbolic Programs?cited by 19
- 2023Unlocking Emergent Modularity in Large Language Modelscited by 17
- 2022Training Debiased Subnetworks with Contrastive Weight Pruningcited by 16
- 2023Discovering Knowledge-Critical Subnetworks in Pretrained Language Modelscited by 16
- 2024How and where does CLIP process negation?cited by 16
- 2024A Reply to Makelov et al. (2023)'s "Interpretability Illusion" Argumentscited by 15
- 2025Stochastic Parameter Decompositioncited by 14
- 2023Examining Modularity in Multilingual LMs via Language-Specialized Subnetworkscited by 13
- 2023Winning Prize Comes from Losing Tickets: Improve Invariant Learning by Exploring Variant Parameters for Out-of-Distribution Generalizationcited by 12
- 2023Uncovering Intermediate Variables in Transformers using Circuit Probingcited by 12
- 2022Clustering units in neural networks: upstream vs downstream informationcited by 11
- 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularitycited by 11
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
- 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometrycited by 10
- 2021Neural Network Module Decomposition and Recompositioncited by 9
- 2023NeuroSurgeon: A Toolkit for Subnetwork Analysiscited by 9
- 2024Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotationscited by 9
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Modelscited by 9
- 2023Causal interventions expose implicit situation models for commonsense language understandingcited by 7
- 2023Regularized Mask Tuning: Uncovering Hidden Knowledge in Pre-trained Vision-Language Modelscited by 7
- 2025LLMs Process Lists With General Filter Headscited by 7
50 most cited of 97 All 97 (JSON)
- 2026A mechanistic study of language model introspection28 Sep 2026
- 2026EMAN: Optimization-Driven Capacity Growth through Path Emergence in Multi-Task Learning5 Aug 2026
- 2026Modular Cognitive Architecture Emerges in Large Language Models27 Jun 2026
- 2026Modularity-Free Conflict-Averse Training for Generalized PINNs18 Jun 2026
- 2026Tiny Brains, Giant Impact: Uncovering the Keystone Neurons of LLM with Just a Few Prompts24 May 2026
- 2026The Perception-Physics Paradox: Probing Scientific Alignment with TC-Bench23 May 2026
- 2026Learning Emergent Modular Representations in Multi-modality Medical Vision Foundation Models21 May 2026
- 2026Position: Weight Space Should Be a First-Class Generative AI Modality18 May 2026
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformer18 May 2026
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigation23 Apr 2026
- 2026Modularity is the Bedrock of Natural and Artificial Intelligence21 Feb 2026
- 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometry2 Feb 2026
38 more
- 2025LLMs Process Lists With General Filter Heads30 Oct 2025
- 2025C-SWAP: Explainability-Aware Structured Pruning for Efficient Neural Networks Compression21 Oct 2025
- 2025Neuronal Group Communication for Efficient Neural representation19 Oct 2025
- 2025Compositional meta-learning through probabilistic task inference2 Oct 2025
- 2025Detecting and Rectifying Noisy Labels: A Similarity-based Approach28 Sep 2025
- 2025From Indirect Object Identification to Syllogisms: Exploring Binary Mechanisms in Transformer Circuits22 Aug 2025
- 2025Stochastic Parameter Decomposition25 Jun 2025
- 2025From Concepts to Components: Concept-Agnostic Attention Module Discovery in Transformers20 Jun 2025
- 2025Out-of-Distribution Graph Models Merging4 Jun 2025
- 2025Drop Dropout on Single-Epoch Language Model Pretraining30 May 2025
- 2025How Do Transformers Learn Variable Binding in Symbolic Programs?27 May 2025
- 2025Do Language Models Use Their Depth Efficiently?20 May 2025
- 2025An XAI-based Analysis of Shortcut Learning in Neural Networks22 Apr 2025
- 2025MIB: A Mechanistic Interpretability Benchmark17 Apr 2025
- 2025Are formal and functional linguistic mechanisms dissociated in language models?14 Mar 2025
- 2025Towards Unified Attribution in Explainable AI, Data-Centric AI, and Mechanistic Interpretability31 Jan 2025
- 2024DNN Modularization via Activation-Driven Training1 Nov 2024
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Models28 Oct 2024
- 2024Probing Ranking LLMs: A Mechanistic Analysis for Information Retrieval24 Oct 2024
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models2 Oct 2024
- 2024Breaking Neural Network Scaling Laws with Modularity9 Sep 2024
- 2024Evaluating Open-Source Sparse Autoencoders on Disentangling Factual Knowledge in GPT-2 Small5 Sep 2024
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representations20 Aug 2024
- 2024Block-Operations: Using Modular Routing to Improve Compositional Generalization1 Aug 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024Tracking linguistic information in transformer-based sentence embeddings through targeted sparsification25 Jul 2024
- 2024Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotations20 Jul 2024
- 2024How and where does CLIP process negation?15 Jul 2024
- 2024Sheaf Discovery with Joint Computation Graph Pruning and Flexible Granularity4 Jul 2024
- 2024Understanding Language Model Circuits through Knowledge Editing25 Jun 2024
- 2024Are there identifiable structural parts in the sentence embedding whole?24 Jun 2024
- 2024METRIK: Measurement-Efficient Randomized Controlled Trials using Transformers with Input Masking24 Jun 2024
- 2024When Parts Are Greater Than Sums: Individual LLM Components Can Outperform Full Models19 Jun 2024
- 2024Interpretability of Language Models via Task Spaces10 Jun 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Debiasing surgeon: fantastic weights and how to find them21 Mar 2024
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representations27 Feb 2024
- 2024Assessing the Portability of Parameter Matrices Trained by Parameter-Efficient Finetuning Methods25 Jan 2024
50 newest of 97 All 97 (JSON)
- 2023Soft Merging of Experts with Adaptive Routingcited by 88
- 2023Soft Merging of Experts with Adaptive Routing6 Jun 2023
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Memory-Based Model Editing at Scalecited by 443
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2023Similarity of Neural Network Models: A Survey of Functional and Representational Measurescited by 128
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2023Modular Deep Learningcited by 82
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
12 most cited of 93 All 93 (JSON)
- 2026A mechanistic study of language model introspection28 Sep 2026
- 2026EMAN: Optimization-Driven Capacity Growth through Path Emergence in Multi-Task Learning5 Aug 2026
- 2026Modular Cognitive Architecture Emerges in Large Language Models27 Jun 2026
- 2026Modularity-Free Conflict-Averse Training for Generalized PINNs18 Jun 2026
- 2026Tiny Brains, Giant Impact: Uncovering the Keystone Neurons of LLM with Just a Few Prompts24 May 2026
- 2026The Perception-Physics Paradox: Probing Scientific Alignment with TC-Bench23 May 2026
- 2026Learning Emergent Modular Representations in Multi-modality Medical Vision Foundation Models21 May 2026
- 2026Position: Weight Space Should Be a First-Class Generative AI Modality18 May 2026
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformer18 May 2026
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigation23 Apr 2026
- 2026Modularity is the Bedrock of Natural and Artificial Intelligence21 Feb 2026
- 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometry2 Feb 2026
12 newest of 93 All 93 (JSON)