One Network Fits All? Modular versus Monolithic Task Formulations in Neural Networks
Not on the map. Why?
Abstract (arXiv)
Can deep learning solve multiple tasks simultaneously, even when they are unrelated and very different? We investigate how the representations of the underlying tasks affect the ability of a single neural network to learn them jointly. We present theoretical and empirical findings that a single neural network is capable of simultaneously learning multiple tasks from a combined data set, for a variety of methods for representing tasks -- for example, when the distinct tasks are encoded by well-separated clusters or decision trees over certain task-code attributes. More concretely, we present a novel analysis that shows that families of simple programming-like constructs for the codes encoding the tasks are learnable by two-layer neural networks with standard training. We study more generally how the complexity of learning such combined tasks grows with the complexity of the task codes; we find that combining many tasks may incur a sample complexity penalty, even though the individual tasks are easy to learn. We provide empirical support for the usefulness of the learning bounds by training networks on clusters, decision trees, and SQL-style aggregation.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 15 of its 38 references that are in the map. First posted on arXiv 29 Mar 2021.
Builds on
15 of 38 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2017A Survey on Multi-Task Learningcited by 840
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 738
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
- 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 566
- 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 469
- 2018Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layerscited by 340
- 2019Massively Multilingual Neural Machine Translation in the Wild: Findings and Challengescited by 257
- 2019Massively Multilingual Neural Machine Translationcited by 246
3 more
- 2017One Model To Learn Them Allcited by 87
- 2019Small and Practical BERT Models for Sequence Labelingcited by 40
- 2017On the Complexity of Learning Neural Networkscited by 18
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 3; 2025: 1.
8 papers.
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 129
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Compositioncited by 27
- 2023Unlocking Emergent Modularity in Large Language Modelscited by 17
- 2024Checkmating One, by Using Many: Combining Mixture of Experts with MCTS to Improve in Chesscited by 4
- 2024Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnabilitycited by 4
- 2024Towards Establishing Guaranteed Error for Learned Database Operationscited by 2
- 2023Turaco: Complexity-Guided Data Sampling for Training Neural Surrogates of Programscited by 0
- 2025Data Driven Diagnosis for Large Cyber-Physical-Systems with Minimal Prior Informationcited by 0
- 2025Data Driven Diagnosis for Large Cyber-Physical-Systems with Minimal Prior Information12 Jun 2025
- 2024Towards Establishing Guaranteed Error for Learned Database Operations9 Nov 2024
- 2024Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnability9 Nov 2024
- 2024Checkmating One, by Using Many: Combining Mixture of Experts with MCTS to Improve in Chess30 Jan 2024
- 2023Unlocking Emergent Modularity in Large Language Models17 Oct 2023
- 2023Turaco: Complexity-Guided Data Sampling for Training Neural Surrogates of Programs21 Sep 2023
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networks27 Jul 2022
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Composition15 Jul 2022