A topic is a latent semantic theme represented as a dimension in a compact vector space. Topic modeling replaces thousands of orthogonal word dimensions with fewer dimensions whose aligned words are semantically related. section 4.1.2
Topic vectors make document meaning easier to inspect and compare:
- Represent each document with a document-topic vector showing how strongly every topic is expressed. section 4.4.1
- Inspect topic-term weights to identify which words contribute most strongly to each topic. section 4.4.1
- Compare, add, or subtract topic vectors for tasks such as similar-document retrieval and semantic search. section 4.1.2
Reducing comments to topic dimensions
TruncatedSVD can reduce a TF–IDF matrix from 9,232 dimensions to 16 topic dimensions. Inspecting words such as “pathetic,” “stupid,” “idiot,” and “hate” reveals which dimensions are associated with toxic comments. section 4.4.1

