Combining Transformers with Natural Language Explanations
Jan 1, 2024·,,·
0 min read
Federico Ruggeri
Marco Lippi
Paolo Torroni
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