Topics in Contextualised Attention Embeddings

Mozhgan Talebpour, Alba Garcia Seco de Herrera, Shoaib Jameel
1/11/2023
cs.CLcs.IR

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{talebpour2023topics,
  title  = {Topics in Contextualised Attention Embeddings},
  author = {Mozhgan Talebpour and Alba Garcia Seco de Herrera and Shoaib Jameel},
  year   = {2023},
  eprint = {2301.04339},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.04339v1}
}

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

Discussion