Papers › Towards Interpretable Natural Language Understanding with Explanations as Latent Variables

Towards Interpretable Natural Language Understanding with Explanations as Latent Variables

24 Oct 2020NeurIPS 2020 12arXiv:2011.05268archive 2025-07-28

Wangchunshu Zhou, Jinyi Hu, HANLIN ZHANG, Xiaodan Liang, Maosong Sun, Chenyan Xiong, Jian Tang

Recently generating natural language explanations has shown very promising results in not only offering interpretable explanations but also providing additional information and supervision for prediction. However, existing approaches usually require a large set of human annotated explanations for training while collecting a large set of explanations is not only time consuming but also expensive. In this paper, we develop a general framework for interpretable natural language understanding that requires only a small set of human annotated explanations for training. Our framework treats natural language explanations as latent variables that model the underlying reasoning process of a neural model. We develop a variational EM framework for optimization where an explanation generation module and an explanation-augmented prediction module are alternatively optimized and mutually enhance each other. Moreover, we further propose an explanation-based self-training method under this framework for semi-supervised learning. It alternates between assigning pseudo-labels to unlabeled data and generating new explanations to iteratively improve each other. Experiments on two natural language understanding tasks demonstrate that our framework can not only make effective predictions in both supervised and semi-supervised settings, but also generate good natural language explanation.

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="2011.05268")

Code

Syntology Ran 2 of 14 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JamesHujy/ELV officialmentioned in papermentioned on GitHubpytorch 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

14 samples harvested; 2 ran; 0 honoured the contract we drafted; 12 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.

2ran
12unverified

Licence: 0 of the 14 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 JamesHujy/ELV. “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.

BertConfig JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository ran MIT (permissive) · cfcccfa363b0d97d · report
LabelSmoothingLoss JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository ran MIT (permissive) · e0010670dcd7b506 · report
BertAttention JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 79fb582753417716 · report
BertEmbeddings JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 079b9f19680e22e9 · report
BertEncoder JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · fcc6106b91ccf5a8 · report
BertForSeq2SeqFinetuningWithPseudoMask JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · a073600618d7cd25 · report
BertLMPredictionHead JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 4c4cc2ac34ec0f6d · report
BertLayer JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 06470b60e5848309 · report
BertModel JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · f31e6bafe1bf135f · report
BertPreTrainingHeads JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 9ab2eef8291e2fb8 · report
BertPredictionHeadTransform JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 8edf5cdb355831e7 · report
BertSelfAttention JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 0cddc969b8e047cc · report
PreTrainedBertModel JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · 1e4c8070e2b6f7a0 · report
TransformerFFN JamesHujy/ELV/ELV_re/s2s_ft/modeling_decoding.py official repository unverified MIT (permissive) · a50158bd9f69ff91 · report

Tasks

Explanation GenerationNatural Language Understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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