Fine-tuning Encoders for Improved Monolingual and Zero-shot Polylingual Neural Topic Modeling

Aaron Mueller, Mark Dredze
4/11/2021
cs.CL

Official code: aaronmueller/contextualized-topic-models (7 stars, Python, MIT, last commit 2021-06-12).

Abstract

Neural topic models can augment or replace bag-of-words inputs with the learned representations of deep pre-trained transformer-based word prediction models. One added benefit when using representations from multilingual models is that they facilitate zero-shot polylingual topic modeling.

Show full abstract

However, while it has been widely observed that pre-trained embeddings should be fine-tuned to a given task, it is not immediately clear what supervision should look like for an unsupervised task such as topic modeling. Thus, we propose several methods for fine-tuning encoders to improve both monolingual and zero-shot polylingual neural topic modeling. We consider fine-tuning on auxiliary tasks, constructing a new topic classification task, integrating the topic classification objective directly into topic model training, and continued pre-training. We find that fine-tuning encoder representations on topic classification and integrating the topic classification task directly into topic modeling improves topic quality, and that fine-tuning encoder representations on any task is the most important factor for facilitating cross-lingual transfer.

View on arXivView PDF

Code Implementations(1)

MIT

A python package to setup topic classification fine-tuning, run contextualized topic modeling, and run TCCTMs

72Python, MakefileNov 9, 20205 years agoMIT

Similar Papers

Cite this paper

@article{mueller2021finetuning,
  title  = {Fine-tuning Encoders for Improved Monolingual and Zero-shot Polylingual Neural Topic Modeling},
  author = {Aaron Mueller and Mark Dredze},
  year   = {2021},
  eprint = {2104.05064},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05064}
}

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

Discussion