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

IEEE Internet of Things Journal

JOCLNet: A Physical-Layer Key Generation Scheme Based on Joint Optimization and Contrastive Learning Network

Yu Jiang, Yujie Guo, Aiqun Hu

Published Apr 20, 2026• 0 citations
Publisher

Abstract

Physical-layer key generation exploits the randomness and unpredictability of wireless channels to enhance the security of wireless communications. However, factors such as asynchronous measurements, channel noise, and hardware impairments undermine the ideal reciprocity of channel state information (CSI) observed by legitimate users, thereby limiting key generation performance. To address this issue, this paper proposes a jointly optimized contrastive learning network (JOCLNet), which consists of a joint learning model and a contrastive learning model. The joint learning model, built upon a convolutional neural network (CNN) and a feedforward neural network (FNN), separates non-reciprocal components such as noise and measurement errors from the raw CSI of legitimate users, while extracting reciprocal components for key generation, thus improving robustness in noisy environments. To overcome the inability of existing deep-learning-based SKG schemes to resist passive eavesdropping attacks, the contrastive learning model introduces a contrastive loss on top of the joint learning model. This enables a dual objective: enhancing reciprocity between the processed CSI of legitimate users while ensuring that the processed data of an eavesdropper remains highly uncorrelated with that of legitimate parties. Furthermore, a complete key generation scheme is designed based on the proposed JOCLNet. Experimental results demonstrate that the proposed scheme achieves strong resistance to eavesdropping and robust adaptability to noise.

DOI
10.1109/jiot.2026.3685438

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•13 citations

Deep Learning-Based Channel Reciprocity Learning for Physical Layer Secret Key Generation

Haoyu He, Yanru Chen, Xinmao Huang +4 more

Using the physical layer channel information of wireless devices to establish the highly consistent secret keys is a promising technology for improving the security of wireless networks. Nevertheless, in the time division duplex system, the reciprocity of the wireless channel that is the basic principle of key generation is impaired by nonsimultaneous sampling and noise factors. Existing physical layer key generation approaches rely on hand-crafted feature extraction algorithms, which have high overhead or security issues and are impractical in real-world situations. This paper presents a novel physical layer key generation method to extract highly consistent keys from imperfect channel responses, which exploits channel reciprocity through deep learning. Specifically, we first design the Channel Reciprocity Learning Net (CRLNet), a neural network for efficiently learning channel reciprocity features from the wireless channel in TDD OFDM systems. Later, a new key generation scheme based on CRLNet is developed that can achieve a high key agreement rate. Experiments indicate that the CRLNet-based key generation scheme performs excellently in terms of key generation rate, key error rate, and randomness, confirming that our method has better performance and lower overhead than existing methods.

Security and Communication Networks•Mar 19, 2022•25 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

Physical Layer Secret Key Generation Based on Mutual Information-Driven Autoencoder

Dengke Guo, Jun Xiong, Dongtang Ma +2 more

The reciprocity of wireless channels is a prerequisite for physical layer secret key generation (SKG). However, inherent factors, such as noise, asynchronous observations, and hardware impairments, disrupt the ideal reciprocity in the channel state information (CSI) observed by the two legitimate parties. To address this issue, we propose a mutual information-driven autoencoder (MIAE) architecture to extract reciprocal channel features from the non-ideal channel observations of legitimate parties. MIAE is constructed with an AutoEncoder Network (AENet) and a mutual information neural estimator (MINE). Specifically, AENet employs a structure with dual encoders and a shared decoder. The two encoders, integrated with convolutional block attention modules (CBAMs), are designed to focus on reciprocal features within CSI observations and to compensate for temporal variations caused by asynchronous observations. The shared encoder and the correspondingly designed loss function further concentrate the autoencoder’s reciprocity enhancement capability into the encoders. MINE is integrated into the proposed MIAE to estimate the mutual information between the channel features of the two parties. This estimation is then used to formulate a mutual information loss, which guides the encoders to learn channel features that closely match the optimal distribution, thereby boosting the key generation rate. Furthermore, a complete SKG scheme is designed based on the proposed channel feature extractor, MIAE. Simulation results show that our proposed MIAE can extract channel features with strong reciprocity and thus achieve excellent SKG performance based on the extracted features. The generalization performance of the proposed MIAE architecture for communication scenarios of different scales has also been examined.

IEEE Transactions on Wireless Communications•May 1, 2025•1 citation

Distributed Physical Layer Key Generation Algorithm Based on Deep Learning

Wanting Geng, Li Sun, Qinghe Du

Physical layer encryption is an emerging security paradigm which supplements the higher-layer encryption solutions. To realize physical layer encryption, channel measurement is typically utilized as a randomness source to generate secret keys. Due to non-perfect reciprocity of the channels and the inevitable channel estimation errors resulting from noises and interferences, the channel measurements at the legitimate transceivers are not the same, yielding a mismatch in the generated keys. To address this issue, a distributed physical layer key generation scheme based on deep learning is proposed in this paper. A channel state information (CSI) learning neural network (CLNet) based on the autoencoder is deployed at both the transmitter and the receiver side to refine the initial channel estimation results. The CLNet takes the least square (LS) channel estimations as input and outputs the channel estimations more similar to the real channel. To train this CLNet, a channel equalization module together with a pre-trained maximum-likelihood (ML) detection network is deployed, which is used to make a decision on the transmitted pilot signal. Since the pilot is known as a priori, the cross entropy loss between the known pilot and the recovered one can be calculated, which implicitly indicates the accuracy of the refined CSI. Further, the weighted sum of the aforementioned cross entropy loss and the mean square loss between the original and the refined CSI estimates is utilized for training, which not only improves the CSI estimation quality but also avoids the over-fitting effect. Extensive simulation results show that compared with benchmark schemes, the proposed scheme improves the key agreement rate and the key generation rate at the legitimate users. Moreover, our method ensures a higher key disagreement rate between the legitimate user and the eavesdropper as well, especially in the low signal-to-noise ratio (SNR) regime.

IEEE Vehicular Technology Conference•Oct 10, 2023•3 citations

Physical-Layer Secret Key Generation Based on Bidirectional Convergence Feature Learning Convolutional Network

Yanru Chen, Zhiyuan Luo, Zhiyuan Wang +5 more

Physical-layer secret key generation (PLKG) is a new research area that has emerged in recent years. It is aimed at scenarios where legitimate IoT devices communicate directly, interacting with confidential information for lower overhead and higher security by using wireless channel. When applying it to wireless feature extraction, noise removal is not taken into account in current deep learning networks. To address these problems, the PLKG scheme based on bidirectional convergence feature learning convolutional network (BCFL-based scheme) is proposed, which consists of neural network called BCFL and a new quantization method to achieve better secret key generation. Unlike existing PLKG schemes that enabling both parties to communicate for obtaining higher channel feature similarities, when training it, channel state information (CSI) obtained by channel estimation for two legitimate devices during coherent time is used as inputs; and mean square error (MSE) between two outputs is used as a result of loss function for iterative training. Thus, it can obtain better denoising ability with guaranteed low computational resource consumption, and two legitimate devices can obtain highly correlated channel features. Multiple quantization method is also proposed to address low secret key generation rate (KGR) and low-secret key randomness (KR). The results show that the proposed BCFL-based scheme has a lower MSE than other schemes in different scenarios, indicating that it has better capability to learn channel reciprocity; and secret key error rate (KER) and time consumption are only about 50% of other schemes, which is a significant performance improvement.

IEEE Internet of Things Journal•Feb 16, 2023•14 citations
Physical-layer key generation exploits the randomness and unpredictability of wireless channels to enhance the security of wireless communications. However, factors such as asynchronous measurements, channel noise, and hardware impairments undermine the ideal reciprocity of channel state information (CSI) observed by legitimate users, thereby limiting key generation performance. To address this issue, this paper proposes a jointly optimized contrastive learning network (JOCLNet), which consists of a joint learning model and a contrastive learning model. The joint learning model, built upon a convolutional neural network (CNN) and a feedforward neural network (FNN), separates non-reciprocal components such as noise and measurement errors from the raw CSI of legitimate users, while extracting reciprocal components for key generation, thus improving robustness in noisy environments. To overcome the inability of existing deep-learning-based SKG schemes to resist passive eavesdropping attacks, the contrastive learning model introduces a contrastive loss on top of the joint learning model. This enables a dual objective: enhancing reciprocity between the processed CSI of legitimate users while ensuring that the processed data of an eavesdropper remains highly uncorrelated with that of legitimate parties. Furthermore, a complete key generation scheme is designed based on the proposed JOCLNet. Experimental results demonstrate that the proposed scheme achieves strong resistance to eavesdropping and robust adaptability to noise.
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.
Using the physical layer channel information of wireless devices to establish the highly consistent secret keys is a promising technology for improving the security of wireless networks. Nevertheless, in the time division duplex system, the reciprocity of the wireless channel that is the basic principle of key generation is impaired by nonsimultaneous sampling and noise factors. Existing physical layer key generation approaches rely on hand-crafted feature extraction algorithms, which have high overhead or security issues and are impractical in real-world situations. This paper presents a novel physical layer key generation method to extract highly consistent keys from imperfect channel responses, which exploits channel reciprocity through deep learning. Specifically, we first design the Channel Reciprocity Learning Net (CRLNet), a neural network for efficiently learning channel reciprocity features from the wireless channel in TDD OFDM systems. Later, a new key generation scheme based on CRLNet is developed that can achieve a high key agreement rate. Experiments indicate that the CRLNet-based key generation scheme performs excellently in terms of key generation rate, key error rate, and randomness, confirming that our method has better performance and lower overhead than existing methods.
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.
The reciprocity of wireless channels is a prerequisite for physical layer secret key generation (SKG). However, inherent factors, such as noise, asynchronous observations, and hardware impairments, disrupt the ideal reciprocity in the channel state information (CSI) observed by the two legitimate parties. To address this issue, we propose a mutual information-driven autoencoder (MIAE) architecture to extract reciprocal channel features from the non-ideal channel observations of legitimate parties. MIAE is constructed with an AutoEncoder Network (AENet) and a mutual information neural estimator (MINE). Specifically, AENet employs a structure with dual encoders and a shared decoder. The two encoders, integrated with convolutional block attention modules (CBAMs), are designed to focus on reciprocal features within CSI observations and to compensate for temporal variations caused by asynchronous observations. The shared encoder and the correspondingly designed loss function further concentrate the autoencoder’s reciprocity enhancement capability into the encoders. MINE is integrated into the proposed MIAE to estimate the mutual information between the channel features of the two parties. This estimation is then used to formulate a mutual information loss, which guides the encoders to learn channel features that closely match the optimal distribution, thereby boosting the key generation rate. Furthermore, a complete SKG scheme is designed based on the proposed channel feature extractor, MIAE. Simulation results show that our proposed MIAE can extract channel features with strong reciprocity and thus achieve excellent SKG performance based on the extracted features. The generalization performance of the proposed MIAE architecture for communication scenarios of different scales has also been examined.
Physical layer encryption is an emerging security paradigm which supplements the higher-layer encryption solutions. To realize physical layer encryption, channel measurement is typically utilized as a randomness source to generate secret keys. Due to non-perfect reciprocity of the channels and the inevitable channel estimation errors resulting from noises and interferences, the channel measurements at the legitimate transceivers are not the same, yielding a mismatch in the generated keys. To address this issue, a distributed physical layer key generation scheme based on deep learning is proposed in this paper. A channel state information (CSI) learning neural network (CLNet) based on the autoencoder is deployed at both the transmitter and the receiver side to refine the initial channel estimation results. The CLNet takes the least square (LS) channel estimations as input and outputs the channel estimations more similar to the real channel. To train this CLNet, a channel equalization module together with a pre-trained maximum-likelihood (ML) detection network is deployed, which is used to make a decision on the transmitted pilot signal. Since the pilot is known as a priori, the cross entropy loss between the known pilot and the recovered one can be calculated, which implicitly indicates the accuracy of the refined CSI. Further, the weighted sum of the aforementioned cross entropy loss and the mean square loss between the original and the refined CSI estimates is utilized for training, which not only improves the CSI estimation quality but also avoids the over-fitting effect. Extensive simulation results show that compared with benchmark schemes, the proposed scheme improves the key agreement rate and the key generation rate at the legitimate users. Moreover, our method ensures a higher key disagreement rate between the legitimate user and the eavesdropper as well, especially in the low signal-to-noise ratio (SNR) regime.
Physical-layer secret key generation (PLKG) is a new research area that has emerged in recent years. It is aimed at scenarios where legitimate IoT devices communicate directly, interacting with confidential information for lower overhead and higher security by using wireless channel. When applying it to wireless feature extraction, noise removal is not taken into account in current deep learning networks. To address these problems, the PLKG scheme based on bidirectional convergence feature learning convolutional network (BCFL-based scheme) is proposed, which consists of neural network called BCFL and a new quantization method to achieve better secret key generation. Unlike existing PLKG schemes that enabling both parties to communicate for obtaining higher channel feature similarities, when training it, channel state information (CSI) obtained by channel estimation for two legitimate devices during coherent time is used as inputs; and mean square error (MSE) between two outputs is used as a result of loss function for iterative training. Thus, it can obtain better denoising ability with guaranteed low computational resource consumption, and two legitimate devices can obtain highly correlated channel features. Multiple quantization method is also proposed to address low secret key generation rate (KGR) and low-secret key randomness (KR). The results show that the proposed BCFL-based scheme has a lower MSE than other schemes in different scenarios, indicating that it has better capability to learn channel reciprocity; and secret key error rate (KER) and time consumption are only about 50% of other schemes, which is a significant performance improvement.