Multi-scene generalization path loss prediction method based on meta-learning
Through a multi-scenario path loss prediction method based on meta-learning, two-stage training is performed based on the channel source data set of the external scene and the target scene, link features are extracted and prediction is performed using the environment image matrix, which solves the problem of poor generalization performance in the existing technology. problem, achieving good prediction effects and high efficiency in a variety of scenarios.
Patent Information
- Application Number
- CN202410741592.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-11
AI Technical Summary
Existing path loss prediction methods have poor generalization performance when faced with a variety of different scenarios. Especially when data is limited, they cannot effectively predict path loss in new scenarios, and the calculation complexity is high or the model parameters are not statistical.
A multi-scenario path loss prediction method based on meta-learning is adopted. By constructing channel source data sets of external scenes and target scenes, a meta-learning path loss prediction network is built, meta-training and specialized training are performed, link features are extracted and combined with the environment image matrix Make predictions and improve the model's generalization performance in different scenarios.
It achieves good prediction results for new scenarios under limited training data, reduces the demand for target scene data, avoids model overfitting, and improves generalization performance and prediction efficiency.
Smart Images

Figure CN118764931A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a generalized path loss prediction method in multiple scenarios based on meta-learning, and belongs to the technical field of wireless communications. Background Art
[0002] With the large-scale commercial use of 5G networks, the global strategic layout for the development of the sixth-generation mobile communication system (6G) has been fully launched, and the demand for path loss modeling has continued to increase. Compared with 5G, which is still limited to some communication environments, from the perspective of propagation environment, 6G communication needs to consider more diverse scenarios. Among them, ground-to-ground communication has always been the issue closest to production and life and the most important to consider. Due to the increasing breadth of business scenarios, the path loss prediction under the 6G channel needs to further consider various terrains, abundant scatterers, terminal mobility and other situations.
[0003] The various existing path loss modeling methods are generally divided into deterministic models and empirical models. Deterministic methods, such as ray tracing methods and finite-difference time domain (FDTD), are based on a 3D map of the real environment of a given scene and have good modeling performance. The empirical model uses a large amount of channel measurement data in actual environments to fit parameters, with high computational efficiency, and is therefore adopted by a large number of standardized models. At present, there are also some path loss prediction algorithms based on machine learning, which predict by designing and selecting link features and establishing a mapping relationship between them and path loss values. The existing technology designs 8 features for each propagation link as the input of the neural network, and continuously adjusts the output as the prediction value by training the neural network to achieve the prediction and estimation of path loss. The path loss is regarded as a function of the transmitting and receiving position, distance and satellite image, and a composite neural network is trained to predict the path loss.
[0004] The above path loss prediction methods all have some shortcomings. The computational complexity of the deterministic model is too high, and it is increasingly unable to cope with the real-time requirements of the 6G system; the model parameters of the empirical model only have certain statistics in the same scenario, and cannot make distinctions for different transceiver locations and surrounding specific environments. At the same time, the generalization performance of these empirical models between different scenarios is also poor; based on machine learning models, the same model can only achieve good prediction performance in a single or several similar scenarios, and it performs poorly in different categories with limited initial data or scenarios with large differences. Therefore, it is necessary to redesign a path loss prediction scheme to generalize the model to new scenarios with limited initial data. Summary of the invention
[0005] The technical problem solved by the present invention is: to overcome the shortcomings of the existing technology and propose a generalized path loss prediction method in multiple scenarios based on meta-learning, that is, a meta-learning path loss prediction method across scenario categories, which improves the generalization performance of the channel model in different scenarios and can achieve better prediction results for new scenario types with limited training data.
[0006] The technical solution of the present invention is:
[0007] A generalized path loss prediction method in multiple scenarios based on meta-learning, the method comprising the following steps:
[0008] The first step is to select multiple external scenes other than the target scene; extract the characteristics of the communication link formed by the transmitter in each external scene and all the receiving ends, and construct the external scene channel source data set according to the extracted characteristics of the communication links of all the external scenes; extract the characteristics of the communication link formed by the transmitter in the target scene and all the receiving ends, and construct the target scene channel source data set according to the extracted characteristics of the communication link of the target scene;
[0009] The second step is to build a meta-learning path loss prediction network, and use the external scene channel source data set constructed in the first step to meta-train the built meta-learning path loss prediction network, and save the parameters of the meta-learning path loss prediction network after meta-training;
[0010] The third step is to load the meta-learning path loss prediction network parameters saved in the second step into the meta-learning path loss prediction network, and then use the target scene channel source data set constructed in the first step to perform specialized training on the meta-learning path loss prediction network after the second step meta-training;
[0011] In the fourth step, the path loss prediction network trained specifically in the third step is used to predict the path loss between the transmitter and receiver of the unknown link to obtain the path loss value.
[0012] In the first step, a total of P external scenes are selected outside the target scene, and the jth external scene has 1 transmitter and N j The receiving end, M j buildings, j=1,...,P, any receiving end in each external scene forms a communication link with the transmitting end in the external scene, and the characteristics of the communication link include the link line-of-sight state, the two-dimensional horizontal coordinate of the receiving end, the two-dimensional vertical coordinate of the receiving end, the height of the receiving end, the propagation distance, the azimuth, the number of buildings crossed, the average height of the buildings crossed, and the environmental image matrix of the transmitting and receiving ends;
[0013] The transmitter position is regarded as the origin o(0,0) of the two-dimensional rectangular coordinate system, and the height is h BS , the two-dimensional coordinates of the i-th receiver are represented as p i (xi ,y i ), x i is the two-dimensional horizontal coordinate of the i-th receiver, y i is the two-dimensional vertical coordinate of the i-th receiver, and the height of the receiver is h i ;
[0014] Among them, the initial value of the link line-of-sight state is 1, which indicates line-of-sight propagation (LoS), the initial value of the number of buildings crossed is 0, and the initial value of the average height of the buildings crossed is 0; the method for obtaining the link line-of-sight state, the number of buildings crossed, and the average height of the buildings crossed is:
[0015] Step 1.1, determine whether the line L1 connecting the transmitter in the jth external scene and the i-th receiving end in the jth external scene intersects with the boundary line L2 of the l-th building in the j-th external scene in a two-dimensional plane, i=1,...,N j ,l=1,...,M j ; If they intersect in the two-dimensional plane, go to step 1.2; if they do not intersect in the two-dimensional plane, go to step 1.3;
[0016] Step 1.2, determine whether the line L1 connecting the transmitter in the jth external scene and the i-th receiver in the jth external scene intersects with the boundary line L2 of the l-th building in the j-th external scene in three dimensions. If so, change the link visibility state to 0, increase the number of buildings crossed by 1, and increase the average height of the buildings crossed by the height value of the l-th building. If there is no three-dimensional intersection, go directly to step 1.3;
[0017] Step 1.3, repeat steps 1.1 to 1.2 until all buildings l=1,...,M are traversed j If the visibility state of the communication link is 0 after traversing, the average height of the buildings crossed is divided by the number of buildings crossed to obtain the final average height of the buildings crossed. If the visibility state of the communication link is 1 after traversing, the average height of the buildings crossed is the initial value 0.
[0018] The propagation distance is:
[0019] The azimuth is: Where arctan(·) is the inverse tangent function;
[0020] The method for obtaining the environment image matrix of the transceiver is:
[0021] The environment image of the i-th communication link is cut into a rectangular area to represent the terrain information around the communication link, and the rectangular area is converted into a two-dimensional matrix F for processing by the meta-learning neural network.i That is, the environment image matrix of the transmitting and receiving end:
[0022]
[0023] Each element in the matrix F gw Indicates the terrain or building height at the corresponding position of the point, 1≤g≤G, 1≤w≤W; G×W represents the resolution of the image;
[0024] The method of intercepting the rectangular area is: take the line connecting the transmitting end and the i-th receiving end as the central axis, and expand 100 meters to both sides to obtain the area obtained by intercepting the rectangular area;
[0025] In step 1.1, the method for determining whether the connecting line L1 intersects with the boundary line L2 in the two-dimensional plane is:
[0026] Assume condition 1 is:
[0027] Condition 2 is: and
[0028] When condition 1 is met and condition 2 is met, the line L1 intersects the boundary line L2 in the two-dimensional plane;
[0029] When condition 1 is not met or condition 2 is not met, the connecting line L1 and the boundary line L2 do not intersect in the two-dimensional plane;
[0030] The specific meanings of Condition 1 and Condition 2 are as follows:
[0031] The lth building projects a convex polygon in a two-dimensional plane, and its vector diagram is represented as follows:
[0032]
[0033] in, is the height of the lth building, E l is the number of vertices of the plane projection polygon of the lth building, e l is the vertex set of the polygon, expressed in the following form:
[0034]
[0035] In the formula, a l,k is the kth vertex of the lth building, and all vertices are numbered in a counterclockwise order;
[0036] The same-side and different-side test method is used to determine whether each vertex of the l-th building is on the same side of the line L1 connecting the transmitter and the i-th receiver. The following formula is used to calculate the vertex a of the l-th building: l,k calculate:
[0037]
[0038] Among them, × represents the vector cross multiplication operation, Side(a l,k ,p i ) determines the vertex a l,k exist Clockwise or counterclockwise, when Side(a l,k ,p i ) is positive, vertex a l,k exist counterclockwise; when Side(a l,k ,p i ) is negative, vertex a l,k exist Clockwise direction; when Side(a l,k ,p i ) is zero, vertex a l,k exist On the straight line;
[0039] If for all vertices a l,k , Side(a l,k ,p i ) are not all the same, which satisfies condition 1:
[0040]
[0041] Among them, sgn(·) is the sign function, at this time all vertices a l,k Dispersed in on both sides;
[0042] remember For all Side(a l,k ,p i ) results in a positive point set, For all Side(a l,k ,p i ) The result is a negative point set. and They must be continuous points on the polygon respectively; find and The last point in the counterclockwise order is recorded as and If o and p i lie in and The two ends of , that is, condition 2 is satisfied:
[0043]
[0044] Then the line connecting the transmitter and the i-th receiver intersects with the boundary line of the l-th building in the two-dimensional plane, and records and and The two-dimensional intersection points are (x1, y1) and (x2, y2);
[0045] In step 1.2, the method for determining whether the connecting line L1 and the boundary line L2 intersect in three dimensions is:
[0046] Calculate the 3D height h of two intersection points I1 and h I2 , as described below:
[0047]
[0048] like and If at least one of the above equations holds true, then the line L1 connecting the transmitter and the i-th receiver and the boundary line L2 of the l-th building meet the three-dimensional intersection;
[0049] The characteristics of the above communication links are concatenated to obtain the characteristics of the i-th communication link:
[0050]
[0051] In the formula, Φ i are the other features of the i-th communication link of the j-th external scene except the environmental image matrix of the transmitting and receiving ends;
[0052] The features of each communication link of the j-th external scene are spliced to obtain the dataset D of the j-th external scene j :
[0053]
[0054] In the formula, is the characteristic of the i-th communication link in the j-th external scene, The path loss of the i-th communication link in the j-th external scenario;
[0055] The data sets of each external scene are then spliced together to obtain the external scene channel source data set D src :
[0056]
[0057] For the target scene, the communication link features are constructed based on the target scene environment image and the three-dimensional position coordinates of the transmitter and receiver, and the data of these communication links are spliced to obtain the target scene dataset D new :
[0058]
[0059] in, is the characteristic of the i-th communication link in the target scenario, is the path loss of the i-th communication link in the target scenario, N new The number of communication links with known path loss for the target scenario
[0060] In the second step, the meta-learning path loss prediction network constructed consists of three parts: the environment processor, the feature processor, and the comprehensive processor: the environment processor υ is a convolutional neural network, and its input is the environment image matrix F of the transmitting and receiving end. i , the network weight of the environment processor is denoted as ω υ ; The feature processor ψ is a fully connected neural network whose input is the feature Φ i , the network weight of the feature processor is denoted as ω ψ The comprehensive processor ρ is a fully connected neural network, whose input is the concatenation of the outputs of the environment processor and the feature processor. The network weight of the comprehensive processor is expressed as ω ρ ; The network weight of the entire meta-learning path loss prediction network is expressed as ω = {ω υ ,ω ψ ,ω ρ};
[0061] In the second step, the method for performing meta-training is:
[0062] Step 2.1, randomly initialize the network weights of the meta-learning path loss prediction network, that is, assign ω υ ,ω ψ and ω ρ Random weights;
[0063] Step 2.2, D src Randomly divide into D train and D test Two parts, D train and D test The dataset D includes a part of the external scene j , j∈{1,...,P}, save the network weight ω at this time;
[0064] Step 2.3, D train The inner layer training set and ω' are the directional network weights to perform inner layer training on the meta-learning path loss prediction network. The initial value of ω' is ω; D train The link data in is used as the network input to obtain the predicted path loss value and calculate the loss function:
[0065]
[0066] in D trainThe scene collection in RMSE j is the root mean square error (RMSE) of the predicted path loss in the jth scenario, and its expression is as follows:
[0067]
[0068] In the formula, is the predicted value of the path loss of the ith communication link in the jth external scenario;
[0069] When updating the network weights, gradient update is used, and ω' is updated with α as the inner loop update step size, that is, the directional network weight ω' is updated to
[0070] Step 2.4, D train Perform inner-layer testing and meta-level optimization of network parameters on the meta-learning path loss prediction network for the inner-layer test set, and calculate the inner-layer test loss:
[0071]
[0072] In the formula, f model (·) is the meta-learning path loss prediction network, And for Scece train The complement of represents the test scenario set; then, the network weight ω of the meta-learning path loss prediction network is updated at the meta-level weighted gradient, that is, ω is updated to Where γ is the element-level update step size, and β is the scaling factor;
[0073] Step 2.5, repeat steps 2.2 to 2.4 until the prediction effect of the entire meta-learning path loss prediction network reaches convergence, and save the network weight ω0 at this time;
[0074] In the third step, for the target scenario with limited channel sample data, the meta-learning path loss prediction network is specialized for training using the communication link data with known path loss in the scenario. The specific steps are as follows:
[0075] Step 3.1, load the network parameters ω0 of the meta-learning path loss prediction network;
[0076] Step 3.2, D new The meta-learning path loss prediction network is trained for the dataset. The parameter optimization process uses naive gradient back propagation and selects the root mean square error (RMSE) as the loss function.
[0077] In the fourth step, for the receiving end position where the path loss needs to be predicted, the communication link features formed between the receiving end position and the target scene transmitting end are extracted according to steps 1.1 to 1.4, and used as the input of the meta-learning path loss prediction network. The network output obtained is the path loss prediction value PL target , complete the generalized path loss prediction in various scenarios based on meta-learning, as shown in the following formula:
[0078] PL target =f model (Θ target ,ω)=ρ(υ(F target ,ω υ )⊙ψ(Φ target ,ω ψ ),ω ρ )
[0079] In the formula, Θ target is the characteristic of the communication link whose path loss needs to be predicted, F target is the environment image matrix of the transmitting and receiving ends of the communication link for which the path loss needs to be predicted, Φ target Other features of the communication link for which path loss needs to be predicted in addition to the environment image matrix at the transmitting and receiving ends.
[0080] Beneficial Effects
[0081] 1. The present invention proposes a generalized path loss prediction method for multiple scenarios based on meta-learning, which combines the two-stage training process of meta-training and specialized training. In each round of gradient update of meta-training, the network weights after inner-layer training and the original network weights are effectively integrated, thereby avoiding overfitting of the meta-learning path loss prediction network model for some scenario data, better learning the common features between scenarios, and improving the generalization performance of the path loss modeling scheme for multiple scenarios.
[0082] 2. In the method of the present invention, a feature self-extraction method is designed, which can automatically extract the mathematical and statistical features of the link, saving a lot of manpower, financial resources and material resources;
[0083] 3. In the method of the present invention, a meta-learning path loss prediction network is designed, which can mine electromagnetic propagation characteristics from two aspects: mathematical statistics characteristics of the link and environmental characteristics, thus taking into account both the knowledge of communication experts and the details of the propagation environment;
[0084] 4. In the method of the present invention, when specialized training is performed on the target scene, only a small amount of data is needed for a short training to enable the network to achieve a better prediction effect, which effectively reduces the prediction model's demand for the amount of target scene data. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 It is the flowchart of the whole process;
[0086] Figure 2 Schematic diagram of the target scene;
[0087] Figure 3 This is a schematic diagram of the prediction effect. DETAILED DESCRIPTION
[0088] In the following, in conjunction with the accompanying drawings and embodiments, a generalized path loss prediction method in multiple scenarios based on meta-learning of the present invention is described in detail. The entire process flow chart is as follows: Figure 1 As shown:
[0089] In the first step, five typical scenes were selected as external scenes, namely, the Zhongguancun campus of Beijing Institute of Technology, the urban area of Fribourg, Switzerland, the block of Helsinki, Finland, Rosslyn, North Carolina, USA, and the mountainous area around Shijiazhuang. The area size is 600 meters × 600 meters. In each scene, there is a transmitter fixed at the center of the area, 25 meters above the ground, and the height of 1,000 receivers is 1.5 meters. The Wireless Insite software is used to perform ray tracing simulation for each scene to obtain the path loss from the transmitter to each receiver.
[0090] In the second step, the feature self-extraction method is used to extract features for each communication link in the five external scenes. Constructing an external scene channel source dataset
[0091]
[0092] The third step is to build a meta-learning path loss prediction network and use D src The network weight ω of the meta-learning path loss prediction network is meta-trained according to the above steps, and then the meta-learning path loss prediction network weight ω0 after meta-training is saved; the meta-learning path loss prediction network is built based on the PyTorch architecture tool in Python, and the environment processor uses the standard ResNet50 network to output an environment vector with a dimension of [1,128]. The number of fully connected network layers of the feature processor is set to 5, and it also outputs a feature vector with a dimension of [1,128]. The number of fully connected network layers of the comprehensive processor is set to 5, and the number of neurons is 256, 64, 16, 4, and 1 respectively. The activation function uses the ReLU function; the inner loop update step size α in the meta-training is set to 0.0001, the meta-level update step size γ is set to 0.0001, and the scaling factor β is set to 1;
[0093] In the fourth step, a relatively open area in Ottawa, Canada is selected as the target scene, such as Figure 2As shown in the figure, the size is 800 meters × 400 meters, the transmitter height is 25 meters above the ground, and the height of 1000 receivers is 1.5 meters. The WirelessInsite software is used to perform ray tracing simulation to obtain the path loss from the transmitter to each receiver, and extract features to establish the target scene dataset D new ;
[0094] Step 5: Load the network weights ω0 of the meta-learning path loss prediction network to the meta-learning path loss prediction network, using the target scene dataset D new Specialized training of the meta-learning path loss prediction network;
[0095] Step 6: Use the meta-learning path loss prediction network after specialized training to predict the path loss prediction value PL target , the prediction effect is as follows Figure 3 shown.
[0096] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A generalized path loss prediction method in multiple scenarios based on meta-learning, characterized by The steps of the method include: The first step is to select multiple external scenes other than the target scene; extract the characteristics of the communication link formed by the transmitter in each external scene and all the receiving ends, and construct the external scene channel source data set according to the extracted characteristics of the communication links of all the external scenes; extract the characteristics of the communication link formed by the transmitter in the target scene and all the receiving ends, and construct the target scene channel source data set according to the extracted characteristics of the communication link of the target scene; The second step is to build a meta-learning path loss prediction network, and use the external scene channel source data set constructed in the first step to meta-train the built meta-learning path loss prediction network, and save the parameters of the meta-learning path loss prediction network after meta-training; The third step is to load the meta-learning path loss prediction network parameters saved in the second step into the meta-learning path loss prediction network, and then use the target scene channel source data set constructed in the first step to perform specialized training on the meta-learning path loss prediction network after the second step meta-training; In the fourth step, the path loss prediction network trained specifically in the third step is used to predict the path loss between the transmitter and receiver of the unknown link to obtain the path loss value.
2. According to claim 1, a generalized path loss prediction method based on meta-learning in multiple scenarios is characterized by: In the first step, a total of P external scenes are selected outside the target scene, and the jth external scene has 1 transmitter and N j The receiving end, M j buildings, j=1,...,P, any receiving end in each external scene forms a communication link with the transmitting end in the external scene, and the characteristics of the communication link include the link line-of-sight state, the two-dimensional horizontal coordinates of the receiving end, the two-dimensional vertical coordinates of the receiving end, the height of the receiving end, the propagation distance, the azimuth, the number of buildings crossed, the average height of the buildings crossed, and the environmental image matrix of the transmitting and receiving ends.
3. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 2, characterized in that: Assume that the initial value of the link visibility state is 1, the initial value of the number of buildings crossed is 0, and the initial value of the average height of the buildings crossed is 0; The method for obtaining the link visibility status, the number of buildings crossed, and the average height of the buildings crossed is as follows: Step 1.1, determine whether the line L1 connecting the transmitter in the jth external scene and the i-th receiving end in the jth external scene intersects with the boundary line L2 of the l-th building in the j-th external scene in a two-dimensional plane, i=1,...,N j ,l=1,...,M j ; If they intersect in the two-dimensional plane, go to step 1.2; if they do not intersect in the two-dimensional plane, go to step 1.3; Step 1.2, determine whether the line L1 connecting the transmitter in the jth external scene and the i-th receiver in the jth external scene intersects with the boundary line L2 of the l-th building in the j-th external scene in three dimensions. If so, change the link visibility state to 0, increase the number of buildings crossed by 1, and increase the average height of the buildings crossed by the height value of the l-th building. If there is no three-dimensional intersection, go directly to step 1.3; Step 1.3, repeat steps 1.1 to 1.2 until all buildings l=1,...,M are traversed j If the visibility state of the communication link is 0 after traversing, the average height of the buildings crossed is divided by the number of buildings crossed to obtain the final average height of the buildings crossed. If the visibility state of the communication link is 1 after traversing, the average height of the building crossed is the initial value 0; The propagation distance is: The azimuth is: Where arctan(·) is the inverse tangent function; Among them, the transmitter position is the origin o(0,0) of the two-dimensional rectangular coordinate system, and the height is h BS , the two-dimensional coordinates of the i-th receiver are represented as p i (x i ,y i ), x i is the two-dimensional horizontal coordinate of the i-th receiver, y i is the two-dimensional vertical coordinate of the i-th receiver, and the height of the receiver is h i .
4. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 2 or 3, characterized in that: The method for obtaining the environment image matrix of the transmitting and receiving end is: The environment image of the i-th communication link is cut into a rectangular area to represent the terrain information around the communication link, and the rectangular area is converted into a two-dimensional matrix F for processing by the meta-learning neural network. i That is, the environment image matrix of the transmitting and receiving end: In which, each element in the matrix F gw Indicates the terrain or building height at the corresponding position of the point, 1≤g≤G, 1≤w≤W; G×W represents the resolution of the image; The method of intercepting the rectangular area is: taking the line connecting the transmitting end and the i-th receiving end as the central axis, the area obtained by extending 100 meters to both sides is the intercepted rectangular area.
5. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 4 is characterized in that: In step 1.1, the method for determining whether the connecting line L1 intersects with the boundary line L2 in the two-dimensional plane is: Assume condition 1 is: Condition 2 is: and When condition 1 is met and condition 2 is met, the line L1 intersects the boundary line L2 in the two-dimensional plane; When condition 1 is not met or condition 2 is not met, the connecting line L1 and the boundary line L2 do not intersect in the two-dimensional plane; The specific meanings of Condition 1 and Condition 2 are as follows: The lth building projects a convex polygon in a two-dimensional plane, and its vector diagram is represented as follows: in, is the height of the lth building, E l is the number of vertices of the plane projection polygon of the lth building, e l is the vertex set of the polygon, expressed in the following form: In the formula, a l,k is the kth vertex of the lth building, and all vertices are numbered in a counterclockwise order; The same-side and different-side test method is used to determine whether each vertex of the l-th building is on the same side of the line L1 connecting the transmitter and the i-th receiver. The following formula is used to calculate the vertex a of the l-th building: l,k calculate: Among them, × represents the vector cross multiplication operation, Side(a l,k ,p i ) determines the vertex a l,k exist Clockwise or counterclockwise, when Side(a l,k ,p i ) is positive, vertex a l,k exist counterclockwise; when Side(a l,k ,p i ) is negative, vertex a l,k exist Clockwise direction; when Side(a l,k ,p i ) is zero, vertex a l,k exist On the straight line; If for all vertices a l,k , Side(a l,k ,p i ) are not all the same, which satisfies condition 1: Among them, sgn(·) is the sign function, at this time all vertices a l,k Dispersed in on both sides; remember For all Side(a l,k ,p i ) results in a positive point set, For all Side(a l,k ,p i ) The result is a negative point set. and They must be continuous points on the polygon respectively; find and The last point in the counterclockwise order is recorded as and If o and p i lie in and The two ends of , that is, condition 2 is satisfied: and Then the line connecting the transmitter and the i-th receiver intersects with the boundary line of the l-th building in the two-dimensional plane, and records and and The two-dimensional intersection points are (x1,y1) and (x2,y2).
6. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 5, characterized in that: In step 1.2, the method for determining whether the connecting line L1 and the boundary line L2 intersect in three dimensions is: Calculate the three-dimensional height h of two intersection points I1 and h I2 , as described below: like and If at least one of the above equations holds true, then the line L1 between the transmitting end and the i-th receiving end and the boundary line L2 of the l-th building meet the three-dimensional intersection.
7. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 6, characterized in that: In the first step, the method for constructing the external scene channel source data set and the target scene data set according to the extracted features of the communication links of all external scenes is: The characteristics of the communication links are concatenated to obtain the characteristics of the i-th communication link: In the formula, Φ i are the other features of the i-th communication link of the j-th external scene except the environmental image matrix of the transmitting and receiving ends; The features of each communication link of the j-th external scene are spliced to obtain the dataset D of the j-th external scene j : In the formula, is the characteristic of the i-th communication link in the j-th external scene, The path loss of the ith communication link in the jth external scenario; The data sets of each external scene are then spliced together to obtain the external scene channel source data set D src : For the target scene, the communication link features are constructed based on the target scene environment image and the three-dimensional position coordinates of the transmitter and receiver, and the data of these communication links are spliced to obtain the target scene dataset D new : in, is the characteristic of the i-th communication link in the target scenario, is the path loss of the i-th communication link in the target scenario, N new The number of communication links with known path loss for the target scenario.
8. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 1, characterized in that: In the second step, the constructed meta-learning path loss prediction network consists of three parts: environment processor, feature processor, and comprehensive processor; The environment processor υ is a convolutional neural network whose input is the environment image matrix F at the transceiver end. i , the network weight of the environment processor is denoted as ω υ ; The feature processor ψ is a fully connected neural network whose input is the feature Φ i , the network weight of the feature processor is represented by ω ψ ; The comprehensive processor ρ is a fully connected neural network whose input is the concatenation of the outputs of the environment processor and the feature processor. The network weight of the comprehensive processor is represented by ω ρ ; The network weight of the entire meta-learning path loss prediction network is expressed as ω = {ω υ ,ω ψ ,ω ρ }.
9. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 1, characterized in that: In the second step, the method for performing meta-training is: Step 2.1, randomly initialize the network weights of the meta-learning path loss prediction network, that is, assign ω υ ,ω ψ and ω ρ Random weights; Step 2.2, D src Randomly divide into D train and D test Two parts, D train and D test The dataset D includes a part of the external scene j , j∈{1,...,P}, save the network weight ω at this time; Step 2.3, D train The inner layer training set and ω' are the directional network weights to perform inner layer training on the meta-learning path loss prediction network. The initial value of ω' is ω; D train The link data in is used as the network input to obtain the predicted path loss value and calculate the loss function: in D train The scene collection in RMSE j is the root mean square error (RMSE) of the predicted path loss in the jth scenario, and its expression is as follows: In the formula, is the predicted value of the path loss of the ith communication link in the jth external scenario; When updating the network weights, gradient update is used, and ω' is updated with α as the inner loop update step size, that is, the directional network weight ω' is updated to Step 2.4, D train Perform inner-layer testing and meta-level optimization of network parameters on the meta-learning path loss prediction network for the inner-layer test set, and calculate the inner-layer test loss: In the formula, f model (·) is the meta-learning path loss prediction network, And for Scece train The complement of represents the test scenario set; then, the network weight ω of the meta-learning path loss prediction network is updated at the meta-level weighted gradient, that is, ω is updated to Where γ is the element-level update step size, and β is the scaling factor; Step 2.5, repeat steps 2.2 to 2.4 until the prediction effect of the entire meta-learning path loss prediction network reaches convergence, and save the network weight ω0 at this time.
10. The method for generalizing path loss prediction in multiple scenarios based on meta-learning according to claim 1, characterized in that: In the third step, the meta-learning path loss prediction network is specialized and trained, and the specific steps are as follows: Step 3.1, load the network parameters ω0 of the meta-learning path loss prediction network; Step 3.2, D new The meta-learning path loss prediction network is trained for the dataset. The parameter optimization process uses naive gradient back propagation and selects the root mean square error as the loss function. In the fourth step, for the receiving end position where the path loss needs to be predicted, the communication link features formed between the receiving end position and the target scene transmitting end are extracted, and the extracted communication link features are used as the input of the meta-learning path loss prediction network, and the obtained network output is the path loss prediction value PL target , complete the generalized path loss prediction in various scenarios based on meta-learning, as shown in the following formula: PL target =f model (I target ,ω)=ρ(υ(F target ,oh υ )⊙ψ(Φ target ,oh ψ ),oh ρ ) In the formula, Θ target is the characteristic of the communication link whose path loss needs to be predicted, F target is the environment image matrix of the transmitting and receiving ends of the communication link for which the path loss needs to be predicted, Φ target Other features of the communication link for which path loss needs to be predicted in addition to the environment image matrix at the transmitting and receiving ends.
Citation Information
Patent Citations
Communication beam selection method based on sub6GHz channel and partial millimeter waveguide frequency
CN114844545A
Refined path loss prediction method for bimodal network correction
CN116318462A
Signal path loss prediction model training method and device
CN116321187A
Multi-scene recommendation method based on meta-learning and domain self-adaption
CN117520615A
Large-scale fading modeling and estimation method, system, and device, and storage medium
WO2023061303A1
