Break It Down: Evidence for Structural Compositionality in Neural Networks

Michael A. Lepori, Thomas Serre, Ellie Pavlick
2/12/2026

No official code found. Best implementation: mlepori1/Compositional_Subnetworks (9 stars, last commit 2023-10-24).

Abstract

Many tasks can be described as compositions over subroutines. Though modern neural networks have achieved impressive performance on both vision and language tasks, we know little about the functions that they implement. One possibility is that neural networks implicitly break down complex tasks into subroutines, implement modular solutions to these subroutines, and compose them into an overall solution to a task -- a property we term structural compositionality. Or they may simply learn to match new inputs to memorized representations, eliding task decomposition entirely. Here, we leverage model pruning techniques to investigate this question in both vision and language, across a variety of architectures, tasks, and pretraining regimens. Our results demonstrate that models oftentimes implement solutions to subroutines via modular subnetworks, which can be ablated while maintaining the functionality of other subroutines. This suggests that neural networks may be able to learn to exhibit compositionality, obviating the need for specialized symbolic mechanisms.

View on arXivView PDF

Code Implementations(1)

Code for the paper Break It Down: Evidence for Structural Compositionality in Neural Networks, presented at NeurIPS 2023

90C, C++Sep 14, 20222 years ago

Similar Papers

Cite this paper

@article{lepori2026break,
  title  = {Break It Down: Evidence for Structural Compositionality in Neural Networks},
  author = {Michael A. Lepori and Thomas Serre and Ellie Pavlick},
  year   = {2026},
  eprint = {2301.10884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2301.10884},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.10884.svg)](https://codeofpaper.com/paper/2301.10884)

Discussion