Text Modular Networks: Learning to Decompose Tasks in the Language of Existing Models

Tushar Khot, Daniel Khashabi, Kyle Richardson, Peter Clark, Ashish Sabharwal
9/1/2020
cs.CLcs.AI

Official code: allenai/modularqa (27 stars, Apache-2.0, last commit 2021-06-08).

Abstract

We propose a general framework called Text Modular Networks(TMNs) for building interpretable systems that learn to solve complex tasks by decomposing them into simpler ones solvable by existing models. To ensure solvability of simpler tasks, TMNs learn the textual input-output behavior (i.e., language) of existing models through their datasets.

Show full abstract

This differs from prior decomposition-based approaches which, besides being designed specifically for each complex task, produce decompositions independent of existing sub-models. Specifically, we focus on Question Answering (QA) and show how to train a next-question generator to sequentially produce sub-questions targeting appropriate sub-models, without additional human annotation. These sub-questions and answers provide a faithful natural language explanation of the model's reasoning. We use this framework to build ModularQA, a system that can answer multi-hop reasoning questions by decomposing them into sub-questions answerable by a neural factoid single-span QA model and a symbolic calculator. Our experiments show that ModularQA is more versatile than existing explainable systems for DROP and HotpotQA datasets, is more robust than state-of-the-art blackbox (uninterpretable) systems, and generates more understandable and trustworthy explanations compared to prior work.

View on arXivView PDF

Code Implementations(1)

allenai/modularqaOfficial100%
Apache-2.0

Code for ModularQA

273Sep 1, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{khot2020text,
  title  = {Text Modular Networks: Learning to Decompose Tasks in the Language of Existing Models},
  author = {Tushar Khot and Daniel Khashabi and Kyle Richardson and Peter Clark and Ashish Sabharwal},
  year   = {2020},
  eprint = {2009.00751},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.00751}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.00751.svg)](https://codeofpaper.com/paper/2009.00751)

Discussion