Papers › Learning to Faithfully Rationalize by Construction

Learning to Faithfully Rationalize by Construction

30 Apr 2020ACL 2020 6arXiv:2005.00115archive 2025-07-28

Sarthak Jain, Sarah Wiegreffe, Yuval Pinter, Byron C. Wallace

In many settings it is important for one to be able to understand why a model made a particular prediction. In NLP this often entails extracting snippets of an input text `responsible for' corresponding model output; when such a snippet comprises tokens that indeed informed the model's prediction, it is a faithful explanation. In some settings, faithfulness may be critical to ensure transparency. Lei et al. (2016) proposed a model to produce faithful rationales for neural text classification by defining independent snippet extraction and prediction modules. However, the discrete selection over input tokens performed by this method complicates training, leading to high variance and requiring careful hyperparameter tuning. We propose a simpler variant of this approach that provides faithful explanations by construction. In our scheme, named FRESH, arbitrary feature importance scores (e.g., gradients from a trained model) are used to induce binary labels over token inputs, which an extractor can be trained to predict. An independent classifier module is then trained exclusively on snippets provided by the extractor; these snippets thus constitute faithful explanations, even if the classifier is arbitrarily complex. In both automatic and manual evaluations we find that variants of this simple framework yield predictive performance superior to `end-to-end' approaches, while being more general and easier to train. Code is available at https://github.com/successar/FRESH

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.00115")

Code

Syntology Ran 4 of 14 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 4 ran · our draft was wrong.

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

successar/FRESH officialmentioned in papermentioned on GitHubpytorchMIT report
arolihas/interpretable_deepPSL mentioned 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; 4 ran; 0 honoured the contract we drafted; 10 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 · our draft was wrong
10unverified

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 successar/FRESH. “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.

annotations_from_jsonl successar/FRESH/Datasets/utils.py official repository ran · our draft was wrong MIT (permissive) · 2843042d2c0e6f50 · report
kuma_moments successar/FRESH/Rationale_Analysis/models/kuma.py official repository ran · our draft was wrong MIT (permissive) · b6c1438a7ae7e272 · report
load_datasets successar/FRESH/Datasets/utils.py official repository ran · our draft was wrong MIT (permissive) · e1878c4a3bf022ae · report
load_jsonl successar/FRESH/Datasets/utils.py official repository ran · our draft was wrong MIT (permissive) · 49077456b34beefd · report
computer successar/FRESH/human_amt/compute_amt_statistics.py official repository unverified MIT (permissive) · 70170b65c8a6c5e9 · report
convert_to_tensor successar/FRESH/Rationale_Analysis/models/kuma.py official repository unverified MIT (permissive) · 8f6eacf222a4c3f7 · report
extract_raw_abstract successar/FRESH/Datasets/evinf/process_evidence_inference.py official repository unverified MIT (permissive) · 8ddd3bcf97fbbcd0 · report
generate_report successar/FRESH/Rationale_Analysis/experiments/allentune_plot.py official repository unverified MIT (permissive) · 66de11959336aeb2 · report
kuma_mean successar/FRESH/Rationale_Analysis/models/kuma.py official repository unverified MIT (permissive) · aee97053c9473179 · report
main successar/FRESH/Datasets/get_dataset_statistics.py official repository unverified MIT (permissive) · ff594b5da33b1042 · report
mapper successar/FRESH/human_amt/compute_amt_statistics.py official repository unverified MIT (permissive) · 9a0ae9e831dc0d57 · report
samplemax successar/FRESH/Rationale_Analysis/experiments/allentune_plot.py official repository unverified MIT (permissive) · 091c323ea322b6ab · report
td_format successar/FRESH/Rationale_Analysis/experiments/allentune_plot.py official repository unverified MIT (permissive) · 44f8471c142ddd5c · report
vote successar/FRESH/human_amt/compute_amt_statistics.py official repository unverified MIT (permissive) · cd1019632838faed · report

Tasks

Feature ImportanceText Classificationtext-classification

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