TopicGPT: A Prompt-based Topic Modeling Framework
Pham, Chau Minh, Hoyle, Alexander, Sun, Simeng, Iyyer, Mohit
–arXiv.org Artificial Intelligence
Topic modeling is a well-established technique for exploring text corpora. Conventional topic models (e.g., LDA) represent topics as bags of words that often require "reading the tea leaves" to interpret; additionally, they offer users minimal semantic control over topics. To tackle these issues, we introduce TopicGPT, a prompt-based framework that uses large language models (LLMs) to uncover latent topics within a provided text collection. TopicGPT produces topics that align better with human categorizations compared to competing methods: for example, it achieves a harmonic mean purity of 0.74 against human-annotated Wikipedia topics compared to 0.64 for the strongest baseline. Its topics are also more interpretable, dispensing with ambiguous bags of words in favor of topics with natural language labels and associated free-form descriptions. Moreover, the framework is highly adaptable, allowing users to specify constraints and modify topics without the need for model retraining. TopicGPT can be further extended to hierarchical topical modeling, enabling users to explore topics at various levels of granularity. By streamlining access to high-quality and interpretable topics, TopicGPT represents a compelling, human-centered approach to topic modeling.
arXiv.org Artificial Intelligence
Nov-2-2023
- Country:
- North America
- United States
- Minnesota (0.04)
- Maryland (0.04)
- Massachusetts > Hampshire County
- Amherst (0.04)
- Kansas > Shawnee County
- Topeka (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Connecticut > Fairfield County
- Bridgeport (0.04)
- California > San Diego County
- San Diego (0.04)
- Canada > Ontario
- Middlesex County > London (0.04)
- United States
- Europe
- United Kingdom > Northern Ireland (0.04)
- Germany > Berlin (0.04)
- Asia
- China > Hong Kong (0.04)
- Middle East
- Jordan (0.05)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- North America
- Genre:
- Research Report (1.00)
- Industry:
- Transportation (1.00)
- Law (1.00)
- Consumer Products & Services > Restaurants (1.00)
- Banking & Finance (0.68)
- Leisure & Entertainment (0.68)
- Health & Medicine (0.67)
- Education > Educational Setting (0.67)
- Government > Regional Government
- Technology: