Obtaining Faithful Interpretations from Compositional Neural Networks

05/02/2020
by   Sanjay Subramanian, et al.
22

Neural module networks (NMNs) are a popular approach for modeling compositionality: they achieve high accuracy when applied to problems in language and vision, while reflecting the compositional structure of the problem in the network architecture. However, prior work implicitly assumed that the structure of the network modules, describing the abstract reasoning process, provides a faithful explanation of the model's reasoning; that is, that all modules perform their intended behaviour. In this work, we propose and conduct a systematic evaluation of the intermediate outputs of NMNs on NLVR2 and DROP, two datasets which require composing multiple reasoning steps. We find that the intermediate outputs differ from the expected output, illustrating that the network structure does not provide a faithful explanation of model behaviour. To remedy that, we train the model with auxiliary supervision and propose particular choices for module architecture that yield much better faithfulness, at a minimal cost to accuracy.

READ FULL TEXT

page 1

page 2

page 9

research
12/10/2019

Neural Module Networks for Reasoning over Text

Answering compositional questions that require multiple steps of reasoni...
research
09/14/2023

Dynamic MOdularized Reasoning for Compositional Structured Explanation Generation

Despite the success of neural models in solving reasoning tasks, their c...
research
07/23/2018

Explainable Neural Computation via Stack Neural Module Networks

In complex inferential tasks like question answering, machine learning m...
research
04/06/2020

Multi-Step Inference for Reasoning Over Paragraphs

Complex reasoning over text requires understanding and chaining together...
research
06/02/2023

Independent Modular Networks

Monolithic neural networks that make use of a single set of weights to l...
research
10/12/2021

Dynamic Inference with Neural Interpreters

Modern neural network architectures can leverage large amounts of data t...
research
07/11/2018

Measuring abstract reasoning in neural networks

Whether neural networks can learn abstract reasoning or whether they mer...

Please sign up or login with your details

Forgot password? Click here to reset