# US 2026/0075429 A1 · Radio frequency fingerprinting method and system based on convolution-attention mechanism and multi-packet inference

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0075429 A1
- Document ID: US20260075429A1
- Status: Published application
- Kind: A1
- Application number: 19/395,083
- Filed: 2025-11-20
- Published: 2026-03-12
- Earliest claimed: 2025-06-19
- Assignees: Shandong University
- Applicants: Shandong University
- Inventors: Chuanting Zhang; Jingping Qiao; Haixia Zhang; Xin Li; Yueheng Li
- Web page: https://patentgrep.com/patent/US20260075429A1

## CPC

- H04W 12/79: Radio fingerprint
- H04L 41/147: for predicting network behaviour
- H04L 41/16: using machine learning or artificial intelligence
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A radio frequency fingerprinting method and system based on a convolution-attention mechanism and multi-packet inference are disclosed, and belong to the technical field of communication networks and artificial intelligence. The radio frequency fingerprinting method based on the convolution-attention mechanism and multi-packet inference includes: step 1: capturing a device transmission signal, and preprocessing the transmission signal to obtain a spectrogram; step 2: constructing a radio frequency fingerprinting model, and inputting the obtained spectrogram into the radio frequency fingerprinting model for training, to obtain a trained radio frequency fingerprinting model; and step 3: performing prediction by employing the trained radio frequency fingerprinting model, to obtain a final prediction result.

## Claims

### Claim 1

A radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference, comprising:
step 1: capturing a device transmission signal, and preprocessing the transmission signal to obtain a spectrogram;
step 2: constructing a radio frequency fingerprinting model, and inputting the obtained spectrogram into the radio frequency fingerprinting model for training, to obtain a trained radio frequency fingerprinting model, wherein
the radio frequency fingerprinting model comprises a convolutional layer, a positional encoding layer, and a Transformer encoder;
the convolutional layer transforms an inputted feature map into a high-order feature representation;
the positional encoding layer is configured to add position information;
the Transformer encoder comprises a multi-head self-attention mechanism and a feed-forward neural network layer, the multi-head self-attention mechanism is used for capturing global dependencies that span an entire sequence, and the feed-forward neural network layer further enhances a feature representation capability;
the convolutional layer comprises a standardization layer, a point convolutional layer, a GLU activation function layer, a depthwise separable convolutional layer, a batch normalization layer, a Swish activation function layer, a concatenated convolutional layer, and a Dropout layer;
firstly, the obtained spectrogram is inputted into the convolutional layer, to standardize the inputted spectrogram; a channel dimension is adjusted by employing 1×1 convolutions through the point convolutional layer, to obtain a feature map with an adjusted number of channels; key information of the feature map is enhanced through the GLU activation function layer while redundant information of the feature map is suppressed; parameters of the feature map are reduced through the depthwise separable convolutional layer while a spatial feature is enhanced; a feature map with a stable distribution is obtained through the batch normalization layer; an activated feature map is obtained through the Swish activation function layer while subtle gradient information of a negative value region is preserved; a final feature representation with an optimized number of channels is obtained through the concatenated convolutional layer; and finally a regularized feature map X is obtained through the Dropout layer;
then, the regularized feature map is introduced into the positional encoding layer after being subjected to the operations at the convolutional layer, to obtain a feature map subjected to positional encoding, and a time relationship present in the data is captured;
finally, the feature map subjected to positional encoding is inputted into the Transformer encoder, and the Transformer encoder captures the global dependencies that span the entire sequence by employing the multi-head self-attention mechanism; and
after the processing by the Transformer encoder, a time dimension of the feature map is compressed into a feature vector with a fixed length through a one-dimensional global average pooling layer; and finally, the feature vector is fed into a fully connected layer and a Softmax layer for classification, and a trained RFF-CAT model, i.e., the radio frequency fingerprinting model, is obtained after training; and
step 3: performing prediction by employing the trained radio frequency fingerprinting model, to obtain a final prediction result by incorporating a multi-packet inference method, wherein
the multi-packet inference method comprises:
dividing inputted radio frequency signal data into a plurality of data packets, calculating an initial prediction value of each data packet, i.e., obtaining an initial prediction value through the RFF-CAT model, defining an initial weight set, and then performing weighted summation, to obtain a fused prediction probability;
calculating an error between the initial prediction value and the fused prediction probability, and updating a weight to adapt to the prediction value of each data packet; and
performing weighted summation again on the prediction value of each data packet by employing the updated weight, to obtain a new fused prediction probability, i.e., identifying a radio frequency fingerprint of a corresponding device, to achieve device authentication and identification.

### Claim 2 (depends on 1)

The radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference according to claim 1, wherein the capturing a device transmission signal, and preprocessing the transmission signal to obtain a spectrogram comprises:
firstly, acquiring the transmission signal from a long range (LoRa) device, and denoting the acquired transmission signal as r(n), the LoRa device employing a LoRa protocol;
secondly, calculating a carrier frequency offset, as shown in the following formula;
Δ
⁢
f
=
1
2
⁢
π
⁢
d
dt
⁢
arg
⁡
(
r
⁡
(
n
)
)
,
wherein arg(⋅) denotes a phase of the transmission signal, n denotes a time variable, and Δf denotes the carrier frequency offset;
compensating the carrier frequency offset, as shown in the following formula;
r
^
(
n
)
=
r
⁡
(
n
)
·
e
-
j
·
2
⁢
π
·
CFO
·
t
,
wherein r(n) is a received signal, {circumflex over (r)}(n) is a compensated signal, j denotes an imaginary unit, CFO denotes the carrier frequency offset, i.e., Δf, and t denotes the time variable;
normalizing the compensated signal into a unit amplitude by employing data normalization, as shown in the following formula:
T
norm
(
n
)
=
r
^
(
n
)
max
⁡
(
❘
"\[LeftBracketingBar]"
r
^
(
n
)
❘
"\[RightBracketingBar]"
)
,
wherein rnorm(n) denotes the normalized received signal; and
finally, performing short-time Fourier transform (STFT) to covert the signal into a channel-independent spectrogram, as shown in the following formula:
S
⁡
(
f
,
t
)
=
∑
n
=
0
N
-
1
r
norm
(
n
)
·
w
⁡
(
n
-
t
)
·
e
-
j
⁢
2
⁢
π
⁢
fn
,
wherein S(f, t) denotes the spectrogram, w(n−t) denotes a matrix window with a length of N, and a segment of the signal is selected for transformation starting from time point n and extending to each moment t, j denotes the imaginary unit, and f denotes a frequency.

### Claim 3 (depends on 2)

The radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference according to claim 2, wherein the constructing a radio frequency fingerprinting model, and inputting the obtained spectrogram into the radio frequency fingerprinting model for training, to obtain a trained radio frequency fingerprinting model comprises:
introducing the feature map into the positional encoding layer after being subjected to the operations at the convolutional layer, to obtain the feature map subjected to positional encoding, and capturing the time relationship present in the data, a formula being as follows:
PE
⁡
(
X
)
=
X
+
Embedding
(
pos
)
,
wherein PE(X) denotes the feature map subjected to the positional encoding, X denotes an output of the convolutional layer, and Embedding(pos) denotes positional encoding; and
inputting the feature map subjected to positional encoding into the Transformer encoder, an operation being as follows:
head
i
=
Attention
(
W
i
Q
⁢
X
1
,
W
i
K
⁢
X
1
,
W
i
V
⁢
X
1
)
;
wherein X1 denotes an input, i.e., the feature map subjected to positional encoding, and WiQ denotes a query matrix of an ith attention head; WiK denotes a key matrix of the ith attention head; WiV denotes a value matrix of the ith attention head; h attention heads generate a final output of the multi-head self-attention mechanism, and the output undergoes concatenation and linear transform, as shown in the following formula:
MHA
⁡
(
X
1
)
=
W
O
(
head
1
⁢

…

⁢
head
h
)
;
wherein MHA(X1) denotes the output of the multi-head self-attention mechanism, and WO is an output weight matrix; a combined output of the multi-head self-attention mechanism is mapped, and the feed-forward neural network layer is employed to further complete the feature representation.

### Claim 4 (depends on 3)

The radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference according to claim 3, wherein the performing prediction by employing the trained radio frequency fingerprinting model, to obtain a final prediction result by incorporating a multi-packet inference method comprises:
first preprocessing and transforming radio frequency signal data from an unknown device into a channel-independent spectrogram at a prediction inference stage, and then inputting the spectrogram into the trained RFF-CAT model;
processing an output of the RFF-CAT model by the multi-packet inference method, i.e., an adaptive fusion method, to obtain a final output probability;
the fused prediction probability is as follows:
p
=
1
N
⁢
∑
n
=
1
N
w
n
⁢
p
^
n
,
wherein p denotes the fused prediction probability, n denotes the prediction probability, i.e., the initial prediction value, of an nth data packet, and wn denotes a weight of the prediction probability of the nth data packet; and
an update rule of the weight at each iteration is as shown in the following formula:
w
n
+
1
=
w
n
+
μ
⁢
e
n
⁢
p
n
,
wherein wn denotes a weight array of the prediction probability of the data packet with an index of n; wn+1 denotes the weight array of the data packet with the index n after the weight is updated; μ denotes a learning rate, used for controlling an adjustment amplitude of the weight at each iteration; en denotes the error between the initial prediction probability, i.e., the initial prediction value, and the fused probability after weighted summation; and pn is an array, including the initial prediction probabilities of the previous N data packets starting from the index n.

### Claim 5 (depends on 1)

The radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference according to claim 1, wherein a computer device, comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor, when executing the computer program, implements steps of the radio frequency fingerprinting method based on the convolution-attention mechanism and multi-packet inference.

### Claim 6 (depends on 1)

The radio frequency fingerprinting method based on a convolution-attention mechanism and multi-packet inference according to claim 1, wherein a computer-readable storage medium, having a computer program stored therein, wherein the computer program, when executed by a processor, implements steps of the radio frequency fingerprinting method based on the convolution-attention mechanism and multi-packet inference.

### Claim 7

A radio frequency fingerprinting system based on a convolution-attention mechanism and multi-packet inference, comprising:
a preprocessing module, configured to capture a device transmission signal, and preprocess the transmission signal to obtain a spectrogram;
a model training module, configured to construct a radio frequency fingerprinting model, and input the obtained spectrogram into the radio frequency fingerprinting model for training, to obtain a trained radio frequency fingerprinting model, wherein
the radio frequency fingerprinting model comprises a convolutional layer, a positional encoding layer, and a Transformer encoder;
the convolutional layer transforms an inputted feature map into a high-order feature representation;
the positional encoding layer is configured to add position information;
the Transformer encoder comprises a multi-head self-attention mechanism and a feed-forward neural network layer, the multi-head self-attention mechanism is used for capturing global dependencies that span an entire sequence, and the feed-forward neural network layer further enhances a feature representation capability;
the convolutional layer comprises a standardization layer, a point convolutional layer, a GLU activation function layer, a depthwise separable convolutional layer, a batch normalization layer, a Swish activation function layer, a concatenated convolutional layer, and a Dropout layer;
firstly, the obtained spectrogram is inputted into the convolutional layer, to standardize the inputted spectrogram; a channel dimension is adjusted by employing 1×1 convolutions through the point convolutional layer, to obtain a feature map with an adjusted number of channels; key information of the feature map is enhanced through the GLU activation function layer while redundant information of the feature map is suppressed; parameters of the feature map are reduced through the depthwise separable convolutional layer while a spatial feature is enhanced; a feature map with a stable distribution is obtained through the batch normalization layer; an activated feature map is obtained through the Swish activation function layer while subtle gradient information of a negative value region is preserved; a final feature representation with an optimized number of channels is obtained through the concatenated convolutional layer; and finally, a regularized feature map X is obtained through the Dropout layer;
then, the feature map is introduced into the positional encoding layer after being subjected to operations at the convolutional layer, to obtain a feature map subjected to positional encoding, and a time relationship present in the data is captured;
finally, the feature map subjected to positional encoding is inputted into the Transformer encoder, and the global dependencies that span the entire sequence are captured through the Transformer encoder by employing the multi-head self-attention mechanism; and
after the processing by the Transformer encoder, a time dimension of the feature map is compressed into a feature vector with a fixed length through a one-dimensional global average pooling layer; and finally the feature vector is fed into a fully connected layer and a Softmax layer for classification, and the trained RFF-CAT model, i.e., the radio frequency fingerprinting model, is obtained after training; and
a multi-packet inference module, configured to perform prediction by employing the trained radio frequency fingerprinting model, to obtain a final prediction result by incorporating a multi-packet inference method, wherein
the multi-packet inference method comprises:
dividing inputted radio frequency signal data into a plurality of data packets, calculating an initial prediction value of each data packet, i.e., obtaining an initial prediction value through the RFF-CAT model, defining an initial weight set, and then performing weighted summation, to obtain a fused prediction probability;
calculating an error between the initial prediction value and the fused prediction probability, and updating a weight to adapt to the prediction value of each data packet; and
performing weighted summation again on the prediction value of each data packet by employing the updated weight, to obtain a new fused prediction probability, i.e., identifying a radio frequency fingerprint of a corresponding device, to achieve device authentication and identification.
