arXiv:2609.03205cs.ITSep 2026

Manuscript Offprint

arXiv:2609.03205

Variational Probabilistic Quantization for Secret Key Generation

Xinyang Li, Vlad C. Andrei, Peter J. Gu, Yiqi Chen, Ullrich J. Mönich, Holger Boche

Xinyang Li, Vlad C. Andrei, Peter J. Gu, Yiqi Chen, Ullrich J. Mönich, Holger Boche

Chair of Theoretical Information Technology, Technical University of Munich, Munich, Germany

Email: {xinyang.li, vlad.andrei, peter.gu, yiqi.chen, moenich, boche}@tum.de

Abstract—Secret key generation from correlated observations at Alice and Bob, in the presence of an eavesdropper Eve, underpins physical-layer security. Classical pipelines quantize by hand, amplify privacy afterwards, and optimize no objective tied to a key rate. We propose Variational Probabilistic Quantization (VPQ): neural encoders that map the correlated sources directly into a discrete key alphabet, trained by a variational adversarial objective whose entropy, mismatch, and leakage terms match the three terms of the one-way secret key rate. A linear code-offset secure sketch then reconciles the encoder outputs into an identical key without a separate privacy amplification step. We prove that the VPQ losses lower-bound the one-way secret key capacity of the induced source, and derive in closed form the optimal worst-case key rate over the source class of a given alphabet size and mismatch probability, attained by finite-field linear sketches. On Gaussian fading channels, VPQ leaks less to a correlated eavesdropper than one classical and two recent learning-based baselines, and Reed–Solomon reconciliation operates within the predicted finite-blocklength gap.

Index Terms—Variational quantization, secret key generation, physical-layer security, mutual information, secure sketch.

I. INTRODUCTION

Secret keys derived from the wireless channel are a basic building block of physical-layer security [1], [2]. The dominant pipeline for physical-layer key (PLK) generation [3], [4] is fixed in form: channel probing, hand-designed scalar quantization based on level-crossing or cumulative-distribution-function (CDF) rules, information reconciliation, and privacy amplification. Such quantizers act on the marginal of a single scalar observable, ignore the joint structure of Alice's and Bob's observations, and treat secrecy as an after-the-fact decorrelation step rather than as a design objective. As a consequence, their secrecy degrades sharply once Eve becomes correlated with the legitimate channel, which is precisely the regime where PLK generation must provide protection.

Recent learning-based methods [5]–[7] replace the hand-designed quantizer with an autoencoder that maps the observations into reciprocal continuous latent features, followed by a separate, non-differentiable quantization step; secrecy is either deferred to privacy amplification or, in [7], enforced by a domain-adversarial branch. The discretization still sits outside the training loop, and no objective is tied to an information-theoretic key rate.

We map the correlated sources directly into a discrete key alphabet in a single end-to-end differentiable step, so that uniformity, agreement, and secrecy are governed by the training objective rather than recovered post hoc. We propose Variational Probabilistic Quantization (VPQ): probabilistic neural-network encoders trained by a variational adversarial objective whose entropy, mismatch, and leakage terms are optimized against a learnable predictor at Eve [8], [9]. A code-offset secure sketch [10] then reconciles the encoder outputs into an identical key. Because the adversarial objective already drives the leakage to Eve toward zero, no separate privacy amplification step is required. The construction remains effective under a correlated Eve.

Contributions. (i) A two-stage framework that combines VPQ with a q-ary linear code-offset secure sketch and produces, through a single variational adversarial loss, near-uniform and agreeing discrete random variables with low leakage to Eve. (ii) Two information-theoretic guarantees, valid in particular under a correlated Eve: the VPQ training losses lower-bound the one-way secret key capacity of the induced source, and the optimal worst-case one-way reconciliation rate over the i.i.d. source class with a given alphabet size and mismatch probability admits a closed form attained by q-ary linear code-offset sketches; a bounded-leakage proposition caps the key's leakage rate by the residual leakage. (iii) An empirical study on Gaussian fading sources under absent, uncorrelated, and correlated Eve, benchmarked against the conventional key generation (Conv. KG) pipeline of [4] and two recent learning-based methods, the mutual-information-driven autoencoder (MIAE) [6] and the domain-adversarial autoencoder (DAAE) [7]: VPQ delivers usable keys without a privacy amplification stage even against a correlated Eve, whereas all three baselines leak up to 2.2 bits per symbol.

This work was supported by the Bavarian Ministry of Economic Affairs, Regional Development and Energy within the project “6G Future Lab Bavaria”; by the project “Next Generation AI Computing (gAln)”, funded by the Bavarian Ministry of Science and the Arts and the Saxon Ministry for Science, Culture, and Tourism; and by the Federal Ministry of Research, Technology and Space (BMFTR) under the programme CommUnity (16KISS013) and the programme “Souverän. Digital. Vernetzt.”, joint project 6G-life (16KIS2414).

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Notation. Random variables are written in upper case and their realizations in lower case; x\boldsymbol{x} denotes a vector. H(⋅)H(\cdot) and

I(⋅;⋅)I(\cdot;\cdot) are the entropy and the mutual information in bits, h2(⋅)h_2(\cdot) the binary and hq(⋅)h_q(\cdot) the q-ary entropy function, and D(⋅∥⋅)D(\cdot\|\cdot) the Kullback–Leibler divergence. Alice and Bob quantize their observations into WW and VV on a common alphabet W\mathcal{W} of size q=∣W∣q = |\mathcal{W}|, with mismatch rate pe=Pr⁡{W≠V}p_e = \Pr\{W \neq V\}; GF(q)\mathrm{GF}(q) is the finite field of order qq, Dpe\mathcal{D}_{p_e} the i.i.d. source class of Theorem 2, BB the batch size, α\alpha the averaging factor, and λ1\lambda_1, λ2\lambda_2 the loss weights, all introduced in Section III.