Environmental backscatter system communication error rate assessment method based on artificial intelligence
Through the SMOTE algorithm based on quantum state evolution and the neural network structure optimized by light and shadow tracking, combined with the improved autoencoding neural network and the random forest algorithm with steady-state redundancy elimination, the sample diversity and dynamic characteristics in high-dimensional data processing are solved. The captured problems improve the training effect and generalization ability of the model and reduce the risk of over-fitting.
Patent Information
- Application Number
- CN202410945307.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-15
AI Technical Summary
Existing data generation technology is not sophisticated enough in high-dimensional data processing and cannot effectively control the diversity and authenticity of samples, resulting in limited model training effects and generalization capabilities. Moreover, traditional methods are difficult to capture dynamically changing data characteristics and are easy to fall into Local optimal solutions lead to poor application results of the model in complex environments.
The SMOTE algorithm based on quantum state evolution is used for sample generation, combined with the neural network structure optimized for light and shadow tracking and the improved self-encoding neural network. New samples are generated in high-dimensional data space through the superposition and interference principles of quantum states to capture dynamics. features, and avoid local optimal solutions through a loop restart strategy; at the same time, a random forest algorithm based on steady-state redundancy elimination is used to enhance the generalization ability of the model.
It improves the training effect and prediction accuracy of the model, enhances the adaptability to new data, reduces the risk of overfitting, improves the prediction ability of unknown data, and ensures the integrity and diversity of the data structure.
Smart Images

Figure CN118740343A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing methods, and in particular relates to an artificial intelligence-based communication bit error rate evaluation method for an environmental backscatter system. Background Art
[0002] Environmental backscatter system is a communication technology that uses existing scattering objects in the environment to propagate wireless signals. It can achieve effective communication connections in complex environments or special scenarios. However, this system is easily affected by many factors in practical applications, such as signal attenuation, multipath effects, environmental changes, etc. These factors may cause bit errors in the communication process and affect the stability and reliability of communication.
[0003] Traditional communication bit error rate assessment methods often rely on simplified channel models and theoretical analysis. These methods may not be able to accurately capture and assess the actual situation of bit errors when faced with complex and changeable actual communication environments. In addition, traditional methods have problems such as time-consuming and labor-intensive data collection, labeling and preprocessing, insufficient training samples, and poor model generalization ability, which limit the accuracy and practicality of bit error rate assessment.
[0004] In response to this, the Chinese invention patent with application number CN202210567236.8 proposes a performance evaluation device for a measurement and control communication machine, including a signal generation module, a signal processing module and a test evaluation module respectively connected to the measurement and control communication machine; the signal generation module is used to generate channel simulation parameters according to the imported orbital data, generate an uplink radio frequency signal according to the channel simulation parameters, and send the uplink radio frequency signal to the measurement and control communication machine; the signal processing module is used to receive the downlink radio frequency signal of the measurement and control communication machine, and obtain the downlink test data after parsing the downlink radio frequency signal; the test evaluation module calculates the performance parameters of the measurement and control communication machine in the on-orbit state according to the downlink radio frequency signal or the downlink test data, and evaluates the orbit determination accuracy of the measurement and control communication machine. The device of the present application integrates the measurement and control test and channel simulation functions into one, improves the test efficiency, is easy to operate, and can provide different test evaluation scenarios according to the test requirements. The present application also discloses a performance evaluation method for a measurement and control communication machine. The Chinese invention patent with application number CN202311029523.4 proposes a method for optimizing the performance of random resonance communication signal processing based on bit error rate. At the signal receiving end, the random resonance system is used to perform noise reduction processing on the received signal containing random noise, and compared with the received signal without noise reduction processing, and the bit error rate of the receiving end signal before and after processing is calculated, and the effect of random resonance processing under different initial signal-to-noise ratios is evaluated, and an optimization link is further set to comprehensively select the best result of the two received signals before and after the random resonance processing as the final received signal. The present invention uses a bistable random resonance system to process a mixed signal of QPSK signal plus Gaussian white noise, evaluates the quality of the received bit error rate improvement after the transmitted signal arrives at the signal receiving end for demodulation, and corrects the possible side effects of random resonance. The Chinese invention patent with application number CN202010819436.9 proposes an evaluation method for quantum communication network operation indicators based on the entropy method, including the following steps: Step 1: Obtain the operation data of each QKD network node in each collection interval t from the s-k+1 day to the s day as the statistical basic data for the s day, where k is the number of days in an evaluation period; Step 2: Calculate the abnormal index of each QKD network node based on the statistical basic data of the s day; Step 3: Normalize each abnormal index of each QKD network node calculated in step 2; Step 4: Calculate the abnormal weight value of each abnormal index of each QKD network node after normalization; Step 5: Calculate the entropy value and difference factor corresponding to each abnormal index respectively; Step 6: Calculate the final evaluation weight value of each abnormal index based on the difference factor; Step 7: Calculate the comprehensive evaluation value of each QKD network node, and use the size of the comprehensive evaluation value as a measure of the abnormal processing priority of the QKD network node. The method of the present invention overcomes the limitations of the traditional approach of only evaluating the abnormal state at a certain moment in the operation of the quantum network, and can better reflect the changeable operation state of the quantum network.
[0005] Research has found that the above-mentioned technologies still have the following problems that need to be further resolved: 1. Existing data generation technologies may not be sophisticated enough in processing high-dimensional data, and cannot effectively control the diversity and authenticity of samples, resulting in limited model training effects and generalization capabilities. 2. Existing technologies may not be able to effectively capture dynamically changing data characteristics, and may easily fall into local optimal solutions during the training process, limiting the performance of the model in practical applications. 3. When performing data dimensionality reduction, traditional methods may not be able to effectively maintain the structural integrity of the original data, resulting in reduced accuracy of the model when reconstructing or understanding the data. 4. Existing models may show overfitting when faced with complex or unseen data, and lack sufficient generalization capabilities, limiting their application effects in changing environments. Summary of the invention
[0006] The purpose of this invention is to propose an artificial intelligence-based communication bit error rate evaluation method for an environmental backscatter system, which not only increases the diversity of samples but also maintains a high degree of information fidelity, thereby improving the training effect of the model and the final prediction accuracy; avoiding falling into a local optimal solution and enhancing the model's adaptability to new data; reducing the risk of overfitting and improving the model's prediction ability for unknown data.
[0007] The technical solution adopted by the present invention is:
[0008] The method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence comprises the following steps:
[0009] S1. Data collection and annotation
[0010] The data collected by the present invention is derived from the communication nodes in the environmental backscatter system, and the communication error events are monitored and recorded in real time through a proprietary hardware interface; the collected data is stored in a structured vector data format, and each data point includes multiple attribute fields;
[0011] Manually label the collected data, and the labeling categories include: no bit error, single-bit bit error, multi-bit bit error, parity error, synchronization error, and other bit errors;
[0012] S2. Data expansion
[0013] In the task of the present invention, the acquisition, labeling and preprocessing of training data are time-consuming and labor-intensive, and insufficient training samples can easily lead to poor generalization ability of the model, while affecting the accuracy of the model. The SMOTE (Synthetic Minority Over-sampling Technique, abbreviated as SMOTE, translated as artificial minority class oversampling method, the abbreviation SMOTE is often used in this field to express) algorithm based on quantum state evolution is used to generate samples, thereby realizing data expansion; the traditional SMOTE algorithm balances the category distribution by interpolating between minority class samples to generate new sample points. The present invention adopts the quantum state evolution theory and utilizes the superposition and interference principles of quantum states to allow more precise control of the sample generation process in high-dimensional data space, and optimizes the sample diversity and information fidelity in the data expansion process.
[0014] The process of sample generation based on the SMOTE algorithm of quantum state evolution is as follows:
[0015] S201, separate the minority class samples from the labeled training set, and calculate the quantum state representation of each minority class sample point based on the quantum state evolution theory. i is mapped to a quantum state ψ i , expressed as:
[0016]
[0017] In the formula, |k. represents the ground state of the quantum bit, α ik is the complex probability amplitude, specifically for sample b i The probability amplitude in the ground state |k. satisfies the normalization condition K is the dimension of the quantum state space;
[0018] S202, select sample pairs with close distance to perform quantum state superposition operation, and simulate new sample points using the interference principle of quantum state; wherein, the sample pair (b i ,b j ) performs a superposition operation on the quantum state to generate a new quantum state ψ ij , expressed as:
[0019]
[0020] In the formula, ψ i and ψ j are sample b i and b j The quantum state representation of |||| is the normalization operator, and the specific normalization method is the L1 norm normalization, ||ψ i +ψ j || is the new state ψ generated by the superposition of quantum states ijPerform normalization to ensure that ij It is still a legal quantum state; E() is the quantum entanglement operation function;
[0021] Quantum entanglement operation function E() for sample b i and b j The quantum state ψ i and ψ j , the calculation method using entanglement operation is expressed as:
[0022]
[0023] In the formula, represents the tensor product of quantum states;
[0024] ||ψ i +ψ j The calculation method of || is expressed as:
[0025]
[0026] In the formula, |α ik +α jk | 2 What is calculated is the square of the norm of the probability amplitude of the new superposition state on the ground state |k>;
[0027] S203, the generated new sample undergoes a quantum measurement process to ensure its validity and rationality in the classical data space while maintaining the diversity and complexity of the data. The quantum measurement process is used to convert the quantum state ψ ij Convert back to classic sample b new The way is expressed as:
[0028] b new =measure(ψ new )
[0029]
[0030] Where measure(ψ) is the quantum measurement function, ψ is the input of the quantum measurement function; β k is through the quantum state ψ ij The probability of the measurement is β k In the quantum state ψ ij After measurement, the probability of occurrence of the ground state |k> determines the value of the new sample in each dimension; ψ new is the quantum state of the heart sample;
[0031] ψ new The calculation method is expressed as:
[0032]
[0033] In the formula, <ψ ij |ψ ij . indicates ψ ij The inner product of; G() is the dynamic adaptive quantum gate operation function;
[0034] S204, newly generated sample b new After a validation and adjustment process to ensure its adaptability and diversity in the data distribution, it is expressed as:
[0035] b new =λ vf b new +(1-λ vf )·(b i ⊕b j )
[0036] In the formula, λ vf is the adjustment factor to control the degree to which the new sample is close to the original sample pair; ⊕ represents the median operation of the sample feature; b i ⊕b j Represents sample b i and b j The median value of the feature;
[0037] b i ⊕b j The calculation method is expressed as:
[0038]
[0039] In the formula, The calculation is for sample b i and b j The arithmetic mean of represents the midpoint of the two characteristics;
[0040] S3. Feature extraction model training
[0041] The expanded data is input into the feature extraction model for training the feature extraction model. The present invention adopts a neural network structure based on light and shadow tracking optimization, and uses the pattern of light and shadow changes to capture and extract dynamic features in the input data, and accurately extract communication error features. The present invention adopts a cyclic restart strategy, which allows the model to reset network parameters according to preset conditions or performance thresholds during training, thereby avoiding falling into local optimal solutions and enhancing the model's adaptability to new data.
[0042] The training process of the neural network algorithm based on light and shadow tracking optimization is as follows:
[0043] S301, set the initial architecture of the neural network, including an input layer, two hidden layers and an output layer; when the model is initialized, the network parameters θ include weights w and biases b, and the initialization of the parameters is expressed as:
[0044]
[0045] In the formula, l represents the network level, i, j represents the neuron index of the layer, σ 2 is the variance of the initialization weights, is the weight of the lth layer, is the bias of the lth layer, It means that the mean is 0 and the variance is σ 2 Sampling from a normal distribution of ;
[0046] S302, using the expanded training data, calculate the output of each layer through forward propagation, and then adjust the network parameters through the back propagation algorithm to minimize the output error, where the network output y and the target y * The error between them is calculated by the loss function:
[0047]
[0048] Moreover, during the parameter update process, the way to back propagate and update the weights is expressed as:
[0049]
[0050] In the formula, and are the weights and biases before updating, and is the updated weight and bias, y is the network output, y * For the real goal, and are the partial derivatives of the loss function with respect to the weight and bias of the lth layer, and I(W,b) is the update influencing factor;
[0051] S303. At the end of each training cycle, the performance of the model is evaluated. If the model performance does not reach the predetermined improvement standard or the training progress is stagnant, the learning rate is adjusted or the network parameters are reinitialized according to the loop restart strategy, wherein the loop restart strategy is implemented by dynamically adjusting the learning rate η, according to the change of the loss function L during the training process, so as to be expressed as:
[0052] η new =η×λ vg t / τ
[0053] In the formula, λ vg is the decay factor, t is the current training cycle, τ is the decay time step, η new is the updated learning rate;
[0054] Attenuation factor λ vgThe calculation method is expressed as:
[0055] λ vg =e -α
[0056] In the formula, α is a parameter based on the growth rate of the model performance evaluation index, and the calculation method is expressed as:
[0057]
[0058] In the formula, ΔL represents the change in the loss function between two consecutive training cycles, and L is the loss function value of the current cycle;
[0059] S304, repeating the iteration steps S301-S303 until the preset stop iteration condition is met, indicating that the model training is completed;
[0060] S4: Feature Dimensionality Reduction Model Training
[0061] The feature vector obtained after feature extraction is input into the feature dimensionality reduction model to train the feature dimensionality reduction model. The present invention uses an improved autoencoder neural network for feature dimensionality reduction; the autoencoder neural network consists of an encoder and a decoder. The encoder is responsible for converting the input data into a low-dimensional feature representation, and the decoder attempts to reconstruct the original data from these low-dimensional representations. In view of the problem that traditional autoencoders are not effective in processing complex data structures, the present invention adopts a manifold learning strategy. The autoencoder can better understand and compress the intrinsic structure of the data in the encoding stage, rather than simply reducing the data dimension, which helps to reconstruct more accurate original data in the decoding stage.
[0062] The training process of the improved autoencoder neural network is as follows:
[0063] S401, use the Gaussian distribution strategy to initialize the parameters of the autoencoder neural network, each parameter p θ The initialization method is expressed as:
[0064]
[0065] In the formula, p θ is the network parameter; Indicates that the mean is 0 and the variance is σ 2 Normal distribution; σ is the standard deviation of initialization, which controls the dispersion of parameter initialization;
[0066] S402, the input data is forward propagated through the encoder, and the manifold learning method is used to compress the features while maintaining the local structure of the data, wherein the input data x is converted into a low-dimensional representation z, which is expressed as:
[0067] z=Sig(We x+b e )
[0068] Where x is the input data; W e is the weight matrix of the encoder; b e is the bias vector of the encoder; Sig() is the Sigmoid activation function;
[0069] The calculation method of the Sigmoid function is expressed as:
[0070]
[0071] Where v is the input of the activation function;
[0072] S403, the compressed features are reconstructed through the decoder, trying to restore them to their original data form. In this process, the constraints of the reconstruction process are implemented through the mean square error loss function. The reconstruction operation is expressed as:
[0073]
[0074] In the formula, is the reconstructed data; z is the encoded low-dimensional feature; W d is the weight matrix of the decoder; b d is the bias vector of the decoder;
[0075] S404. After each round of training, a uniform strategy is used to adjust the weights of each feature dimension, and the weight W and the bias b are adjusted to uniformly distribute the feature information, which is expressed as:
[0076]
[0077] In the formula, ||W|| F is the Frobenius norm of W, used to normalize the weights; ||b||1 is the 1-norm of b, used to normalize the bias;
[0078] Frobenius norm||W|| F The calculation method is expressed as:
[0079]
[0080] Where W ij is the element in the i-th row and j-th column of the matrix W;
[0081] The calculation method of 1-norm ||b||1 is expressed as:
[0082]
[0083] Where b iis the i-th element in vector b;
[0084] S405, calculate the gradient according to the loss function, and update the network parameters by the gradient descent method, which is expressed as:
[0085]
[0086] In the formula, θ represents the network parameters, including W e ,b e ,W d ,b d ; η bv is the learning rate; is the gradient of the loss function L with respect to θ, L uses the mean square error
[0087] Gradient of the loss function The calculation method is expressed as:
[0088]
[0089] S406, repeating the iteration steps S401-S405 until the preset stop iteration condition is met, indicating that the model training is completed;
[0090] S5: Classifier model training
[0091] The reduced-dimensional data is input into the classifier to train the classifier model. The present invention adopts a random forest algorithm based on steady-state redundancy elimination, which includes multiple decision trees, each of which is independently constructed during the training process, and then the final classification result is determined by a voting mechanism when making classification decisions. In order to enhance the generalization ability of the model and reduce the risk of overfitting, the present invention dynamically eliminates trees that provide duplicate information by evaluating the similarity between decision trees, and retains decision trees with high diversity.
[0092] The training process of the random forest algorithm based on steady-state redundancy elimination is as follows:
[0093] S501, set the random forest to consist of N independent decision trees, each tree T i Samples and features are randomly selected during initialization. The initialization process is expressed as:
[0094] T i =initialize(Data,F qi ,S qi ),i=1,2,…,N
[0095] In the formula, initialize() is the initialization function; T iis the i-th tree; Data is the training data set; F qi is a feature subset randomly selected from the feature set; S qi is a sample subset randomly selected from the sample;
[0096] S502: For each tree, the data after topological transformation is used for training. The topological transformation is achieved through principal component analysis to make the data suitable for decision tree segmentation, which is expressed as:
[0097] X′ qi = PCA(X qi ),X qi ∈S qi
[0098] Where, X qi is the selected sample data; PCA() is the PCA function; X′ qi is the data after PCA transformation;
[0099] S503, after the tree is constructed, the redundancy between the trees is calculated; if a high redundancy relationship is found, the tree with the highest redundancy is removed, and only the tree that provides independent information is retained, wherein, let Sim(T i ,T j ) represents the similarity calculation function of two trees, and the calculation method is expressed as:
[0100]
[0101] In the formula, X is the dataset used for evaluation, is an indicator function. If the two trees have the same classification results for the same data point x, the function value is 1, otherwise it is 0;
[0102] S504, each tree is trained independently, and each tree is trained through the optimal split point to ensure that the decision boundary can be learned from the training data. The selection of the split point is based on gain maximization, which is expressed as:
[0103]
[0104] Where InfoGain(s) represents the gain at the split point s;
[0105] The calculation method of gain InfoGain(s) is expressed as:
[0106]
[0107] Where H(D) is the entropy of the data set D, D left (s) and D right (s) The data set is divided into two left and right subsets after the split point s;
[0108] The calculation method of entropy H(D) is expressed as:
[0109]
[0110] In the formula, p k is the probability of category k in data set D;
[0111] S505. The outputs of all decision trees are fused through a voting mechanism. Each tree gives a prediction result for an input sample. The final result is the category with the most votes, which is expressed as:
[0112]
[0113] In the formula, c i is the classification result of the i-th tree; C is the final classification result, c represents the possible category, is the indicator function, if the output c of the i-th tree i If it is equal to category c, the function value is 1, otherwise it is 0;
[0114] S506. During the model training process, the number and depth of decision trees and the parameters of topological transformation are dynamically adjusted according to the feedback of the verification data to optimize the performance of the model. The adjustment method of the number of trees N and the number of PCA components k is expressed as:
[0115] N new =N+ΔN
[0116] k new =k+Δk
[0117] In the formula, ΔN and Δk are the numbers adjusted according to the model performance;
[0118] S6: Classification and evaluation of communication bit error rate in environmental backscatter systems
[0119] The trained feature extraction model, data dimension reduction model, and classifier model are used to process the newly collected ambient backscatter system data to evaluate the communication bit error rate.
[0120] Further, in step S201, the complex probability amplitude α ik is based on sample b i The eigenvalue of is calculated and expressed as:
[0121]
[0122] In the formula, μ k represents the central position of the kth quantum ground state, specifically the characteristic center of the quantum ground state |k>; γ is a hyperparameter that controls the scale; ||b i -μ k ||2 Represents sample b i and the ground state center μ k The square of the Euclidean distance between them.
[0123] Further, in step S203, the dynamic adaptive quantum gate G() depends on the quantum operation of the data characteristics, and the dynamic adaptive quantum gate G() acts on a single quantum state ψ i or quantum state pair ψ i ,ψ j To adjust the quantum characteristics, it is expressed as:
[0124] G(ψ i )=U(θ i )ψ i
[0125]
[0126] In the formula, U(θ i ) depends on the parameter θ i The unitary transformation of i is the parameter automatically learned from the data features and solved by the following optimization problem:
[0127]
[0128] Where L() is the cross entropy loss function, f() represents the quantum measurement function with parameter θ, and y i is sample b i Target value of
[0129] The whole process is repeated until the predetermined data volume or sample distribution balance is reached.
[0130] Furthermore, in step S302, when calculating the update impact factor I(W, b), the importance weight of each parameter needs to be dynamically evaluated and adjusted in each iteration process, and the most critical parameters for the current training stage are further identified, and the parameters are given a higher priority, so as to improve the efficiency and effect of the overall network training. The update impact factor I is defined as:
[0131] I(W,b)=tanh(ν ps ·C(W,b)+μ ps ·S(W,b))
[0132] Where tanh() is the hyperbolic tangent function, ν ps and μ ps is the coefficient for adjusting and updating the influencing factor, C(W,b) is the parameter contribution, and S(W,b) is the parameter sensitivity;
[0133] The calculation method of parameter contribution C(W,b) is expressed as:
[0134]
[0135] Where ⊙ represents element-by-element multiplication, represents the partial derivative of the current network weight with respect to the loss function, represents the partial derivative of the current network bias with respect to the loss function, W represents the weight of the current network, and b represents the bias of the current network;
[0136] The calculation method of parameter sensitivity S(W,b) is expressed as:
[0137] S(W,b)=exp(-γ ps ||C(W,b)||)
[0138] In the formula, exp() represents the exponential function, γ ps is the sensitivity adjustment coefficient, and |||| is the L1 norm standard operation.
[0139] Furthermore, in step S402, the weight matrix W e The update method is expressed as:
[0140]
[0141] In the formula, is the updated weight matrix, is the weight matrix before update, η ry is the learning rate, L is the loss function; for W e The partial derivative of It is expressed as:
[0142]
[0143] Beneficial effects of the present invention:
[0144] 1. Use the SMOTE algorithm based on quantum state evolution to generate new samples. Through the superposition and interference principles of quantum states, control sample generation in high-dimensional data space to increase data diversity and information fidelity.
[0145] 2. The neural network structure optimized based on light and shadow tracking can capture the dynamic features in the input data and avoid the model falling into the local optimal solution through a cyclic restart strategy.
[0146] 3. Use an improved autoencoder neural network to compress data through a manifold learning strategy in the encoding phase, and try to reconstruct the original data in the decoding phase to maintain the intrinsic integrity of the data structure.
[0147] 4. Use the random forest algorithm based on steady-state redundancy elimination to enhance the generalization ability of the model and reduce the risk of overfitting by evaluating the similarity between decision trees and eliminating trees with duplicate information.
[0148] Based on the above innovations, the technical effects are as follows:
[0149] 1. Use the SMOTE algorithm based on quantum state evolution to generate new samples. Through the superposition and interference principles of quantum states, control sample generation in high-dimensional data space, which not only increases the diversity of samples but also maintains a high degree of information fidelity, thereby improving the training effect of the model and the final prediction accuracy.
[0150] 2. By adopting a neural network structure based on light and shadow tracking optimization, it can effectively capture the dynamic features in the input data. Combined with the loop restart strategy, the model allows the network parameters to be reset according to performance thresholds or preset conditions during the training process, thereby avoiding falling into the local optimal solution and enhancing the model's adaptability to new data.
[0151] 3. The improved autoencoder neural network compresses data through manifold learning strategy in the encoding stage and attempts to reconstruct the original data in the decoding stage, which helps to reduce the data dimension while maintaining the intrinsic integrity of the data structure, and helps the model to understand and process complex data more accurately.
[0152] 4. Enhance the generalization ability of the model through the random forest algorithm based on steady-state redundancy elimination, evaluate the similarity between decision trees, and eliminate trees that provide duplicate information, retaining only decision trees with high diversity, thereby reducing the risk of overfitting and improving the model's ability to predict unknown data. BRIEF DESCRIPTION OF THE DRAWINGS
[0153] Figure 1 is a flow chart of the evaluation method of the present invention;
[0154] Figure 2 It is the feature extraction model training flow chart;
[0155] Figure 3 It is a schematic diagram of the training and application process of the present invention. DETAILED DESCRIPTION
[0156] like Figure 1 As shown, the communication bit error rate evaluation method of the environmental backscatter system based on artificial intelligence includes the following steps:
[0157] S1. Data collection and annotation
[0158] The data collected by the present invention is derived from the communication nodes in the environmental backscatter system, and the communication error events are monitored and recorded in real time through a specific hardware interface; the collected data is stored in a structured vector data format, and each data point includes multiple attribute fields;
[0159] In this embodiment, the attributes of the data include:
[0160] ax: signal strength, measuring the signal power during communication;
[0161] ay: signal-to-noise ratio, the ratio of signal intensity to background noise;
[0162] az: frequency offset, the difference between the communication frequency and the standard frequency;
[0163] aa: timestamp, the specific time of data collection;
[0164] ab: ambient temperature, the external temperature when collecting data;
[0165] ac: humidity, relative humidity of the environment;
[0166] ad: location information, the geographical location coordinates of the communication device;
[0167] ae: device type, the model of the device involved in the communication;
[0168] af: operating system, the operating system version running on the device;
[0169] ag: transmission rate, data transmission speed.
[0170] It should be emphasized that this embodiment is only used to illustrate a data format and type of the present invention. In actual applications, the attributes of data are usually more than 10 attributes, and the number of data attributes may reach dozens or even hundreds.
[0171] Manually label the collected data, and the labeling categories include: no bit error, single-bit bit error, multi-bit bit error, parity error, synchronization error, and other bit errors;
[0172] S2. Data expansion
[0173] In the task of the present invention, the acquisition, labeling and preprocessing of training data are time-consuming and labor-intensive, and insufficient training samples can easily lead to poor generalization ability of the model, while affecting the accuracy of the model. The SMOTE (Synthetic Minority Over-sampling Technique, abbreviated as SMOTE, translated as artificial minority class oversampling method, the abbreviation SMOTE is often used in this field to express) algorithm based on quantum state evolution is used to generate samples, thereby realizing data expansion; the traditional SMOTE algorithm balances the category distribution by interpolating between minority class samples to generate new sample points. The present invention adopts the quantum state evolution theory and utilizes the superposition and interference principles of quantum states to allow more precise control of the sample generation process in high-dimensional data space, and optimizes the sample diversity and information fidelity in the data expansion process.
[0174] The process of sample generation based on the SMOTE algorithm of quantum state evolution is as follows:
[0175] S201, separate the minority class samples from the labeled training set, and calculate the quantum state representation of each minority class sample point based on the quantum state evolution theory. i is mapped to a quantum state ψ i , expressed as:
[0176]
[0177] In the formula, |k. represents the ground state of the quantum bit, α ik is the complex probability amplitude, specifically for sample b i The probability amplitude in the ground state |k. satisfies the normalization condition K is the dimension of the quantum state space;
[0178] Complex probability amplitude α ik is based on sample b i The eigenvalue of is calculated and expressed as:
[0179]
[0180] In the formula, μ k represents the central position of the kth quantum ground state, specifically the characteristic center of the quantum ground state |k.; γ is a hyperparameter that controls the scale; ||b i -μ k || 2 Represents sample b i and the ground state center μ k The square of the Euclidean distance between re Set to 0.3.
[0181] S202, select sample pairs with close distance to perform quantum state superposition operation, and simulate new sample points using the interference principle of quantum state; wherein, the sample pair (b i ,b j ) performs a superposition operation on the quantum state to generate a new quantum state ψ ij , expressed as:
[0182]
[0183] In the formula, ψ i and ψ j are sample b i and b j The quantum state representation of |||| is the normalization operator, and the specific normalization method is the L1 norm normalization, ||ψ i +ψ j || is the new state ψ generated by the superposition of quantum states ij Perform normalization to ensure that ij It is still a legal quantum state; E() is the quantum entanglement operation function;
[0184] Quantum entanglement operation function E() for sample b i and b j The quantum state ψ i and ψ j , the calculation method using entanglement operation is expressed as:
[0185]
[0186] In the formula, represents the tensor product of quantum states;
[0187] ||ψ i +ψ j The calculation method of || can be expressed as:
[0188]
[0189] In the formula, |α ik +α jk | 2 What is calculated is the square of the norm of the probability amplitude of the new superposition state on the ground state |k.
[0190] S203, the generated new sample undergoes a quantum measurement process to ensure its validity and rationality in the classical data space while maintaining the diversity and complexity of the data. The quantum measurement process is used to convert the quantum state ψ ij Convert back to classic sample b new The way is expressed as:
[0191] b new =measure(ψnew )
[0192]
[0193] Where measure(ψ) is the quantum measurement function, ψ is the input of the quantum measurement function; β k is through the quantum state ψ ij The probability of the measurement is β k In the quantum state ψ ij After measurement, the probability of occurrence of the ground state |k. determines the value of the new sample in each dimension; ψ new is the quantum state of the heart sample;
[0194] ψ new The calculation method is expressed as:
[0195]
[0196] In the formula, <ψ ij |ψ ij . indicates ψ ij The inner product of; G() is the dynamic adaptive quantum gate operation function;
[0197] The dynamic adaptive quantum gate G() depends on the quantum operation of the data characteristics, which acts on a single quantum state ψ i or quantum state pair ψ i ,ψ j To adjust its quantum characteristics, it can be expressed as:
[0198] G(ψ i )=U(θ i )ψ i
[0199]
[0200] In the formula, U(θ i ) depends on the parameter θ i The unitary transformation of i is the parameter automatically learned from the data features and solved by the following optimization problem:
[0201]
[0202] Where L() is the cross entropy loss function, f() represents the quantum measurement function with parameter θ, and y i is sample b i Target value of
[0203] The whole process is repeated until the predetermined amount of data or sample distribution balance is reached;
[0204] S204, newly generated sample b new After a validation and adjustment process to ensure its adaptability and diversity in the data distribution, it is expressed as:
[0205] b new =λ vf b new +(1-λ vf )·(b i ⊕b j )
[0206] In the formula, λ vf is the adjustment factor to control the degree to which the new sample is close to the original sample pair; ⊕ represents the median operation of the sample feature; b i ⊕b j Represents sample b i and b j The characteristic median of vf Set to 0.5.
[0207] b i ⊕b j The calculation method is expressed as:
[0208]
[0209] In the formula, The calculation is for sample b i and b j The arithmetic mean of represents the midpoint of the two characteristics;
[0210] S3. Feature extraction model training
[0211] The expanded data is input into the feature extraction model for training the feature extraction model. The present invention adopts a neural network structure based on light and shadow tracking optimization, and uses the pattern of light and shadow changes to capture and extract dynamic features in the input data, and accurately extract communication error features. The present invention adopts a cyclic restart strategy, which allows the model to reset network parameters according to preset conditions or performance thresholds during training, thereby avoiding falling into local optimal solutions and enhancing the model's adaptability to new data.
[0212] The training process of the neural network algorithm based on light and shadow tracking optimization is as follows: Figure 2 As shown:
[0213] S301, set the initial architecture of the neural network, including an input layer, two hidden layers and an output layer; when the model is initialized, the network parameters θ include weights w and biases b, and the initialization of the parameters is expressed as:
[0214]
[0215] In the formula, l represents the network level, i, j represents the neuron index of the layer, σ 2 is the variance of the initialization weights, is the weight of the lth layer, is the bias of the lth layer, It means that the mean is 0 and the variance is σ 2 Sampling from a normal distribution of ;
[0216] S302, using the expanded training data, calculate the output of each layer through forward propagation, and then adjust the network parameters through the back propagation algorithm to minimize the output error, where the network output y and the target y * The error between them is calculated by the loss function:
[0217]
[0218] Moreover, during the parameter update process, the way to back propagate and update the weights is expressed as:
[0219]
[0220] In the formula, and are the weights and biases before updating, and is the updated weight and bias, y is the network output, y * For the real goal, and are the partial derivatives of the loss function with respect to the weight and bias of the lth layer, and I(W,b) is the update influencing factor;
[0221] When calculating the update impact factor I(W,b), the importance weight of each parameter needs to be dynamically evaluated and adjusted during each iteration, and the most critical parameters for the current training stage are further identified and given higher priority, thereby improving the efficiency and effect of the overall network training. The update impact factor I is defined as:
[0222] I(W,b)=tanh(ν ps ·C(W,b)+μ ps ·S(W,b))
[0223] Where tanh() is the hyperbolic tangent function, ν ps and μ ps is the coefficient for adjusting the update impact factor, C(W,b) is the parameter contribution, and S(W,b) is the parameter sensitivity; preferably, ν and μ are set to 0.3 and 0.7 respectively;
[0224] The calculation method of parameter contribution C(W,b) is expressed as:
[0225]
[0226] Where ⊙ represents element-by-element multiplication, represents the partial derivative of the current network weight with respect to the loss function, represents the partial derivative of the current network bias with respect to the loss function, W represents the weight of the current network, and b represents the bias of the current network;
[0227] The calculation method of parameter sensitivity S(W,b) is expressed as:
[0228] S(W,b)=exp(-γ ps ||C(W,b)||)
[0229] In the formula, exp() represents the exponential function, γ ps is the sensitivity adjustment coefficient, |||| is the L1 norm standard operation; preferably, γ ps Set to 0.5.
[0230] S303. At the end of each training cycle, the performance of the model is evaluated. If the model performance does not reach the predetermined improvement standard or the training progress is stagnant, the learning rate is adjusted or the network parameters are reinitialized according to the loop restart strategy, wherein the loop restart strategy is implemented by dynamically adjusting the learning rate η, according to the change of the loss function L during the training process, so as to be expressed as:
[0231] η new =η×λ vg t / τ
[0232] In the formula, λ vg is the decay factor, t is the current training cycle, τ is the decay time step, η new is the updated learning rate;
[0233] Attenuation factor λ vg The calculation method is expressed as:
[0234] λ vg =e -α
[0235] In the formula, α is a parameter based on the growth rate of the model performance evaluation index, and the calculation method is expressed as:
[0236]
[0237] In the formula, ΔL represents the change in the loss function between two consecutive training cycles, and L is the loss function value of the current cycle;
[0238] S304, repeating iterative steps S301-S303 until a preset stop iteration condition is met, indicating that the model training is completed; in this embodiment, the preset stop iteration condition is reaching a preset maximum number of iterations, which is set to 1000 times.
[0239] S4: Feature Dimensionality Reduction Model Training
[0240] The feature vector obtained after feature extraction is input into the feature dimensionality reduction model to train the feature dimensionality reduction model. The present invention uses an improved autoencoder neural network for feature dimensionality reduction; the autoencoder neural network consists of an encoder and a decoder. The encoder is responsible for converting the input data into a low-dimensional feature representation, and the decoder attempts to reconstruct the original data from these low-dimensional representations. In view of the problem that traditional autoencoders are not effective in processing complex data structures, the present invention adopts a manifold learning strategy. The autoencoder can better understand and compress the intrinsic structure of the data in the encoding stage, rather than simply reducing the data dimension, which helps to reconstruct more accurate original data in the decoding stage.
[0241] The training process of the improved autoencoder neural network is as follows:
[0242] S401, use the Gaussian distribution strategy to initialize the parameters of the autoencoder neural network, each parameter p θ The initialization method is expressed as:
[0243]
[0244] In the formula, p θ is the network parameter; Indicates that the mean is 0 and the variance is σ 2 Normal distribution; σ is the standard deviation of initialization, which controls the dispersion of parameter initialization;
[0245] S402, the input data is forward propagated through the encoder, and the manifold learning method is used to compress the features while maintaining the local structure of the data, wherein the input data x is converted into a low-dimensional representation z, which is expressed as:
[0246] z=Sig(W e x+b e )
[0247] Where x is the input data; W e is the weight matrix of the encoder; b e is the bias vector of the encoder; Sig() is the Sigmoid activation function;
[0248] The calculation method of the Sigmoid function is expressed as:
[0249]
[0250] Where v is the input of the activation function;
[0251] Weight matrix W e The update method is expressed as:
[0252]
[0253] In the formula, is the updated weight matrix, is the weight matrix before update, η ry is the learning rate, L is the loss function; for W e The partial derivative of It is expressed as:
[0254]
[0255] Preferably, n ry Set to 0.005.
[0256] S403, the compressed features are reconstructed through the decoder, trying to restore them to their original data form. In this process, the constraints of the reconstruction process are implemented through the mean square error loss function. The reconstruction operation is expressed as:
[0257]
[0258] In the formula, is the reconstructed data; z is the encoded low-dimensional feature; W d is the weight matrix of the decoder; b d is the bias vector of the decoder;
[0259] S404. After each round of training, a uniform strategy is used to adjust the weights of each feature dimension, and the weight W and the bias b are adjusted to uniformly distribute the feature information, which is expressed as:
[0260]
[0261] In the formula, ||W|| F is the Frobenius norm of W, used to normalize the weights; ||b||1 is the 1-norm of b, used to normalize the bias;
[0262] Frobenius norm||W|| F The calculation method is expressed as:
[0263]
[0264] Where W ij is the element in the i-th row and j-th column of the matrix W;
[0265] The calculation method of 1-norm ||b||1 is expressed as:
[0266]
[0267] Where b i is the i-th element in vector b;
[0268] S405, calculate the gradient according to the loss function, and update the network parameters by the gradient descent method, which is expressed as:
[0269]
[0270] In the formula, θ represents the network parameters, including W e ,b e ,W d ,b d ; η bv is the learning rate; is the gradient of the loss function L with respect to θ, L uses the mean square error η bv Set to 0.004.
[0271] Gradient of the loss function The calculation method is expressed as:
[0272]
[0273] S406. Repeat iterative steps S401-S405 until a preset stop iteration condition is met, indicating that the model training is completed; in this embodiment, the preset stop iteration condition is reaching a preset maximum number of iterations, which is set to 1000 times.
[0274] S5: Classifier model training
[0275] The reduced-dimensional data is input into the classifier to train the classifier model. The present invention adopts a random forest algorithm based on steady-state redundancy elimination, which includes multiple decision trees, each of which is independently constructed during the training process, and then the final classification result is determined by a voting mechanism when making classification decisions. In order to enhance the generalization ability of the model and reduce the risk of overfitting, the present invention dynamically eliminates trees that provide duplicate information by evaluating the similarity between decision trees, and retains decision trees with high diversity.
[0276] The training process of the random forest algorithm based on steady-state redundancy elimination is as follows:
[0277] S501, set the random forest to consist of N independent decision trees, each tree T i Samples and features are randomly selected during initialization. The initialization process is expressed as:
[0278] T i =initialize(Data,F qi ,S qi ),i=1,2,…,N
[0279] In the formula, initialize() is the initialization function; T i is the i-th tree; Data is the training data set; F qi is a feature subset randomly selected from the feature set; S qi is a sample subset randomly selected from the sample; preferably, the number of trees N in the random forest is set to 100, and the number of features used by each tree is F qi and sample size S qi Both account for 50% of the total.
[0280] S502: For each tree, the data after topological transformation is used for training. The topological transformation is achieved through principal component analysis to make the data suitable for decision tree segmentation, which is expressed as:
[0281] X′ qi = PCA(X qi ),X qi ∈S qi
[0282] Where, X qi is the selected sample data; PCA() is the PCA function; X′ qi is the data after PCA transformation;
[0283] S503, after the tree is constructed, the redundancy between the trees is calculated; if a high redundancy relationship is found, the tree with the highest redundancy is removed, and only the tree that provides independent information is retained, wherein, let Sim(T i ,T j ) represents the similarity calculation function of two trees, and the calculation method is expressed as:
[0284]
[0285] In the formula, X is the dataset used for evaluation, is an indicator function. If the classification results of two trees for the same data point x are the same, the function value is 1, otherwise it is 0. Preferably, the similarity threshold is set to 0.85, and trees above this value are considered redundant and removed from the model.
[0286] S504, each tree is trained independently, and each tree is trained through the optimal split point to ensure that the decision boundary can be learned from the training data. The selection of the split point is based on gain maximization, which is expressed as:
[0287]
[0288] Where InfoGain(s) represents the gain at the split point s;
[0289] The calculation method of gain InfoGain(s) is expressed as:
[0290]
[0291] Where H(D) is the entropy of the data set D, D left (s) and D right (s) The data set is divided into two left and right subsets after the split point s;
[0292] The calculation method of entropy H(D) is expressed as:
[0293]
[0294] In the formula, p k is the probability of category k in data set D;
[0295] S505. The outputs of all decision trees are fused through a voting mechanism. Each tree gives a prediction result for an input sample. The final result is the category with the most votes, which is expressed as:
[0296]
[0297] In the formula, c i is the classification result of the i-th tree; C is the final classification result, c represents the possible category, is the indicator function, if the output c of the i-th tree i If it is equal to category c, the function value is 1, otherwise it is 0;
[0298] S506. During the model training process, the number and depth of decision trees and the parameters of topological transformation are dynamically adjusted according to the feedback of the verification data to optimize the performance of the model. The adjustment method of the number of trees N and the number of PCA components k is expressed as:
[0299] N new =N+ΔN
[0300] k new =k+Δk
[0301] In the formula, ΔN and Δk are the numbers adjusted according to the model performance;
[0302] S6: Classification and evaluation of communication bit error rate in environmental backscatter systems
[0303] The trained feature extraction model, data dimension reduction model, and classifier model are used to process the newly collected ambient backscatter system data to evaluate the communication bit error rate.
[0304] To facilitate understanding of the training and application process of the present invention, Figure 3 In this embodiment, a new set of environmental data is collected, and firstly, a preliminary characterization process is performed through a feature extraction model, and then a data dimension reduction model is used to reduce the computing resources required for processing, and finally, a classifier model is used to predict the bit error rate. In this embodiment, the classification categories include: no bit error, single-bit bit error, multi-bit bit error, parity error, synchronization error, and other bit errors.
Claims
1. A method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence, characterized in that: The following steps are involved: S1. Data collection and annotation The data collected by the present invention is derived from the communication nodes in the environmental backscatter system, and the communication error events are monitored and recorded in real time through a proprietary hardware interface; The collected data is stored in a structured vector data format, and each data point includes multiple attribute fields; Manually label the collected data, and the labeling categories include: no bit error, single-bit bit error, multi-bit bit error, parity error, synchronization error, and other bit errors; S2. Data expansion The SMOTE algorithm based on quantum state evolution is used to generate samples, thereby realizing data expansion; the process of sample generation based on the SMOTE algorithm based on quantum state evolution is as follows: S201, separate the minority class samples from the labeled training set, and calculate the quantum state representation of each minority class sample point based on the quantum state evolution theory. i is mapped to a quantum state ψ i , expressed as: In the formula, |k> represents the ground state of the quantum bit, α ik is the complex probability amplitude, specifically for sample b i The probability amplitude in the ground state |k> satisfies the normalization condition K is the dimension of the quantum state space; S202, select sample pairs with close distance to perform quantum state superposition operation, and simulate new sample points using the interference principle of quantum state; wherein, the sample pair (b i ,b j ) performs a superposition operation on the quantum state to generate a new quantum state ψ ij , expressed as: In the formula, ψ i and ψ j are sample b i and b j The quantum state representation of ; ∥∥ is the normalization operator, the specific normalization method is L1 norm normalization, ∥ψ i +ψ j ∥ is the new state ψ generated by the superposition of quantum states ij Perform normalization to ensure that ij It is still a legal quantum state; E() is the quantum entanglement operation function; Quantum entanglement operation function E() for sample b i and b j The quantum state ψ i and ψ j , the calculation method using entanglement operation is expressed as: In the formula, represents the tensor product of quantum states; ∥ψ i +ψ j The calculation method of ∥ is expressed as: In the formula, |α ik +α jk | 2 What is calculated is the square of the norm of the probability amplitude of the new superposition state on the ground state |k>; S203, the generated new sample undergoes a quantum measurement process to ensure its validity and rationality in the classical data space while maintaining the diversity and complexity of the data. The quantum measurement process is used to convert the quantum state ψ ij Convert back to classic sample b new The way is expressed as: b new =measure(ψ new ) Where measure(ψ) is the quantum measurement function, ψ is the input of the quantum measurement function; β k is through the quantum state ψ ij The probability of the measurement is β k In the quantum state ψ ij After measurement, the probability of occurrence of the ground state |k. determines the value of the new sample in each dimension; ψ new is the quantum state of the heart sample; ψ new The calculation method is expressed as: In the formula, <ψ ij |ψ ij > represents ψ ij The inner product of; G() is the dynamic adaptive quantum gate operation function; S204, newly generated sample b new After a validation and adjustment process to ensure its adaptability and diversity in the data distribution, it is expressed as: b new =λ vf ·b new +(1-l vf )·(b i ⊕b j ) In the formula, λ vf is the adjustment factor to control the degree to which the new sample is close to the original sample pair; ⊕ represents the median operation of the sample feature; b i ⊕b j Represents sample b i and b j The median value of the feature; b i ⊕b j The calculation method is expressed as: In the formula, The calculation is for sample b i and b j The arithmetic mean of represents the midpoint of the two characteristics; S3. Feature extraction model training The expanded data is input into the feature extraction model to train the feature extraction model. The present invention adopts a neural network structure based on light and shadow tracking optimization, and uses the pattern of light and shadow changes to capture and extract dynamic features in the input data, and accurately extract communication error characteristics; The training process of the neural network algorithm based on light and shadow tracking optimization is as follows: S301, set the initial architecture of the neural network, including an input layer, two hidden layers and an output layer; when the model is initialized, the network parameters θ include weights w and biases b, and the initialization of the parameters is expressed as: In the formula, l represents the network level, i, j represents the neuron index of the layer, σ 2 is the variance of the initialization weights, is the weight of the lth layer, is the bias of the lth layer, It means that the mean is 0 and the variance is σ 2 Sampling from a normal distribution of ; S302, using the expanded training data, calculate the output of each layer through forward propagation, and then adjust the network parameters through the back propagation algorithm to minimize the output error, where the network output y and the target y * The error between them is calculated by the loss function: Moreover, during the parameter update process, the way to back propagate and update the weights is expressed as: In the formula, and are the weights and biases before updating, and is the updated weight and bias, y is the network output, y * For the real goal, and are the partial derivatives of the loss function with respect to the weight and bias of the lth layer, and I(W,b) is the update influencing factor; S303. At the end of each training cycle, the performance of the model is evaluated. If the model performance does not reach the predetermined improvement standard or the training progress is stagnant, the learning rate is adjusted or the network parameters are reinitialized according to the loop restart strategy, wherein the loop restart strategy is implemented by dynamically adjusting the learning rate η, according to the change of the loss function L during the training process, so as to be expressed as: or new =η×λ vg t / τ In the formula, λ vg is the decay factor, t is the current training cycle, τ is the decay time step, η new is the updated learning rate; Attenuation factor λ vg The calculation method is expressed as: l vg =e -α In the formula, α is a parameter based on the growth rate of the model performance evaluation index, and the calculation method is expressed as: In the formula, ΔL represents the change in the loss function between two consecutive training cycles, and L is the loss function value of the current cycle; S304, repeating the iteration steps S301-S303 until the preset stop iteration condition is met, indicating that the model training is completed; S4: Feature Dimensionality Reduction Model Training The feature vector obtained after feature extraction is input into the feature dimension reduction model to train the feature dimension reduction model. The present invention adopts an improved autoencoder neural network for feature dimension reduction; the training process of the improved autoencoder neural network is as follows: S401, use the Gaussian distribution strategy to initialize the parameters of the autoencoder neural network, each parameter p θ The initialization method is expressed as: In the formula, p θ is the network parameter; Indicates that the mean is 0 and the variance is σ 2 Normal distribution; σ is the standard deviation of initialization, which controls the dispersion of parameter initialization; S402, the input data is forward propagated through the encoder, and the manifold learning method is used to compress the features while maintaining the local structure of the data, wherein the input data x is converted into a low-dimensional representation z, which is expressed as: z=Sig(W e x+b e ) Where x is the input data; W e is the weight matrix of the encoder; b e is the bias vector of the encoder; Sig( ) is the Sigmoid activation function; The calculation method of the Sigmoid function is expressed as: Where v is the input of the activation function; S403, the compressed features are reconstructed through the decoder, trying to restore them to their original data form. In this process, the constraints of the reconstruction process are implemented through the mean square error loss function. The reconstruction operation is expressed as: In the formula, is the reconstructed data; z is the encoded low-dimensional feature; W d is the weight matrix of the decoder; b d is the bias vector of the decoder; S404. After each round of training, a uniform strategy is used to adjust the weights of each feature dimension, and the weight W and the bias b are adjusted to uniformly distribute the feature information, which is expressed as: In the formula, ∥W∥ F is the Frobenius norm of W, used to normalize the weight; ∥b∥1 is the 1-norm of b, used to normalize the bias; Frobenius norm ∥W∥ F The calculation method is expressed as: Where W ij is the element in the i-th row and j-th column of the matrix W; The calculation method of 1-norm ∥b∥1 is expressed as: Where b i is the i-th element in vector b; S405, calculate the gradient according to the loss function, and update the network parameters by the gradient descent method, which is expressed as: In the formula, θ represents the network parameters, including W e ,b e ,W d ,b d ; η bv is the learning rate; is the gradient of the loss function L with respect to θ, L uses the mean square error Gradient of the loss function The calculation method is expressed as: S406, repeating the iteration steps S401-S405 until the preset stop iteration condition is met, indicating that the model training is completed; S5: Classifier model training The reduced-dimensional data is input into the classifier to train the classifier model. The present invention adopts a random forest algorithm based on steady-state redundancy elimination. The training process is as follows: S501, set the random forest to consist of N independent decision trees, each tree T i Samples and features are randomly selected during initialization. The initialization process is expressed as: T i =initialize(Data,F qi ,S qi ),i=1,2,…,N In the formula, initialize() is the initialization function; T i is the i-th tree; Data is the training data set; F qi is a feature subset randomly selected from the feature set; S qi is a sample subset randomly selected from the sample; S502: For each tree, the data after topological transformation is used for training. The topological transformation is achieved through principal component analysis to make the data suitable for decision tree segmentation, which is expressed as: X′ qi =PCA(X qi ),X qi ∈S qi Where, X qi is the selected sample data; PCA() is the PCA function; X′ qi is the data after PCA transformation; S503, after the tree is constructed, the redundancy between the trees is calculated; if a high redundancy relationship is found, the tree with the highest redundancy is removed, and only the tree that provides independent information is retained, wherein, let Sim(T i ,T j ) represents the similarity calculation function of two trees, and the calculation method is expressed as: In the formula, X is the dataset used for evaluation, is an indicator function. If the two trees have the same classification results for the same data point x, the function value is 1, otherwise it is 0; S504, each tree is trained through the optimal split point to ensure that the decision boundary can be learned from the training data. The selection of the split point is based on gain maximization, which is expressed as: Where InfoGain(s) represents the gain at the split point s; The calculation method of gain InfoGain(s) is expressed as: Where H(D) is the entropy of the data set D, D left (s) and D right (s) The data set is divided into two left and right subsets after the split point s; The calculation method of entropy H(D) is expressed as: In the formula, p k is the probability of category k in data set D; S505. The outputs of all decision trees are fused through a voting mechanism. Each tree gives a prediction result for an input sample. The final result is the category with the most votes, which is expressed as: In the formula, c i is the classification result of the i-th tree; C is the final classification result, c represents the possible category, is the indicator function, if the output c of the i-th tree i If it is equal to category c, the function value is 1, otherwise it is 0; S506. During the model training process, the number and depth of decision trees and the parameters of topological transformation are dynamically adjusted according to the feedback of the verification data to optimize the performance of the model. The adjustment method of the number of trees N and the number of PCA components k is expressed as: N new =N+ΔN k new =k+Δk In the formula, ΔN and Δk are the numbers adjusted according to the model performance; S6: Classification and evaluation of communication bit error rate in environmental backscatter systems The newly collected ambient backscatter system data is processed using the trained feature extraction model, data dimension reduction model, and classifier model to evaluate the communication bit error rate.
2. The method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence as claimed in claim 1, characterized in that: In step S201, the complex probability amplitude α ik is based on sample b i The eigenvalue of is calculated and expressed as: In the formula, μ k represents the central position of the kth quantum ground state, specifically the characteristic center of the quantum ground state |k>; γ is a hyperparameter that controls the scale; ∥b i -μ k ∥ 2 Represents sample b i and the ground state center μ k The square of the Euclidean distance between them.
3. The method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence as claimed in claim 1, characterized in that: In step S203, the dynamic adaptive quantum gate G() depends on the quantum operation of the data characteristics, and the dynamic adaptive quantum gate G() acts on a single quantum state ψ i or quantum state pair ψ i ,ψ j To adjust the quantum characteristics, it is expressed as: G(ψ i )=U(θ i )ψ i In the formula, U(θ i ) depends on the parameter θ i The unitary transformation of i is the parameter automatically learned from the data features and solved by the following optimization problem: Where L() is the cross entropy loss function, f() represents the quantum measurement function with parameter θ, and y i is sample b i Target value of The whole process is repeated until the predetermined data volume or sample distribution balance is reached.
4. The method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence as claimed in claim 1, characterized in that: In step S302, when calculating the update impact factor I(W,b), in each iteration process, the importance weight of each parameter needs to be dynamically evaluated and adjusted, and the most critical parameters for the current training stage are further identified, and the parameters are given a higher priority, so as to improve the efficiency and effect of the overall network training. The update impact factor I is defined as: I(W,b)=tanh(ν ps ·C(W,b)+μ ps ·S(W,b)) Where tanh() is the hyperbolic tangent function, ν ps and μ ps is the coefficient for adjusting and updating the influencing factor, C(W,b) is the parameter contribution, and S(W,b) is the parameter sensitivity; The calculation method of parameter contribution C(W,b) is expressed as: Where ⊙ represents element-by-element multiplication, represents the partial derivative of the current network weight with respect to the loss function, represents the partial derivative of the current network bias with respect to the loss function, W represents the weight of the current network, and b represents the bias of the current network; The calculation method of parameter sensitivity S(W,b) is expressed as: S(W,b)=exp(-γ ps ∥C(W,b)∥) In the formula, exp() represents the exponential function, γ ps is the sensitivity adjustment coefficient, and ∥∥ is the L1 norm standard operation.
5. The method for evaluating the communication bit error rate of an environmental backscatter system based on artificial intelligence as claimed in claim 1, characterized in that: In step S402, the weight matrix W e The update method is expressed as: In the formula, is the updated weight matrix, is the weight matrix before update, η ry is the learning rate, L is the loss function; for W e The partial derivative of It is expressed as:
Citation Information
Patent Citations
Active feedback control method of quantum communication system based on machine learning
CN110365473A
Cross-protocol communication platform based on passive sensing technology
CN110971551A
Generalized orthogonal reflection modulation method combined with intelligent reflection surface grouping planning mapping
CN115102821A
Method and apparatus for ai-based UE speed estimation using uplink SRS measurements
US20190277957A1
Cited By
Real-time steam generator state monitoring method based on artificial intelligence
CN119150079A
Lithium ion battery energy storage system state monitoring method and device
CN119165375A
Steel member laser stripe detection method and system based on artificial intelligence algorithm
CN119205721A
State prediction-oriented all-solid waste pervious concrete detection data processing method
CN119272136A
Equipment state sensing system based on peak shifting and danger situation sensing
CN119622538A
