paper-with-me

Papers

Topic Modeling with Fine-tuning LLMs and Bag of Sentences

2024-08-06 · Johannes Schneider

Large language models (LLM)'s are increasingly used for topic modeling outperforming classical topic models such as LDA. Commonly, pre-trained LLM encoders such as BERT are used out-of-the-box despite the fact that fine-tuning is known to improve LLMs considerably. The challenge lies in obtaining a suitable (labeled) dataset for fine-tuning. In this paper, we use the recent idea to use bag of sentences as the elementary unit in computing topics. In turn, we derive an approach FT-Topic to perform unsupervised fine-tuning relying primarily on two steps for constructing a training dataset in an automatic fashion. First, a heuristic method to identifies pairs of sentence groups that are either assumed to be of the same or different topics. Second, we remove sentence pairs that are likely labeled incorrectly. The dataset is then used to fine-tune an encoder LLM, which can be leveraged by any topic modeling approach using embeddings. However, in this work, we demonstrate its effectiveness by deriving a novel state-of-the-art topic modeling method called SenClu, which achieves fast inference through an expectation-maximization algorithm and hard assignments of sentence groups to a single topic, while giving users the possibility to encode prior knowledge on the topic-document distribution. Code is at \url{https://github.com/JohnTailor/FT-Topic}

📄 PDF Abstract BibTeX arXiv:2408.03099

Code (1)

johntailor/ft-topic 공식 구현 pytorch

Tasks

SentenceTopic Models

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

LimTopic: LLM-based Topic Modeling and Text Summarization for Analyzing Scientific Articles limitations

2025-03-08 · Ibrahim Al Azhar, Venkata Devesh Reddy, Hamed Alhoori, Akhil Pandey Akella

The limitations sections of scientific articles play a crucial role in highlighting the boundaries and shortcomings of research, thereby guiding future studies and improving research methods. Analyzing these limitations …

ArticlesPrompt EngineeringText Summarization

Fine-tuning the SwissBERT Encoder Model for Embedding Sentences and Documents

2024-05-13 · Juri Grosjean, Jannis Vamvas

Encoder models trained for the embedding of sentences or short documents have proven useful for tasks such as semantic search and topic modeling. In this paper, we present a version of the SwissBERT encoder model that we…

ArticlesContrastive LearningRetrievaltext-classification+1

Fine-tuning Encoders for Improved Monolingual and Zero-shot Polylingual Neural Topic Modeling

2021-04-11 · NAACL 2021 4 · Aaron Mueller, Mark Dredze

Neural topic models can augment or replace bag-of-words inputs with the learned representations of deep pre-trained transformer-based word prediction models. One added benefit when using representations from multilingual…

ClassificationCross-Lingual TransferGeneral ClassificationTopic Classification+1

Towards Transparency: Exploring LLM Trainings Datasets through Visual Topic Modeling and Semantic Frame

2024-06-03 · Charles de Dampierre, Andrei Mogoutov, Nicolas Baumard

LLMs are now responsible for making many decisions on behalf of humans: from answering questions to classifying things, they have become an important part of everyday life. While computation and model architecture have b…

Unsupervised Detection of Argumentative Units though Topic Modeling Techniques

2017-09-01 · WS 2017 9 · Alfio Ferrara, Stefano Montanelli, Georgios Petasis

In this paper we present a new unsupervised approach, {``}Attraction to Topics{''} {--} A2T , for the detection of argumentative units, a sub-task of argument mining. Motivated by the importance of topic identification i…

Argument MiningOpinion MiningStance Detection