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.
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 secret key generation (PLKG) exploits wireless channel reciprocity to enable two legitimate parties to establish shared secret keys without relying on trusted third parties. However, most existing deep-learning-based PLKG schemes are designed or trained for specific channel environments, and their reciprocity enhancement capability can degrade significantly when deployed in unseen environments with different channel statistics, leading to severe performance loss under out-of-distribution (OOD) conditions. To address this issue, this paper proposes a PLKG scheme based on a mutual-information-driven mixture-of-experts autoencoder (MIMoAE). First, we design a mixture-of-experts encoder with specialized sub-networks and dynamic routing, enabling flexible adaptation to diverse channel environments. Then, a routing consistency loss is introduced to explicitly align the routing behavior between the two legitimate parties under distribution shift, preventing routing inconsistency. Finally, a nonlinear projection head is incorporated to stabilize mutual information estimation and provide more reliable gradient guidance. Compared with the state-of-the-art baseline, MIMoAE reduces the average key error rate by approximately 67% and achieves a raw key generation rate of about 3.85 bits/channel use on OOD test scenarios.
The reciprocity of the wireless channel is the basis of the secret key generation on the physical layer as an emerging method for information security enhancement. Due to the duplex mode of communication systems, the channel responses detected by two connected legitimate nodes are not completely reciprocal. In this paper, an efficient physical layer secret key generation scheme is proposed based on an autoencoder to extract reciprocal features from weakly correlated channel estimates. The encoder part after training is equipped at both nodes to generate features for quantization in various channel environments. Simulation results show lower mean squared error (MSE) and better mutual information of the extracted features comparing to the most efficient linear generation method, the principal component analysis (PCA) based one. It reveals the great potential to generate symmetric secret keys with better performance, particularly in low SNR scenarios.
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.
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.
In this paper, we propose a denoising autoencoder (DAE)-assisted secret key generation (SKG) scheme, designed to improve the reliability and efficiency of physical-layer secret key generation. Our approach leverages the capability of DAEs to learn denoised channel representations while suppressing additive noise, thus reconstructing channel features that are more strongly correlated between the legitimate nodes. By mitigating reciprocity imperfections, the proposed scheme reduces the key disagreement rate (KDR) and improves the key generation rate (KGR). Furthermore, our extensive simulation results confirm that the DAE-assisted SKG outperforms the transform-based and learning-based baselines, including discrete wavelet transform, principal component analysis, discrete cosine transform, traditional autoencoder (AE)-based approaches, convolutional neural network (CNN)-based approaches, convergence-learning fully connected neural network, and mutual-information-driven AE. The NIST SP 800-22 results confirm that the generated keys successfully pass the suite of statistical randomness tests after privacy amplification. These results indicate that the proposed DAE-assisted framework is an effective preprocessing approach for empirical SKG under the adopted threat model and assumptions, with moderate online complexity relative to the learning-based baselines.
Physics layer key, as an emerging method to enhance information security, is generated based on the reciprocity and spatial decorrelation of wireless channels. However, due to the half-duplex mode of the communication systems, the channels detected by the legitimate sides are not completely reciprocal. Meanwhile, when the eavesdropper is extremely close to the legitimate side, the spatial correlation could be very strong and threaten the information security. This paper combines the autoencoder and the multi-task learning into a novel physical layer key generation scheme, i.e., Multi-Task Autoencoder (MTAE). MTAE extracts the reciprocal features from the weakly correlated channel estimates of the legitimate sides while reducing its correlation with eavesdropper. Simulation results show good randomness and consistency with the primary keys generated based on MTAE for the legitimate sides, while increasing the difference in the extracted features between eavesdropper and its adjacent node. The proposed method has great potential in scenarios requiring high security.