journal article·2025Open access

GLMTopic: A Hybrid Chinese Topic Model Leveraging Large Language Models

Weisi Chen, Walayat Hussain, Junjie Chen

Computers, Materials & Continua· Volume 85· Issue 1

Abstract

Topic modeling is a fundamental technique of content analysis in natural language processing, widely applied in domains such as social sciences and finance. In the era of digital communication, social scientists increasingly rely on large-scale social media data to explore public discourse, collective behavior, and emerging social concerns. However, traditional models like Latent Dirichlet Allocation (LDA) and neural topic models like BERTopic struggle to capture deep semantic structures in short-text datasets, especially in complex non-English languages like Chinese. This paper presents Generative Language Model Topic (GLMTopic) a novel hybrid topic modeling framework leveraging the capabilities of large language models, designed to support social science research by uncovering coherent and interpretable themes from Chinese social media platforms. GLMTopic integrates Adaptive Community-enhanced Graph Embedding for advanced semantic representation, Uniform Manifold Approximation and Projection-based (UMAP-based) dimensionality reduction, Hierarchical Density-Based Spatial Clustering of Applications with Noise (HDBSCAN) clustering, and large language model-powered (LLM-powered) representation tuning to generate more contextually relevant and interpretable topics. By reducing dependence on extensive text preprocessing and human expert intervention in post-analysis topic label annotation, GLMTopic facilitates a fully automated and user-friendly topic extraction process. Experimental evaluations on a social media dataset sourced from Weibo demonstrate that GLMTopic outperforms Latent Dirichlet Allocation (LDA) and BERTopic in coherence score and usability with automated interpretation, providing a more scalable and semantically accurate solution for Chinese topic modeling. Future research will explore optimizing computational efficiency, integrating knowledge graphs and sentiment analysis for more complicated workflows, and extending the framework for real-time and multilingual topic modeling.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · Natural Language Processing Techniques · Computational and Text Analysis Methods

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (32)

Show source-provided references
1. Topic modeling algorithms and applications: a survey10.1016/j.is.2022.102131 ↗
2. Latent dirichlet allocation
3. CFMf topic-model: comparison with LDA and Top2Vec10.1007/s11192-024-05017-z ↗
4. Grootendorst M. BERTopic: neural topic modeling with a class-based TF-IDF procedure. arXiv:2203.05794. 2022.
5. Human-centricity in Industry 5.0—revealing of hidden research topics by unsupervised topic modeling using Latent Dirichlet Allocation10.1108/EJIM-09-2023-0753 ↗
6. Identifying hidden patterns of fake COVID-19 news: an in-depth sentiment analysis and topic modeling approach10.1016/j.nlp.2024.100053 ↗
7. Topic-based engagement analysis: focusing on hotel industry Twitter accounts10.1016/j.tourman.2024.104981 ↗
8. Deep LDA: a new way to topic model
9. Leveraging state-of-the-art topic modeling for news impact analysis on financial markets: a comparative study10.3390/electronics12122605 ↗
10. Knowledge discovery through topic modeling on GoPartner user reviews using BERTopic, LDA, and NMF10.30871/jaic.v9i1.8782 ↗
11. Employing topic and sentiment language models for news analysis on the COVID-19 Pandemic
12. Analyzing public demands on China’s online government inquiry platform: a BERTopic-Based topic modeling study10.1371/journal.pone.0296855 ↗
13. Topic modeling and social network analysis approach to explore diabetes discourse on Twitter in India10.3389/frai.2024.1329185 ↗
14. Topic modeling for scientific articles: exploring optimal hyperparameter tuning in BERT10.18517/ijaseit.14.3.19347 ↗
15. Unveiling and advancing grassland degradation research using a BERTopic modelling approach10.1016/j.jia.2024.11.008 ↗
16. A comparative study on topic modeling of LDA, Top2Vec, and BERTopic models using LIS journals in WoS
17. Unveiling the dynamics of AI applications: a review of reviews using scientometrics and BERTopic modeling10.1016/j.jik.2024.100517 ↗
18. Zhu E, Yen J. BERTopic-driven stock market predictions: unraveling sentiment insights. arXiv:2404.02053. 2024.
19. Intersection of machine learning and mobile crowdsourcing: a systematic topic-driven review10.1007/s00779-024-01820-w ↗
20. A practical and empirical comparison of three topic modeling methods using a COVID-19 corpus: lSA, LDA, and Top2Vec
21. Discovering topics and trends in the field of Artificial Intelligence: using LDA topic modeling10.1016/j.eswa.2023.120114 ↗
22. Topic research in fuzzy domain: based on LDA topic modelling10.1016/j.ins.2023.119600 ↗
23. Topic modelling and opinion analysis on climate change twitter data using LDA and BERT model10.1016/j.procs.2023.01.071 ↗
24. A survey of GPT-3 family large language models including ChatGPT and GPT-410.1016/j.nlp.2023.100048 ↗
25. GLM T, Zeng A, Xu B, Wang B, Zhang C, Yin D, et al. ChatGLM: a family of large language models from GLM-130B to GLM-4 all tools. arXiv:2406.12793. 2024.
26. Prompting large language models for topic modeling
27. Benchmarking topic models on scientific articles using BERTeley10.1016/j.nlp.2023.100044 ↗
28. Learning transferable visual models from natural language supervision
29. Vision-language models in medical image analysis: from simple fusion to general large models10.1016/j.inffus.2025.102995 ↗
30. Reimers N. Sentence-BERT: sentence embeddings using Siamese BERT-Networks. arXiv:1908.10084. 2019.10.18653/v1/D19-1410 ↗
31. McInnes L, Healy J, Melville J. UMAP: uniform manifold approximation and projection for dimension reduction. arXiv:1802.03426. 2018.10.21105/joss.00861 ↗
32. A survey of density based clustering algorithms10.1007/s11704-019-9059-3 ↗