Saved in:
Bibliographic Details
Main Authors: Koterwa, Dominik, Świtała, Maciej
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.06696
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918017213923328
author Koterwa, Dominik
Świtała, Maciej
author_facet Koterwa, Dominik
Świtała, Maciej
contents BERTopic is a topic modeling algorithm that leverages transformer-based embeddings to create dense clusters, enabling the estimation of topic structures and the extraction of valuable insights from a corpus of documents. This approach allows users to efficiently process large-scale text data and gain meaningful insights into its structure. While BERTopic is a powerful tool, embedding preparation can vary, including extracting representations from intermediate model layers and applying transformations to these embeddings. In this study, we evaluate 18 different embedding representations and present findings based on experiments conducted on three diverse datasets. To assess the algorithm's performance, we report topic coherence and topic diversity metrics across all experiments. Our results demonstrate that, for each dataset, it is possible to find an embedding configuration that performs better than the default setting of BERTopic. Additionally, we investigate the influence of stop words on different embedding configurations.
format Preprint
id arxiv_https___arxiv_org_abs_2505_06696
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing BERTopic with Intermediate Layer Representations
Koterwa, Dominik
Świtała, Maciej
Computation and Language
BERTopic is a topic modeling algorithm that leverages transformer-based embeddings to create dense clusters, enabling the estimation of topic structures and the extraction of valuable insights from a corpus of documents. This approach allows users to efficiently process large-scale text data and gain meaningful insights into its structure. While BERTopic is a powerful tool, embedding preparation can vary, including extracting representations from intermediate model layers and applying transformations to these embeddings. In this study, we evaluate 18 different embedding representations and present findings based on experiments conducted on three diverse datasets. To assess the algorithm's performance, we report topic coherence and topic diversity metrics across all experiments. Our results demonstrate that, for each dataset, it is possible to find an embedding configuration that performs better than the default setting of BERTopic. Additionally, we investigate the influence of stop words on different embedding configurations.
title Enhancing BERTopic with Intermediate Layer Representations
topic Computation and Language
url https://arxiv.org/abs/2505.06696