Self-Supervised Learning for Neural Topic Models with Variance-Invariance-Covariance Regularization

Weiran Xu, Kengo Hirami, Koji Eguchi · DOI

Topic modeling has evolved significantly from Latent Dirichlet Allocation (LDA) to modern Neural Topic Models (NTMs). By leveraging Variational Autoencoders (VAEs), NTMs can process large-scale datasets and generate more coherent topics. However, these models frequently suffer from "topic collapse," where the latent space becomes degenerate, and the model outputs redundant or identical topics for every document.

To address this, researchers from Hiroshima University proposed VICNTM, a novel framework that incorporates Variance-Invariance-Covariance Regularization (VICReg). This self-supervised approach eliminates the need for negative samples, a common bottleneck in traditional contrastive learning for text.

The Challenge of Topic Collapse

In NTMs, topic collapse occurs when the neural network minimizes loss by mapping diverse documents to a narrow, generic set of topics. Previous attempts to mitigate this used contrastive learning, which requires "anchor," "positive," and "negative" samples. The goal is to pull anchors and positives together while pushing negatives away. However, as training progresses, negative samples often become indistinguishable from anchors, leading to a vanishing gradient and ineffective learning.

Proposed Method: VICNTM

The core contribution of this work is the integration of VICReg into the SCHOLAR architecture. Unlike contrastive methods, VICNTM focuses on the internal structure of the latent space through three distinct constraints:

  1. Invariance ($s$): Ensures that a document and its augmented version result in similar latent topic distributions.
  2. Variance ($v$): Maintains a minimum standard deviation across embeddings to prevent the model from collapsing into a single point.
  3. Covariance ($c$): Decorrelates the dimensions of the topic embeddings. By forcing the covariance between different dimensions toward zero, the model ensures that each topic captures unique information.
The VICNTM architecture illustrating the encoding of original ($X$) and augmented ($X'$) documents, the latent space ($Z, Z'$), and the VIC regularization terms.

The researchers employed two data augmentation strategies to generate positive samples:

  • Tf-idf sampling: Replacing low-importance words with words reconstructed by the model.
  • Adversarial sampling: Utilizing a "TeachAugment" framework where an auxiliary model generates challenging augmentations to improve robustness.

Experimental Setup

The model was evaluated on three standard benchmarks: 20Newsgroups, IMDb Movie Reviews, and Wikitext-103. The dataset characteristics are summarized below:

Summary of the datasets used for evaluation, including document counts, vocabulary size, and train/dev/test splits.

Key Results and Insights

The performance was measured using Normalized Pointwise Mutual Information (NPMI) to assess topic coherence.

  • Superior Coherence: VICNTM consistently outperformed baseline models like ProdLDA and SCHOLAR, as well as the state-of-the-art contrastive model (CLNTM). On the Wikitext-103 dataset with 50 topics, VICNTM achieved an NPMI of 0.5143, surpassing CLNTM's 0.5082.
  • The Power of Covariance: Ablation studies indicated that the covariance term is the most critical component. Decorrelating topics directly prevents redundancy, which is the primary driver of topic collapse.
  • Latent Space Regularization: The authors found that applying VICReg directly to the latent topic space (VICNTM) was often more effective than applying it to a projected high-dimensional space (Deep VICNTM).
  • Adversarial Benefits: For larger, more complex datasets like Wikitext-103, adversarial augmentation provided a significant edge over simple tf-idf swaps, forcing the model to learn more nuanced features.

Conclusion

VICNTM represents a significant step forward in neural topic modeling by successfully applying non-contrastive self-supervised learning. By focusing on variance, invariance, and covariance, the model produces highly coherent and distinct topics without the complexities of negative sampling. Future work will focus on balancing these regularization terms to further enhance topic diversity alongside coherence.

Reference: Xu, W., Hirami, K., & Eguchi, K. (2025). Self-Supervised Learning for Neural Topic Models with Variance-Invariance-Covariance Regularization. arXiv:2502.09944v1 [cs.LG].

Summary updated

BibTeX
@article{xu2025self,
  author = {Weiran Xu and Kengo Hirami and Koji Eguchi},
  title = {{Self-Supervised Learning for Neural Topic Models with Variance-Invariance-Covariance Regularization}},
  journal = {Knowledge and Information Systems},
  year = {2025},
  doi = {10.1007/s10115-025-02367-9},
}
Figure