Radio frequency fingerprint identification method and system based on characteristic latent space diffusion model

By using a feature latent space diffusion model, combined with feature extraction and noise prediction modules, the problem of declining recognition rate of radio frequency fingerprint recognition under low signal-to-noise ratio conditions is solved, achieving higher robustness and accuracy, and reducing computational burden and energy consumption.

CN121637259AActive Publication Date: 2026-03-10SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-17
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing radio frequency fingerprint recognition technology suffers from a decline in recognition rate under low signal-to-noise ratio conditions. Existing noise reduction and feature learning methods have limited gains and are difficult to effectively improve robustness and accuracy.

Method used

By employing a feature latent space diffusion model and combining feature extraction and denoising modules, discriminative features are extracted from radio frequency signals through a feature extraction network, and noise modeling and suppression are performed using a diffusion-based noise prediction module, thereby achieving targeted denoising of discriminative representations.

Benefits of technology

Significantly improves the robustness and accuracy of RF fingerprint recognition under low signal-to-noise ratio conditions, reduces noise interference, improves the accuracy and consistency of device serial number recognition, and reduces computational burden and energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121637259A_ABST
    Figure CN121637259A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of radio frequency fingerprint identification, and provides a radio frequency fingerprint identification method and system based on a feature latent space diffusion model in order to solve the problem that the identification rate of an existing method is reduced in a low signal-to-noise ratio environment. The method comprises the following steps: after receiving a radio frequency signal, firstly carrying out classification pre-training on a system, and updating parameters of a feature extraction module and a classification module; then, carrying out submerged space diffusion pre-training, training a noise time step prediction module and a submerged space diffusion noise prediction module based on a feature extraction and classification module, and optimizing parameters in combination with feature reconstruction, time step prediction and classification loss; and finally, systematic fine adjustment is carried out, and all modules are integrally optimized. And repeatedly training until the neural network converges, and outputting an optimal network parameter for testing. According to the method, the robustness and the accuracy of radio frequency equipment identification under the condition of low signal-to-noise ratio are effectively improved by combining feature extraction and submerged space noise suppression.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of radio frequency fingerprint identification, and particularly relates to a radio frequency fingerprint identification method and system based on a feature latent space diffusion model. BACKGROUND

[0002] With the continuous popularization of the Internet of Things (IoT), related devices almost penetrate into various daily scenes. Along with this, the security risk is expanding, prompting the device-side authentication technology to face new challenges. Radio frequency fingerprint identification (RFFI) as a physical layer authentication idea uses the subtle characteristics formed in the radio frequency signal by the hardware manufacturing differences of the device to distinguish the identity. This method does not need to introduce significant computational or storage burden on the terminal side, and the hardware defects are difficult to be accurately imitated, so it has a natural anti-counterfeiting attribute.

[0003] However, the existing RFFI scheme often appears a decline in recognition rate under low signal-to-noise ratio (SNR) conditions. Therefore, research usually improves along two paths: one is to introduce a special noise reduction module, to denoise the received signal first, and then send it into the classification model, to reduce noise interference; the second is to enhance the feature learning ability, to capture more complex internal correlations in the noisy signal through an additional feature extraction unit, so as to improve the noise resistance and classification performance of the model. However, the current two kinds of ideas still have limited gain in the low SNR scene, and RFFI still needs more efficient noise reduction mechanisms or more discriminative feature modeling methods to alleviate performance degradation. SUMMARY

[0004] To solve the above problems, a radio frequency fingerprint identification method and system based on a feature latent space diffusion model are proposed. The method jointly uses feature extraction and noise reduction modules: first, a feature extraction network is used to mine subtle representations related to classification discrimination from radio frequency signals; then, the obtained features are mapped to a latent space, and a diffusion noise prediction module is used to model and suppress noise, realizing directional denoising of discriminative representations. The above design focuses on useful features while reducing noise interference, thereby significantly improving the robustness and accuracy of radio frequency fingerprint identification under low signal-to-noise ratio conditions.

[0005] In a first aspect, a radio frequency fingerprint identification method based on a feature latent space diffusion model is provided, and the method comprises the following steps:

[0006] receiving a radio frequency signal;

[0007] training the received radio frequency signal, comprising:

[0008] The system undergoes classification pre-training: the parameters of the feature extraction module and the classification module are updated based on the received radio frequency signals and the transmitter serial numbers;

[0009] The system is pre-trained for latent space diffusion: the latent space diffusion module and the noise time step prediction module are pre-trained based on the received signal and the feature extraction module and classification module obtained from the classification pre-training, and the parameters of the latent space diffusion module and the noise time step prediction module are updated based on the feature reconstruction loss, time step prediction loss and classification loss.

[0010] System fine-tuning: Perform systematic fine-tuning of all modules based on the received signals;

[0011] The system is repeatedly trained based on the received radio frequency signals until the neural network converges.

[0012] The optimal network parameters are output for testing.

[0013] Preferably, the classification pre-training of the system specifically includes:

[0014] The received signal is normalized, and the maximum and minimum values ​​of the in-phase and quadrature component sequences are calculated using the following formula:

[0015]

[0016] Where j∈{i,q}.

[0017] The received in-phase and quadrature component sequences are normalized:

[0018]

[0019] The obtained normalized in-phase component sequence and quadrature component sequence are spliced ​​together to obtain the normalized radio frequency signal tensor.

[0020] x N [n] = [x] i,N [n] x q,N [n]], n=0,1,...,m-1,

[0021] For the normalized radio frequency signal tensor x N The input is projected through a linear layer to obtain the specified projection result.

[0022] x1 = Linear 2→64 (x N ),

[0023] Perform three convolution operations on x1 to obtain local features, with kernel dimensions of 3×3, 5×5, and 7×7, respectively, to obtain the output tensor after convolution.

[0024] x2=Conv 7×7 (Conv 5×5 (Conv 3×3 (x1))),

[0025] The convolution result x2 tensor is used to perform global dependency modeling using a multi-head self-attention module to obtain a global feature tensor. Then, global pooling is used in the time dimension to obtain the latent space feature vector aggregated in the time dimension.

[0026] r = AvgPool(MHA(x2,x2,x2)),

[0027] For ease of explanation, the above feature extraction module will be abbreviated as ε:

[0028]

[0029] For the obtained latent space eigenvectors The probability vector is calculated using a multilayer perceptron with three linear layers and the GELU activation function. The resulting simplex vector is:

[0030] p = Linear 128→k (GELU(Linear 256→128 (GELU(Linear 512→256 (r))))),

[0031] Where each component of p

[0032] The module for generating the above feature vectors can be abbreviated as:

[0033]

[0034] We choose cross-entropy as the loss function, and the formula for calculating cross-entropy is:

[0035]

[0036] in, This is a one-bit hot code for the serial number of the radio frequency signal transmitter. If the serial number of the transmitter transmitting the current radio frequency signal is i, then q i =1 and q j =0, j≠i.

[0037] Backpropagation is performed on the L1 loss function, and the parameters are updated using the AdamW optimizer. Once the model converges, the optimal network parameters ε for the feature extractor and classifier are saved. * and

[0038] Preferably, the pre-training of the system for latent space diffusion specifically includes:

[0039] The optimal parameters ε for classification pre-training of the system * and Load and freeze model ε * and Parameters. During the freezing process, the model's ε... * and It will not be optimized by the optimizer.

[0040] For the normalized radio frequency signal sequence x N Generate features using the loaded model parameters.

[0041] r = ε * (x N ),

[0042] Uniformly distributed random sampling is performed on {0,1,...,T-1} to generate random noise time steps t. Noisy feature vectors are obtained based on time step t.

[0043]

[0044] Where α t For cumulative noise scheduling parameters, This is a sampling of a standard normal distribution.

[0045] For normalized radio frequency signals Perform a linear mapping to obtain an m×512 dimensional projected input sequence.

[0046] x p =Linear 2→512 (x N )

[0047] The noisy feature vector r t The query vector Q of the attention module is used as the key vector K and value vector V of the attention module, thereby achieving cross-attention fusion and obtaining the fused value.

[0048] h = MHA(r) t ,x p ,x p )

[0049] MHA(·) is the multi-head attention module.

[0050] After mapping the obtained fusion value h using a single linear layer, a nonlinear mapping is performed using the GELU activation function. Subsequently, a linear layer and the Sigmoid function are used to map the output to the (0,1) interval, and the step size is multiplied to obtain the step size estimate.

[0051]

[0052] The above noise time step prediction process can be summarized as follows:

[0053]

[0054] The noise time step t of the actual sampling and the obtained noisy feature r t Noise prediction is performed using a diffusion-backward process, which includes two downsampling operations, an intermediate layer, and two upsampling operations, with jumpers connecting the upsampling and downsampling operations. The noise time step is then passed through a linear layer and a GELU activation function and superimposed on the noisy features to obtain the noise time step embedding of the features.

[0055] r t,e =r t +Linear 512→512 (GELU(Linear 1→512 (t)))

[0056] Noise time step embedding of features r t,e Feature latent space diffusion is performed, comprising three steps: downsampling, intermediate self-attention information fusion, and upsampling. Downsampling and upsampling are implemented using residual blocks, with the input and output dimensions of the residual blocks being identical, and jump lines connecting different residual blocks. A total of two downsampling operations and two upsampling operations are used, with a multi-head self-attention module used in between. The feature's noisy time-step embedding r... t,e The outputs of downsampling block 1, downsampling block 2, multi-head auto-attention block, upsampling block 1, and upsampling block 2 are h1, h2, and h, respectively. b u1 and u2 are represented as follows:

[0057] h1 = ResidualBlock 512 (r t,e ),

[0058] h2 = ResidualBlock 512 (h1),

[0059] h b =h2+Linear512→512 (Mid(h2)),

[0060] u1 = Linear 1024→512 (ResidualBlock 1024 ([h b h2])),

[0061] u2 = Linear 1024→512 (ResidualBlock 1024 ([u1 h1]))

[0062] The intermediate layer Mid consists of a linear layer, a normalization layer, a multi-head attention layer, and a mean layer, connected by jumpers. A linear mapping is applied to h2, and its shape is altered to obtain four word segments from one feature.

[0063] z = reshape(Linear) 512→2048 (h2))

[0064] Among them, the word segmentation tensor after shape change The segmentation tensor z is subjected to layer normalization and multi-head self-attention feature fusion. The input and output are connected by a jumper to obtain the output z':

[0065] z N =LayerNorm(z),

[0066] z'=MHA(z N ,z N ,z N )+z,

[0067] Layer normalization and mean averaging are performed on z', and the input and output are connected via jumpers to obtain the output.

[0068] h s =Mean(LayerNorm(z'))+z'

[0069] For h s Perform a linear mapping and connect using jumpers to obtain the output h of the intermediate layer. b :

[0070] h b =h s +h b2

[0071] By linearly mapping the output u2 of upsampling block 2, the noise prediction vector ∈ is obtained. θ :

[0072] ∈ θ =Linear(u2)

[0073] The above noise prediction process can be simplified as follows:

[0074]

[0075] For noisy features r t Denoising is performed to obtain the reconstructed features.

[0076]

[0077] Features of reconstruction Using a classifier Classification is performed to obtain probability simplex vectors.

[0078]

[0079] For the estimated step size value Reconstructed features The latent space diffusion loss is calculated using the estimated probability vector p, including: the squared error loss L for step size estimation. t Feature reconstruction loss L r And classification cross-entropy loss L c The calculation method is as follows:

[0080]

[0081] The calculated losses are weighted and summed to obtain the total latent space diffusion loss L2:

[0082] L2=αL t +βL r +γL c

[0083] Where α, β and γ are loss weight hyperparameters.

[0084] Backpropagation is performed on the L2 loss to obtain the gradient, and then the AdamW optimizer is used to perform a noisy time step predictor. and latent space diffusion noise predictor Optimize the network parameters. After the model converges, save the optimal network parameters for the feature extractor and classifier. and

[0085] Preferably, the fine-tuning of the system specifically includes:

[0086] The optimal parameters ε for classification pre-training of the system * , and Load the system to obtain all module parameters.

[0087] For in-phase and quadrature component sequences x i [n], x q [n] Calculate the average power P of the signal. s :

[0088]

[0089] For interval [SNR] min SNR max Uniformly distributed random sampling is used to obtain the random signal-to-noise power ratio (SNR). dB Convert it to a linear ratio SNR lin :

[0090]

[0091] For linear ratio SNR lin Calculate noise power P n :

[0092]

[0093] For noise power P n Generate complex Gaussian white noise w[n]:

[0094] w[n]=w i [n]+jw q [n],

[0095] in,

[0096] For the in-phase and quadrature component sequences of radio frequency signals x i [n], x q [n] Adds a noise component of specified intensity to obtain a sequence of noisy in-phase and quadrature components x. i,n [n], x q,n [n]:

[0097]

[0098] For noisy component sequence x i,n x q,n Normalization yields normalized vectors x with different components. i,n,N x q,n,N And splice them together to obtain the noisy radio frequency signal tensor.

[0099] For the noisy radio frequency signal tensor x n Noisy features are obtained by performing feature extraction operations.

[0100] r'=ε(xn )

[0101] For the noisy feature r' and the noisy radio frequency signal tensor x n The time step prediction value is obtained using a noise time step predictor.

[0102]

[0103] For noisy feature r' and time step prediction value Using a noise predictor Obtain the predicted cumulative noise

[0104]

[0105] Denoising the noisy features yields the reconstructed features.

[0106]

[0107] Classify the reconstructed features using a classifier Classification is performed to obtain probability simplex vectors.

[0108]

[0109] The cross-entropy loss is calculated on the obtained simplex vectors, and the classification cross-entropy loss is L3:

[0110]

[0111] Backpropagation is performed on the loss L2 to obtain the gradient, and then the AdamW optimizer is used to optimize all modules ε. and Optimize the network parameters. Save the optimal network parameters after the model converges.

[0112] Secondly, a radio frequency fingerprint recognition system based on a feature latent spatial diffusion model is provided, the system comprising the following modules:

[0113] The receiver module is used to receive radio frequency signals;

[0114] The training module, used to train the received radio frequency signal, includes:

[0115] The classification pre-training module is used for training and updating the parameters of the feature extraction module and the device classification module.

[0116] The feature latent space diffusion pre-training module is used to train and update the parameters of the noise time step prediction module and the latent space diffusion noise prediction module.

[0117] The fine-tuning module is used to further train and update the parameters of the feature extraction module, noise time step prediction module, latent space diffusion noise prediction module, and device classification module obtained from the classification pre-training and feature latent space diffusion pre-training modules.

[0118] The update module is used to update the parameters of each training module based on the loss function of that module.

[0119] The iterative training module is used to repeatedly train the received radio frequency signals until the network converges.

[0120] The output module is used to output the optimal network parameters for the testing process.

[0121] Thirdly, a computer-readable storage medium is provided for storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to perform any of the methods described.

[0122] Fourthly, a computing device is provided, comprising:

[0123] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing any of the methods described.

[0124] The beneficial effects of this invention are as follows:

[0125] 1. By pre-training the feature extraction module, priority is given to capturing radio frequency characteristics that are highly related to device number identification, enabling the model to focus on discriminative features and suppress interfering (or redundant) features, thereby improving the discriminative power and robustness of feature representation.

[0126] 2. A noise time step predictor based on cross-attention is introduced to jointly model the long-range dependency between the original signal and the extracted features, accurately estimating the noise intensity and temporal position corresponding to the target features, thus providing a more reliable prior for subsequent noise prediction and suppression.

[0127] 3. Based on the predicted noise time step, feature domain denoising is performed to effectively recover key representations related to equipment number identification, reduce noise disturbance to the decision boundary, and thus improve the accuracy and consistency of equipment number identification.

[0128] 4. The one-step prediction strategy using the latent space diffusion model avoids the computational burden and latency caused by traditional multi-step sampling, reduces energy consumption and computing power consumption on the system side, especially on the IoT side, and is more in line with the engineering requirements of low power consumption and low carbonization. Attached Figure Description

[0129] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some examples of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.

[0130] Appendix Figure 1 This is a flowchart illustrating the overall training process of the radio frequency fingerprint recognition algorithm based on the feature latent spatial diffusion model of the present invention.

[0131] Appendix Figure 2 This is a flowchart of the classification pre-training algorithm of the radio frequency fingerprint recognition algorithm based on the feature latent space diffusion model in this invention;

[0132] Appendix Figure 3 This is a flowchart of the latent space diffusion pre-training algorithm for the radio frequency fingerprint recognition algorithm based on the feature latent space diffusion model in this invention.

[0133] Appendix Figure 4 This is a flowchart of the systematic fine-tuning algorithm of the radio frequency fingerprint recognition algorithm based on the feature latent space diffusion model in this invention.

[0134] Appendix Figure 5 This is a network structure diagram of the feature extraction module in this invention.

[0135] Appendix Figure 6 This is a network structure diagram of the noise time step prediction module in this invention.

[0136] Appendix Figure 7 This is a network structure diagram of the latent space diffusion noise predictor module in this invention. Detailed Implementation

[0137] To make the objectives and technical solutions of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be described more clearly and completely below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0138] Since this invention is based on deep neural networks, the description of specific implementation methods will be separated into two aspects: the training process and the testing process.

[0139] like Figure 1The diagram shown is an overall flowchart of the training process of this invention. This invention provides a radio frequency fingerprinting method based on a feature latent space diffusion model, comprising the following steps:

[0140] Receive radio frequency signals;

[0141] Training the received radio frequency signal includes:

[0142] The system undergoes classification pre-training: the parameters of the feature extraction module and the classification module are updated based on the received radio frequency signals and the transmitter serial numbers;

[0143] The system is pre-trained for latent space diffusion: the latent space diffusion module and the noise time step prediction module are pre-trained based on the received signal and the feature extraction module and classification module obtained from the classification pre-training, and the parameters of the latent space diffusion module and the noise time step prediction module are updated based on the feature reconstruction loss, time step prediction loss and classification loss.

[0144] System fine-tuning: Perform systematic fine-tuning of all modules based on the received signals;

[0145] The system is repeatedly trained based on the received radio frequency signals until the neural network converges.

[0146] The optimal network parameters are output for testing.

[0147] Specifically, the system performs classification pre-training; the process can be found in [link to documentation]. Figure 2 This includes the following steps:

[0148] (5.1) Calculate the maximum and minimum values ​​of the in-phase and quadrature component sequences using the following formula:

[0149]

[0150] Where j∈{i,q}.

[0151] (5.2) Normalize the received in-phase and quadrature component sequences:

[0152]

[0153] (5.3) The obtained normalized in-phase component sequence and quadrature component sequence are spliced ​​together to obtain the normalized radio frequency signal tensor.

[0154] x N [n] = [x] i,N [n] x q,N [n]], n=0,1,…,m-1,

[0155] (5.4) For the normalized radio frequency signal tensor xN The input is projected through a linear layer to obtain the specified projection result.

[0156] x1 = Linear 2→64 (x N ),

[0157] (5.5) Perform three convolution operations on x1 to obtain local features. The dimensions of the convolution kernels are 3×3, 5×5, and 7×7, respectively, to obtain the output tensor after convolution.

[0158] x2=Conv 7×7 (Conv 5×5 (Conv 3×3 (x1))),

[0159] (5.6) Global dependency modeling is performed on the convolution result x2 tensor using a multi-head self-attention module to obtain a global feature tensor. Then, global pooling is used in the time dimension to obtain the latent space feature vector aggregated in the time dimension.

[0160] r = AvgPool(MHA(x2,x2,x2)),

[0161] (5.7) For ease of description, the above feature extraction module will be abbreviated as ε:

[0162]

[0163] The network structure of this feature extraction module can be found in [reference]. Figure 5 .like Figure 5 As shown, this module captures local multi-scale features of radio frequency signals through parallel convolutional kernels of different scales (3×3, 5×5, 7×7), then models the long-range dependencies between these features through a self-attention mechanism, and finally aggregates them into a fixed-length feature vector r through a pooling layer.

[0164] (5.8) The obtained latent space eigenvectors The probability vector is calculated using a multilayer perceptron with three linear layers and the GELU activation function. The resulting simplex vector is:

[0165] p = Linear 128→k (GELU(Linear 256→128 (GELU(Linear 512→256 (r))))),

[0166] Where each component of p

[0167] (5.9) The above feature vector generation module can be abbreviated as:

[0168]

[0169] (5.10) Cross-entropy is chosen as the loss function. The formula for calculating cross-entropy is:

[0170]

[0171] in, This is a one-bit hot code for the serial number of the radio frequency signal transmitter. If the serial number of the transmitter transmitting the current radio frequency signal is i, then q i =1 and q j =0, j≠i.

[0172] Backpropagation is performed on the L1 loss function, and the parameters are updated using the AdamW optimizer. Once the model converges, the optimal network parameters ε for the feature extractor and classifier are saved. * and

[0173] Specifically, the system undergoes latent space diffusion pre-training; the process can be found in [link to documentation]. Figure 3 This includes the following steps:

[0174] The optimal parameters ε for classification pre-training of the system * and Load and freeze model ε * and Parameters. During the freezing process, the model's ε... * and It will not be optimized by the optimizer.

[0175] (6.1) For the normalized radio frequency signal sequence x N Generate features using the loaded model parameters.

[0176] r = ε * (x N ),

[0177] (6.2) Perform uniformly distributed random sampling on {0,1,...,T-1} to generate a random noise time step t, and obtain the noisy feature vector based on the time step t.

[0178]

[0179] Where α t This is the cumulative noise scheduling parameter, whose value monotonically decreases as time step t increases, defining the progress of noise addition. This is a sampling of a standard normal distribution.

[0180] (6.3) For normalized radio frequency signals Perform a linear mapping to obtain an m×512 dimensional projected input sequence.

[0181] x p =Linear 2→512 (x N (6.4) The noisy feature vector r t The query vector Q of the attention module is used as the key vector K and value vector V of the attention module, thereby achieving cross-attention fusion and obtaining the fused value.

[0182] h = MHA(r) t ,x p ,x p )

[0183] MHA(·) is the multi-head attention module.

[0184] (6.5) After mapping the obtained fusion value h to a single linear layer, a nonlinear mapping is performed using the GELU activation function. Then, a linear layer and the Sigmoid function are used to map the output to the (0,1) interval, and the step size is multiplied to obtain the step size estimate.

[0185]

[0186] (6.6) The above noise time step prediction process can be summarized as follows:

[0187]

[0188] The network structure of the noise time step prediction module can be found in [reference]. Figure 6 .like Figure 6 As shown, this module uses a cross-attention mechanism to process noisy features r. t As a query, the projection x of the original signal p Using these as keys and values, global contextual information is fused to predict the noise intensity (time step) corresponding to the current feature.

[0189] (6.7) The noise time step t of the actual sampling and the obtained noisy feature r tNoise prediction is performed using a diffusion-backward process, which includes two downsampling operations, an intermediate layer, and two upsampling operations, with jumpers connecting the upsampling and downsampling operations. The noise time step is then passed through a linear layer and a GELU activation function and superimposed on the noisy features to obtain the noise time step embedding of the features.

[0190] r t,e =r t +Linear 512→512 (GELU(Linear 1→512 (t)))(6.8) embedding the feature at the noisy time step r t,e Feature latent space diffusion is performed, comprising three steps: downsampling, intermediate self-attention information fusion, and upsampling. Downsampling and upsampling are implemented using residual blocks, with the input and output dimensions of the residual blocks being identical, and jump lines connecting different residual blocks. A total of two downsampling operations and two upsampling operations are used, with a multi-head self-attention module used in between. The feature's noisy time-step embedding r... t,e The outputs of downsampling block 1, downsampling block 2, multi-head auto-attention block, upsampling block 1, and upsampling block 2 are h1, h2, and h, respectively. b u1 and u2 are represented as follows:

[0191] h1 = ResidualBlock 512 (r t,e ),

[0192] h2 = ResidualBlock 512 (h1),

[0193] h b =h2+Linear 512→512 (Mid(h2)),

[0194] u1 = Linear 1024→512 (ResidualBlock 1024 ([h b h2])),

[0195] u2 = Linear 1024→512 (ResidualBlock 1024 ([u1 h1]))

[0196] The intermediate layer Mid consists of a linear layer, a normalization layer, a multi-head attention layer, and a mean layer, connected by jumpers. (6.9) A linear mapping is applied to h2, and the shape is changed to obtain four words from one feature:

[0197] z = reshape(Linear) 512→2048 (h2))

[0198] Among them, the word segmentation tensor after shape change (6.10) Perform layer normalization and multi-head self-attention feature fusion on the segmentation tensor z, and connect the input and output through a jumper line to obtain the output z':

[0199] z N =LayerNorm(z),

[0200] z'=MHA(z N ,z N ,z N )+z,

[0201] (6.11) Perform layer normalization and mean averaging on z', and connect the input and output via jumpers to obtain the output.

[0202] h s =Mean(LayerNorm(z'))+z'

[0203] (6.12) Regarding h s Perform a linear mapping and connect using jumpers to obtain the output h of the intermediate layer. b :

[0204] h b =h s +h b2

[0205] (6.13) Perform a linear mapping on the output u2 of upsampling block 2 to obtain the noise prediction vector ∈ θ :

[0206] ∈ θ =Linear(u2)

[0207] (6.14) The above noise prediction process can be simplified as follows:

[0208]

[0209] The network structure of the latent space diffusion noise predictor module can be found in [reference]. Figure 7 .like Figure 7 As shown, this module employs a U-Net-like architecture, comprising downsampling, self-attention intermediate layers, and upsampling. Skip connections ensure the fusion of feature information at different scales. The time step t is incorporated into the network through embedding layers (time step embedding), conditionalizing the noise prediction process. The self-attention mechanism of the intermediate layers further enhances the global modeling capability of the features.

[0210] (6.15) For noisy features r tDenoising is performed to obtain the reconstructed features.

[0211]

[0212] (6.16) Features of reconstruction Using a classifier Classification is performed to obtain probability simplex vectors.

[0213]

[0214] (6.17) For the estimated step size value Reconstructed features The latent space diffusion loss is calculated using the estimated probability vector p, including: the squared error loss L for step size estimation. t Feature reconstruction loss L r And classification cross-entropy loss L c The calculation method is as follows:

[0215]

[0216] Where q is a single valid bit of the transmitter serial number corresponding to the current training sample.

[0217] (6.18) The calculated losses are weighted and summed to obtain the total loss L2 of latent space diffusion:

[0218] L2=αL t +βL r +γL c

[0219] Where α, β and γ are loss weight hyperparameters.

[0220] Backpropagation is performed on the L2 loss to obtain the gradient, and then the AdamW optimizer is used to perform a noisy time step predictor. and latent space diffusion noise predictor Optimize the network parameters. After the model converges, save the optimal network parameters for the feature extractor and classifier. and

[0221] Specifically, systematic fine-tuning is performed; the process can be found in [link to relevant documentation]. Figure 4 This includes the following steps:

[0222] The optimal parameters ε for classification pre-training of the system * , and Load the system to obtain all module parameters.

[0223] (7.1) For in-phase and quadrature component sequences x i [n], x q [n] Calculate the average power P of the signal. s :

[0224]

[0225] (7.2) For the interval [SNR min SNR max (e.g., [-10dB, 20dB]) Uniformly distributed random sampling is used to obtain the random signal-to-noise power ratio (SNR). dB Convert it to a linear ratio SNR lin :

[0226]

[0227] (7.3) For the linear ratio SNR lin Calculate noise power P n :

[0228]

[0229] (7.4) Regarding the noise power P n Generate complex Gaussian white noise w[n]:

[0230] w[n]=w i [n]+jw q [n],

[0231] in,

[0232] (7.5) For the in-phase and quadrature component sequences x of the radio frequency signal i [n], x q [n] Adds a noise component of specified intensity to obtain a sequence of noisy in-phase and quadrature components x. i,n [n], x q,n [n]:

[0233]

[0234] For noisy component sequence x i,n x q,n Normalization yields normalized vectors x with different components. i,n,N x q,n,N And splice them together to obtain the noisy radio frequency signal tensor.

[0235] (7.6) For the noisy radio frequency signal tensor x n Noisy features are obtained by performing feature extraction operations.

[0236] r'=ε(x n (7.7) For the noisy feature r' and the noisy radio frequency signal tensor x n The time step prediction value is obtained using a noise time step predictor.

[0237]

[0238] (7.8) Predicted values ​​of noisy feature r' and time step Using a noise predictor Obtain the predicted cumulative noise

[0239]

[0240] (7.9) Perform denoising operation on the noisy features to obtain the reconstructed features.

[0241]

[0242] (7.10) Classify the reconstructed features using a classifier Classification is performed to obtain probability simplex vectors.

[0243]

[0244] (7.11) Calculate the cross-entropy loss for the obtained simplex vectors. The classification cross-entropy loss is L3:

[0245]

[0246] Backpropagation is performed on the loss L3 to obtain the gradient, and then the AdamW optimizer is used to optimize all modules ε. and Optimize the network parameters. Save the optimal network parameters after the model converges.

[0247] The optimal network parameter set {ε} is obtained through the above training process. * D * ,T * U * After that, radio frequency fingerprint recognition can be performed. The testing process follows these steps in sequence:

[0248] Signal preprocessing: Receive the radio frequency signal to be identified, calculate the maximum and minimum values ​​of its in-phase and quadrature components in the same way as in the training phase, perform normalization processing, and concatenate the two normalized component sequences into a two-dimensional tensor as the input of the network.

[0249] Feature extraction: The preprocessed signal tensor is input into the trained feature extraction module to calculate the feature vector corresponding to the signal.

[0250] Noise level estimation: The feature vector obtained in the previous step is input together with the original input signal tensor into the trained noise time step prediction module. This module will analyze the information from both and output an estimated noise intensity value.

[0251] Feature denoising: The extracted feature vector and the estimated noise intensity value are input into the pre-trained latent space diffusion noise prediction module. This module predicts the noise component contained in the feature based on the noise intensity, and then subtracts the predicted noise from the original feature to obtain a denoised, cleaner feature vector.

[0252] Classification decision: The denoised feature vector is input into the pre-trained classifier module, which outputs a probability distribution vector, where the probability value at each position represents the likelihood that the input signal belongs to the corresponding transmitter device.

[0253] Output result: Select the device category corresponding to the largest probability value in the probability distribution vector as the final RFID fingerprint recognition result, that is, determine that the device sent the current signal.

[0254] This invention provides a radio frequency fingerprint recognition system based on a feature latent space diffusion model, the system comprising the following modules:

[0255] The receiver module is used to receive radio frequency signals;

[0256] The training module, used to train the received radio frequency signal, includes:

[0257] The classification pre-training module is used for training and updating the parameters of the feature extraction module and the device classification module.

[0258] The feature latent space diffusion pre-training module is used to train and update the parameters of the noise time step prediction module and the latent space diffusion noise prediction module.

[0259] The fine-tuning module is used to further train and update the parameters of the feature extraction module, noise time step prediction module, latent space diffusion noise prediction module, and device classification module obtained from the classification pre-training and feature latent space diffusion pre-training modules.

[0260] The update module is used to update the parameters of each training module based on the loss function of that module.

[0261] The iterative training module is used to repeatedly train the received radio frequency signals until the network converges.

[0262] The output module is used to output the optimal network parameters for the testing process.

[0263] Embodiments of this application may be provided as methods or computer program products. Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application may be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0264] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0265] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0266] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0267] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A radio frequency fingerprinting method based on a feature latent space diffusion model, characterized in that, The method comprises the following steps: receiving a radio frequency signal; training the received radio frequency signal in stages, comprising: a classification pre-training stage: using the received radio frequency signal and the corresponding transmitter sequence number, training and updating the parameters of the feature extraction module and the classification module to obtain the trained feature extraction module and the classification module; a latent space diffusion pre-training stage: based on the trained feature extraction module and the classification module, training and updating the parameters of the noise time step prediction module and the latent space diffusion noise prediction module to obtain the trained noise time step prediction module and the latent space diffusion noise prediction module; the training process comprises: extracting the feature vector of the radio frequency signal using the feature extraction module; adding noise of different intensities to the feature vector; estimating the intensity information of the added noise through the noise time step prediction module; predicting the added noise through the latent space diffusion noise prediction module; and updating the parameters of the noise time step prediction module and the latent space diffusion noise prediction module according to the feature reconstruction loss, the noise intensity information prediction loss and the classification loss; a systematic fine-tuning stage: based on the received signal, overall fine-tuning and parameter updating of the feature extraction module, the classification module, the noise time step prediction module and the latent space diffusion noise prediction module; repeating the training of the received radio frequency signal in stages until the neural network converges, and outputting the optimal network parameters for radio frequency fingerprint identification. 2.The RF fingerprinting method based on a feature latent space diffusion model according to claim 1, wherein, The classification pre-training stage specifically comprises: preprocessing the received radio frequency signals to obtain a normalized radio frequency signal tensor where m is the signal sample length; The x is processed by a feature extraction module, linear projection, multi-scale convolution operation, multi-head self-attention global modeling and global average pooling are sequentially executed, and a latent space feature vector is obtained N ​ Classify the feature vector r through the classification module to obtain a classification probability vector where k is the total number of transmitter categories. calculating the cross-entropy loss L1 according to the classification probability vector p and the true label of the transmitter sequence number; By back propagation and optimizer updating the parameters of the feature extraction module and classification module until the model converges, save its best parameters e * and D * .

3. The method of claim 2, wherein, The latent space diffusion pre-training stage specifically comprises: Load and freeze the optimal parameter e * With D * ; Use e * Extract normalized signal x N Feature r = e * (x N ) Sample a random noise time step t and schedule the noise according to the noise schedule parameter a t Generate a noisy feature vector r t ; fusing the noisy feature r through a cross-attention mechanism t with the original signal information, estimating noise time steps embedding time step information into the noisy feature r t In this way, noise time step embedding features r te are obtained. r is processed by a diffusion network comprising down-sampling, self-attention mid- layers and up-sampling, to predict the added noise ∈ te ; and θ ; denoising the noisy features to obtain reconstructed features and using the classifier D * classifying the same; The step length estimation loss L is calculated by the following equation: t The feature reconstruction loss L is calculated by the following equation: r The classification cross-entropy loss L is calculated by the following equation: c The weighted total loss L2 is composed of the step length estimation loss L, the feature reconstruction loss L, and the classification cross-entropy loss L. parameters of the noise time step prediction module and the latent space diffusion noise prediction module are updated by backpropagation and an optimizer until convergence, and their best parameters T are saved * with U * .

4. The method of claim 3, wherein, The systematic fine-tuning stage specifically comprises: Best parameters ε to load all modules * , D * , T * and U * ; According to a preset signal-to-noise ratio range, analog noise is added to the original radio frequency signal to construct a noisy radio frequency signal x n ; a noisy feature r' = ε(x n ) is extracted by using the feature extraction module. predicting, by the noise time step prediction module, a noise time step corresponding to the noisy feature With the latent space diffusion noise prediction module, based on r' and Predicting noise de-noising the noisy features to obtain reconstructed features and classifying using the classifier; calculating the classification cross-entropy loss L3; jointly optimizing the parameters of all modules through back propagation and an optimizer until convergence, and saving the final network parameters.

5. A radio frequency fingerprinting system based on a feature latent space diffusion model, characterized in that, The system comprises: The system comprises: a receiving module for receiving a radio frequency signal; a training module connected with the receiving module, for training the received radio frequency signal in stages, the training module comprising: a classification prediction unit for performing the classification prediction stage; a latent space diffusion prediction unit connected with the classification prediction unit for performing the latent space diffusion prediction stage; a fine-tuning unit connected with the latent space diffusion prediction unit for performing the systematic fine-tuning stage; an iteration control module connected with the training module for controlling the training process to be repeated until the neural network converges; an output module connected with the iteration control module for outputting the optimal network parameters.

6. A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions that when executed by a computer cause the computer to perform a method comprising: The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform the method according to any one of claims 1-4.

7. A computing device, comprising: The system comprises: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method according to any one of claims 1-4.