Dynamic Inference with Neural Interpreters
Modern neural network architectures can leverage large amounts of data to generalize well within the training distribution. However, they are less capable of systematic generalization to data drawn from unseen but related distributions, a feat that is hypothesized to require compositional reasoning and reuse of knowledge. In this work, we present Neural Interpreters, an architecture that factorizes inference in a self-attention network as a system of modules, which we call \emph{functions}. Inputs to the model are routed through a sequence of functions in a way that is end-to-end learned. The proposed architecture can flexibly compose computation along width and depth, and lends itself well to capacity extension after training. To demonstrate the versatility of Neural Interpreters, we evaluate it in two distinct settings: image classification and visual abstract reasoning on Raven Progressive Matrices. In the former, we show that Neural Interpreters perform on par with the vision transformer using fewer parameters, while being transferrable to a new task in a sample efficient manner. In the latter, we find that Neural Interpreters are competitive with respect to the state-of-the-art in terms of systematic generalization
Dynamic Inference with Neural Interpreters Muhammad Waleed Gondal∗,1 Nasim Rahaman∗,1,2,3,‡ Shruti Joshi1 Peter Gehler3 Yoshua Bengio†,2 Francesco Locatello†,3 Bernhard Schölkopf†,1 arXiv:2110.06399v1 [cs.LG] 12 Oct 2021 Abstract Modern neural network architectures can leverage large amounts of data…
saved by
related reading
- The Building Blocks of Interpretabilitydistill.pub
- Transformer Circuits Threadtransformer-circuits.pub
- Towards Monosemanticity: Decomposing Language Models With Dictionary Learningtransformer-circuits.pub
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- Towards Monosemanticity: Decomposing Language Models With Dictionary Learningtransformer-circuits.pub
- An Extremely Opinionated Annotated List of My Favourite Mechanistic Interpretability Papers v2 — AI Alignment Forumalignmentforum.org
- A Comprehensive Mechanistic Interpretability Explainer & Glossary — Neel Nandaneelnanda.io
- Interpreting Language Model Parametersgoodfire.ai
- Interpretability Dreamstransformer-circuits.pub
- A short note on interpretability and mindsericjmichaud.com
- Interpretability — LessWronglesswrong.com
- Softmax Linear Unitstransformer-circuits.pub