---
title: "Aggregated topic models for increasing social media topic"
description: "Find out how combining similar topics from separate runs improves word coherence in Associated Press articles and presidential debate tweets."
canonical: "https://research.elamur.ai/free/en/papers/blair-2019-aggregated-topic-models-increasing-social/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/blair-2019-aggregated-topic-models-increasing-social/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Aggregated topic models for increasing social media topic coherence

# Aggregated topic models for increasing social media topic coherence

Paper · 2019 · Stuart J. Blair, Yaxin Bi and Maurice D. Mulvenna

**Authors:** Stuart J. Blair, Yaxin Bi and Maurice D. Mulvenna · **Year:** 2019 · **Venue:** Applied Intelligence · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

Applied Intelligence · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://link.springer.com/content/pdf/10.1007/s10489-019-01438-z.pdf)
- [DOI 10.1007/s10489-019-01438-z](https://doi.org/10.1007/s10489-019-01438-z)

## Summary

When a collection of documents is too large to read in full, [topic modeling](https://md.research.elamur.ai/free/en/concepts/topic-modeling/) can help reveal what people are writing about. It does so by finding groups of words that tend to occur in related contexts. How many groups should it look for? A short list can give a useful overview while burying the terms that distinguish one subject from another. A longer list can surface those terms while breaking up subjects a reader would prefer to see together. Stuart J. Blair, Yaxin Bi, and Maurice D. Mulvenna ask whether the same collection can be analyzed at several levels of detail and the results combined into a compact set of more coherent topics.

The authors fit latent Dirichlet allocation to the same collection under different settings. They choose one run as a starting point and compare each of its topics with candidates from the other runs. When the distributions of words are sufficiently similar, the method averages their probabilities word by word. This can move a telling term from a finer-grained topic into the prominent vocabulary of a broader one. The final list has as many topics as the starting list. The paper tries cosine similarity and Jensen–Shannon divergence to decide which topics to combine, with Jensen–Shannon divergence favored in the tuning experiments.

In Associated Press news, the paired comparison for runs with different topic counts reports mean coherence of 0.386 before aggregation and 0.736 afterward. Varying a setting that governs how topics mix within documents also raises the reported mean. The paired test shows a smaller rise from 0 for the 300,000 tweets gathered during the 2016 U.S. campaign’s last presidential debate.157 to 0.177. The paper reports statistically significant paired results in all these comparisons, although its conclusion gives a conflicting account of significance. A separate comparison finds higher average coherence for the aggregated topics than for those produced by non-negative matrix factorization on both collections.

The paper assesses coherence through word co-occurrence. One measure uses the collection from which the topics were learned. The other uses English Wikipedia to ask whether prominent topic words also belong together in a broader setting. The news experiments offer clear examples of what can change, including a health topic whose leading terms become more concentrated around disease and medical research. The debate experiment shows smaller gains and illustrates how an isolated string can fall out of a leading word list. The authors leave direct judgments by human readers for future work.

## Deep dive: Aggregated topic models for increasing social media topic coherence

Find out how combining similar topics from separate runs improves word coherence in Associated Press articles and presidential debate tweets. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Choosing how much detail a topic should carry

A topic in this paper is a distribution over words. Words with the largest probabilities give a reader a short description of what the topic might mean. This is useful when working with a body of news or social media posts whose main concerns are unknown in advance. A reader can inspect a list of prominent words and ask whether they point to a recognizable subject. The quality of this description matters because the topic may be the first view the reader gets of the material behind it.

In latent Dirichlet allocation, abbreviated LDA, the analyst specifies how many topics to fit. That decision gives the analysis a scale. With a small topic count, a broad subject can absorb several distinct stories, and words shared by those stories can dominate its description. With a large count, the analysis can give a narrow story its own identity. It can also give unusually specific word patterns too much importance for an overview of the whole collection. The paper describes this latter risk as overfitting to the collection.

The authors also draw attention to the settings that govern the mixtures of topics within documents and the distributions of words within topics. The first of these can make it easier for a document to be described mainly by a small selection of topics or encourage a more even mixture. As those assumptions change, the resulting topic vocabulary can change too. Choosing the count and priors is therefore part of deciding what kind of description the collection will yield.

The practical question is whether the analyst has to choose a single scale before seeing any of the output. A specific event can have a distinctive vocabulary and still belong naturally within a broader subject. If it is possible to recognize that relationship across runs, the narrower topic can contribute words to the broader one. The paper treats the different word distributions obtained across runs as material for that comparison.

#### Why short social media posts make the question harder

The authors motivate the study with microblogs. People use these services to make short statements about subjects such as products and politics. The resulting text is of interest to organizations trying to understand public opinion, yet its linguistic variation makes it difficult to analyze. A short message provides little local evidence for any relationship between its words. Collections of such messages can also contain strings that are common enough to be learned but give a reader little help in recognizing the subject.

The paper describes several earlier responses to this problem. Some methods pool posts by author or hashtag before fitting topics, creating longer input documents. The authors also discuss self-aggregation, in which clusters of short texts contribute to larger pseudo-documents as part of the modeling procedure. The earlier method they identify as closest to their own assumes a single latent topic per original document. These approaches address sparsity by changing the text units from which topics are learned.

The new method intervenes later. An analyst can fit ordinary LDA to the input documents and use the resulting topic distributions directly in the aggregation procedure. The paper emphasizes that this stage needs neither a domain-specific list of seed words nor grammatical tags. Its inputs are the fitted distributions, a shared vocabulary and a rule for deciding when distributions are close enough to combine. This makes the proposal a way of changing how fitted topics are assembled without rewriting the process that produced them.

The related work also discusses an approach that brings [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) into inference for short texts. Those representations supply information about word relationships from outside the collection being analyzed. The distinction matters for the experiments here. English Wikipedia is used to score coherence and select evaluation settings, while the probabilities that enter the average come from the fitted topics. A word can rise in the aggregated ranking because other runs give it greater weight. Wikipedia supplies the evidence used to judge the resulting list.

#### What earlier ensembles and similarity measures contributed

In a conventional classification ensemble, the component systems can vote because they share a known set of class labels. Unsupervised topics lack this common naming scheme. The topic at a given position in one run can describe an completely different subject from the topic at that position in another. If the runs use different topic counts, some broad subjects in one run may also correspond to several separate topics in another. Before combining any probabilities, the authors need to establish which distributions are comparable.

Blair and colleagues describe earlier systems that combined topic information for different purposes. A disease-risk ensemble collected topics from components fitted to different kinds of patient data, then used the combined topic representation to describe new patients. Another approach divided a collection into smaller corpora and merged information about the assignments of document–word pairs to topics. Its evaluation considered predictive fit and efficiency. Both studies made combination part of a larger inference procedure, so their objectives differed from improving the readability of a topic's leading words.

Earlier work on consensus across contexts used shared topic distributions to encourage agreement among context-specific topics. A matrix-factorization ensemble addressed stability by collecting outputs from separate fits into a topic–term matrix and factorizing that matrix again. In that study, a useful ensemble produced results that were more reproducible. Blair and colleagues focus on coherence. Repeated runs can produce similar topics without yielding particularly intelligible word lists, and a method can improve those lists without establishing that repeated fits will reproduce them.

The authors also describe earlier uses of cosine similarity and Jensen–Shannon divergence to compare topic representations. Cosine had been used to compare prominent words from topics discovered by different methods. Jensen–Shannon divergence had been used to compare distributions of topics over documents. Here a similarity score acts as a decision rule. It determines whether a candidate distribution contributes to a new topic. A mistaken match can change the result, so the operating threshold has consequences beyond the interpretation of a comparison score.

#### Why a good fit to documents leaves coherence open

The paper distinguishes two questions about an unsupervised analysis. One is how much probability it gives to unseen documents or to unseen portions of documents. The other is whether a person inspecting the prominent terms can recognize a subject. The related work describes several ways to estimate predictive fit, including document completion, which uses one part of a document to predict another. The authors choose to evaluate the second question through measures based on the topics themselves. The motivation comes in part from human interpretation experiments discussed in [Reading Tea Leaves](https://md.research.elamur.ai/free/en/papers/chang-2009-reading-tea-leaves-humans-interpret-topic/).

A word-intrusion task illustrates what topic evaluation attempts to capture. A person sees a set of prominent topic words with an unrelated word inserted and tries to identify the odd one out. A set that expresses a clear subject makes this easier. The paper also discusses automated detection of inserted words, for which somebody must first construct the sets with intruders. Experiments of this kind motivate the search for automatic scores that can be computed from ordinary topic output. The authors discuss evidence about mutual information and human judgments in [Automatic Evaluation of Topic Coherence](https://md.research.elamur.ai/free/en/papers/newman-2010-automatic-evaluation-topic-coherence/) and [Machine Reading Tea Leaves](https://md.research.elamur.ai/free/en/papers/lau-2014-machine-reading-tea-leaves-automatically/).

Co-occurrence gives the authors two kinds of evidence. They can look within the collection being analyzed to see whether the topic terms group together there. They can also consult a broad external collection to see whether the association carries over to general English usage. The first measure gives a local expression or event a chance to register on its own terms. The second gives a term list credit when its associations recur beyond the source material. The two corpora can provide different answers about the same set of words, which is why the paper reports both perspectives.

### The method, step by step

#### Fit several descriptions of the same collection

The easiest way to follow the method is to start with the list of topics that a reader will eventually see. Suppose a fit with a small topic count produces a broad topic about health. A fit with more topics might find a narrower group of words about disease and medical research. The proposed procedure asks whether the entire distribution for the narrower topic is sufficiently close to that of the broader one. If so, it lets the narrower distribution influence the ranking of words in the resulting health topic. The same operation is carried out around each topic of the chosen starting run. The health example in the Associated Press experiment makes this kind of change visible.

How the fitted topics are combined The steps in order.

LDA takes a bag-of-words representation. It uses the word counts from a document while discarding their order. The text supplies the observed word occurrences. The assignment of a topic to each occurrence and the mixture of topics in each document are quantities the procedure seeks to infer. A topic provides a probability distribution across the vocabulary, so the same word can receive different probabilities in different topics.

The paper describes LDA through a generative story. The story specifies how a document would be produced if its topic mixture and the word probabilities for each topic were known. A document first receives a distribution over topics. Then, for each word position, a topic is chosen according to that document distribution, and a word is chosen according to the selected topic's distribution. Fitting proceeds in the other direction, using the observed documents to infer a topical description. This document-level account explains why separate runs on identical input can yield different descriptions when their settings differ.

```
φ_z ∼ Dir(β)
```

Here φ_z is the distribution of vocabulary words for topic z. The symbol ∼ indicates a draw from the distribution on its right, Dir denotes the Dirichlet distribution and β is its prior parameter for topic words. A Dirichlet distribution gives probabilities to possible probability vectors. In this use, its draws describe possible allocations of word probability across the vocabulary.

```
θ_i ∼ Dir(α)
```

The symbol θ_i denotes the topic mixture for document i. As before, ∼ denotes a draw and Dir is the Dirichlet distribution. The prior α acts on the proportions of topics within a document. In the paper's account, a smaller α favors mixtures dominated by fewer topics, while a larger α favors the presence of more topics with less dominance by any single one.

```
z_j ∼ θ_i
```

The symbol z_j denotes the latent topic assigned to word position j in document i. The distribution θ_i gives the probabilities of those assignments in that document. The draw symbol ∼ indicates that a topic is selected according to those probabilities.

```
w_j ∼ φ_(z_j)
```

Here w_j is the observed word at position j, z_j is the chosen topic and φ_(z_j) is that topic's vocabulary distribution. The symbol ∼ denotes drawing a word according to those probabilities. The word assignments can consequently vary even among occurrences within the same document.

The paper fits the LDA runs using Gibbs sampling, an iterative procedure for obtaining samples of the unobserved quantities in the analysis. It uses 2,000 iterations in the experiments that generate LDA topics. The parameter changes of interest are the requested topic count and α. In the count-varying news experiment, α depends on the count, so the series explores the way the standard count-dependent setup changes the output. A separate news experiment holds the count fixed and explicitly varies α.

#### Put matching topics on a common vocabulary

The aggregate is assembled around the topics of one selected run. The other runs provide a pool of possible contributors. A candidate has a probability for each term in the same vocabulary used by the starting run. Each position in a vector therefore has the same meaning in all the distributions, and comparing or averaging corresponding positions is meaningful. Terms near the bottom of a ranking still take part in the vector comparison. A short list of prominent terms is mainly a means of inspecting and evaluating the result.

For each starting topic, the method looks through the candidate topics and tests the similarity of the distributions. This is a pairwise comparison to a fixed anchor. There can be several qualifying contributors for an anchor, including contributors from runs with different topic counts. The decision uses the score of each candidate relative to the anchor. It does not require a proposed group of candidates to pass a joint test of similarity to one another.

The paper discusses several possible screening rules. A Jaccard comparison would act on sets of leading terms and score their overlap. This would make the chosen list boundary important and give limited information about how strongly each word represents its topic. The authors also tried a two-sample Kolmogorov–Smirnov test. They report that the critical value in their preliminary tests imposed a degree of agreement they found too restrictive for aggregation.

```
D_(n,m) = supₓ |F_n(x) − F_m(y)|
```

Here D_(n,m) is the statistic for samples of sizes n and m. The symbols x and y follow the paper's notation for the values under comparison, and F_n and F_m denote the corresponding empirical cumulative distributions. The bars take the absolute difference, and sup denotes its least upper bound as the comparison ranges over x. In a two-sample cumulative-distribution comparison, the intended gap is between the two cumulative curves at a common evaluation point. The formula as printed uses separate argument symbols. The statistic serves here to explain a screened-out approach, and the final aggregation experiments use different comparison rules.

#### Decide which distributions are close enough

For cosine similarity, each word distribution is treated as a vector. The score compares their directions after taking vector lengths into account. Shared words contribute most when both distributions give them appreciable probability. On these non-negative vectors, the paper describes 1 as the complete-similarity endpoint and 0 as the complete-dissimilarity endpoint. The chosen threshold is therefore a lower bound on the score accepted for combination.

```
cos(φ_(i,j), φ_x) = (φ_(i,j) · φ_x) / (‖φ_(i,j)‖ ‖φ_x‖)
```

The function cos denotes cosine similarity. The symbol φ_(i,j) is the vocabulary distribution of topic j in run i, and φ_x is the distribution of starting topic x. The centered dot denotes the vector dot product, formed from products at the corresponding word positions. The double bars give each vector's length. Dividing the dot product by the product of the lengths makes the score a measure of alignment.

Jensen–Shannon divergence, abbreviated JS, compares two probability distributions through their midpoint. Each distribution is assessed against that common midpoint using Kullback–Leibler divergence, a measure of discrepancy between probability distributions. The two discrepancies are averaged, so swapping the original distributions leaves the result unchanged. With the base 2 logarithm, the paper gives 0 as the endpoint for identical distributions and 1 as the upper endpoint. Here the threshold is an upper bound because small divergence indicates a close match.

```
M = (P + Q) / 2
```

Here P and Q are the distributions being compared, and M is their midpoint. Addition takes place at corresponding vocabulary positions. Division by 2 takes the mean at each position, giving a common reference distribution for the two comparisons.

```
D_JS(P ∥ Q) = (D_KL(P ∥ M) + D_KL(Q ∥ M)) / 2
```

The symbol D_JS denotes Jensen–Shannon divergence. Its arguments P and Q are the two probability distributions, and ∥ separates the ordered arguments in each divergence expression. The symbol D_KL denotes Kullback–Leibler divergence. Both terms on the right compare an original distribution with the midpoint M, and division by 2 weights the terms equally. The use of the same midpoint in both terms gives the symmetric comparison used by the aggregation rule.

#### Average the probabilities in a match

The combination itself is a coordinate-by-coordinate mean. If a candidate passes the test, its probability for a word enters the average for that word. Every included distribution has the same weight. The procedure does not assign a larger averaging weight to a topic for being closer to the anchor. Similarity controls admission to the average.

```
φ̂_k = (∑_(i=1)^M ∑_(j=1)^(T_i) [cos(φ_(i,j), φ_x) ≥ γ] φ_(i,j)) / n
```

Here φ̂_k is the aggregated distribution for output topic k, corresponding to starting topic x with distribution φ_x. The outer sum ∑ runs over the M runs in the combination expression, indexed by i. The inner sum runs over their topics j, and T_i is the count for run i. The bracketed comparison is an indicator. It takes the value 1 when the cosine score is at least the threshold γ and 0 otherwise. The symbol φ_(i,j) denotes the candidate distribution and n is the number of distributions counted in the average. Here M counts runs, independently of its earlier use for the midpoint in the divergence formula.

```
φ̂_k = (∑_(i=1)^M ∑_(j=1)^(T_i) [D_JS(φ_(i,j) ∥ φ_x) ≤ γ] φ_(i,j)) / n
```

Here φ̂_k again denotes aggregated topic k, and φ_x denotes its anchor. The sums ∑ range over run i among the M runs and topic j among the T_i topics in that run. Each φ_(i,j) is the candidate's complete word distribution. The indicator in brackets is 1 when the Jensen–Shannon divergence D_JS between that candidate and φ_x is at most γ, and 0 otherwise. The denominator n counts the included distributions. The difference between the two combination formulas lies in the criterion inside the brackets.

In both expressions, the anchor determines which distributions may contribute. The accompanying prose describes comparing each base topic with topics from the other runs and combining similar topics. The summation notation does not separately identify an extra anchor term or specify a fallback for the case in which no outside topic qualifies. The ordinary interpretation of the averaging rule is to divide by the number of distributions actually included. The paper's operational description is clearest about the matching rule and the fixed correspondence between starting topics and output topics.

Because the distributions share a vocabulary, averaging changes their weights without adding vocabulary positions. A word that appears new to a reader of the topic can already have had a small probability in the starting distribution. It has become more visible because the average raised its rank. Similarly, a token can disappear from the displayed list while retaining a probability in the full distribution. The number of output topics is set by the starting run. These properties let an analyst preserve a compact overview and still change the vocabulary that describes each part of it.

#### Score the leading words against two collections

The external score is based on pointwise mutual information, abbreviated PMI. A co-occurrence count alone can make two common words look unusually related simply because each appears often. PMI compares the observed probability of a joint occurrence with the probability expected from multiplying the individual frequencies. A large positive association therefore reflects more than the fact that both words are common in the reference collection.

```
PMI(w_i, w_j) = log(p(w_i, w_j) / (p(w_i) p(w_j)))
```

Here w_i and w_j are words in the leading terms of a topic, indexed by i and j. The function p gives occurrence probabilities, with p(w_i, w_j) denoting a joint occurrence and p(w_i) and p(w_j) the individual occurrences. The product in the denominator gives the reference probability under independence. The function log takes the logarithm of the ratio. The measured association depends on how a joint occurrence is counted.

```
p(w_i, w_j) = D_ext(w_i, w_j) / D_ext
```

The left side is the probability assigned to joint occurrence of w_i and w_j. In the paper's document-count notation, D_ext(w_i, w_j) counts external documents that contain both words, and D_ext is the total number of external documents. With a sliding-window configuration, the counting units are the windows used to observe such occurrences. A document-sized window uses the whole article as the unit.

```
p(w_i) = D_ext(w_i) / D_ext
```

Here p(w_i) is the estimated probability that the word w_i appears. The numerator D_ext(w_i) counts external documents containing that word and D_ext counts all external documents, again using the corresponding window units when windows replace whole documents. The same expression applies to w_j. The reference collection for the experimental PMI score is English Wikipedia.

The intrinsic measure also uses word co-occurrences, but its evidence comes from the source collection used to fit the topics. The pair term in its formula divides joint occurrence by occurrence of the earlier-ranked word. For a pair with a non-zero denominator, that fraction describes how often the other word is found among the units containing the earlier one. The log terms are then combined over pairs among the leading words. The paper draws on [Optimizing Semantic Coherence in Topic Models](https://md.research.elamur.ai/free/en/papers/mimno-2011-optimizing-semantic-coherence-topic-models/).

```
WCO = ∑_(j=2)^N ∑_(i=1)^(j−1) log(P(w_j, w_i) / P(w_i))
```

The symbol WCO denotes the word co-occurrence score. The quantity N is the number of leading topic words considered, and w_j and w_i are words at ranks j and i. The outer sum ∑ starts at the second word and the inner sum runs over the earlier ranks. The quantity P(w_j, w_i) is the joint occurrence probability in the source collection, and P(w_i) is the individual occurrence probability of the earlier word. The function log takes the logarithm of their ratio. The paper describes a reported intrinsic scale from 0 to 1, while this formula shows an unnormalized sum of logarithms. The presentation leaves the conversion to the reported scale unclear.

The paper reviews other coherence measures to place its choice in context. In particular, a distributional approach compares word representations and weights the evidence using mutual information. Its aim is to capture association using more than a raw count of shared occurrences. The paper discusses that option alongside a broader account of how coherence measures can be constructed. [Evaluating Topic Coherence Using Distributional Semantics](https://md.research.elamur.ai/free/en/papers/aletras-2013-evaluating-topic-coherence-distributional-semantics/) and [Exploring the Space of Topic Coherence Measures](https://md.research.elamur.ai/free/en/papers/roder-2015-exploring-space-topic-coherence-measures/).

Another reviewed measure, normalized Google distance, uses the number of indexed pages containing one or both query terms. The notation below groups the logarithms symmetrically, in keeping with the paper's description of a distance between the two terms. This is background to the choice of metric. The reported experiments use PMI for external coherence.

```
NGD(x, y) = (max(log f(x), log f(y)) − log f(x, y))
            / (log(Nκ) − min(log f(x), log f(y)))
```

Here NGD is the normalized distance for search terms x and y. The quantities f(x) and f(y) are counts of indexed pages containing the individual terms, and f(x, y) counts pages containing both. The quantity N is the index size, and κ is a smoothing factor. The functions max and min select the larger and smaller of the two logged individual counts, respectively, and log denotes a logarithm. The paper describes a distance near 0 as indicating close association and larger distances as indicating weaker association.

```
NGD̄ = (∑_i^K ∑_j^K NGD(x_i, y_j)) / K
```

Here NGD̄ is the topic-level quantity in the paper's description of the distance. The symbols x_i and y_j denote terms selected from the leading vocabulary of the topic, with i and j indexing those terms. The two sums ∑ appear with upper bound K, the number of terms considered. The function NGD is the distance just defined, and the printed denominator is K. The expression does not spell out which self-pairs or repeated pairs are included. This reviewed calculation has no role in the numerical results.

#### Tune the threshold and the observation window together

The authors use a grid search over matching thresholds and external window sizes. They describe using 10% of the source collection in this tuning stage. For each combination, the threshold controls the construction of the aggregated word distributions and the window controls how their coherence is measured. The search tracks the combination that yields the best average score on the development data. The two parameters have different roles even though the paper selects them together.

A window of 50 words counts a pair as co-occurring when both words appear within that span. The words can still belong to different sentences. A window of 10 demands closer proximity. At the other end of the search, a full-document window can count associations across the length of an article. Which window works best depends in part on whether topical vocabulary tends to be closely grouped or distributed throughout discussions of a subject.

Once a window is chosen, the paper uses the same size when comparing the aggregated output with the individual fits. That gives each set of topic terms the same opportunity to co-occur under the evaluator's rule. The optimization remains specific to a dataset and a collection of candidate runs. The method makes it possible to search for a cutoff without presuming that one value will work for a different source collection or a different kind of parameter variation.

### Experiments and results

#### The corpora, comparisons, and reported statistics

The news dataset is the Associated Press material used in the original LDA study and distributed with David Blei's lda-c package. The authors report 2246 documents and describe 34,977 as the post-stopword-removal token count. Their initial reference run has 10 topics, uses 2,000 Gibbs iterations and sets the Dirichlet priors to α equal to 50/t and β equal to 0.01, where t is its topic count. Its mean external coherence is 0.386. The paper uses this run to show that an ordinary fit can contain a mixture of clear and comparatively weak topics even before the broader comparisons begin.

The external reference for both the news and social media experiments is English Wikipedia. The paper gives its average article length as 133.07 words. These articles supply co-occurrence observations for extrinsic PMI. The intrinsic measure uses the Associated Press articles or debate tweets themselves, according to which collection supplied the topics. Thus the tweets can have a meaningful intrinsic score even when unusual debate terms seldom appear together in the Wikipedia reference.

The main LDA comparisons view the aggregate alongside the individual runs that supplied its candidates. Because every output topic corresponds to one starting topic, the authors can also compare those two lists pair by pair. They use a paired t-test with a significance level of 0.05. In the values below, the standard deviations describe variation in topic coherence within a set. The test statistic concerns the paired differences. The reported probability values assess the test under a null hypothesis of no mean difference in the pairing. These are comparisons across corresponding topics from a particular fit and aggregate.

#### Associated Press news at different topic counts

The first experiment fits runs with topic counts of 10, 20, 30, 40, 50, 60, 70, 80, 90 and 100. The authors assign α according to their count-dependent rule. The candidate pool consequently contains both broad and fine-grained descriptions of the same articles. The 10-topic run supplies the anchors for the final comparison, so the aggregate stays at the overview scale. All the other runs can contribute more detailed word distributions wherever the candidate topics are similar to those anchors.

The grid search begins at 0.1, ends at 0.9 and increases the threshold in steps of 0.1. It also considers window sizes in 10-word steps through 100 words and tests the full document as a window. For cosine, the preferred criterion is reported as > 0.7. For Jensen–Shannon divergence, it is reported as \< 0.5. The authors find the latter setting admits more candidates in this sweep and yields the better tuning result. They consequently use Jensen–Shannon divergence for the full comparison.

In the figure-based discussion, the paper gives the aggregated topics an external PMI of 0.75, higher than any contributing run. It also reports the highest intrinsic coherence for the aggregate. The significance analysis gives a separate figure for the aggregate mean, 0.736, against 0.386 for the starting run. The standard deviations are 0.224 for the aggregate and 0.179 for the starting run. For the paired comparison the paper reports t(9) = 7.173 and P = 0.0000523. The 0.75 figure belongs to the comparative results and the later comparison with NMF. The 0.736 figure belongs to the reported paired test. The paper gives no reconciliation of these presentations.

Associated Press news with varying topic counts, mean coherence in the paired test Aggregation raises the mean coherence of the topics relative to their starting run.

**The numbers**

| System or setting | Mean topic coherence |
| --- | --- |
| Starting LDA run | 0.386 |
| Aggregated LDA topics (this paper) | 0.736 |

The paper highlights several changes in the leading terms. A topic associated with military aid and the United States gains terms identifying Nicaragua and the Contras. This gives a reader a more specific way to connect otherwise broad political and military words. A health topic gives higher prominence to disease, medical research and related clinical terms, while some general words slip out of view. A financial topic gains vocabulary associated with an exchange and an index. These examples show how the same operation can make an event easier to recognize or sharpen the vocabulary of a general category.

#### Associated Press news with different document-topic priors

The next experiment keeps the topic count at 10 across the candidate runs. It varies α over 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 and 10.0. This gives the method different topic distributions without using a series of increasingly fine topic counts. The document-topic mixtures permitted by the prior change, and the fitted word distributions reflect those changes. The experiment asks whether this kind of diversity is enough to supply useful matches.

The preferred thresholds in the tuning discussion are > 0.9 for cosine similarity and \< 0.1 for Jensen–Shannon divergence. The full experiment uses the latter. Compared with the thresholds chosen for the varying-count news runs, each criterion demands closer matches on its own scale. The resulting lists show fewer visible changes in leading words. This is consistent with a narrower acceptance rule, although the paper does not report a candidate-count breakdown that would quantify the mechanism.

The figure discussion reports 0.7 for the aggregate's external PMI and gives it the best intrinsic coherence in that comparison. The paired test reports a starting mean of 0.253 and an aggregate mean of 0.64, with standard deviations of 0.17 and 0.229, respectively. The statistic is t(9) = 12.03, with P = 0.00000075. As in the count-varying study, the figure-based aggregate score and the paired-test mean are separate reported values.

A topic about the Soviet Union, the United States and Mikhail Gorbachev gains terms pointing to East Germany. Those additions make a more specific late Cold War reading available. A business and finance topic gains vocabulary referring to industry and companies. The second change gives a reader a broader category into which the existing financial quantities and workforce terms can fit. Together the examples show why enrichment can take different forms. A new term can locate an event more precisely or clarify the larger subject shared by the words already present.

#### Tweets from the presidential debate

The social media study analyzes 300,000 tweets collected during the debate on 19th October 2016 between Hillary Clinton and Donald Trump. The event lasted 90 minutes. The collection used keywords and hashtags associated with the candidates and their supporters. Its topical scope therefore includes the exchanges in the debate and the reactions of people posting around it. The subject matter is more concentrated in a single event than in the Associated Press collection.

The LDA runs again use the series of topic counts from 10 through 100. In order of increasing count, the corresponding α settings are 5.0, 2.5, 1.67, 1.25, 1.0, 0.83, 0.71, 0.63, 0.56 and 0.5. The paper gives β as 0.01 and uses 2,000 iterations of Gibbs sampling. On the strength of the earlier tuning results, it uses Jensen–Shannon divergence for matching. The chosen threshold is at most 0.7, and the final run uses a window of 20 words for the coherence comparison.

The external coherence plot favors the aggregate, although the authors describe the absolute level as low. They attribute this partly to the gap between event-specific Twitter vocabulary and the broader language in Wikipedia. Intrinsic coherence also rises, with the run identified as m₂ close to the aggregate. This makes the gain look different from the news findings. The aggregate leads on the reported curves, but a contributing run already gives a similar account according to the source-corpus measure.

The paired test gives a mean of 0.157 for the starting topics and 0.177 for the aggregated ones. Their standard deviations are 0.219 and 0.227, respectively. The reported test result is t(9) = 4.53 and P = 0.0014. The authors' significance-testing section treats this as a significant increase. The paper contains a conflicting statement about significance in its conclusion, so the paired statistic and the conclusion should be read as separate claims.

In one displayed topic the leading words after aggregation include amnesty alongside vocabulary associated with immigration. The paper reads this through the debate context. Another topic drops an isolated alphanumeric string from its prominent vocabulary. The example shows a concrete ranking change that could make a topic easier to scan. It also illustrates the difference between the underlying distribution and its displayed terms. Once other probabilities rise enough to displace a string from the list, the string can still occupy a low-ranked position in the full vocabulary.

#### Comparison with non-negative matrix factorization

Non-negative matrix factorization, abbreviated NMF, provides a comparison with a different way of extracting topics. The paper describes factoring a document–term representation into lower-dimensional matrices with non-negative entries. It notes [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) as an example of how terms can be weighted in such a representation. In the experiment, the authors use non-negative double singular value decomposition for initialization, multiplicative updates and a maximum of 2000 iterations if the approximation has yet to converge. They also describe a regularization term that discourages very large weights.

```
V ≈ W H
```

Here V is the document–term data matrix, W and H are the two non-negative factors, and their juxtaposition denotes matrix multiplication. The symbol ≈ indicates approximation, the objective of the iterative fit. The paper writes the factorization as V = W H when introducing the decomposition. The two factors connect terms and documents through latent features, from which a ranked topic vocabulary can be obtained.

The results tables compare 10-topic outputs on Associated Press news and social media. The NMF topics are scored with the same intrinsic and extrinsic approach used for the aggregates. This equates the size of the lists and gives the leading words a common basis for comparison. NMF is fitted as an individual baseline. Its weights under the stated objective are not treated as the word probabilities required by the aggregation rules.

For Associated Press news, the mean intrinsic coherence is 0.202 for NMF and 0.39 for the aggregate. Their mean external scores are 0.106 and 0.75, respectively. The ordering is the same for both measures, and the external scores in particular place the two outputs far apart. The per-topic entries in the NMF table show variation within that output, so the mean describes the list as a whole, not the score of a typical term or an individual news topic.

Aggregated LDA and NMF on Associated Press news, mean external coherence The aggregated topics have higher external coherence than the equally sized NMF topic list.

**The numbers**

| System or setting | Mean extrinsic PMI |
| --- | --- |
| NMF | 0.106 |
| Aggregated LDA topics (this paper) | 0.75 |

For social media, the reported mean intrinsic coherence is 0.179 for NMF and 0.2 for the aggregate. The corresponding external scores are 0.019 and 0.1. The paper explains that table entries printed as zero represent extremely small decimal values. The two sets are closer on the intrinsic measure, while the external score again favors the aggregate. The 0.1 value comes from this NMF comparison table. The paired LDA analysis reports the aggregate mean of 0.177 in its own results, and the paper leaves the relation between those values unspecified.

Aggregated LDA and NMF on presidential debate tweets, mean external coherence Aggregation retains an external coherence advantage on the event-specific social media collection.

**The numbers**

| System or setting | Mean extrinsic PMI |
| --- | --- |
| NMF | 0.019 |
| Aggregated LDA topics (this paper) | 0.1 |

The paper's abstract and contribution statement describe an advantage over standard alternatives at a statistically significant level. The numerical tests in the results section establish the reported paired comparisons between the chosen starting LDA topics and their aggregates. The NMF comparison is presented through descriptive means and per-topic scores. Its reported evidence establishes which output scored higher under the metrics used in the tables.

### What the ablations show

The paper varies the inputs to aggregation, the matching rule and the coherence window, and pairs these comparisons with examples of changed word rankings. It gives a closer account of which settings were useful than of how much each design choice independently contributed. Several comparisons are informative precisely because they expose different parts of the procedure.

#### Candidate diversity matters in more than one way

The count-varying news experiment shows that topics from fine-grained fits can enrich a compact output. The visible edits in military, medical and financial vocabulary fit this account. The starting run supplies a fixed number of places in the output, while candidates provide additional terms that can make those places more informative. This establishes feasibility under the count-dependent setup, where the topic count and α vary together.

The fixed-count news experiment supplies a separate control on the interpretation. Topic counts are held constant while α changes, and the resulting aggregation still improves the reported mean coherence. A pool with several levels of granularity is therefore one way to obtain useful candidates. Changing how freely topics mix within a document also produces variation that the averaging procedure can use. Because the first experiment changes count and prior jointly, the paper does not provide an independent estimate of how much of that experiment's improvement is due to topic count alone.

The authors interpret the fixed-count result partly in terms of generalization. The finance example gives some support to that reading because industry and company can provide a common frame for the original words. The East Germany example has a different effect. It places an existing political topic in a more recognizable historical setting. The observations support the idea that a small set of changes can improve measured coherence in several ways. The experiments evaluate the resulting associations and leave the relative contribution of broadening and sharpening open.

#### The useful threshold depends on the candidate pool

The threshold sweeps show that acceptable matching is specific to the setting. On Associated Press news, the preferred Jensen–Shannon threshold is \< 0.5 when topic count varies and \< 0.1 when only α is varied with the count fixed. The debate study chooses a threshold of at most 0.7. These comparisons show why the authors tune the cutoff. A requirement that works well for a collection of same-sized news fits can admit too little overlap in a more varied pool, while a permissive cutoff can admit candidates that add unrelated words.

The paper reports that Jensen–Shannon divergence generally does better than cosine in the experiments where both are tuned. In the count-varying study it interprets the better result as a consequence of admitting a wider set of useful matches. This explanation is plausible for the tested outputs. The two measures operate on different scales, so their numerical cutoffs are not directly comparable as degrees of strictness. The evidence comes from the topic matches and coherence obtained under the rules. The Twitter study carries the earlier preference for Jensen–Shannon divergence into the new domain without running a parallel cosine comparison there.

The comparison window changes the opportunities available to a topic's leading words. In the news evaluation, full-document windows give the best reported average coherence, followed by windows of 100 words. The authors note the external mean article length of 133.07 words when discussing why a full document is a reasonable observation unit. The debate experiment instead selects 20 words. The tuning exercises show that the apparent quality of a topic list depends partly on the context span used by the scorer. Since that span is chosen jointly with the matching threshold, a winning grid cell reflects their combined effect.

#### What changed at the level of individual topics

The paper plots the paired topic scores in the news studies and reports Pearson correlations of 0.73 for the varying-count comparison and 0.911 for the varying-prior comparison. These values indicate that topics scoring relatively well before aggregation tend to score relatively well afterwards. The second comparison shows especially close correspondence in that respect. A correlation between the score lists describes how they move together. It does not on its own establish that each topic gained by a similar amount. That would require looking at the differences within pairs.

The printed word lists show details that an overall mean and a correlation cannot recover. In the Associated Press health example, several related terms become prominent together. That is a stronger indication of a changed theme description than the promotion of an isolated word whose connection is unclear. Other topics retain much of their vocabulary. The social media lists even show a topic whose leading terms appear unchanged. As the authors point out, a stable display can coexist with shifts in probabilities throughout the distribution.

The debate example involving an alphanumeric string provides evidence that averaging can suppress a distracting top term. The paper's proposed explanation is that a term peculiar to one run gets less support in the average than vocabulary shared by its matched topics. This mechanism also helps interpret the NMF comparison, where the authors observe that some high-weight terms seem dominated by noise. The study gives observed examples and an explanation consistent with the averaging rule. It offers no measurement that labels all noisy terms or quantifies their removal across the collection.

The intrinsic results help put those examples in perspective. On news, the aggregate is reported as the best-performing setting under both sources of co-occurrence evidence. On social media, one contributing run nearly matches its intrinsic score. The two metrics thus agree on the reported direction of change, while differing in how far apart they place the systems. That pattern is consistent with a method that can improve the general recognizability of the leading words even when their correspondence to the source corpus changes only slightly.

### Limitations

#### Limits identified by the authors

The authors explicitly leave human evaluation for future work. They propose showing people the starting and aggregated topics and asking them to rank the results. Their experiments instead use automatic measures whose motivation comes from earlier research on human judgments. Intrinsic coherence can establish that terms group together in the collection. It cannot establish that a reader will infer a sensible theme from them. External PMI broadens the basis for judgment, while still measuring a property of word occurrences in a reference corpus.

The authors also acknowledge a domain mismatch in the social media study. A set of words can make sense to someone following the debate and have weak associations in English Wikipedia. The broader corpus is useful for exposing terms that rarely attach to a coherent topic in ordinary usage. At the same time, its scores can understate the usefulness of a vocabulary tied to a particular event. The paper's earlier-work discussion mentions a large external tweet collection as another basis for evaluating tweets. Its own external comparisons use Wikipedia.

The paper treats aggregation across different kinds of topic output and training on subsets of the corpus as future directions. Splitting or resampling a corpus could supply different kinds of candidate topics from those produced by changing settings on the same text. The reported experiments establish performance for the chosen LDA candidate pools. The authors also explain that applying the same averaging rule to the reported NMF output presents a representation problem. Factors obtained with the Frobenius-norm objective supply weights without the direct probability interpretation used by the aggregation method.

#### Limits of the evidence and the reporting

The news and debate experiments have a focused scope. The Associated Press tests reuse one news dataset, while the social media evaluation comes from one event and a collection defined by candidate-related keywords and hashtags. This provides a real example of short, noisy text. It leaves open how the method performs with a different collection strategy, on conversations distributed over a longer period or in a corpus organized around different subjects. The selected threshold and evaluation window are properties of the tested configurations.

The design also leaves some important comparisons unmeasured. A starting run is chosen for each aggregation, and its topic count fixes the size of the result. The comparisons do not systematically change the anchor run or test whether the aggregate is robust across repeated independent fits. Choosing which topics provide the anchors can affect which groups of distributions are averaged, even when the available pairwise similarities come from the same candidate pool. The paper shows that a chosen compact starting point can be improved on these measures. It does not determine the best way to select that starting point for a new collection.

Coherence is used in selecting the operating setting as well as in evaluating the result. The authors describe tuning on a subset amounting to 10% of the data and using the chosen settings for the full experiment. The evaluation is therefore evidence about that tuning-and-aggregation procedure. It does not establish how well the same settings would transfer to a wholly independent collection. Nor does comparison with a single NMF fit isolate the effect of averaging from differences between the underlying approaches. The fixed-size comparison is informative for a reader choosing between those particular outputs.

The paired tests use topic pairs within the reported comparisons. Topics learned from common documents and candidate runs can share terms and statistical dependencies. The tests quantify the observed differences under their stated design. The paper gives no replication across independently collected corpora from which to infer how reliably those probability values would recur. It also does not report a paired significance test for the NMF tables. The NMF result is an advantage in the reported mean scores.

Two reporting details call for particular care. The text gives different aggregate coherence means in some figure discussions, paired tests and NMF tables without fully describing the relationship between them. It also describes the paired improvements as statistically significant in the results, then makes a conflicting statement in the conclusion directly after discussing social media. For the debate specifically, the stated threshold is 0.05 and the reported paired result is P = 0.0014. The test section classifies that comparison as significant. Reporting it under those stated conditions preserves the numerical evidence without extending the claim to every metric or comparison.

Finally, the aggregate is evaluated as a set of word distributions. These experiments leave the quality of document-level topic assignments open. They likewise leave open predictive fit on unseen documents, the coverage of rare subjects and the usefulness of the topics in a downstream decision. A high average score on the chosen co-occurrence measures can coexist with weak topics or with a small subject that the starting list never gave its own place. The fixed output size is convenient for comparison and review. It also sets the capacity of the description that the method can deliver.

### What came after

The study closes with several directions for follow-up, including evaluation by human readers, generating candidates from subsets of a corpus and combining topic distributions produced by different methods. Each direction would address a different part of the evidence. Human rankings would test whether the higher co-occurrence scores predict clearer topic descriptions. Subset-based fitting would change the source of diversity among the candidates. Using another topic extraction method would test whether useful word distributions can be combined across families of approaches.

There is no documented later study here to establish which of those directions was pursued or whether the reported gains were reproduced. The contribution established by the paper is the comparison itself. Under the tested settings, matching and averaging separately fitted word distributions improved automatic coherence, with the clearest gains in Associated Press news and smaller gains in the single debate collection.

## Cite

Cite as Stuart J. Blair, Yaxin Bi and Maurice D. Mulvenna. 2019. Aggregated topic models for increasing social media topic coherence. Applied Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1007/s10489-019-01438-z](https://doi.org/10.1007/s10489-019-01438-z)

```bibtex
@inproceedings{blair2019aggregated,
  title = {{Aggregated topic models for increasing social media topic coherence}},
  author = {Stuart J. Blair, Yaxin Bi and Maurice D. Mulvenna},
  booktitle = {Applied Intelligence},
  year = {2019},
  doi = {10.1007/s10489-019-01438-z},
  url = {https://doi.org/10.1007/s10489-019-01438-z}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
