Optimal Subcarrier Allocation Scheme for Physical Layer Secret Key Generation in OFDMA Networks

XIAO Q, LI G, LIU Z, et al

IEEE Transactions on Information Forensics and Security


📌 Abstract

This paper investigates the enhanced Physical Layer Secret Key Generation (PKG) problem in multi-user OFDMA networks. In practical OFDMA systems, frequency correlation exists among different subcarriers, which degrades the randomness of the generated keys and reduces the total secret key rate. To address this issue, this paper demonstrates the critical role of subcarrier allocation in improving PKG performance in OFDMA networks and theoretically proves that when a single user terminal (UT) selects a limited number of subcarriers for key generation, adoptinguniformly spaced subcarriersis the optimal strategy, which can maximally suppress the negative impact of frequency correlation, thereby achieving a higher secret key rate and better key randomness. Furthermore, this paper derives a closed-form expression for the total secret key rate and designs a low-complexity near-optimal algorithm that efficiently solves the subcarrier allocation optimization problem while satisfying the security requirements of all users. Simulation results show that compared with existing random and consecutive subcarrier allocation algorithms, the proposed scheme improves the total secret key rate by 9.93% and 40.59%, respectively, and significantly enhances key randomness.

💡 Core Contributions

  • Theoretical analysis of the impact of frequency correlation on PKG performance. This paper is the first to systematically analyze the dual impact of frequency correlation among subcarriers on key generation performance in multi-user OFDMA scenarios: on one hand, it reduces the randomness of the generated keys (affecting four tests in the NIST test suite, including the Binary Matrix Rank Test, Discrete Fourier Transform Test, Serial Test, and Approximate Entropy Test); on the other hand, it reduces the effective key space, thereby lowering the total secret key rate. This analysis fills a gap in the existing literature.
  • Rigorous proof of the optimality of uniformly spaced subcarriers (Theorem 2). By exploiting the monotonic decreasing property and convexity of the Pearson correlation coefficient with respect to subcarrier frequency spacing, and using the Lagrange multiplier method, it is proven that when a single UT selects NkN_ksubcarriers from a given subcarrier set, selecting subcarriers with the maximum uniformly distributed frequency spacing minimizes the sum of correlation coefficients among subcarriers, thereby maximizing the secret key rate IkI_k. This conclusion also provides a closed-form expression for the total secret key rate.
  • Low-complexity near-optimal algorithm design for the NP-hard optimization problem. The subcarrier allocation problem is formulated as a Multiple Knapsack Problem (MKP), and its NP-hardness is proven. On this basis, a two-stage near-optimal algorithm is proposed: in the first stage, Theorem 2 combined with binary search is used to determine the minimum number of subcarriers for each UT to satisfy the security requirement Rk\mathcal{R}_k ; in the second stage, a greedy strategy is adopted to allocate the remaining subcarriers to each UT to further improve the total secret key rate. The number of allocation strategies explored by the algorithm is only O(Klog⁡2N)O(K \log_2 N), which offers a fundamental computational overhead advantage over the super-exponential complexity of exhaustive search.
  • Comprehensive simulation validation, with performance consistently outperforming baseline algorithms. Simulations under the QuaDRiGa urban macro-cell NLOS scenario demonstrate that the proposed near-optimal algorithm significantly outperforms both the consecutive allocation algorithm and the random allocation algorithm in three dimensions: total secret key rate, subcarrier utilization efficiency, and key randomness. The improvement in key quality is further verified through key tests in the NIST randomness test suite.

🔧 Method Overview

This paper considers a multi-user OFDMA system consisting of one base station (BS),KKK mobile user terminals (UTs), and one eavesdropper (Eve) (corresponding to Fig. 1in the original paper; the system architecture diagram will be inserted as an independent module in this section). The system adopts a block fading channel model, where both the BS and each UT are equipped with a single antenna, and messages among UTs are relayed through the BS; therefore, secret keys are independently generated between the BS and each UT. The channel impulse response (CIR) is converted to the channel frequency response (CFR) via the fast Fourier transform (FFT). The CFR of the nn -th subcarrier isHk,nside(t)=∑l=1Lhkside(τl,t) e−j2πfnτl,H^{\mathrm{side}}_{k,n}(t) = \sum_{l=1}^{L} h^{\mathrm{side}}_k(\tau_l, t)\, e^{-j2\pi f_n \tau_l},where fn=n⋅B/Nf_n = n \cdot B/Nis the frequency value of the nn -th subcarrier. On this basis, the complete key generation process consists of three steps, and the overall workflow is shown in Fig. 2 of the original paper.Step 1: Subcarrier allocation. This is the core innovative module introduced in this paper. The algorithm is executed in two stages: Stage 1 utilizes the uniformly spaced optimality theorem combined with binary search to satisfy each UT's security requirement with the minimum number of subcarriers Rk\mathcal{R}_k; Stage 2 adopts a greedy strategy to allocate the remaining subcarriers one by one to the UT with the largest nearest-subcarrier spacing, further improving the total secret key rate. This module does not alter the processing logic of subsequent steps and can be seamlessly integrated into existing PKG frameworks.Step 2: Channel probing. The BS and each UT transmit orthogonal pilot signals to each other on their respectively allocated subcarriers, and obtain the uplink and downlink channel matrices using least squares (LS) estimation. H^kBS\hat{H}^{\mathrm{BS}}_kand H^kUT\hat{H}^{\mathrm{UT}}_k, the entire probing process must be completed within the channel coherence time (e.g., when the mobile speed v=1.25 m/sv = 1.25\ \mathrm{m/s}, frequency fn=3.5 GHzf_n = 3.5\ \mathrm{GHz} , the coherence time is approximately 12 ms).Step 3: Processing from measurements to keys. Quantization, information reconciliation, and privacy amplification are performed sequentially, ultimately outputting symmetric keys that can be used for encrypted transmission.

📊 Experimental Results

Under sufficient system resources, when the signal-to-noise ratio (SNR) varies from 0 to 30 dB and the security requirement ratio X∈{10%,20%,30%,40%}X \in \{10\%, 20\%, 30\%, 40\%\} , the total key rate of the proposed near-optimal algorithm is on average higher than that of the continuous allocation algorithm by 93\%, and higher than that of the random allocation algorithm by 91\%(Fig. 6). Furthermore, Table II shows that as the subcarrier frequency spacing increases, the performance advantage of the near-optimal algorithm becomes increasingly significant, verifying the outstanding effect of the uniform spacing strategy in wide-spacing scenarios.

📝 Citation

@article{xiao2025optimal,
  author    = {Xiao, Qingjiang and Li, Guyue and Liu, Zilong and Hu, Aiqun},
  title     = {Optimal Subcarrier Allocation Scheme for Physical-Layer Key Generation in an {OFDMA} Network},
  journal   = {IEEE Transactions on Information Forensics and Security},
  volume    = {20},
  pages     = {4929--4942},
  year      = {2025},
  doi       = {10.1109/TIFS.2025.3566242},
}