A method and apparatus for confirming weights of a driving intention recognition model

By optimizing the weights of the driving intention recognition model using the hummingbird optimization algorithm and stochastic gradient descent framework, the problem of low weight confirmation efficiency in intelligent driving is solved, thereby improving the training efficiency and recognition accuracy of the model.

CN117150889BActive Publication Date: 2026-11-27GUILIN UNIV OF ELECTRONIC TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311007333.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2026-11-27
Estimated Expiration
2043-08-10

AI Technical Summary

Technical Problem

In the field of intelligent driving, existing technologies struggle to efficiently determine weights in driving intent recognition models, resulting in problems such as high computational load and low accuracy.

Method used

The Hummingbird optimization algorithm combined with the stochastic gradient descent framework is used to optimize the weights of the driving intention recognition model through driving sample preprocessing and extreme value ratio calculation, determine the optimal weight range, and iteratively calculate the optimal weights.

Benefits of technology

The training efficiency and recognition accuracy of the driving intention recognition model have been improved, especially the recognition accuracy of braking intention has been significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117150889B_ABST
    Figure CN117150889B_ABST
Patent Text Reader

Abstract

The application discloses a kind of weight confirmation method and device for driving intention recognition model, including the following steps: driving sample preparation includes n groups of driving data, each group of driving data includes vehicle speed vv, pedal displacement mv, pedal displacement rate rv;The driving data is preprocessed, the driving intention corresponding to the driving data is obtained, the extreme value of each type of driving data corresponding target function and extreme value proportion A are obtained;According to extreme value proportion A, generate model parameter best range ub, lb;Construct weight optimization model, weight optimization model uses hummingbird optimization algorithm, and outputs the optimal value of weight value.According to the above technical scheme, the training of convolutional neural network can be effectively brought into the convergence range conforming to the law of driving intention recognition model, and the network training efficiency and recognition accuracy for high driving intention recognition are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent driving, and more specifically, to a method and apparatus for weight confirmation of a driving intention recognition model. Background Technology

[0002] In the research and application of intelligent driving, neural network models and their training processes play a crucial role. However, during neural network model training, the presence of hyperparameters directly impacts model performance. Hyperparameters include learning rate, loss function, batch parameters, weight decay coefficient, optimizer momentum, and kernel size. Currently, weights are primarily selected through network training. To ensure the neural network learns useful information during training, optimizing the weights can lead to convergence in convolutional neural network training. However, convolutional neural networks suffer from over-parameterization; selecting highly important weights allows the network to extract effective features. Currently, there are several methods for optimizing neural network weights: (1) Convolutional neural network compression method with weight sharing quantization: This method can effectively compress the weights of convolutional neural networks, but it uses floating-point calculations during inference, which increases the amount of computation and makes the network training speed too slow; (2) Low-precision weight quantization: This method can reduce the size of the model storage and accelerate forward inference operations, but it requires a huge amount of computation and has poor robustness when selecting precision; (3) Network pruning and model design method: This method can reduce the Moses volume and achieve the method of compressing the model, but when the volume is greatly reduced, the accuracy of the model will decrease.

[0003] Therefore, for the above problems, especially for the application of driving intention recognition models in the research and development of intelligent driving, a stable and efficient weight confirmation method is needed that is suitable for the application environment, so as to reduce the amount of computation and improve the accuracy of driving intention recognition models during training. Summary of the Invention

[0004] To achieve the above objectives, this application provides a weight determination method for a driving intention recognition model, comprising the following steps:

[0005] Vehicle sample preparation: The vehicle sample includes n sets of driving data. Each set of driving data includes vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv.

[0006] The driving data is preprocessed to obtain the driving intent corresponding to the driving data through an assisted driving intent recognition model; the preprocessing of the driving data also includes obtaining the extreme value of the objective function and the proportion of extreme values ​​A corresponding to each type of driving data; wherein, the assisted driving intent recognition model classifies driving intent by acceleration;

[0007] The optimal ranges of model parameters ub and lb are generated based on the extreme value proportion A.

[0008] A weight optimization model is constructed, which employs the hummingbird optimization algorithm to output the optimal weight values.

[0009] The construction of the weight optimization model includes: initializing the weight optimization model according to the optimal range of model parameters, and iteratively calculating in the search space to confirm the output of the optimal weight.

[0010] Among them, obtaining the extreme value of the objective function corresponding to each type of driving data includes:

[0011] Specify a feature parameter, and define the linear regression hypothesis function for that feature parameter as follows:

[0012] h θ (K (i) )=θ1K (i) +θ0, where i is the number of samples and i = 1, 2...m, θ is the set of intentions, and K is the value of the feature parameters, including: vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv;

[0013] Furthermore, the extreme value of the objective function corresponding to each intention θ is calculated. Specific methods include:

[0014] The objective function is defined as follows:

[0015] The gradient function is defined as follows: Enter K (i) Output w e =max(J(θ));

[0016] The gradient function is defined as follows: Enter K (i) Output w s =min(J(θ));

[0017] max(J(θ)) and min(J(θ)) constitute the extreme values ​​of the objective function corresponding to the driving data of the intention θ;

[0018] The method for calculating the extreme value ratio A is as follows: Where m is within the range of max(J(θ)) and min(J(θ)), and intention is the number of samples of intention θ.

[0019] Furthermore, the calculation method for the optimal range of parameters ub and lb based on the extreme value proportion A is as follows:

[0020] Where maxgen and i are the maximum number of iterations and the current number of iterations, respectively, and w s w e These are the initial and final values ​​of the weight w, respectively, and 0.1 <ws <0.9, 0.1 <w e <0.9; The maximum and minimum values ​​of the weight w constitute the optimal range of the parameters ub and lb.

[0021] Furthermore, the initialization formula for the weight optimization model is: P i =ub-rand*(ub-lb), where P i Let i represent the hummingbird's position in the population, i∈{1,2,3,...,N}, where N is the population size, ub and lb represent the optimal range of the parameters, and rand is a random number between 0 and 1.

[0022] Furthermore, iterative calculations within the search space to confirm the optimal output weights include:

[0023] Perform a self-search within the optimal parameter range setting to determine the optimal parameter search interval;

[0024] The optimal weight is determined and output by iterating through the optimal value search interval.

[0025] On the other hand, the present invention provides a weight confirmation device for a driving intention recognition model, comprising:

[0026] The sample preparation module is used to prepare driving samples, including n sets of driving data, which include vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv.

[0027] The sample preprocessing module is used to preprocess driving data. It includes a driving intent acquisition unit, an extreme value proportion acquisition unit, and an optimal parameter range determination unit. The driving intent acquisition unit is used to acquire the driving intent corresponding to the driving data through an assisted driving intent recognition model. The extreme value proportion acquisition unit is used to acquire the extreme value of the objective function and the extreme value proportion A corresponding to each type of driving data. The optimal parameter range determination unit is used to generate the optimal ranges ub and lb of the model parameters based on the extreme value proportion A.

[0028] The weight optimization model construction module is used to construct a weight optimization model using the hummingbird optimization algorithm. The weight optimization model construction module includes an initialization unit and an optimal weight output unit. The initialization unit initializes the weight optimization model according to the optimal range of model parameters, and the optimal weight output unit iteratively calculates and confirms the output of the optimal weight in the search space.

[0029] Furthermore, the extreme value proportion acquisition unit acquires the extreme values ​​of the objective function corresponding to each type of driving data, including:

[0030] Specify a feature parameter, and define the linear regression hypothesis function for that feature parameter as follows:

[0031] h θ (K(i) )=θ1K (i) +θ0, where i is the number of samples and i = 1, 2...m, θ is the set of intentions, and K is the value of the feature parameters, including: vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv;

[0032] The extreme value of the objective function corresponding to each intention θ is calculated based on the driving data. Specific methods include:

[0033] The objective function is defined as follows:

[0034] The gradient function is defined as follows: Enter K (i) The output is w = max(J(θ));

[0035] The gradient function is defined as follows: input λK (i) The output is w = min(J(θ));

[0036] max(J(θ)) and min(J(θ)) constitute the extreme values ​​of the objective function corresponding to the driving data of the intention θ;

[0037] The method for calculating the extreme value ratio A is as follows: Where m is the number of samples with the intention θ within the range of max(J(θ)) and min(J(θ)).

[0038] The method for calculating the optimal parameter ranges ub and lb of the unit generating parameters is as follows:

[0039] Where maxgen and i are the maximum number of iterations and the current number of iterations, respectively, and w s w e Let be the initial and final values ​​of the weight w, respectively, and 0.1 < w. s <0.9, 0.1 <w e <0.9; The maximum and minimum values ​​of the weight w constitute the optimal range of parameters ub and lb.

[0040] Furthermore, the formula for initializing the weight optimization model using the initialization unit is as follows:

[0041] P i =ub-rand*(ub-lb), where P i Let i represent the hummingbird's position in the population, i∈{1,2,3,…,N}, where N is the population size, ub and lb are the optimal range of the parameters, and rand is a random number between 0 and 1.

[0042] Furthermore, the optimal weight output unit iteratively calculates and confirms the output of the optimal weight in the search space, including: performing a self-search within the range of the optimal parameter range setting to determine the optimal value parameter search interval; and iteratively looping within the optimal value search interval to determine and output the optimal weight.

[0043] According to the present invention, by combining the sample data features of the driving intention recognition model, the optimized hummingbird optimization algorithm is used to obtain the optimal weight values ​​suitable for driving intention recognition. This can effectively bring the training of the convolutional neural network into a convergence range that conforms to the rules of the driving intention recognition model, thereby effectively improving the network training efficiency and recognition accuracy for driving intention recognition. Attached Figure Description

[0044] Figure 1 This is a flowchart illustrating the weight confirmation method provided in an embodiment of the present invention;

[0045] Figure 2 This is a schematic diagram of the weight confirmation device provided according to an embodiment of the present invention. Detailed Implementation

[0046] This invention optimizes the weights of a convolutional neural network model used for driving intention recognition. Based on the sample features from the training process of the network model and the specific scenarios of driving intention recognition, the invention employs the SGD gradient descent framework and the hummingbird optimization algorithm to pre-find the optimal values ​​for the weights of the driving intention recognition network model, thereby improving the computational efficiency and accuracy of the network model in driving intention recognition applications.

[0047] The specific implementation of the present invention will now be described in detail with reference to the accompanying drawings.

[0048] Figure 1 The method and steps for determining weights based on driving data are provided, including:

[0049] Step S100: Prepare driving samples, wherein the driving samples include n sets of driving data, wherein the driving data include vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv;

[0050] Step S110: Preprocess driving data, including step S111 obtaining the driving intention corresponding to the driving data and step S112 obtaining the extreme value of the objective function and the proportion of extreme values ​​A corresponding to each type of driving data;

[0051] The driving sample data prepared in step S100 may include driving intentions, or may be obtained in step S111.

[0052] Step S111 involves obtaining the driving intent corresponding to the driving data through the assisted driving intent recognition model: Similar to the preparation of the validation set for the conventional driving intent recognition model, the sample data of the training set in this invention are vehicle speed, pedal displacement, and pedal displacement change rate. The assisted driving intent recognition model supports generating driving intent by clustering acceleration data collected from driving data. The driving intent generated by clustering corresponds to vehicle speed, pedal displacement, and pedal displacement change rate, and is used for weight confirmation in this invention, and can also be used in the subsequent learning and validation process of the driving intent recognition model.

[0053] Step S112: Preprocessing the driving data further includes obtaining the extreme value of the objective function and the proportion of extreme values ​​A corresponding to each type of driving data;

[0054] The principle behind this step is to establish an SGD gradient descent framework, combining vehicle speed, pedal displacement, and the rate of change of pedal displacement to set model weights. Gradient descent is a method to minimize the objective function f(θ), where θ represents the model parameters. Gradient descent utilizes the gradient of the objective function with respect to the parameters. The parameters are updated in the opposite direction, that is, along the downward slope of the objective function until the bottom. Depending on the size of the data, a trade-off is made between the accuracy of the updated parameters and the execution time of a single update, and an appropriate timing is chosen.

[0055] The specific implementation process includes the following steps:

[0056] 1) Obtain the extreme value of the objective function corresponding to each type of driving data:

[0057] In this step, we first specify a feature parameter (e.g., vehicle speed), at which point the linear regression hypothesis function is:

[0058] h θ (K (i) )=θ1K (i) +θ0, where i is the number of samples and i = 1, 2...m, θ is an intention set, and K is a feature parameter value, wherein the feature parameters include: vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv; in this invention, intentions are divided into six sets, such as rapid acceleration, slow acceleration, normal acceleration, rapid deceleration, slow deceleration, and normal deceleration.

[0059] The extreme value of the objective function corresponding to each intent set θ is calculated based on the following methods:

[0060] The objective function is defined as follows:

[0061] It is easier to find the extrema of a function along the direction of the gradient vector; based on this,

[0062] The gradient function is defined as follows: Enter K(i) The output is w = max(J(θ));

[0063] The gradient function is defined as follows: Enter K (i) The output is w = min(J(θ));

[0064] The max(J(θ)) and min(J(θ)) constitute the extreme values ​​of the objective function corresponding to the driving data of the intention θ;

[0065] 2) Based on the extreme values ​​of the target sample at each stage, for example, under the condition of rapid acceleration and rapid deceleration, the output w in the previous step is the number of samples within the range of the maximum value max and the minimum value min. The proportion of this number of samples in the total sample is set as the extreme value proportion A.

[0066] Specifically, the extreme value proportion A is calculated as follows: Where m is within the range of max(J(θ)) and min(J(θ)), and intention is the number of samples of intention θ.

[0067] Step S120: Generate the optimal range of model parameters ub and lb based on the extreme value ratio A;

[0068] The purpose of this step is to establish a weight range based on the proportion of extreme values. This weight is used by the HOA algorithm to optimize the weights in the convolutional neural network.

[0069] The specific calculation method is as follows:

[0070] Where maxgen and i are the maximum number of iterations and the current number of iterations, respectively, and w s w e Let W be the initial and final values ​​of the weight w, respectively, and 0.1 < W. s <0.9, 0.1 <w e <0.9;

[0071] The maximum and minimum values ​​of the weight w constitute the optimal range of the parameters ub and lb.

[0072] Step S130: Construct the weight optimization model:

[0073] The weight optimization model constructed in this step selects the optimal range of parameters ub and lb based on the above stochastic gradient descent (SGD) method, and then uses the HOA algorithm to find the optimal weight within this range to obtain the globally optimal weight, which can make the driving intention recognition model more accurate in classification prediction.

[0074] HOA consists of two phases: the self-search phase and the guided search phase. In HOA, hummingbirds represent searchers, and their positions correspond to feasible solutions to the optimization problem. The quality of food sources is the value of the fitness function, and the best food source is the optimal solution.

[0075] First, the model is initialized by optimizing the weights based on the optimal range of the model parameters:

[0076] The formula is: P i =ub-rand*(ub-lb), where Pi is the position of the hummingbird in the population, i∈{1,2,3,…,N}, N is the population size, ub and lb are the optimal range of the parameters, and rand is a random number between 0 and 1.

[0077] Secondly, the self-search phase begins: a search is performed within the ranges ub and lb, and the update formula after each search is as follows: in, and These represent the values ​​at iterations t and t-1, respectively. Stop iterating when the weights are optimal.

[0078] To achieve the highest accuracy, the weight range is divided into smaller intervals A1, A2, ..., An. If no better result is found in one interval, i.e., ..., An is always... This means that this range is not worth exploring, and we need to change the search range.

[0079] Next, in the guided search phase: the optimal value is found within the search interval; this position is called the leader bird in the algorithm, and the others are called follower birds. After determining the best individual position, the leader bird will continue searching. This process is described as follows: P T,t+1 =P T,t +r d *λ; where P T,t It is the position of the leader bird in the t-th iteration; r d It is a random value between -1 and 1; λ is a scaling factor, λ = 0.1(ub - lb); if P T,t+1 To be optimal, it will replace P. T,t And so on, iterating in sequence.

[0080] In the algorithm, when the leader bird cannot find a follower bird, the follower bird will move to the vicinity of the leader bird, and its position will be updated as follows: In the formula, Let be the position of the j-th following bird, and MF be the mutation factor, expressed as MF = round{1 + rand(2-1)}, used to determine whether to change the position of the following bird. The value of this factor is 1 or 2. As the population gradually converges in the search space, It will approach PT,t .

[0081] In the later stages of the iteration, it is assumed The above formula can then be transformed into:

[0082]

[0083]

[0084] From equation (1) above, it can be seen that when MF = 1, Meanwhile, Equation (2) above shows that the overall system still has exploratory capabilities and allows for exploration away from the convergent solution in the space. Based on the above analysis, MF can effectively balance the local search and global search capabilities of the algorithm.

[0085] when When the iteration stops, that is, at this point... The optimal weights are determined by constructing a weight optimization model to confirm the output, which is used for network training of the driving intention recognition model. In the driving intention recognition model, the vehicle speed, pedal displacement, and pedal displacement change rate are input, and the driving intention recognition model outputs the driving intention recognition result through multiple layers of convolution and pooling.

[0086] For the driving intent recognition model, the output weights optimized using the scheme of this invention were adopted. Compared with the network model without optimized weights, the driving intent recognition results, especially the accuracy of braking intent recognition, are significantly improved. The specific comparison data is shown in the table below:

[0087] intention Precision before optimization Optimized accuracy Light braking 0.915 0.962 Normal braking 0.880 0.947 Emergency braking 0.96 1

[0088] The structure of the weight confirmation device for the driving intention recognition model proposed in this invention is as follows: Figure 2 As shown, it includes:

[0089] P200: Sample preparation module, used to prepare vehicle samples;

[0090] The driving sample includes n sets of driving data, and each set of driving data includes at least vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv;

[0091] The driving samples may include acceleration and driving intentions obtained from acceleration clustering; for cases where the driving samples do not include driving intentions, the corresponding driving intentions can be obtained from the sample preprocessing module, and this data is used to optimize the algorithm of the weight confirmation device.

[0092] P210: Sample preprocessing module, used to preprocess the driving data provided by the P200 sample preparation module;

[0093] The sample preprocessing module includes a driving intent acquisition unit (P211), an extreme value proportion acquisition unit (P212), and an optimal parameter range determination unit (P213).

[0094] The P211 driving intent acquisition unit is used to acquire the driving intent corresponding to the driving data through the assisted driving intent recognition model;

[0095] The driver assistance intent recognition model supports obtaining driving intent through acceleration classification.

[0096] The P212 extreme value proportion acquisition unit is used to acquire the extreme values ​​of the objective function and the extreme value proportion A corresponding to each type of driving data;

[0097] The extreme value proportion acquisition unit acquires the extreme values ​​of the objective function corresponding to each type of driving data, including:

[0098] Specify a feature parameter (e.g., vehicle speed), and define the linear regression hypothesis function for that feature parameter as follows:

[0099] h θ (K (i) )=θ1K (i) +θ0, where i is the number of samples and i = 1, 2...m, θ is the intention set, and K is the feature parameter value; wherein, the feature parameter is the driving sample prepared in P200, including: vehicle speed vv, pedal displacement mv, and pedal displacement change rate rv;

[0100] The extreme value of the objective function corresponding to each intention θ is calculated based on the driving data. Specific methods include:

[0101] The objective function is defined as follows:

[0102] The gradient function is defined as follows: Enter K (i) The output is w = max(J(θ));

[0103] The gradient function is defined as follows: Enter K (i) The output is w = min(J(θ));

[0104] The max(J(θ)) and min(J(θ)) constitute the extreme values ​​of the objective function corresponding to the driving data of the intention θ;

[0105] Based on this, the method for calculating the extreme value proportion A is as follows: Where m is within the range of max(J(θ)) and min(J(θ)), and intention is the number of samples of intention θ.

[0106] The optimal parameter range determination unit P213 is used to generate the optimal ranges of model parameters ub and lb based on the extreme value proportion A.

[0107] The optimal parameter range determination unit supports the calculation method for the optimal parameter ranges ub and lb as follows:

[0108] Where maxgen and i are the maximum number of iterations and the current number of iterations, respectively, and w s w e Let W be the initial and final values ​​of the weight w, respectively, and 0.1 < W. s <0.9, 0.1 <w e <0.9;

[0109] The maximum and minimum values ​​of the weight w constitute the optimal range of the parameters ub and lb.

[0110] P220: Weight Optimization Model Construction Module, used to construct a weight optimization model using the hummingbird optimization algorithm;

[0111] The weight optimization model construction module includes an initialization unit (P221) and an optimal weight output unit (P222).

[0112] The P221 initialization unit initializes the model by optimizing the weights based on the optimal range of the model parameters.

[0113] The formula for initializing the weight optimization model using the initialization unit is:

[0114] P i =ub-rand*(ub-lb), where P i Let i represent the hummingbird's position in the population, i∈{1,2,3,…,N}, where N is the population size, ub and lb are the optimal range of the parameters, and rand is a random number between 0 and 1.

[0115] The optimal weight output unit P222 iteratively calculates and confirms the optimal output weight in the search space:

[0116] The optimal weight output unit implements the two search stages of HOA:

[0117] 1) Perform self-search within the optimal range of parameters ub and lb to determine the search interval within the range of the optimal parameters ub and lb;

[0118] 2) Guided search phase: Iterate through the optimal value search interval to determine the optimal weight.

[0119] After the weight optimization model determines the optimal weights, the optimal weights are output and used for network training of the driving intention recognition model.

[0120] The weight confirmation method and apparatus for driving intention recognition models proposed in this invention use the hummingbird optimization algorithm to optimize the weights of convolutional neural networks. Furthermore, based on the hummingbird optimization algorithm, the SGD gradient descent framework is employed, combined with the sample data features of the driving intention recognition model, to pre-optimize the hummingbird optimization algorithm. This effectively ensures that the training of the convolutional neural network falls within a convergence range that conforms to the rules of the driving intention recognition model, thereby effectively improving the network training efficiency and recognition accuracy for driving intention recognition.

[0121] The above-disclosed embodiments are merely a few specific examples of the present invention. However, the present invention is not limited thereto, and any variations that can be conceived by those skilled in the art should fall within the protection scope of the present invention.

Claims

1. A weight determination method for a driving intention recognition model, characterized in that, Includes the following steps: Driving sample preparation, wherein the driving sample includes n sets of driving data, the driving data including vehicle speed pedal displacement , Pedal displacement change rate ; The driving data is preprocessed, and the driving intention corresponding to the driving data is obtained through an assisted driving intention recognition model; the preprocessing of the driving data also includes obtaining the extreme value of the objective function and the proportion of extreme values ​​A for each type of driving data; wherein, the assisted driving intention recognition model classifies driving intentions by acceleration; The optimal range of model parameters is generated based on the extreme value ratio A. ; A weight optimization model is constructed, which employs the hummingbird optimization algorithm to output the optimal weight values. The construction of the weight optimization model includes: initializing the weight optimization model according to the optimal range of the model parameters, and iteratively calculating and confirming the output of the optimal weight in the search space; The step of obtaining the extreme value of the objective function corresponding to each type of driving data includes: Specify a feature parameter, the linear regression hypothesis function of which is: ,in, Let i be the number of samples and i = 1, 2... , For the intent set, The feature parameter values ​​include: vehicle speed. pedal displacement , Pedal displacement change rate ; According to each stated intent The methods for calculating the extrema of the objective function corresponding to driving data include: The objective function is defined as follows: 2 ; The gradient function is defined as follows: ,enter Output ; The gradient function is defined as follows: ,enter Output ; The and Constituting Intent The driving data corresponds to the extreme value of the objective function; The method for calculating the extreme value ratio A is as follows: ,in, For the and Intent within the scope of intent The number of samples; The optimal range of parameters is generated based on the extreme value ratio A. The calculation method is as follows: ,in, and These are the maximum number of iterations and the current number of iterations, respectively. , The weights are respectively The initial and final values, and , ; The weight The maximum and minimum values ​​constitute the optimal range of the parameter. .

2. The weight confirmation method according to claim 1, characterized in that, The initialization formula for the weight optimization model is as follows: , in, Let i represent the hummingbird's position in the population, i∈{1,2,3,...,N}, where N is the population size. For the optimal range of the parameters, A random number between 0 and 1.

3. The weight confirmation method according to claim 2, characterized in that, The iterative calculation and confirmation of the optimal output weight in the search space includes: Perform a self-search within the optimal range of the parameters to determine the optimal parameter search interval; The optimal value is determined and output by iteratively searching within the optimal value range.

4. A weight confirmation device for a driving intention recognition model, characterized in that, include: The sample preparation module is used to prepare driving samples, which include n sets of driving data, including vehicle speed. pedal displacement , Pedal displacement change rate ; A sample preprocessing module is used to preprocess the driving data. The sample preprocessing module includes a driving intent acquisition unit, an extreme value proportion acquisition unit, and an optimal parameter range determination unit. The driving intent acquisition unit is used to acquire the driving intent corresponding to the driving data through an assisted driving intent recognition model. The extreme value proportion acquisition unit is used to acquire the extreme value of the objective function and the extreme value proportion A corresponding to each type of driving data. The optimal parameter range determination unit is used to generate the optimal range of model parameters based on the extreme value proportion A. ; The weight optimization model construction module is used to construct a weight optimization model using the hummingbird optimization algorithm. The weight optimization model construction module includes an initialization unit and an optimal weight output unit. The initialization unit initializes the weight optimization model according to the optimal range of the model parameters, and the optimal weight output unit iteratively calculates and outputs the optimal weight in the search space. The extreme value proportion acquisition unit acquires the extreme values ​​of the objective function corresponding to each type of driving data, including: Specify a feature parameter, the linear regression hypothesis function of which is: ,in, Let i be the number of samples and i = 1, 2... , For the intent set, The feature parameter values ​​include: vehicle speed. pedal displacement , Pedal displacement change rate ; According to each stated intent The methods for calculating the extrema of the objective function corresponding to driving data include: The objective function is defined as follows: 2 ; The gradient function is defined as follows: ,enter Output ; The gradient function is defined as follows: ,enter Output ; The and Constituting Intent The driving data corresponds to the extreme value of the objective function; The method for calculating the extreme value ratio A is as follows: ,in, For the and Intent within the scope of intent The number of samples; The optimal parameter range determination unit generates the optimal parameter range. The calculation method is as follows: ,in, and These are the maximum number of iterations and the current number of iterations, respectively. , The weights are respectively The initial and final values, and , ; The weight The maximum and minimum values ​​constitute the optimal range of the parameter. .

5. The weight confirmation device according to claim 4, characterized in that, The formula for initializing the weight optimization model by the initialization unit is as follows: , in, Let i represent the hummingbird's position in the population, i∈{1,2,3,...,N}, where N is the population size. For the optimal range of the parameters, A random number between 0 and 1.

6. The weight confirmation device according to claim 5, characterized in that, The optimal weight output unit iteratively calculates and confirms the output of the optimal weight in the search space, including: Perform a self-search within the optimal range of the parameters to determine the optimal parameter search interval; The optimal value is determined and output by iteratively searching within the optimal value range.

Citation Information

Patent Citations

  • Driving intention identification method of self-adaptive double particle swarm optimization support vector machine

    CN111396547A

  • Adaptive high-precision compression method and system based on convolutional neural network model

    US20220351043A1