Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Dynamic Inference with Neural Interpreters

About

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

Nasim Rahaman, Muhammad Waleed Gondal, Shruti Joshi, Peter Gehler, Yoshua Bengio, Francesco Locatello, Bernhard Sch\"olkopf• 2021

Related benchmarks

TaskDatasetResultRank
Abstract ReasoningPGM Neutral (val)
Accuracy77.3
5
Abstract ReasoningPGM Neutral (test)
Accuracy77
5
Abstract ReasoningPGM Triple Pairs (val)
Accuracy68.6
5
Abstract ReasoningPGM Triple Pairs (test)
Accuracy45.2
5
Abstract ReasoningPGM Triples (val)
Accuracy79.9
5
Abstract ReasoningPGM Attribute Pairs (val)
Accuracy69.5
5
Abstract ReasoningPGM Attribute Pairs (test)
Accuracy36.6
5
Abstract ReasoningPGM Triples (test)
Accuracy20
5
Abstract ReasoningPGM Interpolation (test)
Accuracy70.5
4
Abstract ReasoningPGM Extrapolation (test)
Accuracy19.4
4
Showing 10 of 12 rows

Other info

Follow for update