Contrastive Learning for Neural Topic Model

Thong Nguyen, Anh Tuan Luu
10/25/2021
83 citations
cs.CL
contrastive-ssl

Official code: nguyentthong/CLNTM (32 stars, Python, last commit 2023-07-10).

Abstract

Recent empirical studies show that adversarial topic models (ATM) can successfully capture semantic patterns of the document by differentiating a document with another dissimilar sample. However, utilizing that discriminative-generative architecture has two important drawbacks: (1) the architecture does not relate similar documents, which has the same document-word distribution of salient words; (2) it restricts the ability to integrate external information, such as sentiments of the document, which has been shown to benefit the training of neural topic model.

Show full abstract

To address those issues, we revisit the adversarial topic architecture in the viewpoint of mathematical analysis, propose a novel approach to re-formulate discriminative goal as an optimization problem, and design a novel sampling method which facilitates the integration of external variables. The reformulation encourages the model to incorporate the relations among similar samples and enforces the constraint on the similarity among dissimilar ones; while the sampling method, which is based on the internal input and reconstructed output, helps inform the model of salient words contributing to the main topic. Experimental results show that our framework outperforms other state-of-the-art neural topic models in three common benchmark datasets that belong to various domains, vocabulary sizes, and document lengths in terms of topic coherence.

View on arXivView PDF

Code Implementations(1)

nguyentthong/CLNTMOfficial100%
324Python, ShellJan 25, 20223 years ago

Similar Papers

Cite this paper

@article{nguyen2021contrastive,
  title  = {Contrastive Learning for Neural Topic Model},
  author = {Thong Nguyen and Anh Tuan Luu},
  year   = {2021},
  eprint = {2110.12764},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.12764}
}

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

Discussion