Breaking Neural Network Scaling Laws with Modularity

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Boopathy, Akhilan, Jiang, Sunshine, Yue, William, Hwang, Jaedong, Iyer, Abhiram, Fiete, Ila
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909533225353216
author Boopathy, Akhilan
Jiang, Sunshine
Yue, William
Hwang, Jaedong
Iyer, Abhiram
Fiete, Ila
author_facet Boopathy, Akhilan
Jiang, Sunshine
Yue, William
Hwang, Jaedong
Iyer, Abhiram
Fiete, Ila
contents Modular neural networks outperform nonmodular neural networks on tasks ranging from visual question answering to robotics. These performance improvements are thought to be due to modular networks' superior ability to model the compositional and combinatorial structure of real-world problems. However, a theoretical explanation of how modularity improves generalizability, and how to leverage task modularity while training networks remains elusive. Using recent theoretical progress in explaining neural network generalization, we investigate how the amount of training data required to generalize on a task varies with the intrinsic dimensionality of a task's input. We show theoretically that when applied to modularly structured tasks, while nonmodular networks require an exponential number of samples with task dimensionality, modular networks' sample complexity is independent of task dimensionality: modular networks can generalize in high dimensions. We then develop a novel learning rule for modular networks to exploit this advantage and empirically show the improved generalization of the rule, both in- and out-of-distribution, on high-dimensional, modular tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05780
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Breaking Neural Network Scaling Laws with Modularity
Boopathy, Akhilan
Jiang, Sunshine
Yue, William
Hwang, Jaedong
Iyer, Abhiram
Fiete, Ila
Machine Learning
Modular neural networks outperform nonmodular neural networks on tasks ranging from visual question answering to robotics. These performance improvements are thought to be due to modular networks' superior ability to model the compositional and combinatorial structure of real-world problems. However, a theoretical explanation of how modularity improves generalizability, and how to leverage task modularity while training networks remains elusive. Using recent theoretical progress in explaining neural network generalization, we investigate how the amount of training data required to generalize on a task varies with the intrinsic dimensionality of a task's input. We show theoretically that when applied to modularly structured tasks, while nonmodular networks require an exponential number of samples with task dimensionality, modular networks' sample complexity is independent of task dimensionality: modular networks can generalize in high dimensions. We then develop a novel learning rule for modular networks to exploit this advantage and empirically show the improved generalization of the rule, both in- and out-of-distribution, on high-dimensional, modular tasks.
title Breaking Neural Network Scaling Laws with Modularity
topic Machine Learning
url https://arxiv.org/abs/2409.05780