Similar but Not Redundant: Embedding-Gated Refinement for High-Granularity Topic Models: what it means for business leaders

A post-hoc cleanup step for topic models with hundreds of topics uses embeddings to propose duplicate pairs and an LLM to confirm them, and the LLM rejects 83% of the pairs that similarity alone would have merged.

1. What the method is

Embedding-gated iterative merge (EGIM) is a refinement pass applied after a topic model has already split a corpus into hundreds of narrow topics. It first has an LLM write a label and summary for each topic from its keywords and representative documents. It then repeats a loop: embed the topic descriptions, use cosine similarity to nominate pairs that look alike, and ask the LLM one binary question per pair, merge or keep, with sample documents from both topics in the prompt. Merged topics get a new description and re-enter the loop; declined pairs are cached so they are not asked again. The loop stops when several consecutive rounds produce no merge or when a call budget is spent, so nobody has to choose a target topic count in advance. The paper also contributes two diagnostics, topic dispersion and topic discriminability, for judging refinement at high topic counts.

2. Why the method was developed

Pushing a topic model to several hundred topics is usually described as over-clustering, because some of the output is duplicated. The authors argue that this description lumps true duplicates together with topics that are close but usefully different, and that the fine distinctions are the reason to run at this granularity at all, for example in patent landscaping or mapping areas of law. The two existing cleanup approaches both fail here. Similarity thresholds, as in BERTopic's topic reduction, cannot tell a duplicate from a near neighbour. LLM-guided merging, where the model is shown the topic list and asked to pick and merge the two most similar, suffers from what the authors call semantic snowballing: each merge produces a broader label, which then attracts further merges, until a few mega-topics swallow the niches. Hundreds of topics also crowd the context window, leaving no room for document evidence.

3. Who should care

This matters to any team of ours that uses topic models to produce a taxonomy people act on: competitive and patent intelligence, legal and contract analytics, voice-of-customer and support-ticket analysis, and research or market scanning. For those teams the value lies in the narrow categories, and a cleanup step that quietly folds six distinct technologies into one bucket destroys the thing analysts needed. Data science and ML engineering leads should care because the result argues against a common shortcut, deduplicating clusters by a cosine cutoff, and the same caution plausibly carries to other deduplication work built on embeddings, though the paper tests only topics. Finance and platform owners should note that the method trades LLM spend for accuracy, roughly three times the calls of the simpler LLM approach, and that the authors got it to work only with a hosted closed model, which has data-handling implications for confidential corpora.

4. How the method works

Each round, the current topic descriptions are re-embedded and grouped by k-means into clusters, with the number of clusters shrinking as topics merge. From each cluster the method takes the most similar pair above a similarity threshold that has not already been reviewed. Sampling one pair per cluster spreads the LLM's attention across the whole topic space instead of spending it on one dense neighbourhood. The LLM, GPT-4o in the paper, receives both labels and summaries plus up to five representative text chunks per topic, chosen by cluster-assignment probability, quality filters and maximal marginal relevance for diversity. The prompt carries a conservative, domain-specific policy: merge only when both describe the same underlying concept, keep when they are distinct aspects of one field. After a merge the representative documents are pooled evenly from the constituents, the new description is re-embedded, and cached keep decisions involving either topic are cleared. The budget was 200 LLM calls per run.

5. How it was evaluated

The authors tested on three specialist English corpora: 1,102 patents on single-photon avalanche diodes, 3,302 laser patents from defense companies, and 3,890 Australian Federal Court case reports. The base model was BERTopic over two-sentence chunks embedded with Qwen3-Embedding-0.6B, tuned by a calibration sweep and run with six text-preprocessing variants per corpus, giving 18 high-granularity base models. The comparison was the iterative LLM topic-reduction method of Janssens and colleagues, given the same label-and-summary descriptions and run to the same final topic count that EGIM reached, about 33 merges on average. The two primary measures were dispersion, a normalised effective number of topics that drops when a few topics dominate, and discriminability, the margin by which a topic's description is closer to its own documents than to everyone else's, reported on merged topics only. Standard coherence and diversity metrics, and LLM-scored coherence and word-intrusion tests, were tracked as well.

6. How it performed

Of 3,491 candidate pairs above the similarity threshold, the LLM merged 596 (17%) and declined 2,895 (83%); the similarity scores of the two groups overlap heavily (AUC 0.824), so the best single cutoff catches 72.7% of duplicates while wrongly merging 22.1% of distinct pairs. EGIM kept 94% to 101% of the original dispersion against 34% to 88% for the baseline, winning all 18 configurations, and improved discriminability on merged topics by 25% to 55%, winning 16 of 18. It spread merges over 17.1 target topics on average versus 5.4. Whole-model quality metrics moved under 3% for both methods, since only about a tenth of topics change. The cost is 193.9 LLM calls per run versus 66.2. The limits are real: one embedding model, one LLM serving as both judge and evaluator, no human validation of the merge decisions, English only, no standard benchmarks, and the sampling ablation ran on a single configuration. Our call: pilot it on one corpus where analysts can check the merge decisions by hand, and stop using similarity cutoffs alone for fine-grained deduplication. (Source: arXiv 2611.17030, 2026)

← Back to dossier index