Combining Transformers with Natural Language Explanations

Jan 1, 2024·
Federico Ruggeri
,
Marco Lippi
,
Paolo Torroni
· 0 min read
Abstract
Many NLP applications require interpretable models, but successful neural architectures such as transformers still lack effective interpretation methods. We extend transformer models with external memories that store natural-language explanations and use them to explain classification outputs. Experiments in legal text analysis and argument mining show that the approach produces relevant explanations while retaining or improving classification performance.
Type
Publication
ArXiv
publications_preprints