Human-Centric Topic Modeling with Goal-Prompted Contrastive Learning and Optimal Transport
Authors: Rui Wang, Yi Zheng, Dongxin Wang, Haiping Huang, Yuanzhi Yao, Yuxiang Zhou, Jialin Yu, Philip Torr
Organizations: School of Computer Science, Nanjing University of Posts and Telecommunications · School of Computer Science and Information Engineering, Hefei University of Technology · School of Electronic Engineering and Computer Science, Queen Mary University of London · Department of Engineering Science, University of Oxford
Existing topic modeling methods, from LDA to recent neural and LLM-based approaches, which focus mainly on statistical coherence, often produce redundant or off-target topics that miss the user's underlying intent. We introduce Human-centric Topic Modeling, Human-TM), a novel task formulation that integrates a human-provided goal directly into the topic modeling process to produce interpretable, diverse and goal-oriented topics. To tackle this challenge, we propose the Goal-prompted Contrastive Topic Model with Optimal Transport (GCTM-OT), which first uses LLM-based prompting to extract goal candidates from documents, then incorporates these into semantic-aware contrastive learning via optimal transport for topic discovery. Experimental results on three public subreddit datasets show that GCTM-OT outperforms state-of-the-art baselines in topic coherence and diversity while significantly improving alignment with human-provided goals, paving the way for more human-centric topic discovery systems.
Figures & tables
Figure 1. Key differences between Traditional Topic Modeling and Human-Centric Topic Modeling (with human’s goal).
Figure 2. The framework of GCTM-OT (a) and details of Goal-oriented Text Representation Mechanism (b).
Figure 3. Details of Goal Summarization Prompt Ps .
Figure 4. Details of Text Augmentation Prompt Pa .
Datasets
#Doc
#Vocab
Avg_Len
Bothering
1,483
7,700
56.48
TeslaModel3
1,991
5,634
32.82
AskAcademia
3,348
8,122
36.16
Table 1. The statistics of processed datasets.
Figure 5. The comparison of topic coherence values vs. different topic number settings [20, 30, 40, 50].
Dataset
Bothering
TeslaModel3
AskAcademia
Model
CP
CA
NPMI
UCI
CP
CA
NPMI
UCI
CP
CA
NPMI
UCI
LDA
0.1214
0.1286
0.0047
-0.3226
0.1143
0.1451
-0.0056
-0.6976
0.0997
0.1422
-0.0114
-0.6964
BAT
0.0127
0.1324
-0.0022
-0.8499
-0.0246
0.1441
-0.0058
-0.7193
-0.0786
0.1439
-0.0031
-0.6011
CTMNeg
-0.1319
0.1189
-0.0575
-1.9725
-0.1510
0.1195
-0.0611
-2.0211
-0.0156
0.1319
-0.0267
-1.2121
vONT
0.1535
0.1353
0.0020
-0.5920
0.0995
0.1363
-0.0093
-0.8079
0.0883
0.1187
-0.0018
-0.3956
CWTM
0.0175
0.1132
-0.0107
-0.6486
0.0417
0.1320
-0.0265
-1.0433
0.1039
0.1414
-0.0042
-0.6252
Table 2. Average topic coherence values with four topic number settings [20, 30, 40, 50].
Figure 8
Dataset
Human vs. Human
Human vs. LLM
JS
SMC
DSC
JS
SMC
DSC
Bothering
0.7579
0.7700
0.8623
0.7738
0.7750
0.8722
TeslaModel3
0.9192
0.9200
0.9579
0.8800
0.8800
0.9357
AskAcademia
0.9600
0.9600
0.9796
0.9196
0.9200
0.9581
Table 5. Coefficients between two experts’ annotation results.
Model
Topic Summary
Topic Words
LDA
—
completely, walk , girlfriend, hang , answer, finally, happy, honestly text couple