Combining Transformers with Natural Language Explanations

Federico Ruggeri, Marco Lippi, Paolo Torroni
9/2/2021
cs.CLcs.AI
transformer-attention

Official code: nlp-unibo/bert-natural-explanations (1 star, Python, MIT, last commit 2024-02-02).

Abstract

Many NLP applications require models to be interpretable. However, many successful neural architectures, including transformers, still lack effective interpretation methods.

Show full abstract

A possible solution could rely on building explanations from domain knowledge, which is often available as plain, natural language text. We thus propose an extension to transformer models that makes use of external memories to store natural language explanations and use them to explain classification outputs. We conduct an experimental evaluation on two domains, legal text analysis and argument mining, to show that our approach can produce relevant explanations while retaining or even improving classification performance.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository of 'Combining Transformers with Natural Language Explanations'

11Python, DockerfileSep 13, 20232 years agoMIT

Similar Papers

Cite this paper

@article{ruggeri2021combining,
  title  = {Combining Transformers with Natural Language Explanations},
  author = {Federico Ruggeri and Marco Lippi and Paolo Torroni},
  year   = {2021},
  eprint = {2110.00125},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.00125}
}

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/2110.00125.svg)](https://codeofpaper.com/paper/2110.00125)

Discussion