Elamur Research⌕
☰
home / papers / 2016 / Rationalizing Neural Predictions

Rationalizing Neural Predictions

Summary

Neural text models rarely show why they reach a decision, which limits their use wherever outputs must be checked. Lei, Barzilay and Jaakkola make justification part of learning. The model must back each prediction with a rationale: a small set of input words that forms phrases and, used alone, yields nearly the same output as the full text. Two jointly trained modules do this. A generator gives each token a probability of being kept, and an encoder predicts the target from the kept tokens only. No rationale labels are used. Instead, penalties on the number of selected words and on gaps between selections shape what gets extracted. The authors test the approach on the multi-aspect beer review corpus (McAuley et al., 2012), whose test subset marks sentences relevant to each aspect. They also test it on similar-question retrieval, where rationales act as compressed questions. On sentiment, 96% of extracted words fall in the annotated sentences, well above a bigram SVM and an attention baseline. This shows that explanations can be learned without extra annotation.

Key points

  • Rationale extraction accuracy on the beer review data is 96%, compared with 38% for a bigram SVM and 81% for a neural attention baseline.
  • The training loss is the squared (L2) error between the encoder's output on the selected words and the gold multi-aspect rating vector.
  • The regularizer has two weighted terms:
    • λ1 times the count of selected tokens, which keeps rationales short;
    • λ2 times the number of on/off transitions between neighbouring positions, which favours contiguous phrases.
  • The basic generator is a bidirectional RNN that makes a selection decision for each token, conditioned on the whole input. The paper also describes a dependent-selection variant that can model phrases and avoid choosing the same word again.
  • Code and data are released at github.com/taolei87/rcnn.

Interesting ideas

  • I1. Treat the explanation as a latent variable trained only by the task signal. The model needs no human rationale annotations, so the setup transfers to any labelled text dataset, for example Ukrainian classification corpora that lack explanation markup.
  • I2. Keep the selector and the predictor as separate modules. Separating them exposes direct controls over what counts as an acceptable rationale, such as length or contiguity. It also lets the generator be reused with a different encoder.
  • I3. Require sufficiency, not just salience. The encoder sees only the selected words, so the rationale must actually support the prediction. Attention weights over the full text offer no such guarantee, which makes this design useful wherever explanations need to be auditable.
  • I4. Score rationales indirectly through a downstream task. In retrieval, the extracted text is judged by how well it stands in for the full question. This is a cheap way to evaluate extractive summaries or keyword selection when no gold highlights exist.
  • I5. Use a total-variation-style penalty on binary tags. Penalizing switches between selected and unselected positions is a simple trick for getting span-like outputs from per-token decisions. It could be reused in other tagging problems where coherent segments are preferred.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

244 papers of our library cite it (of the 140884 whose bibliographies we read); 22 of them have a page here, 222 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d16-1011

@inproceedings{lei2016rationalizing,
  title = {{Rationalizing Neural Predictions}},
  author = {Lei, Tao and Barzilay, Regina and Jaakkola, Tommi},
  booktitle = {Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1011},
  url = {https://doi.org/10.18653/v1/d16-1011}
}

References

5 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 107–117, Austin, Texas, November 1-5, 2016. c 2016 Association for Computational Linguistics tion must be learned entirely in an unsupervised manner. We therefore assume that our model with rationales is tr… find
  2. Beyond learning to understand or further constrain the network to be directly interpretable, one can estimate interpretable proxies that approximate the network. Examples include extracting “if-then” rules (Thrun, 1995) and decision trees (Craven and Shavlik, 1996) from trained networks. More recent… find
  3. Attention based models offer another means to explicate the inner workings of neural models (Bahdanau et al., 2015; Cheng et al., 2016; Martins and Astudillo, 2016; Chen et al., 2015; Xu and Saenko, 2015; Yang et al., 2015). Such models have been successfully applied to many NLP problems, improving… find
  4. Xu et al. (2015) introduced a stochastic attention mechanism together with a more standard soft attention on image captioning task. Our rationale extraction can be understood as a type of stochastic attention although architectures and objectives differ. Moreover, we compartmentalize rationale gener… find
  5. Finally, we contrast our work with rationale-based classification (Zaidan et al., 2007; Marshall et al., 2015; Zhang et al., 2016) which seek to improve prediction by relying on richer annotations in the form of human-provided rationales. In our work, rationales are never given during training. The… find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/lei-2016-rationalizing-neural-predictions/