Archive for Sydney Harbour

generative Bayesian computation for expected utility

Posted in pictures, Statistics, University life with tags , , , , , , , , , , , , , , , , on October 26, 2026 by xi'an

Bemused, after being pointed out to it by friends, I scrolled though the list of hundreds of papers posted by Nick Polson this year, a singularity event already discussed by Andrew on his blog. (Where he even witnessed live those papers vanishing from SSRN, on SSRN decision.) Since most of them have disappeared, I cannot read the Sufficiency without a Likelihood in Population Genetics that could have proved of interest, at least judging from the abstract

Approximate Bayesian Computation was invented in population genetics because coalescent likelihoods are intractable, and it has carried two acknowledged defects ever since: the analyst must choose summary statistics, so that the object computed is π (θ| S (y)) rather than π (θ| y), and the analyst must choose a tolerance, which trades bias against acceptance rate. We propose replacing the whole apparatus with a learned transport map. By the noise outsourcing lemma the posterior is a deterministic function of the data and an independent uniform, and that function is the population minimiser of an expected check loss, so it can be fitted by regression on simulated parameter and data pairs. There is no summary statistic and no tolerance. Our main theoretical contribution is Theorem 4, which shows that if a permutation invariant architecture with a d-dimensional bottleneck attains the Bayes risk of the check loss at almost every quantile level, then the bottleneck is a sufficient statistic. This turns sufficiency into something that can be tested by fitting, and it makes the infinite alleles model, where Ewens (1972) proved that \(K_n\) is sufficient, the natural validation problem. Empirically the method rediscovers that theorem: a one-dimensional bottleneck matches an eight-dimensional one to within Monte Carlo error and its learned scalar has Spearman correlation 0.998 with \(K_n\), while a plausible but non-sufficient summary is 62% worse. We then apply the same procedure to the infinite sites model and prove that Watterson’s S is not sufficient there. The learned posterior using the whole site frequency spectrum is 21% narrower than the exact posterior …

even though I cannot make sense of the sentence “the posterior is a deterministic function of the data and an independent uniform“. Posterior function? posterior value? I then went to Polson’s arXivals this year (12 so far), which are yet available, finding the 2024 Generative Bayesian Computation for Maximum Expected Utility by Polson, Ruggeri and Sokolov having links with ABC. The notion is to estimate a neural generative model for the utility

\[
U_d^{(i)}=H(S(y^{(i)}),\theta^{(i)},\tau^{(i)},d)
\]
where the lack of index on \(d\) (should it be \(d^{(i)}\) ?) is surprising, as it seems to indicate a neural network constructed for each decision \(d\). And in the introduction of Section 2, the authors stress that “\(d\) is fixed”. The expected utility satisfying a nested sampling identity (with a funny mis-citation to Teh and Lecture, 2019)

\[
\mathbb{E}_{\theta|y}[U(d,\theta)] = \int_0^1 F_{U|d,y}^{-1}(\tau)\,\text d\tau = \int_0^\infty (1-F_u(\tau))\,\text d\tau
\]

it suffices to build a neural network approximating the quantile function \(F_{U|d,y}^{-1}(\tau)\), à la Polson and Ročková (2018). While the paper contains a lot of reminders on Bayesian decision theory and repetitions about the above identity, there is nothing hallucinatory. The idea of directly directly (generatively) modelling the distribution of the utility is reasonable since it brings an immediate and ultimate dimension reduction. No mention is made of actual computing costs.

“too dangerous to release” [a correct prediction]

Posted in Books, Travel with tags , , , , , , , , , , , , on July 9, 2026 by xi'an

Nature of 26 May had a long report on how the Mythos model is deemed to be too dangerous by its conceptor, Anthropic, to be publicly released, but instead shared with a limited number of organisations of their own choice. The argument being that Mythos was able to spot security flaws in every operating system and web browser on the market. But, sooner or later, the AI will prove accessible to a hacker who manages to penetrate one of these organisations, won’t it?! As pointed out by Nature’s writers, the natural question is why should firms be left to decide on who gets access to their software and how dangerous they are. The same writers also muse about governments imposing prohibitions on the firms, including outside their country. Which is exactly what happened a few weeks later on 12 June with the Trump administration “suspend[ing] all access to both Fable 5 and Mythos 5 by any foreign national, whether inside or outside the United States” with little factual argumentation. Another illustration of the short-sighted, knee-jerk, inconsistent, policies of that joke of an administration that does not address the real issue.

truly and uniquely pseudo-random?

Posted in Books, pictures, Statistics, Travel, University life with tags , , , , , , , , , , , , , on July 10, 2024 by xi'an

I came across a Web paper entitled The Impact of Google’s Random Number Generator on Accurate Results that I found most puzzling in failing to explain the specific nature of this random generator and that included gems as below

“PRNGs (…) outputs are inherently predictable given a specific seed value, thus deviating from true randomness”

or stating that linear congruential generators suffered from “discernible patterns”, or yet advancing a bonus in using Google’s generator for “leveraging Gaussian distributions”… Referring to a specific and possibly obscure arXival proposing to construct (yet) a PRNG by reinforced learning, with an objective function based on randomness tests reminded me of Marsaglia’s Die Hard. And to “true randomness”. Plus being repetitive and obsequious. Until I found the piece was “written” by Quthor with no typo, an AI “writer” powered by Quick Creator. I should have paid more attention to the level of nonsense…

On the same occurrence, I also read a recent Scientific American paper on randomness tests pseudo-random number generators by Christopher Lutsko. Which does not start that well, since it reproduces the Laplace démon’s argument that a die roll outcome is not random. Also repeating the above pleonasm that PRNGs are not random since they are deterministic. And failing to not mention lava generators! The core of the article is however about recent papers by the author and Niclas Technau of the only examples of sequences that prove passed extremely strong pseudorandom tests. They focus on tests based on gap distribution and pair correlation.

“The [gap distribution] measures the size of the gaps between the points, and the [pair correlation’ measures the clustering of the points—how much they group up or stay apart (…) If these agree with what we would expect from random data, we say that the gap distribution or pair correlation is “Poissonian”.”  Christopher Lutsko

Along with Athanasios Sourmelidis, they proved that exponential sequences {α exp(θ log[n]) mod 1} have Poissonian pair correlation when θ<⅓, for any value of α. And higher Poissonian correlations for θ “smaller and smaller“. (This does not come out of the blue, as the proof relates to Van der Corput’s method of exponential sums, with links to the leading Austrian random generator community.) This is definitely an achievement. However, when θ gets “smaller and smaller“, the terms in the sequence grow more and more slowly, which forces calling for larger and larger values of α to make the generator useful. And the pseudo-randomness test based on Poissonian correlations is only one of many from the toolbox, so the debate seems far from over.

 

 

Approximate Bayesian analysis of (un)conditional copulas [webinar]

Posted in Books, pictures, Statistics, University life with tags , , , , , , , , , on September 17, 2020 by xi'an

The Algorithms & Computationally Intensive Inference seminar (access by request) will virtually resume this week in Warwick U on Friday, 18 Sept., at noon (UK time, ie +1GMT) with a talk by (my coauthor and former PhD student) Clara Grazian (now at UNSW), talking about approximate Bayes for copulas:

Many proposals are now available to model complex data, in particular thanks to the recent advances in computational methodologies and algorithms which allow to work with complicated likelihood function in a reasonable amount of time. However, it is, in general, difficult to analyse data characterized by complicated forms of dependence. Copula models have been introduced as probabilistic tools to describe a multivariate random vector via the marginal distributions and a copula function which captures the dependence structure among the vector components, thanks to the Sklar’s theorem, which states that any d-dimensional absolutely continuous density can be uniquely represented as the product of the marginal distributions and the copula function. Major areas of application include econometrics, hydrological engineering, biomedical science, signal processing and finance. Bayesian methods to analyse copula models tend to be computational intensive or to rely on the choice of a particular copula function, in particular because methods of model selection are not yet fully developed in this setting. We will present a general method to estimate some specific quantities of interest of a generic copula by adopting an approximate Bayesian approach based on an approximation of the likelihood function. Our approach is general, in the sense that it could be adapted both to parametric and nonparametric modelling of the marginal distributions and can be generalised in presence of covariates. It also allow to avoid the definition of the copula function. The class of algorithms proposed allows the researcher to model the joint distribution of a random vector in two separate steps: first the marginal distributions and, then, a copula function which captures the dependence structure among the vector components.

 

another Bernoulli factory

Posted in Books, Kids, pictures, R, Statistics with tags , , , , , , on May 18, 2020 by xi'an

A question that came out on X validated is asking for help in figuring out the UMVUE (uniformly minimal variance unbiased estimator) of (1-θ)½ when observing iid Bernoulli B(θ). As it happens, there is no unbiased estimator of this quantity and hence not UMVUE. But there exists a Bernoulli factory producing a coin with probability (1-θ)½ from draws of a coin with probability θ, hence a mean to produce unbiased estimators of this quantity. Although of course UMVUE does not make sense in this sequential framework. While Nacu & Peres (2005) were uncertain there was a Bernoulli factory for θ½, witness their Question #1, Mendo (2018) and Thomas and Blanchet (2018) showed that there does exist a Bernoulli factory solution for θa, 0≤a≤1, with constructive arguments that only require the series expansion of θ½. In my answer to that question, using a straightforward R code, I tested the proposed algorithm, which indeed produces an unbiased estimate of θ½… (Most surprisingly, the question got closed as a “self-study” question, which sounds absurd since it could not occur as an exercise or an exam question, unless the instructor is particularly clueless.)