Manuscript Offprint
arXiv:2609.11794Second-Order Expansion of Privacy Amplification Under f-Divergence Criteria
Abstract
We derive the second-order asymptotics of randomness extraction from memoryless sources with side information under security criteria based on a broad class of Csiszár -divergences, treating both a fixed reference side-information marginal and optimization over that marginal. The conditional varentropy decomposes into fluctuations of the conditional entropy across different values of the side information and the average variance of the conditional surprisal for each value. Without marginal optimization, these contributions yield a Gaussian-mixture second-order profile. With marginal optimization, they combine into the total conditional varentropy, yielding a single Gaussian profile. As corollaries, we obtain second-order expansions for Rényi-entropy criteria of all orders and recover the known expansion for total variation distance.
Index Terms
Privacy amplification, second-order asymptotics, -divergence, side information, Rényi divergence, total variation distance, two-universal hashing, intrinsic randomness.
Formal Verification
Every numbered result and definition has a corresponding declaration in an accompanying Lean 4.33.1 development using Mathlib 4.33.1 [32], [33]. The development is checked by the Lean kernel and introduces no project-specific axioms. Theorem 1 and its corollaries are formalized conditional only on the finite-valued Berry–Esseen statement in Fact 12. The source code, dependency graphs, and statement-by-statement correspondence are available in the accompanying GitHub repository and archived on Zenodo [34].
I. INTRODUCTION
A. Motivation and problem setting
Privacy amplification is the cryptographic task of turning partially secret data into a shorter, nearly uniform secret key. Let Alice observe X while an adversary observes correlated side information Y. A public random seed S, independent of , selects a hash , where , and Alice outputs . Because the seed is public, the adversary's complete view is . Security requires Z to be uniform and independent of this view, so the ideal law is
M. Berta is with the Institute for Quantum Information, RWTH Aachen University, Germany and the Department of Computing, Imperial College London, United Kingdom (e-mail: berta@physik.rwth-aachen.de).
H.-C. Cheng is with the Department of Electrical Engineering and the Graduate Institute of Communication Engineering, National Taiwan University, Taipei 106, Taiwan (e-mail: haochung@ntu.edu.tw).
M. Tomamichel is with the Department of Electrical and Computer Engineering and the Centre for Quantum Technologies, National University of Singapore, Singapore 117583 (e-mail: marco.tomamichel@nus.edu.sg).
where denotes the uniform distribution on Z. We call the deviation of the actual law from this ideal law, measured by the chosen security criterion, the leakage.
This formulation originates in the cryptographic literature. Bennett, Brassard, and Robert introduced privacy amplification by public discussion for parties sharing randomness about which a computationally unbounded eavesdropper has partial information [4]. Their constructions used universal hashing, introduced by Carter and Wegman [3]. In complexity theory, Impagliazzo, Levin, and Luby established the result now known as the leftover-hash lemma, showing that universal hashing gives strong seeded extraction in statistical, or total-variation, distance [5]. Bennett, Brassard, Crépeau, and Maurer subsequently developed a general privacy-amplification framework based on conditional collision entropy and universal hashing [7]. In parallel, the information-theoretic problem usually called intrinsic randomness or random-number generation was studied without side information by Vembu and Verdú [6]. For arbitrary sources, not assumed stationary or ergodic, they identified the optimal fixed-length rate with the inf-entropy rate. Further developments for source models without side information include [8], [11], [14], [15]. For approximation criteria closer to those considered here, Yu and Tan studied random-variable simulation under Rényi divergences of all orders, with unconditioned intrinsic randomness as the specialization in which the target law is uniform [18]. Nomura subsequently established first-, second-, and optimistic-order information-spectrum formulas for unconditioned intrinsic randomness under a subclass of f-divergences [21]; see also [22]. When side information is absent, optimizing its reference marginal is vacuous, and the i.i.d. specialization of our result recovers Nomura's second-order formula.
Throughout, whenever we condition on a finite-valued random variable, its alphabet is identified with its support. Thus, in particular, for every ; zero-mass values are removed without changing any operational quantity. For a memoryless source with side information, define the conditional surprisal and conditional entropy by
All logarithms are base two. The fundamental first-order statement is that the amount of asymptotically perfect randomness extractable from independent copies is . At this level the answer is governed by the conditional entropy and is independent of the particular standard security criterion used to measure leakage and express convergence to the ideal law.
Refinements that quantify the speed of this convergence can depend on the security criterion. The relevant fluctuations of the conditional surprisal are
The law of total variance gives . For total variation distance, the exact second-order expansion is well known: if denotes the largest extractable output length with leakage at most , then
where is the standard Gaussian quantile. Without side information, Hayashi obtained the corresponding second-order intrinsic-randomness expansion [8]. With side information and total variation, Watanabe and Hayashi obtained the sharper remainder in the nondegenerate case [9, Theorem 3]. If , the conditional surprisal is constant on its support, and two-universal hashing together with the support-size converse gives ; hence (6) also holds in this case.
Total variation gives statistical indistinguishability between the real and ideal experiments. More generally, every f-divergence is nonincreasing under subsequent classical processing by the data-processing inequality, so f-divergences form a natural broader class of security criteria. Together with simple monotone transformations, this framework covers both total variation distance and Rényi divergences of orders . The resulting extraction criteria have the same first-order asymptotics but need not share their refined asymptotics.
Let be continuous and convex, and suppose that
These assumptions force f to be nonincreasing, though not necessarily strictly decreasing. We call a generator satisfying all these conditions admissible. For probability distributions on a common finite alphabet, define the f-divergence [1]
The second condition in (7) makes the contribution of points with vanish, so (8) is the complete formula. Moreover, for . The generator need not be pointwise nonnegative for , while as usual.
For a probability law , define the fixed- and optimized-marginal criteria by
where the infimum is over all probability distributions on the adversary’s view . For the joint law induced by the extraction procedure, , so the fixed-marginal criterion compares the real experiment directly with the ideal law (1). The optimized criterion instead measures divergence to the entire set of laws in which Z is uniform and independent of the adversary’s view. Proximity to any law in this set witnesses small leakage, and the closest such law need not have the actual marginal . Thus is also a natural security criterion, and it is never larger than . Restricting its infimum to laws of the form does not change its optimal second-order limit: achievability uses such a product reference, whereas the converse allows an arbitrary joint reference law .
B. Main findings and discussion
Let again denote the joint law of one source symbol and the adversary’s side information . For independent copies, the source law is . Write and consider the central-limit scale
For an -point output, and denote the smallest achievable values of and , respectively, where in both cases the optimization is over seeded hash functions. We are interested in the exact limits of these quantities under (11); in general, they need not vanish.
The difference between the and criteria is already visible in the form of the answer. To present the generic case without endpoint qualifications, suppose for now that ; the formal result below also covers the endpoints. Write for the standard normal distribution function, let , and, for , define
More generally, if satisfies , one may replace by the equivalent generator . This affine transformation leaves the corresponding -divergence unchanged, i.e., , while [22].
Our two main limits are
Two independent Gaussian limits describe the two levels of fluctuation. After centering at and dividing by , the conditional mean of the block surprisal converges to . Within a fixed fibre , the remaining fluctuation of the surprisal about that conditional mean converges, after division by , to an independent . Thus is the conditional tail probability when the across-fibre fluctuation has value . Averaging over removes this conditioning and performs a Gaussian convolution. Since is normal with variance , this gives the expectation identity in (12).
The two limits differ only in the order of the nonlinear map and this average over fibres. For , is applied to each conditional tail probability before the fibres are averaged, producing . Optimizing the reference marginal in reweights the fibres so that their tail probabilities are aggregated before is applied, producing . Thus the limit depends only on the total varentropy , whereas the limit generally remembers its split into and . Jensen's inequality gives
Appendix A gives a technical explanation of this distinction. If f is affine on the relevant interval, Jensen's inequality in (15) is an equality and the two profiles agree. Total variation is the principal example, so optimizing its reference marginal does not alter the second-order limit. The resulting corollary recovers the known side-information formula cited above, and we make no novelty claim for that specialization.
For the power generators corresponding to Rényi divergences of order , a monotone logarithmic transformation turns and into the two Rényi criteria studied by Hayashi and Tan [12]; see also [13]. They call the latter the “Gallager form” because the associated optimized conditional Rényi entropy is a rescaled classical Gallager function [12, Eqs. (14)–(17)]; see also [2]. In the second-order regime, their Eqs. (73) and (74) give nonmatching bounds for the two criteria rather than exact fixed-L limits. Our Rényi corollary evaluates both limits exactly and closes these gaps.
C. Related work
For quantum side information, Tomamichel and Hayashi first obtained a tight second-order expansion under purified distance after optimizing the reference side-information state [10]. Up to the usual monotone transformation between purified distance, fidelity, and , this is the optimized order-1/2 Rényi-divergence criterion. Their result did not settle the corresponding fixed-marginal problem. Our results help explain this difficulty: even for commuting side information, the fixed-marginal order-1/2 criterion has a Gaussian-mixture profile rather than the single Gaussian profile of the optimized criterion. For trace distance, Shen, Gao, and Cheng proved a strong converse and moderate-deviation bounds [24] and subsequently obtained the tight second-order expansion for the standard fixed-marginal privacy-amplification criterion [25]. At the one-shot level, Anshu, Berta, Jain, and Tomamichel derived privacy-amplification bounds in terms of the partially smoothed conditional min-entropy [19], while Regula and Tomamichel recently obtained tighter, approximately matching trace-distance bounds [30]. Renes gave hypothesis-testing characterizations for the trace-distance privacy-amplification criterion in the present setting [17]; Abdelhadi and Renes later showed that the second-order term of this partially smoothed conditional min-entropy is not uniform across quantum states and, for pure states, differs from the usual globally smoothed Gaussian form [20].
Recent work also clarifies the information quantities governing other asymptotic regimes. Li, Li, and Yu systematically studied a two-parameter conditional Rényi entropy that, after a change of variables, coincides with the conditional quantity of Hayashi and Tan and arises as the classical specialization of the three-parameter quantum conditional entropies introduced by Rubboli, Goodarzi, and Tomamichel [12], [26], [27]. They introduced the associated two-parameter mutual information and used these quantities to characterize strong-converse exponents for privacy amplification and soft covering under Rényi criteria [26]. Berta and Yao independently determined the strong-converse exponent for classical privacy amplification under purified distance; their result is closely related to the order-1/2 instance of the Rényi-divergence exponent [28]. Li and Yao gave an operational interpretation of sandwiched Rényi divergences of orders between 1/2 and one as strong-converse exponents under fidelity or purified distance [23]. These strong-converse results, expressed through a variety of Rényi-type entropies, are compatible with the refined second-order limits obtained here: they describe rates fixed beyond the first-order boundary, whereas our profiles resolve the transition window around that boundary. Appendix B makes this compatibility explicit for the fixed-marginal exponent of Li, Li, and Yu. At a complementary axiomatic level, Rubboli, Haapasalo, and Tomamichel completely characterized classical conditional entropies satisfying additivity, relabeling invariance, and monotonicity under conditional mixing [29]. Their characterization identifies exponential averages of conditional Rényi entropies as the general family, providing structural context for the conditional Rényi quantities considered here.
II. FORMAL STATEMENT OF MAIN RESULTS
This section states the exact second-order limits, explains the resulting Gaussian profiles, and derives the Rényi and total-variation corollaries.
A. Optimal leakage and the Gaussian f-profile
For and , define the optimal leakage by
where is finite, , and every maps to the -point alphabet . The optimization in includes the reference law on . Since the actual marginal is always feasible, at every blocklength
For and , set
and introduce the Gaussian f-profile
At , the argument of is the constant . To obtain the other endpoint, fix . As , the denominator in (18) tends to zero, while the numerator tends to . Hence . Since is bounded on , dominated convergence gives , where we used . Thus, defining the value at by continuous extension, the two endpoint formulas are
Lemma 19 below shows that the profile is continuous and nonincreasing from to zero. When f is strictly decreasing on , so is the profile.
Theorem 1 (Exact second-order f-leakage: fixed and optimized marginals). Let have finite support, let , and fix an admissible generator and . For every integer sequence satisfying (11),
Two-universal hashing achieves both limits, and both converses hold for arbitrary seeded hash families. For the optimized criterion, the converse even permits the reference law to be optimized jointly on .
The profile always lies between two bounds determined by the total Gaussian tail. The identity holds for every , with interpreted through the limiting indicator above. Jensen's inequality gives the lower bound below, while convexity and give for , and hence the upper bound:
The optimized-marginal limit in (22) equals the lower bound, consistently with (17). For the fixed-marginal limit, the lower bound is attained when , while the upper bound is attained when . If is affine on , the two bounds coincide and only the total variance remains.
B. Fixed-leakage expansions
We first note a monotonicity property that will also be used in the proof. For either arrow, the sequence is nondecreasing. Indeed, identify a 2M-point output alphabet with an M-point alphabet times one bit and discard the latter. The balanced projection sends to , so data processing proves the claim for the fixed reference. For the optimized reference, apply the same projection to both the distribution induced by the hash and every candidate ; its image is , after which one takes the infimum over and over hash families.
For a leakage budget and , define
Here the supremum is taken in . The admissible set is nonempty because a one-point output has zero leakage. The proof below shows that, for the i.i.d. laws in the corollary, it is bounded for every sufficiently large ; its supremum is then attained and is the largest extractable integer output length.
Corollary 2 (Fixed-leakage f-expansions: fixed and optimized marginals). Under the assumptions of Theorem 1, suppose in addition that f is strictly decreasing on . For every ,
C. Rényi divergences as a corollary
For , let . This is an admissible generator, with . Define the Rényi divergence by
where, with the value at the right endpoint understood in the extended sense,
The transformation in (28) is continuous and strictly increasing on , with the extended value at the right endpoint. Introduce the Gaussian Rényi overlap profile
For every , this profile is continuous and strictly increasing from zero to one.
For , let denote the criterion obtained from by replacing with , and let denote the corresponding optimal leakage from (16). Because is continuous and increasing, it commutes with the two infima, first over the reference law and then over seeded hash families. Consequently, at every blocklength,
Corollary 3 (Rényi specialization: fixed and optimized marginals). Let have finite support, let , and fix and . Let and be the two optimal leakages defined above. If satisfies (11), then
For , let and denote the largest extractable output lengths under the fixed-and optimized-marginal criteria, respectively. Then
In both cases two-universal hashing achieves the stated limits, and the converses permit arbitrary seeded hash families.
Proof. We first make the reference-marginal optimization explicit. Define
Minimizing is equivalent to maximizing . Hölder's inequality, or the Lagrange multiplier equations, gives
The fixed-reference criterion follows immediately from (27), and optimization over seeded hash families gives (30).
The two leakage limits follow from the corresponding statements of Theorem 1 through (30): substituting the power generator and applying gives the profile (29). For a Rényi leakage budget , the equivalent power-divergence budget is
Applying Corollary 2 with this budget and using gives both fixed-leakage expansions.
For comparison, the fixed-marginal part of Hayashi and Tan's result [12, Eq. (73)] gives the envelope
Since and is concave on , one has , so (31) lies exactly inside (39)–(40).
Their Gallager-form criterion coincides with , up to notation. In Case (C), their Eq. (74) again provides nonmatching second-order bounds, whereas (32) supplies the exact fixed-L limit [12]; see also [13].
Fig. 1 displays the Rényi profile and its inverse at . It also makes visible that a single total variance does not determine the second-order penalty for a nonlinear generator.
Gaussian Rényi profile ( )
Inverse profile ( )

Fig. 1. The Gaussian Rényi overlap profile and its inverse for . The variance ratio is . In the fixed-leakage expansion, the inverse is evaluated at . The endpoints are and .
a) Total variation as a recovered corollary.: The usual generator of total variation is . For our convention it is convenient to subtract the affine term and use the equivalent generator
Indeed, directly from (8),
Thus is admissible, with .
Let and denote (16) with total variation in place of . Since is affine on , Gaussian convolution gives, for every ,
The fixed and optimized reference marginals therefore have the same exact second-order leakage, even though their finite-blocklength values need not coincide. We recover the result in [9], [16], [19].
Corollary 4 (Total variation). Let have finite support and . If satisfies (11), then
For every , the fixed-marginal and optimized-marginal output lengths both obey
Two-universal hashing achieves these limits, and the converses permit arbitrary seeded hash families.
Affine generators therefore guarantee this coincidence. For nonlinear , Jensen's inequality is generally strict: fixing the reference retains the conditional variance split, whereas optimizing it depends only on the unconditional surprisal tail.
III. ONE-SHOT BOUNDS
This section establishes the finite-blocklength converse and achievability bounds used in the asymptotic proof.
For a probability vector on its support and , define
The vector is a subprobability approximation to whose individual coordinates are capped by . In the application below, , and gives the cap associated with a uniform law on output symbols. More concretely, pulling that uniform law back through a hash assigns total reference mass to each nonempty output bin and therefore at most to any individual input point.
The quantity is the resulting perspective cost. Since may have total mass smaller than one, its final term completes the reference law by placing the unused mass on zero-probability dummy symbols. Thus is the smallest -divergence cost compatible with the cap . The perspective term at is defined by continuity as . For a joint distribution and threshold , set
This averages the optimal capped cost separately in every conditional fibre, using the actual marginal , and is therefore the one-shot quantity for the fixed-reference criterion.
For , we also need the scaled capped value
Thus . For a joint law , define
where terms with use the same reference-zero convention as (8). Here the scale accounts for the change in likelihood ratio when the reference marginal of a fibre is changed from to . The quantity then chooses the reference marginal that gives the smallest weighted sum of these scaled fibre costs. The arrows on the two quantities thus match the corresponding security criteria.
The next lemma converts the output-bin masses into a one-shot converse that applies to every seeded family.
Lemma 5. Every seeded family with output size M satisfies the fixed-reference bound and the optimized-reference bound . Consequently,
Proof. Fix and with , abbreviate , and let
be the output-bin masses. For , define
The denominator is positive because the bin contains . Since , one has . Summing bin by bin,
so . Moreover,
(58)
The term involving accounts exactly for the empty bins. The left side of (59) is at least . Averaging over proves the fixed-reference family inequality; taking the infimum proves the corresponding bound for .
For the optimized claim, fix a reference and let whenever the denominator is positive. The bin construction in (56), with the conditional source scaled by , gives
For fixed y, aggregate the feasible capped vectors over s with weights proportional to . Their average is still capped by 1/M. Put
Joint convexity of the perspective first shows that the corresponding sum in (61) is at least
For every fixed feasible capped vector, its scaled objective is nonincreasing in the scale because f is nonincreasing. Taking the minimum preserves this property, and hence the last display is at least
Here is the Y-marginal of . Summing over y, then minimizing first over and finally over the seeded family, proves the two claims.
We use the standard notion of two-universal hashing introduced by Carter and Wegman [3].
Definition 6. A seeded family is two-universal under if
Such a family exists for every finite input alphabet and every : one may take the uniform distribution over all maps from the input alphabet to , for which the collision probability is exactly .
The following second-moment estimate is the only consequence of two-universality needed in the direct part. It says that, when nonnegative input weights are assigned to hash bins, the expected squared deviation of the bin weights from an equal allocation is controlled by the sum of the squared input weights.
Lemma 7. If the family is two-universal, then for any nonnegative numbers ,
Proof. For the calculation, put and . For every seed, , so expanding the square shows that the left side of (66) is .
The square contains one diagonal term for each input assigned to , as well as one term for every ordered pair of distinct inputs that collide in that bin. After summing over and averaging over the seed, the diagonal contribution is therefore , while two-universality bounds the collision contribution by . Since the latter sum equals , we obtain . Subtracting proves the claim.
For and each y, retain the light conditional probabilities
Define the modulus of continuity of f on by
Here is the total conditional mass of the light symbols, rather than a new probability distribution. The cutoff in (67) places each retained symbol a factor below the target mass 1/M of a uniform output bin; this slack is what allows two-universal hashing to spread the retained mass nearly uniformly. The modulus is the largest possible change in between two arguments in that are at most apart. Its convergence to zero as turns the resulting approximation in distance into an approximation of the -divergence cost.
Lemma 8. If S indexes a two-universal family, then
Put . If , define
Then the same family satisfies
Proof. Fix y and let . From Lemma 7 and the cap in (67),
Cauchy–Schwarz, followed by Jensen, yields
Let be the joint subdistribution produced by hashing the light part, including and , and let have conditional output . Averaging (76) over gives .
We use the following observation twice. Suppose that is a probability law and with . All sums below are over points with . Since the full distribution induced by the hash dominates coordinatewise and is nonincreasing,
Put . Only coordinates with can increase the right side relative to . For any , uniform continuity on and Markov's inequality give
For , one has , which proves (71) after choosing . If , then by (72). Applying the same observation with this probability law and the constant proves (74).
IV. CONDITIONAL WATER FILLING
This section solves the capped optimization underlying the one-shot bounds and shows that its optimizer is universal over the admissible generators. The term “water filling” refers to the form of the optimizer in (80): starting from t = 1, one raises the common multiplier t, so that each coordinate grows until it reaches the ceiling c; coordinates at the ceiling remain there while the others continue to fill. The value of t is the level at which the total mass becomes one.
Lemma 9. Let be a probability vector on its support and let . If , a common optimizer of (50) and (52) is
where is chosen so that . If , an optimizer is on the support, with the remaining mass assigned to dummy symbols. In either case the displayed optimizer is independent of both and .
Proof. The perspective in (49) is convex in . Moving mass from a dummy symbol to a support coordinate that is below the cap cannot increase the objective. Indeed, for and any subgradient , convexity at zero gives
and is a subgradient of . Thus all support coordinates are capped if , while the mass constraint is active if .
In the latter case, is continuous and nondecreasing, is at most one at , and equals for all sufficiently large . Hence a finite normalizing exists.
Consider the latter case and the scaled objective. Let , and use the right derivative of at nondifferentiability points. The function
is nonincreasing. Indeed, for , convexity gives
On every uncapped coordinate in (80), ; on every capped coordinate, . Hence the Karush–Kuhn–Tucker conditions hold with the mass multiplier and cap multipliers . Convexity makes these conditions sufficient. The scalar is determined only by normalization, proving optimality and independence from and . Taking recovers (50).
The water-filling value admits an exact representation in terms of the surprisal under .
Lemma 10. Let and . Let be the scalar in Lemma 9, put , and define
Then
Proof. A coordinate is capped exactly when , equivalently . On the uncapped set the total -mass is ; on the capped set it is . Their sum is one, proving (86). The likelihood ratio equals on the uncapped set and on the capped set. Scaling it by and substituting into (49) and (52) proves (88) and (90).
The next lemma is the asymptotic link between capped divergences and transformed surprisal-tail probabilities. Its local uniformity in the scale will be used when the reference marginal is optimized.
Lemma 11. Let be probability vectors, let under , and let be thresholds. Suppose
(92) and eventually. Then, for every ,
In particular,
For every , one also has the bounds
Proof. Let and be the water level and multiplier from Lemma 10. Since , . Define , so . Choose with . The anti-concentration condition gives , and hence eventually. Since is nondecreasing,
eventually, and uniform anti-concentration gives .
As in (85), split the sub-threshold term at . The far part is at most and the near part is , uniformly under (96). First letting and then yields . Therefore , and . Uniform continuity of on the resulting compact set of arguments shows that the uncapped term in (90) converges uniformly on to .
For the capped term, put . Its integrand is . On , it is bounded in absolute value by
which tends to zero as by the second condition in (7). On the remaining fixed-width strip, stays in a compact subset of uniformly in , while anti-concentration makes the probability of the strip vanish. This proves (93); taking an interval containing gives (94).
Finally, apply Jensen’s inequality to the optimizer from Lemma 9, including its dummy mass. The weighted average of the likelihood-ratio arguments is a, so the objective is at least . Since f is nonincreasing, every term is at most , proving (95).
V. CONDITIONAL PRODUCT ASYMPTOTICS
This section derives the conditional and unconditional Gaussian limits used to evaluate the one-shot bounds.
We begin with the required normal approximation. The displayed form is the classical Berry–Esseen inequality for independent, not necessarily identically distributed summands; see, e.g., [31].
Fact 12 (Berry–Esseen). If are independent, centered, finite-valued random variables and , then for a universal constant ,
For y with , abbreviate
Finite alphabets imply . Define the block conditional surprisal and the threshold parametrization by
Conditional on , the mean and variance of the block surprisal are
Finally, define
Lemma 13. Let . If , then for every fixed ,
Proof. Conditional on , the surprisal summands are independent, with mean sum , variance , and third absolute centered moments . The law of large numbers gives in probability. On , Fact 12 gives a uniform error at most
Furthermore,
Combining these observations proves (107). Finally, ; the ordinary central limit theorem gives (108), with the degenerate interpretation if .
The next lemma transfers the conditional tail approximation to capped divergences, locally uniformly in the scale used for reference-marginal optimization. Let
and put . Equality in (111) holds exactly for a uniform conditional fibre, so implies . For let be the event on which
Lemma 14. Assume and fix and . For every ,
Consequently,
Proof. On this event the Gaussian argument in the Berry–Esseen approximation used in the proof of (107) remains in a compact interval. Thus, by (109), for large n, there is such that
Fact 12, applied at the two endpoints of any fixed-width interval, also gives, for fixed B, T > 0,
The conditional support obeys
On , the first term is at least and the second is . Hence the support condition of Lemma 11 holds uniformly on .
Suppose that (114) were false. There would then exist , a subsequence , points , and scales for which the displayed absolute difference is at least . Passing to a further subsequence, compactness and (116) give
For the sequence of conditional probability vectors , the tail assumption of Lemma 11 holds with limit , the anti-concentration assumption follows from (117), and the support condition follows from (119). The same lemma therefore gives, uniformly for ,
Evaluating at and using continuity of on the compact interval makes both terms in (114) converge to , a contradiction.
Taking any scale interval containing proves uniform convergence of the unscaled difference on . Both unscaled terms lie in by (95) and monotonicity. The laws of large numbers and (108) imply . For fixed , the expectation in (115) is bounded by the uniform error on plus . First taking and then proves the claim.
The following lemma isolates the perspective minimization that turns fibrewise scaled limits into an optimized-marginal limit.
Lemma 15. For each , let be a probability distribution on a finite set , let , and let . Suppose that
and, for every e and ,
Assume that there are sets such that
(124) and, for each fixed K, some satisfies
eventually. Finally, suppose that for every fixed K and ,
Then
where the infimum is over probability distributions on and reference-zero terms use the same convention as (8).
Proof. Fix and abbreviate and . For a reference , write where , and define
Let and choose . On , if , then (123) and monotonicity give
For , let the uniform error in (126) be . For , put
Because , monotonicity and the second condition in (7) give
Thus (123) implies
on the large-scale region. Outside , (123) gives . Summing the four regions yields
Jensen's inequality and monotonicity of f give
The last step also handles reference-zero points: omitting them decreases the argument of the nonincreasing function . Moreover,
Taking the infimum over and then sending successively , , , and proves the lower limit in (127).
For the upper limit, choose
on points where . On , its scale satisfies and belongs to a compact subinterval of . Hence (126) and (123) give
First letting and then proves the matching upper limit.
The endpoint needs a separate elementary argument.
Lemma 16. Assume and . Every nonzero is uniform on its support, and
If and , then
Proof. Since and , almost surely. Thus the conditional surprisal is constant on every nonzero fibre. If that fibre has size , its probabilities are and . Conditional on , the product law is uniform on points. Put . Directly from (49) and Lemma 9,
Here , and
When the left side is bounded above by , the second line of (144) converges uniformly to because ; when it is at least , the value is zero. The expression is bounded by . Sandwiching, then letting and , proves (142).
The conditional tail in (143) is the zero-one variable . Since and , (145) proves the second claim.
The preceding conditional limit results now identify the same fixed-reference Gaussian profile in two forms: both the capped one-shot quantity used in the converse and the conditional light-tail quantity used in achievability converge to it.
Proposition 17. For every fixed and ,
(147) for every with .
Proof. Suppose . Lemmas 13 and 14, boundedness of on , and the continuous-mapping theorem give
For the shifted tail, write
On , Fact 12 and (109) give
Because and in probability, Slutsky's theorem and (108) show that the argument of in (151) converges in distribution to the Gaussian tail in (149). The random variables are bounded by , so convergence in distribution plus boundedness and continuity of gives convergence of their expectations, proving (147). If , Lemma 16 gives both conclusions and (20) identifies their common limit.
Optimizing the reference marginal collapses this conditional profile to f applied to a single unconditional Gaussian tail. The next proposition gives this optimized limit together with the unconditional tail limit used in the achievability argument.
Proposition 18. For every fixed and ,
Moreover, if and , then
Proof. Let . These random variables are i.i.d., with mean and variance . Therefore
which proves (153); taking gives the corresponding unshifted limit. In the remainder write
When , apply Lemma 15 with
The bounds (123) are (95); the local limit and tail bounds are (114) and (116); and (124) follows from the laws of large numbers and (108). Thus
whenever .
It remains to treat . Every conditional product distribution is then uniform on points. Put
The scaled water-filling value is exactly
Choose any with and define
Since , (145) gives
For an arbitrary reference , put whenever the denominator is positive. Equation (95) yields on . On , put . The loss relative to is
This loss tends to zero uniformly over . Indeed, . For any fixed , the terms whose displayed likelihood ratio is at most are bounded by
whereas the remaining terms are at most
The latter supremum tends to zero as by the second condition in (7). More explicitly, define
For every , first choose a fixed making the second term less than , and then take large enough that the first term is less than . Hence , uniformly over the reference law, and
The final line is Jensen’s inequality applied to arguments on and zero on ; reference-zero points are handled as in (137).
For the upper bound, take
Its scale is the constant . The first line of (160) therefore contributes exactly on ; on the shrinking strip the value is at most . Hence
Equations (162) and (163), together with continuity of , make the lower and upper bounds converge to . This completes the proof in both variance regimes.
VI. PROOF OF THE MAIN RESULTS
This section combines the one-shot bounds, water-filling formulas, and Gaussian limits to prove the main theorem and its fixed-leakage consequence.
Proof of the fixed-marginal statement of Theorem 1. Set
For every , eventually . Since decreases with , the feasible capped set expands with and both and the transformed conditional-tail expectation in (147) are nonincreasing in . Consequently each quantity at lies between its values at and . Proposition 17 and continuity of therefore imply the same two limits with in place of after and then .
Converse. The proof associates each output binning with a subprobability vector capped by . The one-shot converse reduces the leakage to its optimal -divergence perspective, and conditional water filling followed by the Gaussian-profile limit evaluates this quantity. Formally, apply Lemma 5 to . By (146), every seeded extractor satisfies
Taking the infimum gives the converse for .
Achievability. The proof hashes only the light part of each conditional source with a two-universal family; closeness to the corresponding scaled uniform law and continuity of then reduce the leakage to the same conditional Gaussian profile. Choose to index a two-universal family and set . The light condition in Lemma 8 is exactly
The modulus-of-continuity error in (71) vanishes. Equation (147) therefore gives
The bounds coincide.
Proof of the optimized-marginal statement of Theorem 1. Let be as in (174), so . The same cap monotonicity gives, for every fixed and all large ,
Converse. The optimized-reference converse applies water filling to each scaled conditional source and then uses perspective aggregation to place outside the side-information average, leaving a single unconditional Gaussian tail. Lemma 5, Proposition 18, and continuity of , followed by , give
Achievability. The proof tilts the reference marginal by the conditional light mass, so two-universal hashing produces a constant multiple of the chosen ideal law and the remaining quantity is the unconditional surprisal tail. Choose a two-universal family, set , and let
When , denote the corresponding tail-tilted reference by
For all sufficiently large , . Apply (74) to the block source. Its reference (72) is exactly the law in (181), and therefore
The unconditional tail sandwich used above, now with the shift , and (153) give . Taking the limsup in (183) proves the matching upper bound.
The remaining lemma records the analytic properties used for fixed leakage.
Lemma 19. For fixed and , the map is continuous and nonincreasing, with limits and zero at and , respectively. If is strictly decreasing on , the profile is strictly decreasing. Moreover, the value in (20) at equals the limit of (19) as .
Proof. For , is continuous and strictly increasing in for every . The assertions follow from continuity, monotonicity, and boundedness of on , together with dominated convergence. Strict decrease follows when is strictly decreasing. The case follows from (20). The calculation following (19) proves the asserted continuity as .
Proof of Corollary 2. Put and define, in parallel for the two marginal treatments,
Lemma 19 and the assumptions on show that both profiles are continuous and strictly decreasing from to zero, and that for .
We will round the two comparison rates explicitly. First observe that implies . Indeed, conditional surprisal is nonnegative; if , then it vanishes almost surely. Every conditional law on its support is consequently a point mass, which forces both and to vanish, contrary to .
Fix and one of the arrows . For each , set
Since , the maximum with zero is inactive for all sufficiently large n. The rounding error is less than one, and hence
Thus the two sequences satisfy the second-order-rate hypothesis of Theorem 1. Applying that theorem at the two fixed offsets gives
The first rounded length is therefore feasible and the second is infeasible for all sufficiently large . By the output-length monotonicity established above, every feasible length is strictly smaller than . Together with feasibility of , this proves that the admissible set is nonempty and bounded, that its supremum is attained, and that
eventually. In particular, no convergence uniform in the output length is being used: is fixed before Theorem 1 is applied.
Divide (190) by after subtracting nH, and use (187). This yields
Letting proves convergence to . Substitution of the two values in (184)–(185) gives (25) and (26), respectively.
VII. Discussion
The condition separates the constant-leakage second-order profile studied here from qualitatively different regimes. Forward relative entropy, with generator , and superlinear divergences such as violate this condition. At the central-limit rate their leakage need not approach a finite constant; in particular, relative-entropy leakage has a scaling [12]. Generators with , such as reverse relative entropy, also require a different direct argument because empty output bins can have infinite cost. The theorem is pointwise for each fixed generator. Approaching the forward relative-entropy endpoint requires a separate uniform analysis. The divergences converge to forward relative entropy for every fixed pair of finite-alphabet laws as , but this convergence is not uniform over laws with large likelihood ratios. The distinction between the two statements of Theorem 1 is likewise essential.
As shown in Corollary 4, the chosen total-variation generator is affine on , so fixing or optimizing the reference marginal leads to the same second-order profile. Nonlinear generators, including the power generators in the Rényi specialization, generally retain the separate dependence on and under the fixed criterion, but not under the optimized one.
Finite alphabets provide uniform third moments and, through Fact 12, the conditional anti-concentration needed for water filling. Extensions to countable alphabets appear possible under suitable moment, support-growth, and uniform-integrability hypotheses. A quantitative version of Lemma 11 may also yield third-order control, but that is separate from the exact second-order profile established here.
Acknowledgments: MB acknowledges support from the European Research Council (ERC Grant Agreement No. 948139) and the Excellence Cluster Matter and Light for Quantum Computing (ML4Q-2). This work was supported in part by a grant of access to OpenAI models through the ChatGPT for Academic Researchers program. HC acknowledges support from National Science and Technology Council (NSTC 115-2628-E-002-005, NSTC 114-2119-M-001-002, and NSTC 115-2124-M-002-014) and Ministry of Education (NTU-115V2016-1, NTU-CC115L893705, and NTU-115L900702). MT acknowledges support from the National Research Foundation Investigatorship Award (NRF-NRFI10-2024-0006) and the National Research Foundation, Singapore, through the National Quantum Office, hosted by A*STAR, under its Centre for Quantum Technologies Funding Initiative (S24Q2d0009).
APPENDIX A
WHY FIXING AND OPTIMIZING THE REFERENCE MARGINAL DIFFER
The difference between the two criteria can be seen by first fixing a value . Put and, at the threshold from (103), let
This is the total probability of the sequences whose conditional probabilities are at most . We refer to these as the low-probability part of the conditional distribution. Replacing by the actual output length, or by the slightly shifted threshold used in the achievability proof, does not change the limit.
It is useful to spell out why appears. Write and . The one-shot converse reduces this conditional problem to approximating by a nonnegative vector whose total mass is at most one and whose individual entries cannot exceed . To see where the cap comes from, pull the ideal uniform mass of each output bin back to the input sequences mapped into that bin. A bin has total reference mass , so no individual sequence can receive more than that amount. Lemma 9 says that the best vector has entries , where is chosen to make the total mass one. Thus the largest entries of are flattened at the cap, while the smaller entries are all multiplied by the same factor. This is the water-filling operation used in the proof.
Near the second-order threshold, the conditional surprisal has negligible probability in any fixed-width interval around the water level. Consequently, the uncapped entries have total -mass asymptotic to and carry asymptotically all of the approximating vector's mass. Normalization then forces to be close to . On those entries, the likelihood ratio between and the approximating vector is , hence is close to . Their divergence contribution is therefore . The capped entries make a vanishing contribution; this is where the assumption is used. In the other direction, two-universal hashing makes the same low-probability part nearly uniform and therefore attains the same value.
For the fixed reference marginal, this argument is performed separately for each and the resulting costs are then averaged with respect to . The limiting leakage is consequently determined by . There are two sources of Gaussian fluctuation. Given , the surprisal still fluctuates around its conditional mean, with asymptotic variance . The conditional mean itself changes with : with , one has
The variance thus controls the Gaussian transition for a fixed conditional distribution, while describes how the location of that transition changes with the side information. It follows that
Because f is applied before the average over , this expression can depend separately on and .
Optimizing the reference marginal changes precisely this last step. Suppose that the chosen reference assigns probability to the public view , whose actual probability is . Changing the total reference mass within this value of multiplies every likelihood ratio by . The same water-filling argument therefore gives the corresponding conditional cost with this factor, weighted by . Convexity of gives
The sum on the right is . Equality is obtained by choosing as in (181). In words, the optimized reference gives more weight to values of for which the conditional distribution has more low-probability mass. This makes the argument of the same for every and aggregates the conditional tail probabilities before is applied.
Finally, is simply the unconditional probability that the block surprisal exceeds the threshold. Its variance is the total variance , so the ordinary central limit theorem gives
The optimized profile therefore depends only on V, even though the two sources of fluctuation are still present in the underlying distribution.
The endpoint cases make the distinction especially transparent. If , the conditional tail probability has no random displacement, so averaging before or after applying gives the same value . If , the conditional tail probabilities approach zero or one. The fixed criterion first applies to these two values and then averages, giving , whereas optimization first averages the zeros and ones and gives . The two criteria also agree for every variance split when is affine on , because in that case applying and averaging commute; total variation is the relevant example.
APPENDIX B
NEAR-BOUNDARY COMPATIBILITY WITH FIXED-RATE EXPONENTS
This appendix records a concise consistency check with the fixed-marginal strong-converse exponent of Li, Li, and Yu [26]. This is a comparison of asymptotic regimes, not a new uniform moderate-deviation statement. Consistently with the rest of the paper, let be the order of the Rényi-divergence security criterion, and write the auxiliary optimization parameter in their formula as . In our notation, their two-parameter conditional entropy is
Their Theorem 19 gives, for the criterion with reference marginal ,
Public randomization does not change this optimum: one may choose the best deterministic hash among the seeded family.
A direct Taylor expansion of (199) at , with , gives
By the monotonicity of in [26, Proposition 4] and (201), for every when ; hence any maximizer in (200) approaches as . Consequently, writing and , the maximizing is , and maximizing the quadratic approximation in (200) yields
The parameters and describe the same excess output length on different scales. Indeed, a rate gives an excess of bits, while the second-order parametrization gives an excess of bits. Thus , or equivalently . A fixed therefore corresponds to growing on the order of . The overlap between the two asymptotic regimes is obtained by taking but , and hence . Evaluating (202) on this common scale gives
The same expression is the far-right tail of our fixed-marginal second-order profile. Indeed, the Gaussian tail estimate for the profile in (29), including its two endpoint cases, is
Corollary 3 therefore implies
Equations (203) and (205) now have the same parameter and the same coefficient. This is the claimed compatibility. It remains an iterated-limit comparison: Li, Li, and Yu establish their operational result at each fixed , whereas Corollary 3 establishes ours at each fixed L. Neither theorem alone supplies the uniformity needed to turn the common-scale calculation into a moderate-deviation theorem, and the fixed-rate exponent does not determine our full Gaussian profile. Their result uses the actual side-information marginal, so it does not address our optimized-marginal criterion.
REFERENCES
[1] I. Csiszár, “Information-type measures of difference of probability distributions and indirect observations,” Studia Sci. Math. Hungar., vol. 2, pp. 299–318, 1967.
[2] R. G. Gallager, Information Theory and Reliable Communication. New York, NY, USA: Wiley, 1968.
[3] J. L. Carter and M. N. Wegman, "Universal classes of hash functions," J. Comput. Syst. Sci., vol. 18, no. 2, pp. 143–154, Apr. 1979.
[4] C. H. Bennett, G. Brassard, and J.-M. Robert, "Privacy amplification by public discussion," SIAM J. Comput., vol. 17, no. 2, pp. 210–229, Apr. 1988.
[5] R. Impagliazzo, L. A. Levin, and M. Luby, “Pseudo-random generation from one-way functions,” in Proc. 21st Annu. ACM Symp. Theory Comput. (STOC), Seattle, WA, USA, May 1989, pp. 12–24.
[6] S. Vembu and S. Verdú, “Generating random bits from an arbitrary source: Fundamental limits,” IEEE Trans. Inf. Theory, vol. 41, no. 5, pp. 1322–1332, Sep. 1995.
[7] C. H. Bennett, G. Brassard, C. Crépeau, and U. M. Maurer, “Generalized privacy amplification,” IEEE Trans. Inf. Theory, vol. 41, no. 6, pp. 1915–1923, Nov. 1995.
[8] M. Hayashi, “Second-order asymptotics in fixed-length source coding and intrinsic randomness,” IEEE Trans. Inf. Theory, vol. 54, no. 10, pp. 4619–4637, Oct. 2008.
[9] S. Watanabe and M. Hayashi, “Non-asymptotic analysis of privacy amplification via Rényi entropy and inf-spectral entropy,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Istanbul, Turkey, Jul. 2013, pp. 2715–2719.
[10] M. Tomamichel and M. Hayashi, “A hierarchy of information quantities for finite block length analysis of quantum tasks,” IEEE Trans. Inf. Theory, vol. 59, no. 11, pp. 7693–7710, Nov. 2013.
[11] R. Nomura and T. S. Han, “Second-order resolvability, intrinsic randomness, and fixed-length source coding for mixed sources: Information spectrum approach,” IEEE Trans. Inf. Theory, vol. 59, no. 1, pp. 1–16, Jan. 2013.
[12] M. Hayashi and V. Y. F. Tan, “Equivocations, exponents, and second-order coding rates under various Rényi information measures,” IEEE Trans. Inf. Theory, vol. 63, no. 2, pp. 975–1005, Feb. 2017.
[13] M. Hayashi and V. Y. F. Tan, “Corrections to ‘Equivocations, exponents, and second-order coding rates under various Rényi information measures’,” IEEE Trans. Inf. Theory, vol. 70, no. 4, pp. 3046–3048, Apr. 2024.
[14] T. Uyematsu and T. Matsuta, “Second-order intrinsic randomness for correlated non-mixed and mixed sources,” IEICE Trans. Fundam. Electron. Commun. Comput. Sci., vol. E100-A, no. 12, pp. 2615–2628, Dec. 2017.
[15] M. Hayashi and S. Watanabe, “Uniform random number generation from Markov chains: Non-asymptotic and asymptotic analyses,” IEEE Trans. Inf. Theory, vol. 62, no. 4, pp. 1795–1822, Apr. 2016.
[16] M. Hayashi, “Security analysis of -almost dual universal hash functions: Smoothing of min entropy versus smoothing of Rényi entropy of order 2,” IEEE Trans. Inf. Theory, vol. 62, no. 6, pp. 3451–3476, Jun. 2016.
[17] J. M. Renes, “On privacy amplification, lossy compression, and their duality to channel coding,” IEEE Trans. Inf. Theory, vol. 64, no. 12, pp. 7792–7801, Dec. 2018.
[18] L. Yu and V. Y. F. Tan, “Simulation of random variables under Rényi divergence measures of all orders,” IEEE Trans. Inf. Theory, vol. 65, no. 6, pp. 3349–3383, Jun. 2019.
[19] A. Anshu, M. Berta, R. Jain, and M. Tomamichel, “Partially smoothed information measures,” IEEE Trans. Inf. Theory, vol. 66, no. 8, pp. 5022–5036, Aug. 2020.
[20] M. Abdelhadi and J. M. Renes, “On the second-order asymptotics of the partially smoothed conditional min-entropy and application to quantum compression,” IEEE J. Sel. Areas Inf. Theory, vol. 1, no. 2, pp. 416–423, Aug. 2020.
[21] R. Nomura, “Source resolvability and intrinsic randomness: Two random number generation problems with respect to a subclass of f-divergences,” IEEE Trans. Inf. Theory, vol. 66, no. 12, pp. 7588–7601, Dec. 2020.
[22] R. Nomura and H. Yagi, “Optimum achievable rates in two random number generation problems with f-divergences using smooth Rényi entropy,” Entropy, vol. 26, no. 9, Art. no. 766, Sep. 2024.
[23] K. Li and Y. Yao, “Operational interpretation of the sandwiched Rényi divergence of order 1/2 to 1 as strong converse exponents,” Commun. Math. Phys., vol. 405, no. 2, Art. no. 22, Feb. 2024.
[24] Y.-C. Shen, L. Gao, and H.-C. Cheng, “Strong converse for privacy amplification against quantum side information,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), Espoo, Finland, Jun. 2022, pp. 1880–1885.
[25] Y.-C. Shen, L. Gao, and H.-C. Cheng, “Optimal second-order rates for quantum soft covering and privacy amplification,” IEEE Trans. Inf. Theory, vol. 70, no. 7, pp. 5077–5091, Jul. 2024.
[26] S.-B. Li, K. Li, and L. Yu, “Two-parameter Rényi information quantities with applications to privacy amplification and soft covering,” IEEE Trans. Inf. Theory, vol. 72, no. 8, pp. 5370–5391, Aug. 2026.
[27] R. Rubboli, M. M. Goodarzi, and M. Tomamichel, “Quantum conditional entropies from convex trace functionals,” Commun. Math. Phys., vol. 407, no. 180, Aug. 2026.
[28] M. Berta and Y. Yao, “Strong converse exponents of partially smoothed information measures,” arXiv:2505.06050, 2025. [Online]. Available: https://arxiv.org/abs/2505.06050
[29] R. Rubboli, E. Haapasalo, and M. Tomamichel, “A complete characterisation of conditional entropies,” arXiv:2601.23213, 2026. [Online]. Available: https://arxiv.org/abs/2601.23213
[30] B. Regula and M. Tomamichel, “Rethinking quantum smooth entropies: Tight one-shot analysis of quantum privacy amplification,” arXiv:2603.04493, 2026. [Online]. Available: https://arxiv.org/abs/2603.04493
[31] L. H. Y. Chen and Q.-M. Shao, “A non-uniform Berry–Esseen bound via Stein’s method,” Probab. Theory Relat. Fields, vol. 120, no. 2, pp. 236–254, Jun. 2001.
[32] L. de Moura and S. Ullrich, “The Lean 4 theorem prover and programming language,” in Automated Deduction—CADE 28, ser. Lecture Notes in Computer Science, vol. 12699. Cham, Switzerland: Springer, 2021, pp. 625–635.
[33] The mathlib Community, “The Lean mathematical library,” in Proc. 9th ACM SIGPLAN Int. Conf. Certified Programs and Proofs (CPP), New Orleans, LA, USA, Jan. 2020, pp. 367–381.
[34] M. Berta, H.-C. Cheng, and M. Tomamichel, Lean formalization accompanying “Second-Order Expansion of Privacy Amplification Under f-Divergence Criteria,” GitHub repository, archived on Zenodo (2026).