Glossary

Topic modeling

An unsupervised machine learning technique that discovers the latent themes running through a collection of documents.

Topic modeling is an unsupervised machine learning technique that scans a large collection of documents and identifies the latent themes, or topics, running through them, without being told in advance what those topics are.

Classic approaches such as Latent Dirichlet Allocation represent each document as a mixture of topics and each topic as a distribution over words, inferring both simultaneously from patterns of word co-occurrence; newer approaches instead cluster document embeddings produced by language models. This differs from Named Entity Recognition, which extracts specific known entities: topic modeling surfaces unnamed, data-driven themes that a human then has to label.

Analysts use topic modeling to summarize large volumes of open-ended survey responses, support tickets, or social posts collected through social listening, turning unstructured text into a manageable set of themes for reporting. It is closely related to clustering and unsupervised learning more broadly. The main pitfall is that the number of topics is usually chosen by the analyst rather than discovered automatically, and topics can be unstable or hard to interpret, requiring manual labeling and validation before results are trusted.

Last reviewed September 22, 2026

In the index now

Related terms

Related tools

Related guides