Archive for population genetics

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.

admixtures [xkcd]

Posted in Books, Kids, University life with tags , , , , on July 28, 2026 by xi'an

The Norse Code

Posted in Books, pictures, University life with tags , , , , , , , , , , , , , , , , on February 3, 2025 by xi'an

early peer review

Posted in Books, Statistics, University life with tags , , , , , , , , , , , , , on December 15, 2024 by xi'an

Nature of 24 October 2024 has a recollection article on the early days of peer review, following the Royal Society unsealing report from 1949 to 1954. With some mentions of well-known Bayesian characters like Jeffreys

“For a 1950 paper that discussed ‘anisotropic elastic continuum’ by mathematician James Oldroyd, geophysicist Harold Jeffreys wrote: `Knowing the author, I have confidence that the analysis is correct.’”

(albeit identified as a geophysicist) and Haldane

“A negative review [of Alan Turing’s 1951 paper] by scientist J.B.S. Haldane states: `I consider that the whole non-mathematical part should be re-written.’ A more positive opinion came from physicist Charles Galton Darwin, who said: `This paper is well worth printing, because it will convey to the biologist the possibilities of mathematical morphology.’ Still, Darwin criticized the proposed use of a “digital computer” to simulate wave theory. “The machinery is far too heavy for such a simple purpose,” Darwin argued.”

and Haldane again

“In a 1943 review by Haldane of a paper on the fecundity of Drosophila flies, the reviewer suggested cutting figures and tables, some of the discussion and, bizarrely, a short eulogy of a fly biologist.”

a journal of the plaid [shirt] year [#2]

Posted in Books, Kids, Mountains, pictures, Running, Travel, University life with tags , , , , , , , , , , , , , , , , , , , , , , , , , on August 3, 2022 by xi'an

Read Kawabata’s Sound of the Mountain, which I also found in a Montréal bookstore. At first, I thought it was connected to the masterpiece House of Sleeping Beauties,  which I read eons ago, as dreams are also central to that (mostly) domestic and familial story, but this was quite another, more personal, and poignant reflection on aging and the irreversibility of time. As well as an unsuspected window into immediate post-war Japan. (With the realisation that abortion was completely acceptable then.) Also spotted Greg Bear’s Darwin’s Children in my Canadian cabin, which I started and finished later with a Kindle version. As I was unaware of a sequel to the fabulous Darwin’s Radio. Overall, I was almost as enthusiastic about it as I was with the first book, but obviously suffering from an academic bias as the author engages into speculative population genetics, which may prove too much for non-academics… (Imho, the end is wasted, though.) And (binge) read January Fifteenth on the flight back (leaving too early to sleep!), which is a short novel whose only speculative aspect is the move (by the US Government) to a universal basic income (UBI) for all individuals, and the consequences on several women’s live. This was indeed a very quick read, presumably due to the high proportion of dialogues, with (variably) interesting characters that avoid a direct take on the concept, but somewhat charicaturesque nonetheless. The implementation of the scheme is rather vaguely described: January 15 is the calendar day people pick their yearly UBI and they have to do it in person to avoid been coerced or scammed into transferring it to someone else. As someone rather interested in this societal propsal, this book did not modify my views on the concept or on its practical aspects, but shed light on some potential consequences of (one version of) it.

Had a great time in a Lac-Saint-Jean cabin, with direct access to the lake. Albeit requiring the emergency purchase of a neoprene swimming suit, as the temperature of the lake was rather low for extended swimming without it. But otherwise, having a swell time every morning, often running and swimming and biking. Before hiking. (The last week, farther south, next to a much smaller lake I could easily cross, did not require the suit!) Also appreciated very much the almost flat véliroute des Bleuets (blueberries) that run all around the lake (even though some sections are alas shared with cars). Has for instance an uninterrupted 15K connection to the nearest (genuine) bakery+cheese-mongery! Made an attempt at kouign amann, but using the wrong type of both flour and cassonade, plus an unknown oven and the poor substitute of baking soda for yeast predictably failed the experiment, even though the outcome was eatable (and eaten within a few days).

As usual (!), did not spot much wildlife, beyond groundhogs, pikas, squirrels, beavers and muskrats in our rental’s lake, moose tracks here and there, and a few Virginia deer in the Mauricie National Park. (Which made me realise that national and regional [Québec] parks co-existed in the area.) Had a few traditional hikes, reconnecting with Deet to keep mosquitoes and black flies at bay.

Watched nothing at all! In part due to my wife often borrowing my laptop for its Netflix connection, in part due to my early sleep caused by earlier rise, as light comes before 5am in this part of Québec we were staying, which made an ideal opportunity for very early run, swim, and… Biometrika editing!