ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Global-Local Dirichlet Processes for Clustering Grouped Data in the Presence of Group-Specific Idiosyncratic Variables — Problem 4: Released ELBO adds Normal-Wishart expected log q

Original paper: Arhit Chakrabarti; Yang Ni; Debdeep Pati; Bani Mallick. Global-Local Dirichlet Processes for Clustering Grouped Data in the Presence of Group-Specific Idiosyncratic Variables. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/chakrabarti25a.html
Source version: 36-page proceedings PDF and GLocalVI cba16683740130a4457b4dbf4d7f086eebc00ed2
Source location: ELBO_functions.cpp:539-596,62-68; GLocalVI.R:204-208,262-263

Question: What does the recorded analysis establish about “Released ELBO adds Normal-Wishart expected log q”?
Bounded finding:
Release objective not stated ELBO in these contributions; no demonstrated winner change or historical score effect.

Recorded check:
The Normal–Wishart variational factors enter the released objective with the wrong entropy sign.
The ELBO is \(\mathbb E_q\log p-\mathbb E_q\log q\). The function `elbo_q_Phi_k` in `ELBO_functions.cpp`, lines 539–561, returns, summed over components, \[
 \frac12\mathbb E\log|\Lambda|+
 \frac p2\{\log(\lambda/(2\pi))-1\}-H(q_\Lambda).\] This is \(\mathbb E\log q(\mu,\Lambda)\), because its first two terms are the conditional Gaussian expected log density. The Wishart helper, lines 62–68, returns the entropy \(H(q_\Lambda)\). The local-atom function at lines 565–596 returns the same expression for each local factor. The R loop assigns these to `elbo7` and `elbo8`, then adds both at lines 262–263, alongside the prior and likelihood terms. There is no subsequent negation.
For an explicit proper factor, let \(p=1\), \(\Lambda\sim\operatorname{Wishart}(2,1/2)=\operatorname{Gamma}(1,1)\), and \(\mu\mid\Lambda\sim N(0,(\lambda\Lambda)^{-1})\). Then \(H(q_\Lambda)=1\) and \(\mathbb E\log\Lambda=-\gamma_E\). Expression [eqlogq] (#eqlogq) is \(-2.707546\ldots\) at \(\lambda=1\) and \(-1.707546\ldots\) at \(\lambda=e^{2}\). The released contribution increases by one, whereas the required entropy contribution decreases by one. Thus the error is parameter-dependent and cannot be dismissed as a dropped constant. Beta normalizer helpers were also checked: they return \(-\log B(a,b)\), so no additional Beta-normalization sign defect is alleged.
The release uses the objective for stopping and chooses the largest final value across restarts (`VI_GLocal_MultiRunParallel.R`, lines 18–25; the real-data script, lines 290–298). These code paths establish relevance, not an observed change in a winning run or a paper result. The assessment is Minor, release-specific. Negating the two expected-log-\(q\) terms repairs these contributions only; this review does not certify the entire ELBO implementation, numerical convergence, or published experiments.

Case-wide limitations:
- P1 — Finite-mixture proof asserts exact DP law at finite T — Counterevidence: Extra factor tends to one as T grows
- P1 — Finite-mixture proof asserts exact DP law at finite T — Counterevidence: No counterexample to limit itself
- P1 — Finite-mixture proof asserts exact DP law at finite T — Counterevidence: Separate infinite stick representation survives
- P1 — Finite-mixture proof asserts exact DP law at finite T — Counterevidence: An omitted indicator alone cannot repair false finite DP distribution
- P2 — Truncation proof factorizes dependent shared labels — Counterevidence: Printed final bound is conservative and survives
- P2 — Truncation proof factorizes dependent shared labels — Counterevidence: Conditional count of distinct tables M<=N gives S^M>=S^N
- P2 — Truncation proof factorizes dependent shared labels — Counterevidence: Shared global stick handled by single E[S^N]
- P3 — Released local stick update omits expected concentration — Counterevidence: Printed algorithm includes concentration correctly
- P3 — Released local stick update omits expected concentration — Counterevidence: Final-stick convention not relevant to first stick
- P3 — Released local stick update omits expected concentration — Counterevidence: Historical experimental commit unknown
- P4 — Released ELBO adds Normal-Wishart expected log q — Counterevidence: No later negation in caller
- P4 — Released ELBO adds Normal-Wishart expected log q — Counterevidence: Parameter-dependent change excludes additive-constant explanation
- P4 — Released ELBO adds Normal-Wishart expected log q — Counterevidence: Beta normalization helpers use correct -logB; rejected separate suspicion
- P4 — Released ELBO adds Normal-Wishart expected log q — Counterevidence: No known historical output linkage
- Limitations: No author code executed
- Limitations: No dataset or historical experimental reproduction
- Limitations: No full replacement joint finite-limit proof certified
- Limitations: Only selected MCMC C++ and real-data branches covered; HDP baseline not fully audited
- Limitations: Later errata/adoption unknown
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p4
Source report index: 4

Original source excerpts (verbatim):
We characterize the GLocal Dirichlet process using the stick-breaking representation and the representation as a limit of a finite mixture model.
Source: 36-page proceedings PDF and GLocalVI cba16683740130a4457b4dbf4d7f086eebc00ed2
Locator: PDF p. 1, Abstract
Source PDF SHA-256: 626525254edf9dc29ddf3e8cec9e7f580fa55b7c971d171691cef952a6acc630

Review status: Independent review pending
Case: icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th.html#problem-4
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th/records/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th.r1.json
Canonical record SHA-256: 401d162bdc12e4a876f0d24e2638632f83e085e6c3ea5fde45340364cf38677d
The page follows the latest revision; the versioned record identifies this snapshot.

Analysis citation:
Minhao Liu. ELVIA analysis of: Global-Local Dirichlet Processes for Clustering Grouped Data in the Presence of Group-Specific Idiosyncratic Variables — Problem 4: Released ELBO adds Normal-Wishart expected log q. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th.html#problem-4
Case icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th/records/icml2025-0342-global-local-dirichlet-processes-for-clustering-grouped-data-in-th.r1.json

Inspection subject recorded in the report:
Helper is Elogq, added rather than subtracted. Elogq changes -2.707546 to -1.707546: released contribution delta+1 versus entropy delta-1.
Proper normal-Wishart \(p=1\),df2,scale.5. \(\lambda=1\) or \(e^{2}\), positive precision.

Full finding analysis:
The Normal–Wishart variational factors enter the released objective with the wrong entropy sign.
The ELBO is \(\mathbb E_q\log p-\mathbb E_q\log q\). The function `elbo_q_Phi_k` in `ELBO_functions.cpp`, lines 539–561, returns, summed over components, \[
 \frac12\mathbb E\log|\Lambda|+
 \frac p2\{\log(\lambda/(2\pi))-1\}-H(q_\Lambda).\] This is \(\mathbb E\log q(\mu,\Lambda)\), because its first two terms are the conditional Gaussian expected log density. The Wishart helper, lines 62–68, returns the entropy \(H(q_\Lambda)\). The local-atom function at lines 565–596 returns the same expression for each local factor. The R loop assigns these to `elbo7` and `elbo8`, then adds both at lines 262–263, alongside the prior and likelihood terms. There is no subsequent negation.
For an explicit proper factor, let \(p=1\), \(\Lambda\sim\operatorname{Wishart}(2,1/2)=\operatorname{Gamma}(1,1)\), and \(\mu\mid\Lambda\sim N(0,(\lambda\Lambda)^{-1})\). Then \(H(q_\Lambda)=1\) and \(\mathbb E\log\Lambda=-\gamma_E\). Expression [eqlogq] (#eqlogq) is \(-2.707546\ldots\) at \(\lambda=1\) and \(-1.707546\ldots\) at \(\lambda=e^{2}\). The released contribution increases by one, whereas the required entropy contribution decreases by one. Thus the error is parameter-dependent and cannot be dismissed as a dropped constant. Beta normalizer helpers were also checked: they return \(-\log B(a,b)\), so no additional Beta-normalization sign defect is alleged.
The release uses the objective for stopping and chooses the largest final value across restarts (`VI_GLocal_MultiRunParallel.R`, lines 18–25; the real-data script, lines 290–298). These code paths establish relevance, not an observed change in a winning run or a paper result. The assessment is Minor, release-specific. Negating the two expected-log-\(q\) terms repairs these contributions only; this review does not certify the entire ELBO implementation, numerical convergence, or published experiments.

Finding and scope:
Release objective not stated ELBO in these contributions; no demonstrated winner change or historical score effect.

Recorded correction and verification scope:
Negate both expected-log-\(q\) terms and audit full objective.

Displayed problem statement:
Helper is Elogq, added rather than subtracted. Elogq changes -2.707546 to -1.707546: released contribution delta+1 versus entropy delta-1.
Proper normal-Wishart \(p=1\),df2,scale.5. \(\lambda=1\) or \(e^{2}\), positive precision.

Complete retained report:

Abstract: The main paper, all appendices, and relevant released inference code were inspected. The finite-mixture limit proof contains a false finite-dimensional Dirichlet-process assertion, demonstrated by an exact variance counterexample. This is a Major defect in that central derivation, not a counterexample to the stated limiting conclusion. A separate dependence error in the truncation proof is repairable without weakening its bound. The printed Gibbs concentration update and its inspected implementation both include all Dirichlet factors; no omission is established. Two additional Minor release-specific defects affect the local variational stick update and the ELBO entropy terms. No historical experiment is shown to be affected. Scientific adjudication remains pending.
Author: AI-assisted technical review
Title: Technical Verification of the Global–Local Dirichlet Process
# Identity and scope
This review concerns Arhit Chakrabarti, Yang Ni, Debdeep Pati, and Bani K. Mallick, Global-Local Dirichlet Processes for Clustering Grouped Data in the Presence of Group-Specific Idiosyncratic Variables, ICML 2025, identifier I25-43711 (0342) [paper]. All 36 PDF pages were read, including appendices A–H and the final acronym and notation tables. Locations below use one-based PDF pages; printed pagination restarts near the end.
Static code inspection used GLocalVI commit `cba16683740130a4457b4dbf4d7f086eebc00ed2`, dated 17 December 2024 [code]. The main VI loop, its update and ELBO functions, simulation generator and restart selection, the Gibbs sampler’s inference loop, and relevant real-data preprocessing were inspected. Author code was not executed. The calculations here are independently written scalar probability calculations, not simulation replications. The original figures 1–17 were actually viewed, together with the decisive proof and algorithm pages.
# Model and distinct approximations
The model uses group-specific local variables and shared global variables. Its random measures satisfy \[V\sim\operatorname{DP}(\gamma,H),\qquad
 G_j\mid V\sim\operatorname{DP}(\alpha,U_j\otimes V).\] A local table \(t\) has a local atom \(\psi^L_{jt}\) and a global label \(k_{jt}\); all observations at that table share \(k_{jt}\). This distinction matters for the probability calculation below. The finite symmetric-Dirichlet approximation in equation (10) and appendix C uses \(\pi_j\sim\operatorname{Dir}(\alpha/T,\ldots,\alpha/T)\) and \(\beta\sim\operatorname{Dir}(\gamma/K,\ldots,\gamma/K)\), with \(T\geq K\). It is different from the lumped-tail stick-breaking truncation used in section 3 and appendix D. The following findings do not conflate them.
# Mathematical findings
Problem 1 (The finite-limit proof identifies a finite mixture with an exact DP).  Appendix C, PDF pages 14–15, equations (C.28)–(C.29), contains two false equalities that are used to conclude the finite-mixture limit.
Equation reference: falseDP. In (C.28), the second line replaces the sampled atom \(\psi^G_{jt}=\phi_{k_{jt}}\) by a sum over all \(k\), without an indicator \(\mathbf1\{k_{jt}=k\}\). On the whole parameter space the first line is \(\sum_t\pi_{jt}=1\), whereas the printed second line is \(\sum_t\sum_k\pi_{jt}=K\). Thus \(T=K=2\) already contradicts the equality for every realization. Restoring the missing indicator fixes this normalization, but does not imply (C.29), which states, at finite \(T,K\), \[
 G_j^{T,K}\sim\operatorname{DP}(\alpha,U_j\otimes V^K).\]
Here is an admissible counterexample to [falseDP] (#falseDP). Take one group, \(T=K=2\), \(\alpha=\gamma=1\), and \(U_j=H\) uniform on \([0,1]\). These are probability measures on Polish spaces. Normal observation kernels with these atoms as means and fixed unit variance provide proper likelihoods if required. Let \(B=[0,1/2]\) in the local space and let \(C\) be the whole global space. Conditional on any \(V^K\), put \(p=U_j(B)=1/2\) and \(Y_t=\mathbf1_B(\psi^L_{jt})\). The \(Y_t\) are iid Bernoulli(\(p\)), independent of the Dirichlet weights. Therefore \[\begin{aligned}
 \mathbb EG_j^{T,K}(B\times C)&=p,\\
 \operatorname{Var}\{G_j^{T,K}(B\times C)\}
 &=p(1-p)\mathbb E\sum_{t=1}^T\pi_{jt}^{\,2}
 =\frac{p(1-p)(1+\alpha/T)}{1+\alpha}.\end{aligned}\] The claimed DP instead has variance \(p(1-p)/(1+\alpha)\), by its two-set Dirichlet marginal. The two values are respectively \(3/16\) and \(1/8\). An independent direct mixture check gives second moment \(7/16\): with probability \(1/4\) both indicators are one, and with probability \(1/2\) they differ and the relevant Beta(\(1/2,1/2\)) weight has second moment \(3/8\). This checks the same variance without using the general formula.
Counterevidence and consequence. The extra factor \(1+\alpha/T\) tends to one; the counterexample does not disprove convergence as \(T,K\to\infty\). Nor does it invalidate the separate infinite stick-breaking construction. Reading (C.29) as an asymptotic rather than exact assertion would require an actual joint convergence argument and a stated topology; the displayed proof supplies neither at this step. The paper’s advertised finite-mixture connection and the theoretical justification for that approximation depend on this derivation. The assessment is Major: an invalid central proof, even though the limiting claim may be correct and a replacement proof may be available. A complete replacement convergence proof has not been certified here. There is no inference about the accuracy of the published clustering experiments.
Problem 2 (A dependence factorization in the truncation proof is not an equality).  The probability factorization leading to (D.4), PDF pages 16–17, treats shared global labels as independently resampled per observation and separates expectations involving the shared global stick.
For a concrete check, use the stick-breaking model with \(J=1\), \(n_1=2\), \(T=K=2\), and \(\alpha=\gamma=1\). The first local and global sticks \(u_1,v_1\) are independent uniforms. The event that both observations have \(t_i<T\) and \(k_{t_i}<K\) requires both to use table 1, whose one shared label must be 1. Its probability is \[\mathbb E[u_1^2]\mathbb E[v_1]=\frac16,
 \qquad\text{rather than the printed }\mathbb E[u_1^2]\mathbb E[v_1^2]=\frac19.\] This is a dependence error; it is not a counterexample to Proposition 3.1’s final bound.
Indeed, write \(A_j=\sum_{t<T}\pi_{jt}\), \(S=\sum_{k<K}\beta_k\), and \(N=\sum_jn_j\). Conditional on selected local tables, there are \(M\leq N\) distinct group–table pairs requiring global labels. Given \(\beta\), the probability that all their labels are below \(K\) is \(S^M\geq S^N\). The global stick is independent of the local selection. Jensen’s inequality and independence of the group-local sticks then give \[\begin{aligned}
 P(\text{good})
 &\geq\mathbb E\Big[\prod_j A_j^{n_j}\Big]\mathbb E[S^N]\\
 &\geq\left[1-\left(\frac{\alpha}{1+\alpha}\right)^{T-1}\right]^N
       \left[1-\left(\frac{\gamma}{1+\gamma}\right)^{K-1}\right]^N.\end{aligned}\] Couple the truncated and infinite models identically on this event. Their total variation distance is at most \(P(\text{bad})\), and their \(L^1\) distance at most \(2P(\text{bad})\). Consequently the paper’s looser factor-four bound remains valid. The posterior argument likewise yields at most twice the prior \(L^1\) bound, wherever conditional distributions are defined. These statements condition on fixed positive \(\alpha,\gamma\); averaging over hyperpriors requires averaging the bound, not substituting posterior means. The assessment is Minor: the asserted equality is false, but the inequality actually needed by this truncation argument is valid in the same direction under the original assumptions, as established above. No change of model, truncation rate, or theorem conclusion is required; this distinction, rather than repair effort, bounds the defect to the local equality.
## Checked Gibbs concentration update
Algorithm 1, appendix E, physical PDF page 19, step 8 prints the product \[\frac{\Gamma(\gamma)}{\Gamma(\gamma/K)^K}
 \prod_{k=1}^{K}\beta_k^{\gamma/K-1}p(\gamma).\] The upper limit in the original rendered formula is \(K\), so the last simplex factor is present. This is the correct conditional form for the finite symmetric Dirichlet model. The inspected `GLocalMCMC.R`, lines 44–64, likewise uses `sum(log(beta))` over the full vector. No missing-factor issue is supported. The earlier report’s reading of this upper limit as \(K-1\) was incorrect and has been withdrawn; the preserved predecessor records that correction.
# Release-specific inference findings
Problem 3 (The local variational stick update drops \(\mathbb E_q\alpha\)).  The printed coordinate update is correct, but the released C++ function does not implement its second Beta parameter.
Appendix F, PDF page 21, step 3 gives, for \(t<T\), \[\bar a_{jt}=1+\sum_i\xi_{jit},\qquad
 \bar b_{jt}=s_1/s_2+\sum_{\ell>t}\sum_i\xi_{ji\ell}.\] In `VI_functions.cpp`, lines 146–186, `Update_Ujt_cpp` receives `b_bar`, but line 167 assigns only `reverse_cumsum_cpp(N_jt.row(j).t())`. The helper at lines 17–19 is the sum strictly beyond the current entry. The supplied mean concentration is unused. The R loop passes and updates that mean at lines 83–102 of `GLocalVI.R`; it is not supplied elsewhere in this update.
Take one group, two sticks, one observation with responsibilities \((1/2,1/2)\), and \(s_1/s_2=1\). These are normalized, strictly positive responsibilities and an admissible proper concentration factor. For the first stick the release yields Beta(\(3/2,1/2\)), whereas the printed coordinate optimum is Beta(\(3/2,3/2\)). Their means are \(3/4\) and \(1/2\). Independently, their KL divergence in the direction release-to-optimum is exactly one nat, confirming that they are different coordinate solutions. This uses the non-final stick; setting the final stick to one does not explain the discrepancy. Positive Gamma parameters also preclude interpreting \(s_1/s_2\) as zero.
The assessment is Minor, release-specific: this routine is not coordinate ascent for the stated prior. The printed update survives, and no historical execution trace connects this commit to the reported scores. Adding the mean concentration to non-final tail counts restores this one coordinate formula; the complete revised algorithm has not been run or validated.
Problem 4 (The released ELBO adds expected log densities instead of their negatives).  The Normal–Wishart variational factors enter the released objective with the wrong entropy sign.
Equation reference: eqlogq. The ELBO is \(\mathbb E_q\log p-\mathbb E_q\log q\). The function `elbo_q_Phi_k` in `ELBO_functions.cpp`, lines 539–561, returns, summed over components, \[
 \frac12\mathbb E\log|\Lambda|+
 \frac p2\{\log(\lambda/(2\pi))-1\}-H(q_\Lambda).\] This is \(\mathbb E\log q(\mu,\Lambda)\), because its first two terms are the conditional Gaussian expected log density. The Wishart helper, lines 62–68, returns the entropy \(H(q_\Lambda)\). The local-atom function at lines 565–596 returns the same expression for each local factor. The R loop assigns these to `elbo7` and `elbo8`, then adds both at lines 262–263, alongside the prior and likelihood terms. There is no subsequent negation.
For an explicit proper factor, let \(p=1\), \(\Lambda\sim\operatorname{Wishart}(2,1/2)=\operatorname{Gamma}(1,1)\), and \(\mu\mid\Lambda\sim N(0,(\lambda\Lambda)^{-1})\). Then \(H(q_\Lambda)=1\) and \(\mathbb E\log\Lambda=-\gamma_E\). Expression [eqlogq] (#eqlogq) is \(-2.707546\ldots\) at \(\lambda=1\) and \(-1.707546\ldots\) at \(\lambda=e^2\). The released contribution increases by one, whereas the required entropy contribution decreases by one. Thus the error is parameter-dependent and cannot be dismissed as a dropped constant. Beta normalizer helpers were also checked: they return \(-\log B(a,b)\), so no additional Beta-normalization sign defect is alleged.
The release uses the objective for stopping and chooses the largest final value across restarts (`VI_GLocal_MultiRunParallel.R`, lines 18–25; the real-data script, lines 290–298). These code paths establish relevance, not an observed change in a winning run or a paper result. The assessment is Minor, release-specific. Negating the two expected-log-\(q\) terms repairs these contributions only; this review does not certify the entire ELBO implementation, numerical convergence, or published experiments.
# Coverage, surviving results, and limits
The product-space prior and infinite stick-breaking construction remain coherent under the stated general model. Problems 1 and 2 concern different approximations. The repaired coupling calculation preserves Propositions 3.1–3.2 for fixed concentrations. The printed VI responsibility, Normal–Wishart, and concentration updates were traced against their likelihood and prior dependencies; this was an algebraic audit rather than a full convergence proof. The finite Gibbs concentration update includes all \(K\) factors in both the paper and the inspected implementation.
The simulation designs, all displayed ARI/NMI/purity comparisons, timing and memory plots, and pan-cancer example were read. Figures 1 and 6–14 show distributions or illustrative realizations, not proofs of uniform superiority. The real-data pipeline uses ten joint expression principal components, selected local variables, and complete cases; appendix H changes the local feature set for the comparator and discloses that restriction. The displayed survival curves are descriptive. No survival effect, biological mechanism, adjusted significance, raw cluster assignment, or external validity was independently established. The published plots were visually checked, but no data were reverse-engineered from their pixels.
Code coverage is deliberately bounded: the principal VI files were read in full; the Gibbs driver and selected real-data branches were traced; unused alternative C++ likelihood variants, the entire HDP baseline implementation, plotting-only code, raw TCGA data, dependency internals, and historical outputs were not comprehensively verified. No benchmark or author code was executed. Later errata and author adoption of the suggested repairs are unknown. These limits prevent converting release defects into claims about historical experimental accuracy.
# Conclusion
The overall assessment is Major, resting on the explicit failure of the central finite-mixture-limit derivation. The limit theorem itself has not been refuted. The truncation result survives a supplied dependence-aware proof, while two released VI computations need the bounded corrections described above. The original claim of a missing Gibbs factor was withdrawn after independent inspection of physical page 19. This report includes focused independent AI verification; scientific adjudication remains pending and no human review is asserted.
9 A. Chakrabarti, Y. Ni, D. Pati, and B. K. Mallick, Global-Local Dirichlet Processes for Clustering Grouped Data in the Presence of Group-Specific Idiosyncratic Variables, ICML 2025, PMLR 267. https://proceedings.mlr.press/v267/chakrabarti25a.html. Official GLocalVI source snapshot supplied with the source packet, commit `cba16683740130a4457b4dbf4d7f086eebc00ed2`; source URL and file hashes recorded in `source_manifest.json` and `source_integrity.json`.

Source PDF SHA-256: 626525254edf9dc29ddf3e8cec9e7f580fa55b7c971d171691cef952a6acc630
Repair verification: pending
Author adoption: not_requested