Archive for discrepancies

product Monte Carlo

Posted in Books, Linux, pictures, Statistics, Travel, University life with tags , , , , , , , , , , , on November 3, 2026 by xi'an

A new, long, arXival about product Monte Carlo by Carlotti, Liu, and Yao. where the target is a product of densities \(\prod_k\pi_k\)(implicitely) assumed to be integrable. Read in the plane to B’ham and Warwick U. The starting point of the method is a collection of simulations from each term in the product, which imho is unnecessarily restrictive since gains could be made by coupling similar densities and exlploiting other ways of sharing strength. While PMC is already used for population Monte Carlo (Iwaki, 2000), the authors resort to this accronym for their approach, which is a form of Rao-Blackwellisation, integrating an estimator based on a “consensus” statistic conditional on a “discrepancy” statistic.

“In many of these applications, individual component densities \(\pi_k\) cannot be evaluated: local densities in privacy settings can leak data information; posterior predictive densities in expert pooling require additional integration; and generative-model-based samplers and simulation-based inference methods provide samples without tractable density evaluations.”

A consensus C is a statistic (transform) of the K realisations from the component densities \(\pi_k\) into a pseudo-observation that return the entry if all realisations are identical and that is equivariant by translation. While a discrepancy D is a statistic (of arbitrary dimension) of the difference between the “first” realisation and the \(K-1\) other ones that is null for a null input and bounded away from zero outside a neighbourhood of zero. (This seems to apply to a single realisation from each density. How does it extend to full samples from each density? What of the dependence on which density is labelled “first”? What of the impact of the choice of either statistic? Is there a minimal sufficiency or maximal ancilarity at play here?)

Judging from Section 2.2 when the algorithm is produced, the method appears to build consensus and discrepancy one output at a time, rather than postprocessing entire samples, which creates an unnecessary dependence on the (ancillary) order in which realizations are produced. They are used to construct a sample of \(C_s\) and \(D_s\) \((s=1,\ldots,S\) and to estimate
\[
f(D) = \mathbb E[h(C)|D]
\]
(which keeps the expectation exact) by \(\hat f_S(D)\), the integral estimator being \(\hat f_S(0)\). And biased. (Which reminds me of post-processing in ABC,à la Beaumont et al., 2003.) Further Bayesian processing can be found in modelling \(f(\cdot)\) as a Gaussian process.

Follows some theoretical developments like Cramèr-Rao bounds that fail to address the elephant in the room, namely the impact of the choices of C and D and the lack of differenciation between the components of the product. But the paper opens interesting prospects for privacy constrained inference.

robust simulation-based inference

Posted in Books, pictures, Statistics, University life with tags , , , , , , , , , , , , , , on March 7, 2026 by xi'an

This new arXival by Lorenzo Tomaselli, Valérie Ventura, and Larry Wasserman (from CMU) considers simulation-based inference under model misspecification (as we did for ABC in our 2020 Series B paper). Which is almost always the case. In the paper, SBI is defined as producing N parameters and N samples from the prior and the corresponding sampling distribution, respectively, and then doubling the resulting samples by permuting at random the parameters θ. This means that the second half is distributed from the product of the prior and of the marginal, hence that the classification odds ratio is equal to the likelihood, hence providing an estimation method (andlikelihood trick) à la Geyer. From this estimate, an ABC p-value can be derived, but it is incorrect as such when the model is misspecified. Hence the use of the Hellinger discrepancy, the power divergence and the kernel distance (or MMD) as alternatives to the misspecified MLE.

The paper then expands on approximating density ratios by virtue of a reproducing kernel Hilbert space, using a Gaussian kernel. (With a nice remark on requiring only one single ratio estimator for all values of θ, albeit in the joint space.) And focus on a studentized MMD estimator (à la e-value) to build a confidence set that remains valid under model misspecification. And without regularity assumptions.

Another approach is further explored, based on exponential tilting—of which I am not a great fan, from being highly dependent on the choice of the pseudo-sufficient statistic to require an intractable normalising constant, to requiring an extra optimization, even though I appreciate the mathematical appeal of the construct. Which seems to require a sample simulation for each value of θ at the learning stage, albeit relying on the same likelihood trick. The appropriateness of the tilting can be tested by a goodness of fit test tailored for the SBI structure, which sounds rather greedy in the required simulations. 

Besides the g-and-k distribution example (which, as pointed out several times on the ‘Og, is not intractable, strictly speaking!), the paper studies a mixture example, despite Larry dubbing them as evil as tequila a long while ago! (The paper also offers a section called accoutrements, which is my first encounter with this use of the term, usually found in medieval contexts!)

Note that Larry will present the paper at the OWABI webinar next 25 March!

a novel discrepancy measure

Posted in Statistics, University life with tags , , , , , on June 1, 2025 by xi'an

My friend EJ Wagenmakers, along with his colleague  Raoul Grasman, have proposed a novel measure of discrepancy between two distributions that they formulate through a basic Bayesian lens as an expected posterior probability, written as

D_{\mathrm EP}(f||g) = \int_{\mathfrak X} \frac{f(x)}{f(x)+g(x)}f(x)\,\text dx

(with no priors harmed in the process!) in case both distributions are absolutely continuous wrt a common dominating measure, with densities f and g. Which I have not met before. This discrepancy has nicer properties than Kullback-Leibler in that it is symmetric, that

D_{\mathrm EP}(f||g) = \int_{\mathfrak X}\frac{1}{f(x)^{-1}+g(x)^{-1}}\frac{f(x)}{g(x)}\,\text dx

does not require absolute continuity, and suffers less from tail influence and from asymmetric convergence speeds between null and alternative. From a truly Bayesian perspective, comparing two posterior predictive densities this way is less appealing since they are not available in closed form, but the posterior probability in favour of model f can be replaced with a Monte Carlo estimate.

simulation as optimization [by kernel gradient descent]

Posted in Books, pictures, Statistics, University life with tags , , , , , , , , , , , , , , , , , , , , , , , , on April 13, 2024 by xi'an

Yesterday, which proved an unseasonal bright, warm, day, I biked (with a new wheel!) to the east of Paris—in the Gare de Lyon district where I lived for three years in the 1980’s—to attend a Mokaplan seminar at INRIA Paris, where Anna Korba (CREST, to which I am also affiliated) talked about sampling through optimization of discrepancies.
This proved a most formative hour as I had not seen this perspective earlier (or possibly had forgotten about it). Except through some of the talks at the Flatiron Institute on Transport, Diffusions, and Sampling last year. Incl. Marilou Gabrié’s and Arnaud Doucet’s.
The concept behind remains attractive to me, at least conceptually, since it consists in approximating the target distribution, known up to a constant (a setting I have always felt standard simulation techniques was not exploiting to the maximum) or through a sample (a setting less convincing since the sample from the target is already there), via a sequence of (particle approximated) distributions when using the discrepancy between the current distribution and the target or gradient thereof to move the particles. (With no randomness in the Kernel Stein Discrepancy Descent algorithm.)
Ana Korba spoke about practically running the algorithm, as well as about convexity properties and some convergence results (with mixed performances for the Stein kernel, as opposed to SVGD). I remain definitely curious about the method like the (ergodic) distribution of the endpoints, the actual gain against an MCMC sample when accounting for computing time, the improvement above the empirical distribution when using a sample from π and its ecdf as the substitute for π, and the meaning of an error estimation in this context.

“exponential convergence (of the KL) for the SVGD gradient flow does not hold whenever π has exponential tails and the derivatives of ∇ log π and k grow at most at a polynomial rate”

Measuring statistical evidence using relative belief [book review]

Posted in Books, Statistics, University life with tags , , , , , , , , , , , , , , , , , , on July 22, 2015 by xi'an

“It is necessary to be vigilant to ensure that attempts to be mathematically general do not lead us to introduce absurdities into discussions of inference.” (p.8)

This new book by Michael Evans (Toronto) summarises his views on statistical evidence (expanded in a large number of papers), which are a quite unique mix of Bayesian  principles and less-Bayesian methodologies. I am quite glad I could receive a version of the book before it was published by CRC Press, thanks to Rob Carver (and Keith O’Rourke for warning me about it). [Warning: this is a rather long review and post, so readers may chose to opt out now!]

“The Bayes factor does not behave appropriately as a measure of belief, but it does behave appropriately as a measure of evidence.” (p.87)

Continue reading →