AI Wiki中文/EN

Latent Dirichlet allocation: put a prior on document mixtures

潜在狄利克雷分配

Derive collapsed Gibbs updates, verify exact small-state predictions and handle topic label switching.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

The mixture itself is uncertain

An invented notebook contains fruit notes, space notes and a note mixing both. A topic model can assign each document different weights over shared word distributions. But a two-word note gives little evidence about those weights. Should one occurrence of apple make a document entirely about fruit?

Latent Dirichlet allocation, or LDA, places a Dirichlet prior on the document’s topic mixture. The prior describes possible mixtures before its words are observed; the posterior combines that prior with the words. This is the topic model, not linear discriminant analysis, which shares the same abbreviation. The Beta and Dirichlet article explains the underlying distribution.

Blei, Ng and Jordan’s construction represents documents as random mixtures and initially treats the topic-word matrix as a fixed parameter to estimate. It conditions subsequent development on document length. The complete Bayesian version used below also gives each topic-word distribution a Dirichlet prior, following the model used by Griffiths and Steyvers. The two uses of the symbol beta in these sources are different: a word-probability matrix in the initial 2003 formulation and a prior concentration in the 2004 sampler. We use phi for word probabilities and eta for their prior. Original construction, §3 Bayesian model and sampler, printed5229

LDA sampling must exclude the current token. The figure compares exact and sampled next-word probabilities, exposes incorrect parameter averaging and retains the chain’s non-monotone joint trace.
LDA sampling must exclude the current token. The figure compares exact and sampled next-word probabilities, exposes incorrect parameter averaging and retains the chain’s non-monotone joint trace.

Integrate the distributions, sample the assignments

Fix K topics, V vocabulary items and the observed lengths of D documents. The vectors alpha and eta have positive entries, with sums A and B respectively. For the version implemented here:

θd∼Dir⁡(α),ϕk∼Dir⁡(η),zdi∼Cat⁡(θd),wdi∼Cat⁡(ϕzdi).\theta_d\sim\operatorname{Dir}(\alpha),\qquad \phi_k\sim\operatorname{Dir}(\eta),\qquad z_{di}\sim\operatorname{Cat}(\theta_d),\qquad w_{di}\sim\operatorname{Cat}(\phi_{z_{di}}).

Theta_d is a K-entry probability vector for document d; phi_k is a V-entry probability vector for topic k. Each word occurrence chooses a topic z_di and then a vocabulary item w_di. Words are conditionally independent given the mixture and word distributions, but integrating shared latent variables can make them dependent. Ignoring word order therefore does not mean that the marginal model treats every word as independent of every other word. Neither topic indices nor names are supplied as labels.

Multiplying priors and categorical probabilities gives the complete joint distribution:

p(w,z,θ,ϕ∣α,η)=[∏dp(θd∣α)][∏kp(ϕk∣η)]∏d,iθd,zdiϕzdi,wdi.p(w,z,\theta,\phi\mid\alpha,\eta) =\left[\prod_d p(\theta_d\mid\alpha)\right] \left[\prod_k p(\phi_k\mid\eta)\right] \prod_{d,i}\theta_{d,z_{di}}\phi_{z_{di},w_{di}}.

Let n_dk count topic-k assignments in document d, n_kv count occurrences of word v assigned to topic k, and n_k be the total tokens in topic k. Since a Dirichlet is conjugate to categorical counts, theta and phi can be integrated out. The resulting log joint is:

log⁡p(w,z∣α,η)=∑d[log⁡Γ(A)−log⁡Γ(Nd+A)+∑k(log⁡Γ(ndk+αk)−log⁡Γ(αk))]+∑k[log⁡Γ(B)−log⁡Γ(nk+B)+∑v(log⁡Γ(nkv+ηv)−log⁡Γ(ηv))].\log p(w,z\mid\alpha,\eta) =\sum_d\left[\log\Gamma(A)-\log\Gamma(N_d+A) +\sum_k\bigl(\log\Gamma(n_{dk}+\alpha_k)-\log\Gamma(\alpha_k)\bigr)\right] +\sum_k\left[\log\Gamma(B)-\log\Gamma(n_k+B) +\sum_v\bigl(\log\Gamma(n_{kv}+\eta_v)-\log\Gamma(\eta_v)\bigr)\right].

For example, integrating one document row multiplies its Dirichlet density by a product of theta powers, changing the exponent for topic k by n_dk. The ratio of the new and old Dirichlet normalizers gives that document’s gamma terms. The topic-word rows work the same way. This is a probability for the observed indexed word sequence and an indexed assignment sequence; no extra multinomial count coefficient is inserted. Integrated model, Eqs2–3

One Gibbs update. Choose a token i with document d_i and observed word w_i. Remove its old topic from both count tables. For each possible new topic, compute:

p(zi=k∣z−i,w,α,η)∝(ndik−i+αk)nk,wi−i+ηwink−i+B.p(z_i=k\mid z_{-i},w,\alpha,\eta) \propto (n_{d_i k}^{-i}+\alpha_k) \frac{n_{k,w_i}^{-i}+\eta_{w_i}}{n_k^{-i}+B}.

The superscript −i means that the current token is excluded. To derive the expression, compare the collapsed joint for assignments differing only at i. Most gamma factors cancel; the identity Gamma(x+1)=x Gamma(x) leaves a document-topic count times a smoothed topic-word probability. The document denominator N_d−1+A is identical for every candidate topic and cancels when normalizing. Draw a topic from these normalized weights and add the token back. Conditional update, Eq5

Consider documents [[0,0,1],[1]], assignments [0,0,1,1], two topics, two word types and all prior entries 0.5. Resample the first token. After removal, its document has topic counts [1,1]; topic totals are [1,2]; word0 counts by topic are [1,0]. The weights are 9/8 and 1/4, giving probabilities [9/11,2/11]. Counting the current token again would give a different transition, not a harmless implementation shortcut.

From assignments to prediction. Conditional on one assignment state z, posterior mean parameters are:

θ^dk(z)=ndk+αkNd+A,ϕ^kv(z)=nkv+ηvnk+B.\widehat\theta_{dk}(z)=\frac{n_{dk}+\alpha_k}{N_d+A},\qquad \widehat\phi_{kv}(z)=\frac{n_{kv}+\eta_v}{n_k+B}.

Those are estimates conditional on that state, not a completed average over all possible assignments. For a possible new token in an existing document, use:

p(wnew=v∣w,d)=∑zp(z∣w)∑kθ^dk(z)ϕ^kv(z)≈1R∑r=1R∑kθ^dk(z(r))ϕ^kv(z(r)).p(w_{\mathrm{new}}=v\mid w,d) =\sum_z p(z\mid w)\sum_k\widehat\theta_{dk}(z)\widehat\phi_{kv}(z) \approx\frac1R\sum_{r=1}^{R}\sum_k \widehat\theta_{dk}(z^{(r)})\widehat\phi_{kv}(z^{(r)}).

Given z, the document-mixture and topic-word posterior factors separate, so their conditional means can be multiplied. The outer uncertainty over z still has to be integrated or sampled. In the code, each retained state contributes theta(z) @ phi(z); the predictions are then averaged. These predictions condition on all current observed words. They are not a held-out evaluation of the same words and are not a procedure for an unobserved new document.

On a tiny corpus, enumeration offers an independent target:

p(w)=∑zp(w,z),p(z∣w)=p(w,z)p(w).p(w)=\sum_zp(w,z),\qquad p(z\mid w)=\frac{p(w,z)}{p(w)}.

There are K raised to N assignment states for N tokens. The program enumerates at most4,096, normalizes with a log-sum-exp calculation and computes the exact posterior predictive distribution for that bounded example. This is an exponential reference calculation, not a scalable LDA implementation.

Topic labels can switch. With symmetric topic priors, simultaneously permuting theta’s topic columns and phi’s topic rows leaves predictions unchanged. Consider two deliberately constructed parameter configurations: theta [0.9,0.1] with phi rows [0.9,0.1], [0.1,0.9], and the same configuration with both topic labels swapped. Averaging predictions and multiplying averaged parameters disagree:

12(θ(1)ϕ(1)+θ(2)ϕ(2))=(0.82,0.18)≠(θ(1)+θ(2)2)(ϕ(1)+ϕ(2)2)=(0.5,0.5).\frac12(\theta^{(1)}\phi^{(1)}+\theta^{(2)}\phi^{(2)}) =(0.82,0.18) \ne \left(\frac{\theta^{(1)}+\theta^{(2)}}2\right) \left(\frac{\phi^{(1)}+\phi^{(2)}}2\right) =(0.5,0.5).

This example is constructed, not a pair of states claimed to come from the run below. To report individual topic distributions across samples, align their labels or otherwise account for the ambiguity. For the predictive quantity above, averaging each state’s complete prediction already avoids dependence on the numbering. Griffiths and Steyvers explicitly caution that topic-specific estimates cannot simply be combined across unaligned samples. With asymmetric alpha, a relabeling must also permute the associated prior entries to preserve the same model. Single-state estimates and footnote, printed5230

Check a small chain against all 256 states

Save this complete program as lda.py and run it with Python 3.12 and NumPy 1.26.4. The fixed vocabulary is apple, pear, orbit, rocket; three invented documents contain eight tokens altogether. The example uses two topics, alpha=0.5 and eta=0.25. It performs400 systematic sweeps, discards the first50, and retains every fifth later state, giving70 retained states.

"""Original bounded collapsed-Gibbs LDA with exact tiny-state verification."""
import itertools, json, math
import numpy as np


def prepare(documents,k,v,alpha=.5,eta=.5):
    if isinstance(k,bool) or not isinstance(k,(int,np.integer)) or not 1<=k<=12:raise ValueError('Use1..12 topics')
    if isinstance(v,bool) or not isinstance(v,(int,np.integer)) or not 1<=v<=128:raise ValueError('Use1..128 vocabulary items')
    if not isinstance(documents,list) or not 1<=len(documents)<=64:raise ValueError('Use1..64 documents')
    d=[];w=[]
    for i,doc in enumerate(documents):
        if not isinstance(doc,list):raise ValueError('Each document is a list of token IDs')
        for word in doc:
            if isinstance(word,bool) or not isinstance(word,(int,np.integer)) or not 0<=word<v:raise ValueError('Token outside fixed vocabulary')
            d.append(i);w.append(int(word))
    if len(w)>2000:raise ValueError('At most2000 tokens in the teaching corpus')
    def prior(value,n):
        a=np.asarray(value,dtype=float)
        if a.ndim==0:a=np.full(n,float(a))
        if a.shape!=(n,) or not np.isfinite(a).all() or (a<1e-6).any() or (a>1e6).any():raise ValueError('Prior entries must lie in[1e-6,1e6]')
        return a
    return np.asarray(d,dtype=int),np.asarray(w,dtype=int),prior(alpha,k),prior(eta,v)


def assignment(value,n,k):
    raw=np.asarray(value)
    if raw.shape!=(n,) or (n and raw.dtype.kind not in 'iu') or (raw<0).any() or (raw>=k).any():raise ValueError('One integer topic ID per token is required')
    return raw.astype(int,copy=True)


def tables(d,w,z,documents,k,v):
    nd=np.zeros((documents,k),dtype=int);nw=np.zeros((k,v),dtype=int)
    np.add.at(nd,(d,z),1);np.add.at(nw,(z,w),1)
    return nd,nw


def local(nd,nw,d,w,a,b,topic_totals=None,prior_total=None):
    totals=nw.sum(1) if topic_totals is None else topic_totals;total=b.sum() if prior_total is None else prior_total
    weights=(nd[d]+a)*(nw[:,w]+b[w])/(totals+total)
    return weights/weights.sum()


def joint_from_counts(nd,nw,a,b):
    result=0.
    for row,prior in [(row,a) for row in nd]+[(row,b) for row in nw]:
        result+=math.lgamma(float(prior.sum()))-math.lgamma(float(row.sum()+prior.sum()))
        result+=sum(math.lgamma(float(n+p))-math.lgamma(float(p)) for n,p in zip(row,prior))
    return result


def log_joint(documents,z,k,v,alpha=.5,eta=.5):
    d,w,a,b=prepare(documents,k,v,alpha,eta);z=assignment(z,len(w),k);nd,nw=tables(d,w,z,len(documents),k,v)
    return joint_from_counts(nd,nw,a,b)


def conditional(documents,z,index,k,v,alpha=.5,eta=.5):
    d,w,a,b=prepare(documents,k,v,alpha,eta);z=assignment(z,len(w),k)
    if isinstance(index,bool) or not isinstance(index,(int,np.integer)) or not 0<=index<len(w):raise ValueError('Invalid token index')
    nd,nw=tables(d,w,z,len(documents),k,v);nd[d[index],z[index]]-=1;nw[z[index],w[index]]-=1
    return local(nd,nw,d[index],w[index],a,b)


def estimates(nd,nw,a,b):
    theta=(nd+a)/(nd.sum(1,keepdims=True)+a.sum());phi=(nw+b)/(nw.sum(1,keepdims=True)+b.sum())
    return theta,phi


def exact(documents,k,v,alpha=.5,eta=.5):
    d,w,a,b=prepare(documents,k,v,alpha,eta)
    if k**len(w)>4096:raise ValueError('Exact enumeration is limited to4096 assignments')
    states=list(itertools.product(range(k),repeat=len(w)));logp=[];predictions=[]
    for z in states:
        nd,nw=tables(d,w,np.asarray(z,dtype=int),len(documents),k,v);logp.append(joint_from_counts(nd,nw,a,b));theta,phi=estimates(nd,nw,a,b);predictions.append(theta@phi)
    logp=np.asarray(logp);peak=float(logp.max());mass=np.exp(logp-peak);evidence=peak+math.log(float(mass.sum()));mass/=mass.sum()
    return {'states':states,'probabilities':mass,'log_evidence':evidence,'posterior_predictive':np.einsum('s,sdv->dv',mass,np.asarray(predictions))}


def sample(documents,k,v,alpha=.5,eta=.5,sweeps=400,burn=50,thin=5,seed=9):
    d,w,a,b=prepare(documents,k,v,alpha,eta)
    for value in (sweeps,burn,thin):
        if isinstance(value,bool) or not isinstance(value,(int,np.integer)):raise ValueError('Sweep controls must be integers')
    if not 1<=sweeps<=2000 or not 0<=burn<sweeps or not 1<=thin<=sweeps-burn or (sweeps-burn)//thin>256 or len(w)*sweeps>5000000:raise ValueError('Invalid or excessive sweep schedule')
    rng=np.random.default_rng(seed);z=rng.integers(k,size=len(w));nd,nw=tables(d,w,z,len(documents),k,v);trace=[joint_from_counts(nd,nw,a,b)];retained=[];prediction=np.zeros((len(documents),v));nk=nw.sum(1);B=b.sum()
    for sweep in range(1,sweeps+1):
        for i in range(len(w)):
            old=z[i];nd[d[i],old]-=1;nw[old,w[i]]-=1;nk[old]-=1
            z[i]=rng.choice(k,p=local(nd,nw,d[i],w[i],a,b,nk,B));nd[d[i],z[i]]+=1;nw[z[i],w[i]]+=1;nk[z[i]]+=1
        trace.append(joint_from_counts(nd,nw,a,b))
        if sweep>burn and (sweep-burn)%thin==0:
            retained.append(z.copy());theta,phi=estimates(nd,nw,a,b);prediction+=theta@phi
    theta,phi=estimates(nd,nw,a,b)
    return {'last_assignment':z,'document_counts':nd,'word_counts':nw,'theta_last':theta,'phi_last':phi,'retained':np.asarray(retained),'posterior_predictive':prediction/len(retained),'log_joint_trace':trace,'kept':len(retained)}


def clean(value):
    if isinstance(value,np.ndarray):return value.tolist()
    if isinstance(value,np.generic):return value.item()
    if isinstance(value,dict):return {key:clean(item) for key,item in value.items()}
    if isinstance(value,(tuple,list)):return [clean(item) for item in value]
    return value


def demo():
    vocabulary=['apple','pear','orbit','rocket'];documents=[[0,0,1],[2,2,3],[0,2]];fit=sample(documents,2,4,eta=.25);truth=exact(documents,2,4,eta=.25)
    theta=np.array([[.9,.1]]);phi=np.array([[.9,.1],[.1,.9]]);permuted_theta=theta[:,::-1];permuted_phi=phi[::-1]
    return clean({'vocabulary':vocabulary,'documents':documents,'sample':fit,'exact':{'states':len(truth['states']),'log_evidence':truth['log_evidence'],'posterior_predictive':truth['posterior_predictive']},'max_predictive_error':float(np.max(np.abs(fit['posterior_predictive']-truth['posterior_predictive']))),'hand_conditional':conditional([[0,0,1],[1]],[0,0,1,1],0,2,2),'label_switching':{'mean_of_predictions':(theta@phi+permuted_theta@permuted_phi)/2,'product_of_mean_parameters':((theta+permuted_theta)/2)@((phi+permuted_phi)/2)},'scope':'Invented fixed-vocabulary corpus and bounded symmetric-prior collapsed Gibbs. Exact enumeration verifies this tiny example only; a fixed run, training trace or thinning interval does not certify mixing or real topic semantics.'})
if __name__=='__main__':print(json.dumps(demo(),ensure_ascii=False,indent=2,allow_nan=False))

For this exact seed, the largest absolute difference between sampled and enumerated next-token probabilities is0.014450. The reference sums all256 assignments, with log evidence−12.485709. The first document’s exact next-token distribution is approximately [0.485291,0.201651,0.204976,0.108082]. These values compare two inference calculations on this tiny invented corpus; they do not measure real-topic discovery or real-text prediction quality.

The last theta and phi are shown separately from the averaged predictive distribution. Their topic numbers should not be interpreted as permanent semantic identities. The program also emits the retained assignments and count tables, allowing the reported prediction to be reconstructed from the actual saved states.

The sampler caches topic totals, so its inner token update costs O(K), rather than summing the whole topic-word table repeatedly. With S sweeps and R retained states, the implementation costs O(SNK + S(DK+KV) + RDKV): the second term records collapsed log joints and the third forms predictions. Storage is O(N+DK+KV+RN+S+DV). The exact reference costs O(K^N(N+DKV)) time and O(K^N(N+DV)) storage. Its assignment cap is checked before enumeration.

Other bounds are K≤12, V≤128, D≤64, N≤2,000, S≤2,000 and at most256 retained states. Prior entries are restricted to the finite numerical interval[10⁻⁶,10⁶], although the mathematical model permits any positive entries. Empty documents are allowed. An entirely empty corpus produces only prior predictions; running a sampler on it does not discover topics. Tokens must already be valid integer IDs in the fixed vocabulary; preprocessing and a policy for new vocabulary items are outside this program.

A chain is not an optimizer or an interpretation test

A Gibbs sweep can move to a lower log-joint state. Sampling is intended to represent a distribution, including less probable states, rather than monotonically climb its maximum. A downward point in the trace is therefore not itself a bug. Conversely, a smooth or stable-looking trace does not establish that the chain has explored competing modes. Burn-in and thinning are choices to examine, not certificates of convergence or independent samples.

For this implementation, independent tests compare the gamma joint with sequential Dirichlet–categorical draws, every local conditional with joint-probability ratios, and a tiny transition matrix with its stationary distribution. A second sampler that recomputes counts also checks the cached update. These finite tests can detect incorrect transitions; they cannot prove mixing for a large corpus or every hyperparameter setting.

K is fixed; it is not the model’s estimate of the true number of subjects. Smaller prior entries can favor concentrated simplex draws, but changing a prior does not guarantee that the posterior will produce concise, useful or stable named topics. Word order and sentence relations are absent. Boilerplate, preprocessing, document boundaries and vocabulary choices can dominate the structure. Evaluate semantic usefulness with an appropriate human or downstream task, rather than treating probability fit as its definition.

The original LDA paper discusses variational inference and parameter estimation; the sampler here follows the later integrated Bayesian model. It does not implement those variational updates, learn alpha or eta, infer a topic count, align topic labels, or reproduce a research-corpus benchmark. Those are extensions with their own objectives and checks, not interchangeable names for the same calculation. Original inference setting Gibbs approach

Remove a token, move a label, change a question

  1. Recompute the hand conditional. What probabilities result if the current token is mistakenly left in the counts?

Answer: Correct removal gives weights (1+0.5)(1+0.5)/(1+1)=9/8 and (1+0.5)(0+0.5)/(2+1)=1/4; normalize to9/11 and2/11. Without removal, the first weight becomes (2+0.5)(2+0.5)/(2+1)=25/12, while the second remains1/4. The wrong result is25/28 and3/28, reinforcing the existing assignment.

  1. In the constructed label-switching example, why does averaging theta and phi separately yield [0.5,0.5] rather than [0.82,0.18]?

Answer: The topic rows refer to opposite labels in the two configurations. Separate averages mix incompatible rows and lose their correspondence. Each complete theta @ phi is unchanged by the paired permutation and equals [0.82,0.18]; averaging those complete predictions retains the correct quantity. Aligning labels is necessary if the desired output is the topic-specific parameter itself.

  1. Suppose the whole corpus is one empty document, with two topics and eta [0.2,0.8]. What is the next-word prediction? Did the sampler learn that preference from text?

Answer: It is [0.2,0.8], the normalized vocabulary prior. No words were observed. Each topic has the same prior mean word distribution, so mixing them preserves it regardless of the document-topic prior. The answer is a prior prediction, not evidence of a discovered theme.

  1. You see decreases in the log-joint trace and a small exact-reference error for one seed. Which conclusions are justified, and what should the next experiment check?

Answer: Neither downward trace segments nor one small error establishes failure or convergence. The transition should preserve the intended posterior; this is checkable by enumeration on tiny states. For a larger run, compare multiple seeds, retained predictive estimates and relevant topic-specific summaries after handling label correspondence. Increasing sweeps may help but does not guarantee a smaller error in every finite random run. A semantic evaluation requires separate evidence.

Keep the model, inference and evaluation distinct

Read the original LDA construction for the random document mixtures and its initially fixed topic-word matrix. Then read Griffiths and Steyvers’s integrated joint and Gibbs conditional, including the footnote on sample label correspondence. The exact reference here is a small way to verify those calculations before scaling them. The topic-model overview places LDA beside ordinary pLSA and interpretation tests; MCMC develops broader questions about sampling and diagnostics.

Make a prediction, then check

When resampling a token topic in collapsed Gibbs LDA, what must happen first?

Choose one answer

Learning objectives

  • Explain the document-mixture prior and the distinction between fixed and Bayesian word distributions.
  • Derive collapsed assignments and the remove-then-resample conditional.
  • Verify tiny-state inference against enumeration and predictive probability ratios.
  • Handle label switching and separate sampling diagnostics from semantic evaluation.

Prerequisites & connections

Explore related knowledge →

References

  1. Latent Dirichlet Allocation
    David M. Blei, Andrew Y. Ng, Michael I. Jordan · 2003
  2. Finding scientific topics
    Thomas L. Griffiths, Mark Steyvers · 2004

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-12 · Single AI author checked eight paired equations and four explained exercises against scoped Blei2003 construction and visually inspected Griffiths/Steyvers integrated Gibbs/label-switching footnote. Distinguishes fixed word matrix from Bayesian word prior. Independent Polya urn and all tiny assignment ratios check collapsed joint; single-site detailed balance and sweep stationarity verified. Cached sampler matches recomputed counts. Remove-token9/11 vs incorrect25/28,256-state exact prediction,70 retained states and label-swap .82 vs .5 checked. Joint trace need not increase; finite error .014450 does not establish general mixing, topic semantics or a corpus benchmark.

  • Single AI author checked eight paired equations and four explained exercises against scoped Blei2003 construction and visually inspected Griffiths/Steyvers integrated Gibbs/label-switching footnote. Distinguishes fixed word matrix from Bayesian word prior. Independent Polya urn and all tiny assignment ratios check collapsed joint; single-site detailed balance and sweep stationarity verified. Cached sampler matches recomputed counts. Remove-token9/11 vs incorrect25/28,256-state exact prediction,70 retained states and label-swap .82 vs .5 checked. Joint trace need not increase; finite error .014450 does not establish general mixing, topic semantics or a corpus benchmark.
  • Four computed SVGs bind exact bilingual MDX. Eight numeric/encoding checks and12 isolated language/width cases with four fallback fonts passed; four actual screenshots inspected by the AI author. Literal-prose AST checked before freezing. Full article browser acceptance is separate; no human peer review.

Source locations checked:

  • Latent Dirichlet Allocation · Scoped introduction and section3, local layout164–247: exchangeability, document topic mixtures, initially fixed topic-word matrix, length conditioning and joint/marginal model. Full variational updates and experiments not reproduced.
  • Finding scientific topics · Original PNAS paper mirrored by a university course; printed5229–5230 visually inspected, layout151–229 and194–217: integrated joint, leave-one-token-out Gibbs conditional, smoothed single-state estimates and label-switching footnote. Real PNAS corpus experiments not reproduced.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.