English

Topics in Contextualised Attention Embeddings

Computation and Language 2023-01-12 v1 Information Retrieval

Abstract

Contextualised word vectors obtained via pre-trained language models encode a variety of knowledge that has already been exploited in applications. Complementary to these language models are probabilistic topic models that learn thematic patterns from the text. Recent work has demonstrated that conducting clustering on the word-level contextual representations from a language model emulates word clusters that are discovered in latent topics of words from Latent Dirichlet Allocation. The important question is how such topical word clusters are automatically formed, through clustering, in the language model when it has not been explicitly designed to model latent topics. To address this question, we design different probe experiments. Using BERT and DistilBERT, we find that the attention framework plays a key role in modelling such word topic clusters. We strongly believe that our work paves way for further research into the relationships between probabilistic topic models and pre-trained language models.

Keywords

Cite

@article{arxiv.2301.04339,
  title  = {Topics in Contextualised Attention Embeddings},
  author = {Mozhgan Talebpour and Alba Garcia Seco de Herrera and Shoaib Jameel},
  journal= {arXiv preprint arXiv:2301.04339},
  year   = {2023}
}

Comments

Accepted at the 45th European Conference on Information Retrieval (ECIR) 2023

R2 v1 2026-06-28T08:09:06.171Z