Papers › Teaching Machine Comprehension with Compositional Explanations

Teaching Machine Comprehension with Compositional Explanations

2 May 2020Findings of the Association for Computational Linguistics 2020arXiv:2005.00806archive 2025-07-28

Qinyuan Ye, Xiao Huang, Elizabeth Boschee, Xiang Ren

Advances in machine reading comprehension (MRC) rely heavily on the collection of large scale human-annotated examples in the form of (question, paragraph, answer) triples. In contrast, humans are typically able to generalize with only a few examples, relying on deeper underlying world knowledge, linguistic sophistication, and/or simply superior deductive powers. In this paper, we focus on "teaching" machines reading comprehension, using a small number of semi-structured explanations that explicitly inform machines why answer spans are correct. We extract structured variables and rules from explanations and compose neural module teachers that annotate instances for training downstream MRC models. We use learnable neural modules and soft logic to handle linguistic variation and overcome sparse coverage; the modules are jointly optimized with the MRC model to improve final performance. On the SQuAD dataset, our proposed method achieves 70.14% F1 score with supervision from 26 explanations, comparable to plain supervised learning using 1,100 labeled instances, yielding a 12x speed up.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2005.00806")

Code

Syntology Ran 10 of 10 code samples harvested from 2 repositories linked to this paper; 0 have no recorded run. Of those that ran: 4 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 9 samples from 2 repositories, 9 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

INK-USC/mrc-explanation officialmentioned in paperpytorch report
INK-USC/nl-explanation officialpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 10 ran; 4 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
1ran

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Occurrence INK-USC/mrc-explanation/module/modules.py official repository ran no licence file found · pointer only · db9dff06388f701c · report
_and INK-USC/nl-explanation/module/modules.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · d9f13dc05f7e1bb0 · report
find INK-USC/mrc-explanation/module/modules.py official repository ran · our draft was wrong no licence file found · pointer only · a33c4f77cdf2cc58 · report
get_st_ed INK-USC/mrc-explanation/module/modules.py official repository ran · honoured contract no licence file found · pointer only · a3b5708ff6975fb3 · report
remove_repeated INK-USC/mrc-explanation/module/modules.py official repository ran · our draft was wrong no licence file found · pointer only · 0fb83ac29ef90e19 · report
root INK-USC/nl-explanation/module/modules.py official repository ran · honoured contract no licence file found · pointer only · 828af04bf6b3de78 · report
softened_string_eq INK-USC/mrc-explanation/module/modules.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 12a347dd24e25948 · report
to_tensor INK-USC/nl-explanation/module/modules.py official repository ran · honoured contract no licence file found · pointer only · 5405b2997338abd0 · report
tuple_fy INK-USC/nl-explanation/module/modules.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 2391c1cafa690f61 · report
normalize_answer identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 6a96435eba311b08 · report

Tasks

Data AugmentationMachine Reading ComprehensionReading ComprehensionWorld Knowledge

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections