Utami Dyah Syafitri
Department of Statistics and Data Science, IPB University

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Joint Optimization of Preprocessing and HDBSCAN Hyperparameters in BERTopic for Indonesian Social Media Text Sabrina Adnin Kamila; Utami Dyah Syafitri; Cici Suhaeni
JTAM (Jurnal Teori dan Aplikasi Matematika) Vol 10, No 4 (2026): October
Publisher : Universitas Muhammadiyah Mataram

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.31764/jtam.v10i4.40667

Abstract

Public discourse on social media offers higher education institutions a large-scale, real-time source of feedback, yet extracting interpretable themes from short and informal Indonesian text remains methodologically challenging. This study proposed a statistically grounded framework for HDBSCAN hyperparameter optimization in BERTopic topic modeling, applied to Indonesian-language social media discourse about IPB University on X. This study aimed to determine how preprocessing decisions and HDBSCAN hyperparameters jointly shape topic quality, and to benchmark the resulting optimized BERTopic model against a default configuration and an LDA baseline. A total of 21,298 posts collected between August 2023 and August 2025 were processed under three preprocessing scenarios. For each scenario, a grid search over 126 HDBSCAN hyperparameter combinations was evaluated using topic coherence, topic uniqueness, document coverage, and factuality, standardized and analyzed with Principal Component Analysis and qualitative inspection of the intertopic distance map. The optimized models were benchmarked against a default-configuration BERTopic model and a Latent Dirichlet Allocation (LDA) baseline. Results showed that default HDBSCAN settings produced 334 to 367 statistically unstable topics per scenario, whereas optimization increased coherence by 40% to 66% and reduced the topic count to three to six interpretable themes. The excess-of-mass (eom) method consistently outperformed leaf, and the optimal minimum cluster size shifted from 300 to 500 as preprocessing intensity increased, reflecting a direct interaction between preprocessing and clustering. Optimized BERTopic achieved higher coherence than LDA (0.522–0.634 versus 0.506–0.528), while LDA achieved higher topic uniqueness and coverage, a trade-off linked to BERTopic’s outlier-labeling mechanism. Dominant themes across both models concerned admission and campus life, tuition, and campus facilities, with LDA also surfacing IPB University’s agricultural identity. By treating preprocessing and clustering hyperparameters as a jointly optimized rather than separately tuned design space, these findings offer a replicable framework for topic modeling of short, informal Indonesian text and practical insight for social media analytics and data-driven reputation management.