ProtoTopic: Prototypical Network for Few-Shot Medical Topic Modeling
Martin Licht, Sara Ketabi, Farzad Khalvati
TL;DR
The paper tackles the challenge of topic modeling in medical text under data scarcity by introducing ProtoTopic, a prototypical-network based framework that learns topic prototypes from few examples. It uses embeddings from PubMedBERT and all-MiniLM-L6-v2, clusters via K-means to create pseudo-labels, and trains a prototypical network that assigns topics by prototype distances, followed by c-TF-IDF keyword extraction. Experiments on PubMed200k show ProtoTopic achieving higher topic coherence and diversity than LDA and BERTopic across 25, 50, and 100 topics, with statistical significance (p < 1e-5) versus BERTopic. The work demonstrates the viability of few-shot prototypical networks for medical topic modeling and points to future gains from alternative clustering, improved loss terms, dimensionality reduction, and clinician-based evaluations.
Abstract
Topic modeling is a useful tool for analyzing large corpora of written documents, particularly academic papers. Despite a wide variety of proposed topic modeling techniques, these techniques do not perform well when applied to medical texts. This can be due to the low number of documents available for some topics in the healthcare domain. In this paper, we propose ProtoTopic, a prototypical network-based topic model used for topic generation for a set of medical paper abstracts. Prototypical networks are efficient, explainable models that make predictions by computing distances between input datapoints and a set of prototype representations, making them particularly effective in low-data or few-shot learning scenarios. With ProtoTopic, we demonstrate improved topic coherence and diversity compared to two topic modeling baselines used in the literature, demonstrating the ability of our model to generate medically relevant topics even with limited data.
