arXivPreprintOpen accesscs.LG

Sparsity-driven emergence of functional modularity in multitask neural networks

Bowen Shi, Qi Ouyang, Long Qian

Key points

From the paper's conclusion
  • The authors investigated how sparsity-inducing regularization promotes functional modularity in multitask neural networks without predefined module boundaries.
  • Functional profiling in multilayer perceptrons and a lightweight transformer identified task-selective subnetworks termed functional tokens.
  • The results suggest that sparsity-constrained optimization shapes the organization and reuse of learned computation in multitask networks.

Abstract

Neural networks can learn multiple tasks, but how learning organizes shared computation into specialized and reusable components remains poorly understood. In this work, we show that sparsity inducing regularization promotes functional modularity in multitask networks without predefined module boundaries. Using functional profiling in multilayer perceptrons and a lightweight transformer, we identified compact, task-selective subnetworks, termed functional tokens. Across rule-based task families, selectively retaining these tokens preserves their associated functions while reducing performance on other tasks. Such specialization develops preferentially in deeper layers during training, while earlier layers retain shared computation. Regularization strength and form shape module compactness and specialization, while task weighting alters functional allocation. Moreover, extracted functional tokens can be recombined through alternative pathways to reconstruct a learned composite computation without retraining, preserving their connectivity and learned weights. Our results suggest that sparsity-constrained optimization shapes not only parameter use but also the organization and reuse of learned computation.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • The authors investigated how sparsity-inducing regularization promotes functional modularity in multitask neural networks without predefined module boundaries.
  • Functional profiling in multilayer perceptrons and a lightweight transformer identified task-selective subnetworks termed functional tokens.
  • The results suggest that sparsity-constrained optimization shapes the organization and reuse of learned computation in multitask networks.

Readers' thoughts

No reader thoughts yet.

Related papers