Supervised and Semi-Supervised Deep Neural Networks for CSI-Based Authentication

Qian Wang, Hang Li, Zhi Chen, Dou Zhao, Shuang Ye, Jiansheng Cai · DOI

Abstract

From the viewpoint of physical-layer authentication, spoofing attacks can be foiled by checking channel state information (CSI). Existing CSI-based authentication algorithms mostly require a deep knowledge of the channel to deliver decent performance. In this paper, we investigate CSI-based authenticators that can spare the effort to predetermine channel properties by utilizing deep neural networks (DNNs). We first propose a convolutional neural network (CNN)-enabled authenticator that is able to extract the local features in CSI. Next, we employ the recurrent neural network (RNN) to capture the dependencies between different frequencies in CSI. In addition, we propose to use the convolutional recurrent neural network (CRNN)---a combination of the CNN and the RNN---to learn local and contextual information in CSI for user authentication. To effectively train these DNNs, one needs a large amount of labeled channel records. However, it is often expensive to label large channel observations in the presence of a spoofer. In view of this, we further study a case in which only a small part of the the channel observations are labeled. To handle it, we extend these DNNs-enabled approaches into semi-supervised ones. This extension is based on a semi-supervised learning technique that employs both the labeled and unlabeled data to train a DNN. To be specific, our semi-supervised method begins by generating pseudo labels for the unlabeled channel samples through implementing the K-means algorithm in a semi-supervised manner. Subsequently, both the labeled and pseudo labeled data are exploited to pre-train a DNN, which is then fine-tuned based on the labeled channel records.

Introduction

In wireless security, "spoofing" occurs when an attacker (Eve) impersonates a legitimate user (Alice) by forging digital credentials like MAC addresses or IPs. Traditional cryptography handles this at higher layers, but it introduces latency and management overhead. Physical-layer authentication (PLA) offers a solution by verifying the unique physical characteristics of the wireless link itself.

Physical-layer authentication environment showing invariant structures and varying paths between Bob, Alice, and Eve.

Specifically, Channel State Information (CSI)—which describes how a signal propagates from transmitter to receiver—is nearly impossible to spoof because it depends on the specific physical environment and the locations of the devices. However, existing CSI-based methods usually require complex, pre-defined mathematical models of the channel. Furthermore, training deep learning models for this task typically requires massive amounts of labeled data, which is difficult to obtain in real-world adversarial settings.

Proposed Architectures

The authors propose three deep neural network (DNN) architectures to extract features from CSI data:

  1. CNN-enabled Authenticator: Uses convolutional layers to extract "local features" from the CSI, treating the channel data similarly to an image to find invariant patterns.
  2. RNN-enabled Authenticator: Treats CSI as a sequence across different frequency tones. Recurrent layers capture the "contextual" dependencies between these frequencies.
  3. CRNN (Convolutional Recurrent Neural Network): A hybrid model where the CNN first extracts local features, which are then fed into an RNN to capture global spectral dependencies.
The CNN-based authenticator architecture featuring convolutional, pooling, and fully connected layers for user verification.

One of the key insights is treating CSI as a sequence. This allows the RNN to exploit the fact that adjacent frequency subcarriers are highly correlated, providing a much richer "fingerprint" than simple signal strength. The CRNN doesn't just provide better accuracy; it actually converges faster than standalone CNNs or RNNs by simplifying the sequence-learning task for the recurrent layers.

Semi-Supervised Learning Pipeline

To solve the "small sample problem," where labeled data is scarce, the authors use a three-step semi-supervised learning (SSL) process:

  • Pseudo-labeling: Use a semi-supervised K-means algorithm to assign "best guess" labels to a large pool of unlabeled data.
  • Pre-training: Train the DNN on the combined set of labeled and pseudo-labeled data.
  • Fine-tuning: Refine the model using only the small set of high-quality, manually labeled data.

This approach ensures that even if pseudo-labels are imperfect, they help the hidden layers learn the underlying structure of the channel before final refinement.

Experimental Results

The study evaluates the models on both a simulation dataset and a real-world dataset collected using Universal Software Radio Peripherals (USRPs).

  • Superior Accuracy: In real-world experiments, the CRNN achieved 98.1% accuracy, significantly outperforming traditional benchmarks like Support Vector Machines (87.8%).
  • Efficiency in Low-Data Regimes: When only 20 labeled samples were available, the standard supervised CRNN's accuracy dropped to 87.8%. However, the semi-supervised CRNN maintained a high accuracy of 97.1%.
  • Convergence Speed: The CRNN-4 model converged in roughly 11.7 seconds, whereas a comparable CNN-4 took over 30 seconds.

Conclusion

This framework demonstrates that deep learning can effectively automate physical-layer authentication without complex channel modeling. By utilizing semi-supervised learning, the system remains robust even when labeled data is extremely limited. Future work will focus on adapting these models for highly dynamic environments with mobile users.

Summary updated

BibTeX
@misc{wang2018supervised,
  author = {Qian Wang and Hang Li and Zhi Chen and Dou Zhao and Shuang Ye and Jiansheng Cai},
  title = {{Supervised and Semi-Supervised Deep Neural Networks for CSI-Based Authentication}},
  year = {2018},
  eprint = {1807.09469},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.09469},
}
Figure