A comparative study of transformer-based embeddings for topic coherence
Summary
This paper systematically compares the impact of model size on topic quality using seven transformer-based language models in a BERTopic pipeline, finding that model size has negligible effect on topic coherence, suggesting smaller models can perform comparably to larger ones.
View Cached Full Text
Cached at: 05/29/26, 09:12 AM
# A comparative study of transformer-based embeddings for topic coherence
Source: [https://arxiv.org/abs/2605.28832](https://arxiv.org/abs/2605.28832)
[View PDF](https://arxiv.org/pdf/2605.28832)
> Abstract:Topic modeling is a branch of Natural Language Processing \(NLP\) that aims to organize large collections of texts into coherent groups according to word co\-occurrence patterns, with Latent Dirichlet Allocation \(LDA\) remaining one of the most widely used and interpretable probabilistic approaches\. Recent advances in NLP, particularly transformer\-based language models, offer improved document representations\. It is also known that the size of the model \(in terms of number of parameters\) has a significant impact in the performance of the language models on different pre\-defined tasks\. In this study, we systematically examine the effect of model size on topic quality by analyzing the performances of seven transformer\-based language models \(from small models such as MiniLM to large ones such as LLaMA\-2\) in a BERTopic pipeline on a variety of corpora\. Topic quality is evaluated using coherence and divergence metrics following R\{ö\}der et al\. \(2015\)\. Our results indicate that model size, ranging from 22 million to 13 billion parameters, has a negligible impact on the quality of the topic, suggesting that smaller models can achieve comparable performance to larger models\.
## Submission history
From: Willy Rodriguez \[[view email](https://arxiv.org/show-email/04047c1a/2605.28832)\] \[via CCSD proxy\] **\[v1\]**Fri, 10 Apr 2026 08:34:47 UTC \(2,342 KB\)Similar Articles
A Comparative Evaluation of Structural Topic Models and BERTopic for Short, Open-Ended Survey Responses
This paper compares Structural Topic Models (STM) and BERTopic for analyzing short, open-ended survey responses, finding that BERTopic with contextual augmentation yields better topic coherence and interpretability, while STM offers stronger support for inferential covariate analysis.
Transformer-Based Language Models Across Domain Verticals: Architectures, Applications and Critical Assessment
A comprehensive survey of transformer-based language models covering architectures, applications across domain verticals (healthcare, finance, legal, etc.), and critical assessment of trade-offs including compute cost, alignment, and data provenance.
Transformer Scalability Crisis: The First Comprehensive Empirical Analysis of Performance Walls in Modern Language Models
This paper presents the first large-scale empirical analysis of 118 transformer models, revealing critical performance walls where success rates drop from 88.1% at 512 tokens to 0% at 2048 tokens, challenging prevailing scaling assumptions.
Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Study
This paper empirically studies contrastive pretraining with synthetic semantic supervision for code embeddings in small transformers, showing significant gains over baselines and competitiveness with larger models.
Byte Language Models: Scaling, Emergent Abstractions, and Information Allocation
该论文研究无分词器的字节级语言模型,发现配合 token-superposition 训练与哈希嵌入后,扁平 Transformer 随规模扩大能持续超越子词模型,并能自发学习出类似分词器的局部文本抽象,据此可将投机解码的接受率提升 3.4 倍。