Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

ACM Workshop on Wireless Security and Machine Learning (WiseML)

KNEW: Key Generation using NEural Networks from Wireless Channels

Xue Wei, Dola Saha

Published May 16, 2022• 31 citations
Publisher

Abstract

Secret keys can be generated from reciprocal channels to be used for shared secret key encryption. However, challenges arise in practical scenarios from non-reciprocal measurements of reciprocal channels due to changing channel conditions, hardware inaccuracies and estimation errors resulting in low key generation rate (KGR) and high key disagreement rates (KDR). To combat these practical issues, we propose KNEW Key Generation using NEural Networks from Wireless Channels, which extracts the implicit features of channel in a compressed form to derive keys with high agreement rate. Two Neural Networks (NNs) are trained simultaneously to map each other's channel estimates to a different domain, the latent space, which remains inaccessible to adversaries. The model also minimizes the distance between the latent spaces generated by two trusted pair of nodes, thus improving the KDR. Our simulated results demonstrate that the latent vectors of the legitimate parties are highly correlated yielding high KGR (≈ 64 bits per measurement) and low KDR (<0.05 in most cases). Our experiments with over-the-air signals show that the model can adapt to realistic channels and hardware inaccuracies, yielding over 32 bits of key per channel estimation without any mismatch.

DOI
10.1145/3522783.3529526

Related papers

Physical Layer Key Generation from Wireless Channels with Non-ideal Channel Reciprocity: A Deep Learning Based Approach

Cheng Feng, Li Sun

Physical layer encryption is a promising solution to provide transmission security for Internet-of-Things (IoT). To realize physical layer encryption, channel state information (CSI) as a random source to generate secret keys should be exploited. The reciprocity of wireless channel between legitimate communication nodes which is typically assumed for time division duplex (TDD) systems, is of critical importance to ensure the consistency in generated keys at two nodes. However, in practical TDD systems, due to the asynchronous measurement of CSI, the receiver noise and the the difference in hardware, etc., the reciprocity of channel measurements between legitimate parties is hard to be guaranteed, which makes physical layer key generation approach infeasible. To address this issue, we propose a wireless key generation scheme based on deep learning techniques. Firstly, a feature extraction network, which consists of two auto-encoders trained jointly, is developed to extract the common feature from the different yet correlated channel observations at two legitimate nodes, which will be used as the source to generate keys. Then a quantizer with an adaptive guard band width is devised to output a binary secret-key sequence from the feature vector. Numerical results show that the proposed scheme achieves remarkable improvement in terms of key disagreement rate (KDR) and key generation rate (KGR) compared existing counterparts in the literature.

IEEE Vehicular Technology Conference•Jun 1, 2022•20 citations

Wireless Key Generation from Imperfect Channel State Information: Performance Analysis and Improvements

Xinrong Guan, Ning Ding, Yueming Cai +1 more

The basis of generating secret key from the common wireless channel at two communication parties is reciprocity. However, due to non-simultaneous measurements and unavoidable estimation error, bias always exists and key disagreement occurs. In this paper, performance analysis and improvements for key generation exploiting imperfect channel statement information (CSI) is studied. Firstly, the closed-form expression for key disagreement rate (KDR) is derived to evaluate the key mismatch caused by time delay and estimation error. Secondly, the energy efficiency involving power allocation between key generation and private data transmission is presented. After that, a neural network based prediction (NNBP) algorithm is proposed to improve the key consistency. Simulation results verify the theoretical analysis and show that NNBP achieves significant improvements. And it's interesting to find that NNBP algorithm achieves a higher performance gain in low signal-to-noise ration (SNR) and high delay condition, which is different from other methods, like guard band based quantizer (GBBQ).

IEEE International Conference on Communications workshops•May 1, 2019•18 citations

Wireless Key Generation from Imperfect Channel State Information: Performance Analysis and Improvements

Xinrong Guan, Ning Ding, Yueming Cai +1 more

The basis of generating secret key from the common wireless channel at two communication parties is reciprocity. However, due to non-simultaneous measurements and unavoidable estimation error, bias always exists and key disagreement occurs. In this paper, performance analysis and improvements for key generation exploiting imperfect channel statement information (CSI) is studied. Firstly, the closed-form expression for key disagreement rate (KDR) is derived to evaluate the key mismatch caused by time delay and estimation error. Secondly, the energy efficiency involving power allocation between key generation and private data transmission is presented. After that, a neural network based prediction (NNBP) algorithm is proposed to improve the key consistency. Simulation results verify the theoretical analysis and show that NNBP achieves significant improvements. And it's interesting to find that NNBP algorithm achieves a higher performance gain in low signal-to-noise ration (SNR) and high delay condition, which is different from other methods, like guard band based quantizer (GBBQ).

arXiv:1902.07050•Feb 19, 2019•0 citations

Shared Cross-Prediction Neural Network for Efficient Key Generation in IoT Networks

Anas Alashqar, Ehsan Olyaei Torshizi, Raed Mesleh +1 more

Physical layer secret key generation (PSKG) lever-ages the reciprocal properties of wireless channels to establish cryptographic keys between legitimate users. However, in time-division duplex (TDD) systems, this reciprocity can be compromised by hardware imperfections and channel noise, complicating the key generation process. To address these challenges, we propose a shared cross-prediction neural network (SCP-NN) model that operates in an unsupervised manner, eliminating the need for perfect channel state information (CSI). Specifically, the proposed SCP-NN model employs a cross-prediction strategy that minimizes the difference between the predicted channels of legitimate users, ensuring that the outputs converge toward each other. Furthermore, we present a comprehensive PSKG procedure that leverages the SCP-NN architecture to extract key information from the phase characteristics of the channel frequency responses. Experimental results demonstrate that the proposed SCP-NN significantly reduces the key disagreement ratio (KDR), providing a robust and effective solution for secure key generation in dynamic IoT environments.

International ITG Conference on Systems, Communications and Coding (SCC)•Mar 10, 2025•3 citations

Wireless Channel Key Generation Based on Multisubcarrier Phase Difference

Xiaowei Yuan, Yu Jiang, Guyue Li +1 more

Wireless channel key generation technology is an important mechanism to guarantee the security of wireless network, but influenced by the key length and the actual electromagnetic environment, wireless channel key generation technology is faced with the challenge of high-key generation rate (KGR) and low-key disagreement rate (KDR). The existing key generation methods also lack the full use of the channel state information (CSI). We propose a key generation method based on multisubcarrier phase difference to expand the randomness source dimension, eliminate the phase bias, offset part of the noise influence, and set the threshold screening data to reduce the influence of measurement error. We further propose a key generation method based on resampling of kernel density estimation (KDE), which yields highly reciprocal randomness sources by resampling the results of KDE of phase difference values. To fill the metric gap of whether a method keeps low KDR while increasing the KGR, the evaluation metric of effective improvement ratio (EIR) is proposed. The two methods we proposed have a higher EIR than the method of using multiple-input and multiple-output (MIMO) and increasing the quantization level, achieving the goal of increasing the KGR while maintaining the low KDR. The KGR can reach about 12146 bits/s, and the KDR is 1.83%. The keys obtained by both methods can effectively prevent passive eavesdropping and meet the randomness requirements.

IEEE Internet of Things Journal•Jun 25, 2024•8 citations

A Low-Complexity Deep Learning Approach to Enhance Secret Key Generation for IoT Networks

Anas Alashqar, Ehsan Olyaei Torshizi, Raed Mesleh +1 more

This article presents a novel low-complexity deep learning model for physical-layer secret key generation (PSKG), specifically designed to enhance wireless security in the Internet of Things (IoT). PSKG typically generates cryptographic keys by exploiting the reciprocal nature of wireless channels; however, this reciprocity is frequently compromised in time-division duplex (TDD) systems due to hardware imperfections and noise, which significantly complicate the key generation process. To effectively address these challenges, the proposed deep neural network (DNN) is developed to efficiently learn and enhance reciprocity features, even in the presence of imperfect channel state information (CSI). Furthermore, the study introduces a DNN-based PSKG method that strategically leverages the phase of channel frequency responses for key extraction. The results conclusively demonstrate that the proposed model substantially reduces the key disagreement ratio (KDR) and enhances randomness, thus providing a robust and practical solution for securing wireless communications in IoT environments.

International Wireless Communications and Mobile Computing Conference (IWCMC)•May 12, 2025•1 citation
Secret keys can be generated from reciprocal channels to be used for shared secret key encryption. However, challenges arise in practical scenarios from non-reciprocal measurements of reciprocal channels due to changing channel conditions, hardware inaccuracies and estimation errors resulting in low key generation rate (KGR) and high key disagreement rates (KDR). To combat these practical issues, we propose KNEW Key Generation using NEural Networks from Wireless Channels, which extracts the implicit features of channel in a compressed form to derive keys with high agreement rate. Two Neural Networks (NNs) are trained simultaneously to map each other's channel estimates to a different domain, the latent space, which remains inaccessible to adversaries. The model also minimizes the distance between the latent spaces generated by two trusted pair of nodes, thus improving the KDR. Our simulated results demonstrate that the latent vectors of the legitimate parties are highly correlated yielding high KGR (≈ 64 bits per measurement) and low KDR (<0.05 in most cases). Our experiments with over-the-air signals show that the model can adapt to realistic channels and hardware inaccuracies, yielding over 32 bits of key per channel estimation without any mismatch.
Physical layer encryption is a promising solution to provide transmission security for Internet-of-Things (IoT). To realize physical layer encryption, channel state information (CSI) as a random source to generate secret keys should be exploited. The reciprocity of wireless channel between legitimate communication nodes which is typically assumed for time division duplex (TDD) systems, is of critical importance to ensure the consistency in generated keys at two nodes. However, in practical TDD systems, due to the asynchronous measurement of CSI, the receiver noise and the the difference in hardware, etc., the reciprocity of channel measurements between legitimate parties is hard to be guaranteed, which makes physical layer key generation approach infeasible. To address this issue, we propose a wireless key generation scheme based on deep learning techniques. Firstly, a feature extraction network, which consists of two auto-encoders trained jointly, is developed to extract the common feature from the different yet correlated channel observations at two legitimate nodes, which will be used as the source to generate keys. Then a quantizer with an adaptive guard band width is devised to output a binary secret-key sequence from the feature vector. Numerical results show that the proposed scheme achieves remarkable improvement in terms of key disagreement rate (KDR) and key generation rate (KGR) compared existing counterparts in the literature.
The basis of generating secret key from the common wireless channel at two communication parties is reciprocity. However, due to non-simultaneous measurements and unavoidable estimation error, bias always exists and key disagreement occurs. In this paper, performance analysis and improvements for key generation exploiting imperfect channel statement information (CSI) is studied. Firstly, the closed-form expression for key disagreement rate (KDR) is derived to evaluate the key mismatch caused by time delay and estimation error. Secondly, the energy efficiency involving power allocation between key generation and private data transmission is presented. After that, a neural network based prediction (NNBP) algorithm is proposed to improve the key consistency. Simulation results verify the theoretical analysis and show that NNBP achieves significant improvements. And it's interesting to find that NNBP algorithm achieves a higher performance gain in low signal-to-noise ration (SNR) and high delay condition, which is different from other methods, like guard band based quantizer (GBBQ).
The basis of generating secret key from the common wireless channel at two communication parties is reciprocity. However, due to non-simultaneous measurements and unavoidable estimation error, bias always exists and key disagreement occurs. In this paper, performance analysis and improvements for key generation exploiting imperfect channel statement information (CSI) is studied. Firstly, the closed-form expression for key disagreement rate (KDR) is derived to evaluate the key mismatch caused by time delay and estimation error. Secondly, the energy efficiency involving power allocation between key generation and private data transmission is presented. After that, a neural network based prediction (NNBP) algorithm is proposed to improve the key consistency. Simulation results verify the theoretical analysis and show that NNBP achieves significant improvements. And it's interesting to find that NNBP algorithm achieves a higher performance gain in low signal-to-noise ration (SNR) and high delay condition, which is different from other methods, like guard band based quantizer (GBBQ).
Physical layer secret key generation (PSKG) lever-ages the reciprocal properties of wireless channels to establish cryptographic keys between legitimate users. However, in time-division duplex (TDD) systems, this reciprocity can be compromised by hardware imperfections and channel noise, complicating the key generation process. To address these challenges, we propose a shared cross-prediction neural network (SCP-NN) model that operates in an unsupervised manner, eliminating the need for perfect channel state information (CSI). Specifically, the proposed SCP-NN model employs a cross-prediction strategy that minimizes the difference between the predicted channels of legitimate users, ensuring that the outputs converge toward each other. Furthermore, we present a comprehensive PSKG procedure that leverages the SCP-NN architecture to extract key information from the phase characteristics of the channel frequency responses. Experimental results demonstrate that the proposed SCP-NN significantly reduces the key disagreement ratio (KDR), providing a robust and effective solution for secure key generation in dynamic IoT environments.
Wireless channel key generation technology is an important mechanism to guarantee the security of wireless network, but influenced by the key length and the actual electromagnetic environment, wireless channel key generation technology is faced with the challenge of high-key generation rate (KGR) and low-key disagreement rate (KDR). The existing key generation methods also lack the full use of the channel state information (CSI). We propose a key generation method based on multisubcarrier phase difference to expand the randomness source dimension, eliminate the phase bias, offset part of the noise influence, and set the threshold screening data to reduce the influence of measurement error. We further propose a key generation method based on resampling of kernel density estimation (KDE), which yields highly reciprocal randomness sources by resampling the results of KDE of phase difference values. To fill the metric gap of whether a method keeps low KDR while increasing the KGR, the evaluation metric of effective improvement ratio (EIR) is proposed. The two methods we proposed have a higher EIR than the method of using multiple-input and multiple-output (MIMO) and increasing the quantization level, achieving the goal of increasing the KGR while maintaining the low KDR. The KGR can reach about 12146 bits/s, and the KDR is 1.83%. The keys obtained by both methods can effectively prevent passive eavesdropping and meet the randomness requirements.
This article presents a novel low-complexity deep learning model for physical-layer secret key generation (PSKG), specifically designed to enhance wireless security in the Internet of Things (IoT). PSKG typically generates cryptographic keys by exploiting the reciprocal nature of wireless channels; however, this reciprocity is frequently compromised in time-division duplex (TDD) systems due to hardware imperfections and noise, which significantly complicate the key generation process. To effectively address these challenges, the proposed deep neural network (DNN) is developed to efficiently learn and enhance reciprocity features, even in the presence of imperfect channel state information (CSI). Furthermore, the study introduces a DNN-based PSKG method that strategically leverages the phase of channel frequency responses for key extraction. The results conclusively demonstrate that the proposed model substantially reduces the key disagreement ratio (KDR) and enhances randomness, thus providing a robust and practical solution for securing wireless communications in IoT environments.