English

Do Transformer Attention Heads Provide Transparency in Abstractive Summarization?

Computation and Language 2019-07-09 v2 Artificial Intelligence Information Retrieval Machine Learning

Abstract

Learning algorithms become more powerful, often at the cost of increased complexity. In response, the demand for algorithms to be transparent is growing. In NLP tasks, attention distributions learned by attention-based deep learning models are used to gain insights in the models' behavior. To which extent is this perspective valid for all NLP tasks? We investigate whether distributions calculated by different attention heads in a transformer architecture can be used to improve transparency in the task of abstractive summarization. To this end, we present both a qualitative and quantitative analysis to investigate the behavior of the attention heads. We show that some attention heads indeed specialize towards syntactically and semantically distinct input. We propose an approach to evaluate to which extent the Transformer model relies on specifically learned attention distributions. We also discuss what this implies for using attention distributions as a means of transparency.

Keywords

Cite

@article{arxiv.1907.00570,
  title  = {Do Transformer Attention Heads Provide Transparency in Abstractive Summarization?},
  author = {Joris Baan and Maartje ter Hoeve and Marlies van der Wees and Anne Schuth and Maarten de Rijke},
  journal= {arXiv preprint arXiv:1907.00570},
  year   = {2019}
}

Comments

To appear at FACTS-IR 2019, SIGIR

R2 v1 2026-06-23T10:08:16.093Z