arXiv:2608.26996math.PRAug 2026

Manuscript Offprint

arXiv:2608.26996

A note on shifting distributions via Poisson races

Amir Yehudayoff

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

AMIR YEHUDAYOFF

ABSTRACT. This expository note is about simulating a target distribution Q from observations of a proposal distribution P. In the model suggested by Harsha, Jain, McAllester and Radhakrishnan, we observe an infinite sequence of i.i.d. samples X1,X2,…X_1, X_2, \ldots from P. The goal is to find some index I∈{1,2,…}I \in \{1, 2, \ldots\} such that XI∼QX_I \sim Q while minimizing Elog⁡I\mathbb{E} \log I. Following the Poisson-race approach developed by Maddison, Li and El Gamal, and others, this note shows that if D(Q∣∣P)<∞D(Q||P) < \infty then there is a P to Q simulator I such that E[log⁡I]≤D(Q∣∣P)+1.45∥Q−P∥1\mathbb{E}[\log I] \leq D(Q||P) + 1.45\|Q - P\|_1. In the other direction, for every P to Q simulator I, the cost is at least E[log⁡I]≥12max⁡{D(Q∣∣P),∥Q−P∥1}\mathbb{E}[\log I] \geq \frac{1}{2} \max\{D(Q||P), \|Q - P\|_1\}.

1. INTRODUCTION

The problem of simulating a target distribution Q given access to some other distribution P has been studied for a long time. It was studied by von Neumann [vN51] who introduced rejection sampling, and by Wyner [Wyn75] who introduced the common information problem. The specific form of the problem described below was first suggested, to the best of my knowledge, in the work of Harsha, Jain, McAllester and Radhakrishnan [HJMR07]. But this type of problem already implicitly appeared in the work of Hajek and Pursley [HP79], and a close variant of it was termed the functional representation lemma by El Gamal and Kim [EGK11] and the strong functional representation lemma by Li and El Gamal [LG18]. This note is too brief to provide a comprehensive description of the history (for more details, see the references above and also [BP23, GF24, LV18] and references therein).

There are two distributions P,QP, Q over some finite set1^1 X\mathcal{X}. We observe an infinite sequence of i.i.d. samples X1,X2,…X_1, X_2, \ldots from PP. Our goal is to find some index I∈{1,2,…}I \in \{1, 2, \ldots\} such that XI∼QX_I \sim Q; that is, Pr⁡[XI=x]=Q(x)\Pr[X_I = x] = Q(x) for every x∈Xx \in \mathcal{X}. We call such an index II a simulator (it can also be randomized).

Here is an important example: a two-player game with public shared randomness. Alice knows some distribution R on pairs X×Y\mathcal{X} \times \mathcal{Y}, and Bob knows the marginal distribution RYR_{\mathcal{Y}}. Alice gets as input X∼RXX \sim R_{\mathcal{X}} and her goal is to communicate some information to Bob that will allow Bob to compute Y with the property that

1^{1}We focus on the case of a finite set for simplicity.

AMIR YEHUDAYOFF

(X,Y)∼R(X,Y) \sim R. The two extreme cases are (1) when R=Rx×RyR = R_x \times R_y is a product distribution and (2) when X=Y\mathcal{X} = \mathcal{Y} and RR is supported on the diagonal {(x,x)}\{(x,x)\}. The players can use a simulator to solve this problem. The players interpret the shared randomness as infinitely many i.i.d. samples Y1,Y2,…Y_1, Y_2, \ldots from P:=RyP := R_y. Alice gets XX and constructs a simulator II for Q(y):=R(y∣X)Q(y) := R(y|X). She sends II to Bob who can safely output Y:=YIY := Y_I. In case (1) above, Alice just sends I=1I = 1. In case (2), Alice needs to send the entire XX to Bob which requires about the entropy of XX many bits.

Most of the works mentioned above were interested in minimizing the expected length of prefix-free encodings of simulators. This note considers a different (but closely related) minimization problem. The goal here is to minimize the “description length” of I in bits. The cost of a simulator I is

cost(I):=E[log⁡I]cost(I):=\mathbb{E}[\log I]

where log is base two.

The main purpose of this text is to prove the following theorem, which provides both an upper bound and lower bounds on the cost of simulators.

Theorem. Let P,QP, Q be two distributions over the same finite set. If D(Q∣∣P)<∞D(Q||P) < \infty then there is a PP to QQ simulator II such that

E[log⁡I]≤D(Q∣∣P)+1.45∥Q−P∥1.\mathbb{E}[\log I]\leq D(Q||P)+1.45\|Q-P\|_{1}.

On the other hand, for every P to Q simulator I,

E[log⁡I]≥12max⁡{D(Q∣∣P),∥Q−P∥1}.\mathbb{E}[\log I]\geq\frac{1}{2}\max\{D(Q||P),\|Q-P\|_{1}\}.

In particular, if D(Q∣∣P)=∞D(Q||P) = \infty then there is no P to Q simulator.

Harsha, Jain, McAllester and Radhakrishnan [HJMR07] showed that for every P,QP, Q such that D(Q∣∣P)<∞D(Q||P) < \infty, there is a simulator II with cost E[log⁡I]≤D(Q∣∣P)+C\mathbb{E}[\log I] \leq D(Q||P) + C where D(Q∣∣P)=∑xQ(x)log⁡Q(x)P(x)D(Q||P) = \sum_x Q(x) \log \frac{Q(x)}{P(x)} is the Kullback–Leibler divergence and C>0C > 0 is some universal constant. The mechanism behind the proof presented here is different from the mechanism in [HJMR07]. Their simulator is based on a carefully constructed rejection sampling procedure. This text uses the Poisson-race mechanism described by Maddison [Mad16] and that also appeared in the work of Li and El Gamal [LG18] mentioned above. The proof mechanism is informative and it may, e.g., allow to control higher moments of log⁡I\log I.

The upper bound in the theorem comprises two terms. The divergence term D(Q∣∣P)D(Q||P) is dominant when the distributions are far away. The total variation term 1.45∥Q−P∥11.45\|Q - P\|_1 is dominant when the distributions are close. The total variation term could be as large as +2.9, but it is known that it can be replaced by +1; see [Li24] (a simple variant of the proof presented here also leads to this +1 bound). The theorem above is strictly stronger than all the results mentioned above when P, Q are close (because all of them had some additive constant term). To the best of my knowledge, the two lower bounds were not observed before.

The lower bound has an interesting consequence. An upper bound of the form cost(I)≤CD(Q∣∣P)cost(I) \leq CD(Q||P) is not achievable in general (where C>0C > 0 is any universal constant). For example, when PP is an unbiased coin and QQ is a coin with bias ϵ>0\epsilon > 0, we have that D(Q∣∣P)≈ϵ2D(Q||P) \approx \epsilon^2 but Elog⁡I≳∥Q−P∥1≈ϵ\mathbb{E} \log I \gtrsim \|Q - P\|_1 \approx \epsilon. In this example, for every II, the cost of II is much larger than D(Q∣∣P)D(Q||P).

The authors of [HJMR07] showed a lower bound of D(Q∣∣P)D(Q||P) on the cost of a prefix-free encoding of II. This means that when D(Q∣∣P)D(Q||P) is large, the lower bound stated above is essentially off by a factor of 2. The lower bound E[log⁡I]≥D(Q∣∣P)\mathbb{E}[\log I] \geq D(Q||P), however, is not true in general. For example, if PP is a distribution on {0,1}\{0,1\} with P(0)=1−ϵP(0) = 1 - \epsilon and QQ is defined by Q(0)=1Q(0) = 1 then D(Q∣∣P)=ϵln⁡2+O(ϵ2)D(Q||P) = \frac{\epsilon}{\ln 2} + O(\epsilon^2) and if II is the first occurrence of 0 then II is a simulator and E[log⁡I]=ϵ+O(ϵ2)\mathbb{E}[\log I] = \epsilon + O(\epsilon^2) so that cost(I)≤0.7D(Q∣∣P)cost(I) \leq 0.7D(Q||P).

Here is an intuitive sketch of the mechanism. A Poisson process can be thought of as a cloud of random points on the line R\mathbb{R} (see detailed description and references below). We can (independently) mark each point in the cloud by x∈Xx \in \mathcal{X} using PP. So now we have a cloud of marked points. Each mark x∈Xx \in \mathcal{X} has density P(x)P(x) in the cloud. This marked cloud represents the distribution PP. Our goal is to shift from PP to QQ. The main point is that Poisson processes are determined by their local densities. Changing densities is straightforward. For example, if we dilate all points marked by xx by a factor of two then we halved their density. More interestingly, if we dilate all points marked xx by P(x)Q(x)\frac{P(x)}{Q(x)}, then their density becomes

P(x)⋅Q(x)P(x)=Q(x).P(x)\cdot\frac{Q(x)}{P(x)}=Q(x).

The new dilated cloud represents Q. We thus shifted from P to Q via a dilation.

Acknowledgement. This note was written following the summer school A-PIC 2026: Probability, Information, Computing held at the African Institute for Mathematical Science in Kigali, Rwanda. I wish to thank Jan Hazla, as well as the participants of the school and the AIMS staff, for their hospitality. I also wish to thank A. El Gamal and C.T. Li for helpful comments. A preliminary draft of this note was written as a preparation for the school with the assistance of ChatGPT.

AMIR YEHUDAYOFF