Skip to content
Publications

Article · Lobachevskii Journal of Mathematics · June 1, 2025

Comparative Analysis of Methods for Topic Modeling of Mathematical Documents

B. T. Gizatullin, Olga Avenirovna Nevzorova

Abstract

The comparison of three topic modeling methods—LDA, NMF, and BERTopic—was conducted across diverse collections of mathematical articles. In the initial experiment using articles from ‘‘Izvestiya VUZov. Matematika,’’ LDA exhibited superior performance based on the $$C_{V}$$ Coherence metric, although NMF also yielded commendable results. Conversely, BERTopic’s thematic classes were less interpretable compared to LDA and NMF. In the subsequent experiment, using articles from the same journal but with vocabulary derived from OntoMath $${}^{\text{PRO}}$$ ontology concepts, LDA again demonstrated favorable metric results. However, BERTopic showed interpretability of thematic classes comparable to LDA, although this does not correlate with the $$C_{V}$$ metric. The third experiment, conducted on a combined collection from two journals with vocabulary compiled via frequency truncation and OntoMath $${}^{\text{PRO}}$$ ontology concepts, demonstrated the effectiveness of BERTopic in terms of $$C_{V}$$ coherence and interpretability. However, NMF also showed high interpretability of the resulting themes. Hence, it is evident that each topic modeling method possesses distinct advantages and constraints depending on the context and assumptions. The choice of data preprocessing method is pivotal, as it significantly impacts modeling outcomes. Additionally, different data preprocessing approaches influence the interpretability of thematic classes for each method.

Topic ModelingComputational and Text Analysis MethodsAdvanced Text Analysis Techniquestopic modelingmathematical documentslatent Dirichlet allocation

More by Bulat Gizatullin