English

Conditional computation in neural networks: principles and research trends

Machine Learning 2024-07-09 v2 Artificial Intelligence

Abstract

This article summarizes principles and ideas from the emerging area of applying \textit{conditional computation} methods to the design of neural networks. In particular, we focus on neural networks that can dynamically activate or de-activate parts of their computational graph conditionally on their input. Examples include the dynamic selection of, e.g., input tokens, layers (or sets of layers), and sub-modules inside each layer (e.g., channels in a convolutional filter). We first provide a general formalism to describe these techniques in an uniform way. Then, we introduce three notable implementations of these principles: mixture-of-experts (MoEs) networks, token selection mechanisms, and early-exit neural networks. The paper aims to provide a tutorial-like introduction to this growing field. To this end, we analyze the benefits of these modular designs in terms of efficiency, explainability, and transfer learning, with a focus on emerging applicative areas ranging from automated scientific discovery to semantic communication.

Keywords

Cite

@article{arxiv.2403.07965,
  title  = {Conditional computation in neural networks: principles and research trends},
  author = {Simone Scardapane and Alessandro Baiocchi and Alessio Devoto and Valerio Marsocci and Pasquale Minervini and Jary Pomponi},
  journal= {arXiv preprint arXiv:2403.07965},
  year   = {2024}
}
R2 v1 2026-06-28T15:17:47.234Z