Neural Attentive Circuits
Not on the map. Why?
Abstract (arXiv)
Recent work has seen the development of general purpose neural architectures that can be trained to perform tasks across diverse data modalities. General purpose models typically make few assumptions about the underlying data-structure and are known to perform well in the large-data regime. At the same time, there has been growing interest in modular neural architectures that represent the data using sparsely interacting modules. These models can be more robust out-of-distribution, computationally efficient, and capable of sample-efficient adaptation to new data. However, they tend to make domain-specific assumptions about the data, and present challenges in how module behavior (i.e., parameterization) and connectivity (i.e., their layout) can be jointly learned. In this work, we introduce a general purpose, yet modular neural architecture called Neural Attentive Circuits (NACs) that jointly learns the parameterization and a sparse connectivity of neural modules without using domain knowledge. NACs are best understood as the combination of two systems that are jointly trained end-to-end: one that determines the module configuration and the other that executes it on an input. We demonstrate qualitatively that NACs learn diverse and meaningful module configurations on the NLVR2 dataset without additional supervision. Quantitatively, we show that by incorporating modularity in this way, NACs improve upon a strong non-modular baseline in terms of low-shot adaptation on CIFAR and CUBs dataset by about 10%, and OOD robustness on Tiny ImageNet-R by about 2.5%. Further, we find that NACs can achieve an 8x speedup at inference time while losing less than 3% performance. Finally, we find NACs to yield competitive results on diverse data modalities spanning point-cloud classification, symbolic processing and text-classification from ASCII bytes, thereby confirming its general purpose nature.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 32 of its 57 references that are in the map. First posted on arXiv 14 Oct 2022.
Builds on
32 of 57 references.
References · 32
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022A ConvNet for the 2020scited by 3,545
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
20 more
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2018A Corpus for Reasoning About Natural Language Grounded in Photographscited by 457
- 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 369
- 2019Causality for Machine Learningcited by 242
- 2019Recurrent Independent Mechanismscited by 219
- 2018Compositional Attention Networks for Machine Reasoningcited by 183
- 2015Conditional Computation in Neural Networks for faster modelscited by 166
- 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
- 2018Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networkscited by 129
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
- 2017Learning to Reason: End-to-End Module Networks for Visual Question Answeringcited by 125
- 2021Vision Transformer for Small-Size Datasetscited by 122
- 2019Neural Module Networks for Reasoning over Textcited by 65
- 2019CLOSURE: Assessing Systematic Generalization of CLEVR Modelscited by 63
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2021Dynamic Inference with Neural Interpreterscited by 24
- 2019DropAttention: A Regularization Method for Fully-Connected Self-Attention Networkscited by 20
- 2022HiP: Hierarchical Perceivercited by 15
- 2020S2RMs: Spatially Structured Recurrent Modulescited by 10
- 2021Robust Generalization of Quadratic Neural Networks via Function Identificationcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 1.
6 papers.
- 2024Erasing Concepts from Text-to-Image Diffusion Models with Few-shot Unlearningcited by 29
- 2023ELDEN: Exploration via Local Dependenciescited by 8
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2024m2mKD: Module-to-Module Knowledge Distillation for Modular Transformerscited by 5
- 2024Automated Discovery of Functional Actual Causes in Complex Environmentscited by 3
- 2025Neural Network Reprogrammability: A Unified Theme on Model Reprogramming, Prompt Tuning, and Prompt Instructioncited by 3
- 2025Neural Network Reprogrammability: A Unified Theme on Model Reprogramming, Prompt Tuning, and Prompt Instruction5 Jun 2025
- 2024Erasing Concepts from Text-to-Image Diffusion Models with Few-shot Unlearning12 May 2024
- 2024Automated Discovery of Functional Actual Causes in Complex Environments16 Apr 2024
- 2024m2mKD: Module-to-Module Knowledge Distillation for Modular Transformers26 Feb 2024
- 2024Investigating Recurrent Transformers with Dynamic Halt1 Feb 2024
- 2023ELDEN: Exploration via Local Dependencies12 Oct 2023