Words are slippery. "Car" and "automobile" mean the same thing, yet a keyword search that finds one misses the other. "Bank" appears in both finance articles and river-walk guides, yet clearly signals different topics. Latent Semantic Analysis (LSA) is a technique, introduced by Deerwester et al. in 1990, that sidesteps these problems without any dictionary or grammar rules.
The idea is beautifully simple: collect a large body of text, build a table whose rows are words and whose columns are documents, and fill each cell with how often that word appears in that document. Then factor the table using the Singular Value Decomposition (SVD) — the same algebraic tool that compresses images and powers recommendation systems — and keep only the most important dimensions. What remain are latent topics: directions in a high-dimensional space along which words and documents cluster because they tend to co-occur, not because a human labeled them.
The word latent is the key insight. You never told the algorithm that "engine", "fuel", and "highway" belong to the same concept. It discovered that cluster on its own, purely from patterns of co-occurrence across thousands of documents.
Comments
Loading comments...