Interpreting a Topic Requires More Than Naming It
A learned topic is a statistical pattern in gene counts, not automatically a cell type, a causal mechanism, or a validated biological program. Its interpretation depends on several features considered together: which genes receive high weight, whether that weight is concentrated in a few genes, how broadly the topic is represented across cells, and whether the fitted model can reproduce relevant features of the observed data.
This tutorial uses the standard topic-model notation in which \(X_{ig}\) is the observed count for gene \(g\) in cell \(i\), \(\theta_{ik}\) is the proportion of cell \(i\)'s topic mixture assigned to topic \(k\), and \(\beta_{kg}\) is the weight of gene \(g\) in topic \(k\). The weights for a topic sum to one across the modeled genes, as do the topic proportions for a cell. In a count-based mixture, the expected count for gene \(g\) in cell \(i\), conditional on the cell's total \(N_i\), is \(N_i\sum_k\theta_{ik}\beta_{kg}\). The topic weights describe gene composition; the cell proportions describe where and how strongly the topic is used.
Interpretation assumes that the count matrix, selected genes, and cell inclusion criteria are appropriate for the question; that the fitted model is a reasonable representation of those counts; and that the topic parameters have been estimated well enough to inspect. Topic labels are arbitrary: exchanging topic indices leaves the model unchanged. Therefore, compare topics by their gene and cell patterns, not by index. Stability across initializations is useful context, but even a stable topic may capture a technical pattern rather than biology.
Top Genes and Gene-Weight Concentration
A ranked gene list is a useful starting point because the largest \(\beta_{kg}\) values identify what most contributes to the topic's gene distribution. Consider several top genes together. Do they form a recognizable, plausibly related set? Do they include genes associated with a technical process, such as mitochondrial or ribosomal content, hemoglobin contamination, stress, or dissociation response? A coherent-looking list supports an interpretation, but it does not establish one: several unrelated genes can have high weights, and familiar marker genes can appear because of ambient RNA or other artifacts.
One simple concentration summary is the Herfindahl concentration \(C_k=\sum_g\beta_{kg}^2\). It is small when weight is spread across many genes and larger when a few genes dominate. Its reciprocal, \(G_{\mathrm{eff},k}=1/C_k\), is an effective number of equally weighted genes: if a topic has equal weight on exactly \(m\) genes and zero elsewhere, then \(C_k=1/m\) and \(G_{\mathrm{eff},k}=m\). This is a compact summary, not a measure of biological quality. A broad coherent program can have a large effective number, while a topic dominated by a single technical gene can have a small one.
The reciprocal interpretation follows directly: for \(m\) equally weighted genes, each weight is \(1/m\), so \(C_k=m(1/m)^2=1/m\), and \(1/C_k=m\). With unequal weights, \(G_{\mathrm{eff},k}\) gives the number of equal-weight genes that would have the same concentration. Always examine the ranked list as well; the summary alone hides which genes dominate.
Worked Example: A Concentrated but Coherent-Looking Topic
Suppose a fitted topic has six nonzero gene weights: 0.30, 0.25, 0.20, 0.15, 0.05, and 0.05. They sum to 1.00. Suppose the first four genes are related to the same hypothetical cellular process, while the last two have less specific annotations.
The four largest genes contain \(0.30+0.25+0.20+0.15=0.90\), or 90% of the topic's total weight. The concentration is \(C_k=0.30^2+0.25^2+0.20^2+0.15^2+0.05^2+0.05^2=0.09+0.0625+0.04+0.0225+0.0025+0.0025=0.22\). Thus \(G_{\mathrm{eff},k}=1/0.22=4.545\), approximately 4.55 effective equally weighted genes.
The high weight on four related genes makes the process a plausible interpretation to investigate. It does not show that the topic is a distinct biological program: the concentration is high, and the pattern could be sensitive to a few genes or reflect a technical signal. Check the cell distribution and predictive behavior before assigning a substantive label.
Cell Prevalence Is a Thresholded Description
A topic can have a recognizable gene distribution but appear in few cells, or be distributed broadly with small proportions in many cells. To summarize prevalence, choose a threshold \(\tau\) and calculate the fraction of cells with \(\theta_{ik}>\tau\). State the threshold and the population of cells used in the denominator. There is no universal threshold: because topic proportions are continuous mixture weights, a cell is not intrinsically “in” or “out” of a topic.
Here \(I(\cdot)\) equals 1 when the condition is true and 0 otherwise. Prevalence changes with \(\tau\), with the set of analyzed cells, and with estimation uncertainty in \(\theta_{ik}\). It is helpful to inspect the distribution of topic proportions, not only one thresholded value. If posterior draws are available, uncertainty in the proportions can also be reflected in the prevalence summary rather than treating point estimates as exact.
Worked Example: How a Prevalence Threshold Changes the Summary
For one hypothetical topic, estimated proportions in ten cells are 0.62, 0.48, 0.35, 0.28, 0.22, 0.18, 0.12, 0.08, 0.04, and 0.03. Their sum is 2.40, so the mean topic proportion across these cells is \(2.40/10=0.24\).
At threshold \(\tau=0.20\), five cells exceed the threshold: 0.62, 0.48, 0.35, 0.28, and 0.22. Therefore \(\widehat{q}_k(0.20)=5/10=0.50\), or 50%. At threshold \(\tau=0.10\), seven cells exceed it, giving \(\widehat{q}_k(0.10)=7/10=0.70\), or 70%.
Both calculations are correct, but they answer different thresholded questions. The result is not evidence that exactly half the cells biologically possess the program. Report the threshold, inspect the continuous proportions, and consider whether conclusions persist under reasonable nearby thresholds.
Posterior Predictive Behavior
A topic's gene list and cell prevalence summarize fitted parameters; neither guarantees that the model captures the observed count patterns. A posterior predictive check compares a feature calculated from observed data with the same feature calculated from replicate data generated under the fitted model. For a Bayesian model, generate a replicate using posterior draws of its parameters; in an approximate or variational fit, draws are based on that approximation. For a count model conditioned on each observed library size \(N_i\), generate replicate counts at those same library sizes. This isolates discrepancies in gene allocation from differences in total counts.
Choose a discrepancy statistic \(T(X)\) that targets a question relevant to interpretation, such as the mitochondrial count fraction in each cell, the number of cells with a high topic proportion, or the distribution of a selected gene set's counts. Compute \(T(X)\) on the observed matrix and on each replicate \(X^{\mathrm{rep}}\). If the observed value is extreme relative to the replicated values, the model does not reproduce that feature well. A posterior predictive tail fraction is a diagnostic summary, not a conventional null-hypothesis p-value: it is not the probability that the model is true or false.
Worked Example: A Mitochondrial Fraction Mismatch
Suppose a hypothetical set of 20 cells has 2,000 observed counts in total, of which 360 are mitochondrial. The observed overall mitochondrial fraction is \(360/2{,}000=0.18\), or 18%. Replicates are generated conditional on the same library sizes. Across 200 replicate data sets, the central 95% of mitochondrial fractions ranges from 0.04 to 0.11, and only 3 replicates have a fraction at least 0.18.
The posterior predictive upper-tail fraction is \(3/200=0.015\), or 1.5%. The observed 18% exceeds the replicated 95% range, so this model fit does not reproduce the mitochondrial fraction well under the stated check. If the topic's highest-weight genes are also mostly mitochondrial, that combination raises concern that the topic is strongly associated with a technical or cell-quality pattern. It does not prove that the topic is an artifact: the mismatch could also arise from model misspecification, an inappropriate feature set, or an unusual but real subset of cells. Further checks should examine cell-level fractions and relevant metadata.
Posterior predictive checks should be targeted rather than reduced to one global score. A model can reproduce total counts while failing to reproduce gene-specific structure, or reproduce an overall gene fraction while failing in a particular batch or cell subset. Conditioning choices matter: fixing library sizes checks allocation of counts given depth, while simulating library sizes as well checks the model's treatment of depth. State which version was used.
Putting the Evidence Together
A practical interpretation uses several checks jointly. First inspect the top genes and their concentration. Then examine the distribution of \(\theta_{ik}\) and a clearly defined prevalence summary. Finally, ask whether model-generated data reproduce relevant observed summaries. For example, a plausible set of related genes, moderate concentration, non-negligible prevalence, and no major mismatch on relevant predictive checks provide converging descriptive support for a coherent topic. None of these findings proves a biological mechanism or a cell identity.
Record the leading genes and weights, check their joint plausibility, and note whether a few genes dominate.
Plot or summarize \(\theta_{ik}\), report prevalence only with its threshold and denominator, and check sensitivity to reasonable thresholds.
Compare observed and posterior predictive summaries, including checks for technical patterns and, where relevant, differences across batches or cell subsets.
Describe what the topic is associated with, state uncertainty and possible artifacts, and avoid treating an estimated topic as a confirmed biological entity.
These views complement rather than replace other approaches. A ranked gene list is direct and interpretable but can overemphasize a small number of high-weight genes. Gene-set enrichment can summarize whether a list overlaps known annotations, but results depend on the reference sets, background genes, and selection rule; enrichment is not independent validation. Predictive fit evaluates reproduction of data features but does not guarantee interpretable or biologically meaningful topics. Stability across initializations can indicate reproducibility of a fitted pattern, yet a stable technical artifact remains an artifact. Use each approach to answer its own question.
Diagnostics have limitations. Estimated weights and proportions depend on model assumptions, gene filtering, preprocessing, the number of topics, and prior choices. A topic may combine multiple programs or split one program across topics. Sparse priors can increase concentration, and low counts can make cell-level proportions uncertain. Posterior predictive agreement is only agreement on the selected statistics; it cannot establish that all important structure is captured. If an interpretation is important, seek converging evidence from appropriate external knowledge or independent measurements, while keeping the claim proportional to that evidence.
Common Mistakes
- Calling a topic a cell type from its top genes alone. A gene list suggests an interpretation; the cell distribution and possible technical explanations still need examination.
- Reporting prevalence without a threshold. A fraction of cells above 0.1 is not interchangeable with a fraction above 0.2. State the threshold and denominator.
- Calling concentration “quality.” A large concentration can reflect a narrow, interpretable signal or a single dominating artifact. Inspect the genes themselves.
- Treating a posterior predictive tail fraction as a null-hypothesis p-value. It is a model-checking diagnostic, conditional on the fitted model and statistic, not a probability that the model is correct.
- Assuming a stable topic must be biological. Repeated recovery shows reproducibility under the fitting procedure, not biological validation.
Check Your Understanding
Answer the questions, then compare your reasoning with the brief solutions.
- A topic has weights 0.50, 0.25, 0.15, and 0.10 across four genes. Calculate its concentration and effective number of genes. What does that number mean?
- Among 40 cells, 12 have \(\theta_{ik}>0.15\). What prevalence should be reported, and what additional information is needed to interpret it?
- An observed statistic lies outside the central 95% of posterior predictive replicates. What can you conclude, and what can you not conclude?
- A stable topic is dominated by stress-response genes and has high proportions in cells with poor quality metrics. Give a cautious interpretation.
Solutions. (1) \(C_k=0.50^2+0.25^2+0.15^2+0.10^2=0.25+0.0625+0.0225+0.01=0.345\). Thus \(G_{\mathrm{eff},k}=1/0.345=2.899\), about 2.90 equally weighted genes. It summarizes concentration, not biological quality. (2) The prevalence is \(12/40=0.30\), or 30%, above threshold 0.15. Interpretation also requires the cell inclusion criteria and ideally the distribution of proportions and sensitivity to other thresholds. (3) The fitted model fails to reproduce that chosen statistic well under the specified predictive check. This does not identify the cause or prove the model is false. (4) The topic is associated with a stress-response pattern and poor-quality metrics, so a technical or cell-stress explanation is plausible; stability alone does not validate it as a distinct biological program.