A method and device for constructing a vehicle driving scene recognition model

Through data expansion, feature extraction and dimensionality reduction processing, combined with a classification algorithm optimized by heuristic strategies, a vehicle driving scene recognition model that can be efficiently recognized in complex environments is constructed, which solves the problem of poor recognition accuracy of existing technologies in complex environments. , improving the decision support capabilities and road safety of the autonomous driving system.

CN118427692BActive Publication Date: 2024-10-11GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410882928.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-11
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing autonomous vehicle scene recognition technology has poor recognition accuracy in complex environments, is easily affected by weather and light conditions, and cannot adapt to changing road environments.

Method used

Using the processing methods of data expansion, feature extraction and feature dimensionality reduction, combined with the classification algorithm optimized by heuristic strategy, a vehicle driving scene recognition model is constructed, and the target is constructed through multi-dimensional traffic environment information collection, annotation, data expansion, feature extraction and dimensionality reduction. Extreme learning machine classifier improves the model's recognition ability in complex environments.

Benefits of technology

Significantly improves the generalization ability and accuracy of vehicle driving scene recognition, can more accurately identify key information such as pedestrians, vehicles, road signs and road boundaries, provides reliable decision support for autonomous driving systems, improves road safety and traffic efficiency, and reduces Reliance on real data collection and manual annotation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118427692B_ABST
    Figure CN118427692B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for constructing a vehicle driving scene recognition model, the method comprising: collecting multi-dimensional traffic environment information, and obtaining annotation information through annotation; training a data expansion model according to the annotation information; training a target feature extraction model based on the expanded data obtained through expansion and a multi-angle sparrow optimization algorithm; training a target feature dimension reduction model based on the extracted feature data; training a target extreme learning machine classifier based on the dimension reduction feature data and a preset heuristic strategy; constructing a vehicle driving scene recognition model based on the target feature extraction model, the target feature dimension reduction model and the target extreme learning machine classifier. It can be seen that the method and device can improve the scene recognition ability of the model in complex and changeable environments based on the processing methods of data expansion, feature extraction and feature dimension reduction, combined with the classification algorithm optimized by the heuristic strategy, thereby providing reliable decision support for the automatic driving system and improving road safety and traffic efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and more specifically, to a method and device for constructing a vehicle driving scene recognition model. Background Art

[0002] At present, with the rapid development of artificial intelligence, computer vision and sensor technology, autonomous driving technology has become a hot topic of research worldwide. In autonomous driving technology, vehicle scene recognition technology is a key link, which directly affects the autonomous driving vehicle's ability to perceive the environment and driving safety. In the existing technology, image data is usually captured by vehicle cameras, and then scene recognition is performed through image recognition technology. However, in practice, it is found that the existing methods use single image data, which leads to limitations in decision-making in complex environments, and in complex and changeable road environments, they are easily affected by factors such as weather and light conditions, resulting in reduced recognition accuracy. It can be seen that the existing methods have poor recognition accuracy and cannot adapt to scene recognition in complex environments. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method and device for constructing a vehicle driving scene recognition model, which can improve the scene recognition ability of the model in complex and changing environments based on data expansion, feature extraction and feature dimension reduction processing methods combined with a classification algorithm optimized by a heuristic strategy, thereby providing reliable decision support for the autonomous driving system and improving road safety and traffic efficiency.

[0004] The first aspect of the present application provides a method for constructing a vehicle driving scene recognition model, comprising:

[0005] Collect multi-dimensional traffic environment information;

[0006] Performing category labeling on the multi-dimensional traffic environment information to obtain labeling information;

[0007] Training a preset original data expansion model according to the annotation information to obtain a data expansion model;

[0008] Performing data expansion processing on the labeled information through the data expansion model to obtain expanded data;

[0009] Based on the expanded data and the multi-angle sparrow optimization algorithm, the preset original feature extraction model is trained to obtain a target feature extraction model;

[0010] Performing feature extraction on the expanded data by using the target feature extraction model to obtain feature data;

[0011] The preset autoencoder neural network is trained by using the feature data to obtain a target feature dimension reduction model;

[0012] Performing feature dimensionality reduction processing on the feature data by using the target feature dimensionality reduction model to obtain reduced-dimensional feature data;

[0013] Training a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier;

[0014] A vehicle driving scene recognition model is constructed based on the target feature extraction model, the target feature dimensionality reduction model and the target extreme learning machine classifier.

[0015] In the above implementation process, the method can pre-train the data expansion model, target feature extraction model, target feature dimensionality reduction model, and target extreme learning machine classifier, so that these models can further construct a better vehicle driving scene recognition model, thereby improving the model's scene recognition ability in complex and changing environments.

[0016] A second aspect of the present application provides a vehicle driving scene recognition model construction device, the vehicle driving scene recognition model construction device comprising:

[0017] A first collection unit, used for collecting multi-dimensional traffic environment information;

[0018] A labeling unit, used for labeling the multi-dimensional traffic environment information by category to obtain labeling information;

[0019] A first training unit is used to train a preset original data expansion model according to the annotation information to obtain a data expansion model;

[0020] A data expansion unit, used to perform data expansion processing on the annotation information through the data expansion model to obtain expanded data;

[0021] A second training unit is used to train a preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model;

[0022] A first feature extraction unit, configured to extract features from the expanded data using the target feature extraction model to obtain feature data;

[0023] A third training unit is used to train a preset autoencoder neural network through the feature data to obtain a target feature dimension reduction model;

[0024] A first feature dimension reduction unit is used to perform feature dimension reduction processing on the feature data through the target feature dimension reduction model to obtain reduced dimension feature data;

[0025] A fourth training unit is used to train a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier;

[0026] A model building unit is used to build a vehicle driving scene recognition model based on the target feature extraction model, the target feature dimensionality reduction model and the target extreme learning machine classifier.

[0027] A third aspect of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the vehicle driving scene recognition model construction method described in any one of the first aspect of the present application.

[0028] A fourth aspect of the present application provides a computer-readable storage medium storing computer program instructions. When the computer program instructions are read and executed by a processor, the vehicle driving scene recognition model construction method described in any one of the first aspect of the present application is executed.

[0029] The beneficial effects of the present application are as follows: (1) The method and device can use improved feature extraction and dimensionality reduction techniques, combined with a classification algorithm optimized by a heuristic strategy, to significantly improve the generalization ability and accuracy of the model in autonomous driving scenarios;

[0030] (2) The method and device can also more accurately identify key information such as pedestrians, vehicles, road signs and road boundaries through effective feature processing and precise scene classification, providing reliable decision support for the autonomous driving system, thereby improving road safety and traffic efficiency;

[0031] (3) The method and device can also utilize data augmentation technology based on molecular dynamics simulation to reduce the reliance on large-scale real data collection and manual labeling, thereby reducing the cost of developing and training autonomous driving systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A schematic diagram of a process for constructing a vehicle driving scene recognition model provided in an embodiment of the present application;

[0034] Figure 2A flowchart of another method for constructing a vehicle driving scene recognition model provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of a process flow of a vehicle driving scene recognition method provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of the structure of a vehicle driving scene recognition model building device provided in an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the structure of another vehicle driving scene recognition model building device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0039] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0040] Example 1

[0041] Please see Figure 1 , Figure 1 A schematic flow chart of a method for constructing a vehicle driving scene recognition model provided in this embodiment. The method for constructing a vehicle driving scene recognition model includes:

[0042] S101. Collect multi-dimensional traffic environment information.

[0043] S102: classify and label the multi-dimensional traffic environment information to obtain labeling information.

[0044] S103: training a preset original data expansion model according to the annotation information to obtain a data expansion model.

[0045] In this embodiment, the present application proposes a generative adversarial network algorithm based on molecular dynamics simulation optimization, which can apply molecular dynamics simulation theory to the data generation process, and generate a data set close to the real-world distribution by simulating the dynamic changes of sensor data in a multi-source sensor detection environment. In addition, the present application also proposes a loss function based on convex optimization theory, which can more effectively guide the training of the generative model and the discriminative model to ensure that the generated data is of high quality.

[0046] S104: Perform data expansion processing on the labeled information through a data expansion model to obtain expanded data.

[0047] S105. Training the preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model.

[0048] In this embodiment, the method may input the expanded data into a feature extraction model to train the feature extraction model.

[0049] In this embodiment, the method proposes a neural network feature extraction model based on a multi-angle sparrow optimization algorithm. The model can utilize the diversity and flexibility of sparrow search strategies and optimize the weights and structures in the neural network by simulating the foraging, vigilance and flight behaviors of birds in the sparrow game, thereby extracting more effective features.

[0050] In addition, this method further improves the accuracy of the algorithm in processing data with complex dependencies through dynamic programming strategies, so that the target feature extraction model can take into account the continuity of contextual information in each step of optimization, thereby ensuring that the feature extraction process can more comprehensively capture the key features of the data.

[0051] S106. Perform feature extraction on the expanded data through a target feature extraction model to obtain feature data.

[0052] S107. Train a preset autoencoder neural network using feature data to obtain a target feature dimensionality reduction model.

[0053] In this embodiment, the method can input the extracted features into the feature dimensionality reduction model to train the feature dimensionality reduction model.

[0054] In this embodiment, the method proposes an autoencoder neural network based on conditional constraints. Different from the traditional autoencoder which only focuses on minimizing the difference between input and output, the autoencoder in this method adopts additional conditional constraints on this basis to ensure that the features after dimensionality reduction can better serve the specific needs of the autonomous driving decision-making process.

[0055] S108. Performing feature dimensionality reduction processing on the feature data through a target feature dimensionality reduction model to obtain reduced-dimensional feature data.

[0056] S109: training the preset original extreme learning machine classifier according to the dimension reduction feature data and the preset heuristic strategy to obtain a target extreme learning machine classifier.

[0057] In this embodiment, the method can input the reduced-dimensional features into a classifier to train the classifier.

[0058] In this embodiment, the method adopts an extreme learning machine classification algorithm based on a heuristic strategy, and adopts a heuristic strategy to dynamically adjust the number of hidden layer nodes of the extreme learning machine, as well as input weights and biases, so as to improve the generalization ability and accuracy of the model.

[0059] S110, constructing a vehicle driving scene recognition model based on a target feature extraction model, a target feature dimensionality reduction model and a target extreme learning machine classifier.

[0060] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.

[0061] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.

[0062] It can be seen that the vehicle driving scene recognition model construction method described in this embodiment can improve the scene recognition ability of the model in complex and changing environments based on data expansion, feature extraction and feature dimension reduction processing methods combined with the classification algorithm optimized by heuristic strategies, thereby providing reliable decision support for the automatic driving system and improving road safety and traffic efficiency.

[0063] Example 2

[0064] Please see Figure 2 , Figure 2 A schematic flow chart of a method for constructing a vehicle driving scene recognition model provided in this embodiment. The method for constructing a vehicle driving scene recognition model includes:

[0065] S201. Collect multi-dimensional traffic environment information.

[0066] In this embodiment, the method can collect multi-dimensional traffic environment information through vehicle-mounted radar or sensors, wherein the traffic environment information includes distance, speed, etc.

[0067] In this embodiment, the distance and speed data are stored as a continuous sequence of floating point numbers, and the point cloud data is stored as a set of points in a three-dimensional coordinate system, and each point represents a coordinate position in space. It should be emphasized that this is only a description of a data format and type in this application. In actual applications, the attributes of the data are usually more than 10 attributes, and the number of attributes of the data may reach dozens or even hundreds.

[0068] S202: classify and label the multi-dimensional traffic environment information to obtain labeling information.

[0069] In this embodiment, the method can annotate the collected data. For example, the annotated categories include: pedestrians, vehicles, road signs, road boundaries, etc.

[0070] S203: Obtain a preset original data expansion model, preset input noise data, and preset first training configuration data.

[0071] In this embodiment, the original data expansion model includes an original generation model and an original discrimination model; the first training configuration data includes at least an asynchronous update strategy, an initial value of the learning rate, a dynamic feedback adjustment algorithm of the learning rate, an adjustment factor, a dynamic adjustment algorithm of the adjustment factor, and a diversity index.

[0072] In this embodiment, an asynchronous update strategy is used, that is, updating the generation model and the discrimination model in parallel on different computing nodes. The adoption of this strategy can achieve the effect of optimizing training efficiency.

[0073] In this embodiment, the learning rate includes the learning rate of the generative model and the learning rate of the discriminative model, and the initial value of the learning rate may be 0.0002.

[0074] In this embodiment, the dynamic feedback adjustment algorithm of the learning rate is a feedback function, wherein the adjustment factor is the adjustment factor in the feedback function.

[0075] In this embodiment, the dynamic adjustment algorithm of the adjustment factor is used to dynamically adjust the adjustment factor according to the performance of the model on the validation set.

[0076] In this embodiment, the diversity index measurement (Diversity_Index) is used to measure the similarity between the distribution range of the generated data and the distribution range of the real data.

[0077] S204, respectively initialize the original generative model and the original discriminant model to obtain an initialized generative model and an initialized discriminant model.

[0078] S205 , asynchronously training the initialized generation model and the initialized discrimination model based on the input noise data, the annotation information and the first training configuration data to obtain a trained target generation model and a trained target discrimination model.

[0079] As an optional implementation, asynchronously training the initialized generation model and the initialized discrimination model based on the input noise data, the annotation information and the first training configuration data to obtain the trained target generation model and the trained target discrimination model includes:

[0080] Perform molecular dynamics simulation according to the initialization generation model and input noise data to obtain simulated sensing data;

[0081] The simulated sensor data and the labeled information are evaluated by initializing the discriminant model to obtain the evaluation results;

[0082] Calculate a first loss function for initializing the generative model and a second loss function for initializing the discriminative model according to the evaluation result;

[0083] According to the preset first training configuration data and the first loss function, the initialization generation model is trained to obtain the trained target generation model, and the initialization discrimination model is trained according to the first training configuration data and the second loss function to obtain the trained target discrimination model.

[0084] S206: Construct a data expansion model based on the target generation model and the target discrimination model.

[0085] For example, the data augmentation model is obtained by training the generative adversarial network algorithm based on molecular dynamics simulation optimization. The specific process can be as follows:

[0086] (1) Initialize the parameters of the generative model and the discriminative model. The generative model is responsible for generating new data, while the discriminative model attempts to distinguish the generated data from the real data. The initialization method is random initialization, and the random initialization value obeys the Gaussian distribution.

[0087] definition To generate the model, the parameters are given by express; is the discriminant model, and its parameters are given by At the same time, is the noise vector input to the generative model, is a real data sample, To generate the model based on the noise vector The generated data samples, , is the loss function for the generative model and the discriminative model.

[0088] (2) In each iteration, the generative model uses the current model parameters and input noise data to simulate the molecular dynamics process and generate new sensor data.

[0089] Specifically, the dynamic change of sensor data is simulated as a time series problem, where the generation of data can be regarded as the movement of particles in multidimensional space, and the noise vector is defined as At the initial time The state at the moment is , which in time The status is , obeys the following kinetic equation:

[0090]

[0091] in, is a parameterized nonlinear function, represented by the neural network It realizes and simulates the dynamic changes of sensor data in complex environments. The parameterized nonlinear function is the Sigmoid activation function.

[0092] in, The calculation method can be expressed as:

[0093]

[0094] in, is the Sigmoid activation function, and They are weight matrices, corresponding to the states and time The linear transformation part.

[0095] (3) Distinguish the data generated by the model evaluation and the real data, and calculate the loss value.

[0096] This method uses convex optimization theory to guide the update of model parameters. Specifically, the discriminant model The goal is to distinguish generated data from real data, and the loss function of the generated model is And the loss function of the discriminant model They are defined as:

[0097]

[0098]

[0099] in, is the distribution of the real data, is the noise distribution. Aims to maximize the ability of the discriminant model to distinguish between real data and generated data. Aims to minimize the probability that the generated data is identified by the discriminant model.

[0100] Furthermore, the expectation and By using sampling technology to approximate the calculation, it can be expressed as:

[0101]

[0102]

[0103] in, and are the number of samples sampled from the true data distribution and the noise distribution respectively.

[0104] (4) Using the back-propagation algorithm, the parameters of the generative model and the discriminative model are updated according to the gradient of the loss function.

[0105] Specifically, for the parameters of the discriminant model and the generative model and , the update rule can be expressed as:

[0106]

[0107]

[0108] in, and is the learning rate, and They are the loss functions and about and The gradient of and are the parameters of the updated discriminative model and generative model respectively.

[0109] (5) Repeat the above steps until a preset stop iteration condition is met. The preset stop iteration condition may be reaching a preset maximum number of iterations. Preferably, the preset maximum number of iterations is set to 1000 times.

[0110] In addition, in order to optimize the training efficiency, this method adopts an asynchronous update strategy, that is, updating in parallel on different computing nodes and At the same time, a dynamic feedback mechanism is used to adjust the learning rate and , based on the model performance of the current iteration, the adjustment of the learning rate is defined by the following feedback function:

[0111]

[0112]

[0113] in, and is the adjustment factor, and the learning rate and The initial setting is 0.0002.

[0114] Furthermore, the adjustment factor and The model is dynamically adjusted based on its performance on the validation set. The calculation method can be expressed as:

[0115]

[0116]

[0117] in, and is the adjustment rate, accuracy valid is the accuracy of the model on the validation set, target accuracy is the expected accuracy.

[0118] Furthermore, in order to ensure the diversity and authenticity of the generated data, this method uses the diversity index Diversity_Index in each training cycle to measure the similarity between the distribution range of the generated data and the distribution range of the real data. The calculation method can be expressed as:

[0119]

[0120] in, is the distribution that generated the data, is the number of evaluation samples. By minimizing the diversity index, the generative model is able to generate more diverse samples that cover the real data distribution.

[0121] S207: Perform data expansion processing on the labeled information through the data expansion model to obtain expanded data.

[0122] S208, obtaining a preset original feature extraction model and a multi-angle sparrow optimization algorithm.

[0123] S209. Randomly initialize the network weights and network structure of the original feature extraction model to obtain an initialized feature extraction model.

[0124] S210, defining an initial population size of a multi-angle sparrow optimization algorithm according to an initialization feature extraction model.

[0125] S211. Based on the multi-angle sparrow optimization algorithm, the initial population size and the expanded data, the initial feature extraction model is trained to obtain a trained target feature extraction model.

[0126] In this embodiment, the multi-angle sparrow optimization algorithm at least includes a dynamic programming strategy, a fitness function, and a crossover mutation algorithm.

[0127] In this embodiment, the dynamic programming strategy is to use the dynamic programming strategy to consider the historical information and current state of each individual sparrow to determine the optimal strategy for updating its position.

[0128] In this embodiment, the fitness function is used to evaluate the performance of each individual sparrow through the fitness function.

[0129] For example, the specific training process of the target feature extraction model is as follows:

[0130] (1) The weights and structures of the neural network are randomly initialized, and the population size based on the multi-angle sparrow optimization algorithm is defined, that is, the number of sparrow groups, and each sparrow individual represents a set of neural network weights and structures.

[0131] In this example, the neural network feature extraction model is a 3-layer fully connected neural network, and the sparrow population size is set to , each sparrow individual Corresponding to a set of neural network weights and structural parameters, the initial position Randomly generated, Among them, the population size Can be set to 50.

[0132] (2) Simulate the foraging behavior of individual sparrows in the solution space. Each individual updates its position according to the current environment (i.e., the current optimal solution) and its own position (i.e., the current weight and structure) to explore potential excellent solutions in the solution space. Specifically, the position update of each individual sparrow follows the following method:

[0133]

[0134] in, and Respectively and The location at the moment, is the step size coefficient, Based on individual Distance to food source (or global optimal position) function.

[0135] Among them, the distance function Represents individual sparrows The distance from the food source affects the factor, which can be expressed as:

[0136]

[0137] in, Is an individual At the moment The distance from the food source (global optimal position) can be calculated as:

[0138]

[0139] in, is the position of the current global optimal individual.

[0140] (3) Some sparrows in alert state are responsible for monitoring external threats (i.e., the trap of local optimal solution) and guiding other individuals to adjust their flight direction (i.e., adjust the update direction of weights and structures) to avoid falling into the local optimal solution. If an individual is in alert state, its position is updated as:

[0141]

[0142] in, is the current optimal individual position, is the current population average position, It is a control factor, which indicates the degree to which the individual approaches the optimal position and the average position of the population.

[0143] Furthermore, the control factor The calculation method of is based on the dynamic adjustment function of the individual's current state and environmental feedback, which can be expressed as:

[0144]

[0145] in, Represents the difference in fitness function value between the current individual and the global optimal individual.

[0146] (4) In each iterative update, the dynamic programming strategy is used to consider the historical information and current state of each sparrow individual to determine the optimal strategy for its position update, thereby ensuring that the feature extraction process can fully utilize the temporal dependencies and long-term characteristics in the data. The way to consider the historical optimal solution to guide the search direction can be expressed as:

[0147]

[0148] in, is the balancing factor, It is the optimal position in an individual's history.

[0149] Furthermore, the balance factor The calculation method can be expressed as:

[0150]

[0151] in, is the current iteration number, is the total number of iterations.

[0152] (5) The performance of each sparrow individual is evaluated by the fitness function. The fitness function is calculated based on the performance of the data in the classification task after feature extraction. The higher the fitness of the individual, the more likely the weight and structure combination it represents will be retained and passed on to the next generation.

[0153] Specifically, define the fitness function To evaluate individual The performance of the classification accuracy performance index can be expressed as:

[0154]

[0155] Among them, Accuracy (c i ) indicates that The accuracy of the neural network with parameters on the validation set is calculated by the preset Softmax classification function.

[0156] (6) Based on the fitness of individual sparrows, the natural selection and genetic diversity in biological evolution are simulated, and excellent individuals are selected for crossover and mutation operations to generate new individuals, which helps the algorithm to jump out of the local optimal solution and explore a wider solution space. The crossover and mutation operation process can be expressed as:

[0157]

[0158]

[0159] in, Indicates new individuals generated through genetic operations (selection, crossover, and mutation). Crossover() and mutation() represent crossover and mutation operations, respectively, which are used to generate new individuals. The crossover operation is implemented by partially exchanging parameters of two adjacent solutions, and the mutation operation is implemented by randomly setting some parameters.

[0160] (7) Repeat the above process until the preset number of iterations is reached, where the preset number of iterations may be 1000 times.

[0161] S212. Extract features from the expanded data using a target feature extraction model to obtain feature data.

[0162] S213: Obtain a preset autoencoding neural network and second training configuration data.

[0163] In this embodiment, the second training configuration data includes at least a conditionally constrained loss term, a loss function, a total loss function, a reconstruction error, and a parameter update algorithm for model parameters; the autoencoding neural network includes an encoder and a decoder.

[0164] In this embodiment, the conditionally constrained loss term is L_cond, which constrains the encoded feature Z according to specific requirements.

[0165] In this embodiment, the loss function For each feature after dimensionality reduction With its target value The loss function of the difference between .

[0166] In this embodiment, the encoder and decoder Parameters and The parameter is updated by the gradient descent method.

[0167] S214, initializing the autoencoding neural network to obtain an initialized autoencoding model.

[0168] S215. Train the initialized autoencoder model according to the second training configuration data and the feature data to obtain a target feature dimensionality reduction model.

[0169] For example, the target feature dimensionality reduction model is an autoencoder neural network based on conditional constraints, and its training process is as follows:

[0170] (1) Initialize the autoencoder model based on conditional constraints, including the weights and biases of the encoder and decoder. The initialization method is random initialization.

[0171] Assume that the data of the input feature dimensionality reduction model is ,in is the sample size, is the dimension of the data after feature extraction. Specifically, the autoencoder model based on conditional constraints proposed by this method consists of two parts: encoder and decoder ,in and Represent the parameters of the encoder and decoder respectively.

[0172] The purpose of the encoder is to map high-dimensional input data into a low-dimensional feature space, which can be expressed as:

[0173]

[0174] in, represents the features after dimensionality reduction, is the feature dimension after dimensionality reduction, satisfying .

[0175] (2) Setting conditional constraints. In order to enhance the sensitivity of pedestrian recognition, the weight of pedestrian features is increased by adjusting the loss function. Specifically, the loss term According to specific requirements, the encoded features Assuming that the autonomous driving requirement emphasizes the recognition of specific objects (such as pedestrians), the conditional constraint loss can be expressed as:

[0176]

[0177] in, It is the weight set according to the needs of autonomous driving; is the cross entropy loss function, is the target value for a specific feature; is a hyperparameter that adjusts the proportion of conditional constraint loss in the total loss. Preferably, is set to 0.5.

[0178] Further, For each feature after dimensionality reduction With its target value The loss function uses cross entropy as Specifically, for a specific question (such as whether a feature represents a pedestrian), the calculation method can be expressed as:

[0179]

[0180] in, is the true label, with a value of 0 or 1. is the model's predicted probability of the feature, through the encoder get.

[0181] (3) Under the premise of satisfying the conditional constraints, the encoder part is trained through forward propagation and back propagation to map the high-dimensional data to the low-dimensional feature space, which can be expressed as:

[0182]

[0183] in Represents the reconstructed data.

[0184] (4) The low-dimensional features are used to reconstruct the original data through the decoder, while optimizing the reconstruction error and the goal of satisfying the conditional constraints. Furthermore, through cyclic iterations, the parameters of the encoder and decoder are continuously adjusted until the model achieves the minimum reconstruction error under the preset conditional constraints. The training goal of the entire model is to minimize the combination of reconstruction error and conditional constraint loss. The total loss function is expressed as:

[0185]

[0186] in, is the reconstruction error. The reconstruction error used in the present invention is the mean square error, which can be expressed as:

[0187]

[0188] in, Represents the original data point Instead of reconstructing data points The square of the Euclidean distance between them can be expressed as:

[0189]

[0190] in, is the dimension of the input data, and They are and In the The value of the dimension.

[0191] Based on this, the training process is adjusted and To minimize , using the gradient descent method for optimization. Specifically, during the training process, the encoder and decoder Parameters and Updated by gradient descent. For the encoder, the parameter update rule is:

[0192]

[0193] For the decoder, the parameter update rule is:

[0194]

[0195] in, is the learning rate, and The total loss is right and gradient. and are the encoder and decoder parameters before updating, and are the updated encoder and decoder parameters respectively. Preferably, the learning rate is set to 0.001.

[0196] S216. Performing feature dimensionality reduction processing on the feature data through the target feature dimensionality reduction model to obtain reduced-dimensional feature data.

[0197] S217: Obtain a preset original extreme learning machine classifier, a heuristic strategy, and preset third training configuration data.

[0198] In this embodiment, the third training configuration data at least includes an initialization parameter algorithm, an overall loss function, and an output weight update algorithm, and the overall loss function includes a rule-constrained loss function and a conventional loss function.

[0199] S218. Initialize the original extreme learning machine classifier to obtain an initialized classifier.

[0200] S219. Setting the number of hidden layer nodes of the initialized classifier based on a heuristic strategy.

[0201] S220: training the initialized classifier according to the heuristic strategy, the third training configuration data and the dimension reduction feature data to obtain a target extreme learning machine classifier.

[0202] In this embodiment, the heuristic strategy at least includes an algorithm for adjusting the number of hidden layer nodes.

[0203] For example, the training process of the target extreme learning machine classifier is as follows:

[0204] (1) Randomly initialize the input weights and input biases of the extreme learning machine classifier, and set the number of hidden layer nodes according to the heuristic strategy. Specifically, the input weights of the extreme learning machine classifier are defined as ,in is the dimension of the input layer, corresponding to the number of features of the sensor data, is the number of nodes in the hidden layer; the input bias is The output weight is ,in, is the number of categories. Then the method of initializing parameters (i.e. the method of using the initialization parameter algorithm) can be expressed as:

[0205]

[0206]

[0207] in, It represents a random draw from a normal distribution with a mean of 0 and a standard deviation of 1;

[0208] and are the initial input weight and output weight respectively, is the initial bias.

[0209] (2) According to the heuristic strategy, the number of hidden layer nodes, input weights and biases are dynamically adjusted during the training process to adapt to the characteristics of the training data and the specific needs of autonomous driving. Specifically, the number of hidden layer nodes Dynamically adjust according to the complexity of the data to achieve better classification performance. Among them, the evaluation function is set To measure the model performance under the current number of nodes, it can be expressed as the following formula (i.e. the hidden layer node number adjustment algorithm):

[0210]

[0211] in, is the cross validation error, is the training data set after feature dimensionality reduction, is the number of hidden layer nodes after adjustment.

[0212] (3) Use additional rule constraints in the loss function to emphasize the recognition of key targets in autonomous driving, such as pedestrians and obstacles, optimize these rule constraints, and improve the performance of the classifier in the autonomous driving environment. Specifically, define an additional rule constraint loss function , the calculation method can be expressed as:

[0213]

[0214] in, According to the target The importance of setting the weight, Is the real label and predicted labels The loss between them, preferably, adopts the cross entropy loss function.

[0215] (4) Use the training data to train the extreme learning machine classifier and evaluate the performance of the model on an independent validation set to ensure that the classifier has good generalization ability. Specifically, the overall loss function is Combined with the conventional loss of extreme learning machine and rule-constrained loss , which can be expressed as:

[0216]

[0217] in, is the conventional loss of the extreme learning machine classifier, preferably, the cross entropy loss is used, is a hyperparameter that balances the two losses.

[0218] Furthermore, for the output weight , its update formula (output weight update algorithm) is:

[0219]

[0220] in, is the learning rate, yes right gradient.

[0221] (5) Repeat the above steps until a preset stop iteration condition is met, wherein the preset stop iteration condition is reaching a preset maximum number of iterations. Preferably, the preset maximum number of iterations is set to 1000 times.

[0222] S221. Construct a vehicle driving scene recognition model based on a target feature extraction model, a target feature dimensionality reduction model and a target extreme learning machine classifier.

[0223] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.

[0224] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.

[0225] It can be seen that the vehicle driving scene recognition model construction method described in this embodiment can propose a method of optimizing the generative adversarial network using molecular dynamics simulation theory, which can effectively simulate the dynamic changes of sensor data and generate high-quality data sets that are close to the real-world distribution.

[0226] At the same time, the neural network feature extraction of the multi-angle sparrow optimization algorithm can optimize the weights and structures in the neural network by simulating the diverse behaviors of sparrows. It uses a biologically inspired algorithm in feature extraction to improve the efficiency and accuracy of feature extraction.

[0227] In addition, the autoencoder model proposed by this method not only minimizes the difference between input and output, but also adopts additional conditional constraints to make the reduced-dimensional features more in line with the specific needs of the autonomous driving decision-making process, thereby improving the effectiveness and pertinence of feature dimensionality reduction.

[0228] Finally, this method can also enhance the generalization ability and accuracy of the model by dynamically adjusting the number of hidden layer nodes and their weights and biases, and adopting a heuristic strategy in classifier design.

[0229] Example 3

[0230] Please see Figure 3 , Figure 3 A schematic flow chart of a vehicle driving scene recognition method provided in this embodiment. The vehicle driving scene recognition method includes:

[0231] S301: deploying a vehicle driving scene recognition model on a target vehicle.

[0232] S302: Collect vehicle driving data of the target vehicle in real time.

[0233] S303: extracting features from the vehicle driving data using a target feature extraction model to obtain target features.

[0234] S304, performing feature dimensionality reduction on the target feature through a target feature dimensionality reduction model to obtain a target dimensionality reduction feature.

[0235] S305 , classifying the target dimensionality reduction features through a target extreme learning machine classifier to obtain a target classification result.

[0236] S306: Perform scene recognition according to the target classification result to obtain a driving scene category.

[0237] S307: Determine an autonomous driving strategy based on the driving scenario category.

[0238] S308. Control the target vehicle to perform corresponding operations according to the autonomous driving strategy.

[0239] In this embodiment, the method can use the trained model to make autonomous driving decisions.

[0240] In this embodiment, the method can perform feature processing on the newly collected data using the trained feature extraction model and feature dimension reduction model; then, the trained classifier is used for classification (such as dividing into four categories: pedestrians, vehicles, road signs, and road boundaries); and then, different types of decisions are made based on the different categories of scenes identified (for example, when a pedestrian is identified, measures such as slowing down or avoiding the vehicle can be taken).

[0241] In this embodiment, the execution subject of the method may be a computing device such as a computer or a server, and no limitation is made in this embodiment.

[0242] In this embodiment, the execution subject of the method may also be a smart device such as a smart phone, a tablet computer, etc., which is not limited in this embodiment.

[0243] It can be seen that the implementation of the vehicle driving scene recognition method described in this embodiment can perform accurate scene recognition in complex and changeable environments, thereby achieving reliable automatic driving control effects and improving road safety and traffic efficiency.

[0244] Example 4

[0245] Please see Figure 4 , Figure 4 Schematic diagram of the structure of a vehicle driving scene recognition model building device provided in this embodiment. Figure 4 As shown, the vehicle driving scene recognition model building device includes:

[0246] The first collection unit 410 is used to collect multi-dimensional traffic environment information;

[0247] A labeling unit 420, used to label the multi-dimensional traffic environment information by category to obtain labeling information;

[0248] A first training unit 430 is used to train a preset original data expansion model according to the annotation information to obtain a data expansion model;

[0249] A data expansion unit 440 is used to perform data expansion processing on the annotation information through a data expansion model to obtain expanded data;

[0250] The second training unit 450 is used to train the preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model;

[0251] A first feature extraction unit 460 is used to extract features from the expanded data using a target feature extraction model to obtain feature data;

[0252] The third training unit 470 is used to train the preset autoencoder neural network through the feature data to obtain a target feature dimension reduction model;

[0253] A first feature dimension reduction unit 480 is used to perform feature dimension reduction processing on the feature data through a target feature dimension reduction model to obtain dimension-reduced feature data;

[0254] A fourth training unit 490 is used to train a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier;

[0255] The model building unit 500 is used to build a vehicle driving scene recognition model based on a target feature extraction model, a target feature dimensionality reduction model and a target extreme learning machine classifier.

[0256] In this embodiment, the explanation of the vehicle driving scene recognition model building device can refer to the description in Example 1 or Example 2, and will not be further elaborated in this embodiment.

[0257] It can be seen that the vehicle driving scene recognition model construction device described in this embodiment can improve the scene recognition ability of the model in complex and changing environments based on the processing methods of data expansion, feature extraction and feature dimension reduction combined with the classification algorithm optimized by heuristic strategies, thereby providing reliable decision support for the automatic driving system and improving road safety and traffic efficiency.

[0258] Example 5

[0259] Please see Figure 5 , Figure 5Schematic diagram of the structure of a vehicle driving scene recognition model building device provided in this embodiment. Figure 5 As shown, the vehicle driving scene recognition model building device includes:

[0260] The first collection unit 410 is used to collect multi-dimensional traffic environment information;

[0261] A labeling unit 420, used to label the multi-dimensional traffic environment information by category to obtain labeling information;

[0262] A first training unit 430 is used to train a preset original data expansion model according to the annotation information to obtain a data expansion model;

[0263] A data expansion unit 440 is used to perform data expansion processing on the annotation information through a data expansion model to obtain expanded data;

[0264] The second training unit 450 is used to train the preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model;

[0265] A first feature extraction unit 460 is used to extract features from the expanded data using a target feature extraction model to obtain feature data;

[0266] The third training unit 470 is used to train the preset autoencoder neural network through the feature data to obtain a target feature dimension reduction model;

[0267] A first feature dimension reduction unit 480 is used to perform feature dimension reduction processing on the feature data through a target feature dimension reduction model to obtain dimension-reduced feature data;

[0268] A fourth training unit 490 is used to train a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier;

[0269] The model building unit 500 is used to build a vehicle driving scene recognition model based on a target feature extraction model, a target feature dimensionality reduction model and a target extreme learning machine classifier.

[0270] As an optional implementation, the first training unit 430 includes:

[0271] The first acquisition subunit 431 is used to acquire a preset original data expansion model, preset input noise data and preset first training configuration data; wherein the original data expansion model includes an original generation model and an original discrimination model; the first training configuration data at least includes an asynchronous update strategy, an initial value of a learning rate, a dynamic feedback adjustment algorithm of a learning rate, an adjustment factor, a dynamic adjustment algorithm of an adjustment factor, and a diversity index;

[0272] A first initialization subunit 432 is used to initialize the original generative model and the original discriminant model respectively to obtain an initialized generative model and an initialized discriminant model;

[0273] A first training subunit 433 is used to asynchronously train the initialized generation model and the initialized discriminant model based on the input noise data, the annotation information and the first training configuration data to obtain a trained target generation model and a trained target discriminant model;

[0274] The construction subunit 434 is used to construct a data expansion model according to the target generation model and the target discrimination model.

[0275] As an optional implementation, the first training subunit 433 includes:

[0276] A simulation module is used to perform molecular dynamics simulation according to the initialization generation model and input noise data to obtain simulated sensing data;

[0277] An evaluation module is used to evaluate the simulated sensor data and the labeled information by initializing the discriminant model to obtain an evaluation result;

[0278] A calculation module, used for calculating a first loss function for initializing the generation model and a second loss function for initializing the discrimination model according to the evaluation result;

[0279] The training module is used to train the initialization generation model according to the preset first training configuration data and the first loss function to obtain the trained target generation model, and to train the initialization discrimination model according to the first training configuration data and the second loss function to obtain the trained target discrimination model.

[0280] As an optional implementation, the second training unit 450 includes:

[0281] The second acquisition subunit 451 is used to acquire a preset original feature extraction model and a multi-angle sparrow optimization algorithm;

[0282] The second initialization subunit 452 is used to randomly initialize the network weights and network structure of the original feature extraction model to obtain an initialized feature extraction model;

[0283] A definition subunit 453 is used to define an initial population size of the multi-angle sparrow optimization algorithm according to the initialization feature extraction model;

[0284] The second training subunit 454 is used to train the initialized feature extraction model based on the multi-angle sparrow optimization algorithm, the initial population size and the expanded data to obtain a trained target feature extraction model; wherein the multi-angle sparrow optimization algorithm at least includes a dynamic programming strategy, a fitness function and a crossover mutation algorithm.

[0285] As an optional implementation, the third training unit 470 includes:

[0286] The third acquisition subunit 471 is used to acquire a preset autoencoder neural network and second training configuration data; wherein the second training configuration data at least includes a conditionally constrained loss term, a loss function, a total loss function, a reconstruction error, and a parameter update algorithm of a model parameter; the autoencoder neural network includes an encoder and a decoder;

[0287] The third initialization subunit 472 is used to initialize the autoencoder neural network to obtain an initialized autoencoder model;

[0288] The third training subunit 473 is used to train the initialized autoencoder model according to the second training configuration data and the feature data to obtain a target feature dimensionality reduction model.

[0289] As an optional implementation, the fourth training unit 490 includes:

[0290] The fourth acquisition subunit 491 is used to acquire a preset original extreme learning machine classifier, a heuristic strategy and a preset third training configuration data; wherein the third training configuration data at least includes an initialization parameter algorithm, an overall loss function and an output weight update algorithm, and the overall loss function includes a rule constraint loss function and a conventional loss function;

[0291] A fourth initialization subunit 492 is used to initialize the original extreme learning machine classifier to obtain an initialized classifier;

[0292] A setting subunit 493, used for setting the number of hidden layer nodes of the initialized classifier based on a heuristic strategy;

[0293] The fourth training subunit 494 is used to train the initialized classifier according to the heuristic strategy, the third training configuration data and the dimension reduction feature data to obtain the target extreme learning machine classifier; wherein the heuristic strategy at least includes a hidden layer node number adjustment algorithm.

[0294] As an optional implementation, the vehicle driving scene recognition model building device further includes:

[0295] A deployment unit 510, configured to deploy the vehicle driving scene recognition model on a target vehicle;

[0296] The second collection unit 520 is used to collect vehicle driving data of the target vehicle in real time;

[0297] A second feature extraction unit 530 is used to extract features from the vehicle driving data using a target feature extraction model to obtain target features;

[0298] The second feature dimension reduction unit 540 is used to perform feature dimension reduction on the target feature through the target feature dimension reduction model to obtain the target dimension reduction feature;

[0299] A classification processing unit 550 is used to classify the target dimension reduction features through a target extreme learning machine classifier to obtain a target classification result;

[0300] A scene recognition unit 560 is used to perform scene recognition according to the target classification result to obtain a driving scene category;

[0301] A determination unit 570, configured to determine an automatic driving strategy based on the driving scenario category;

[0302] The control unit 580 is used to control the target vehicle to perform corresponding operations according to the automatic driving strategy.

[0303] In this embodiment, the explanation of the vehicle driving scene recognition model building device can refer to the description in Example 1 or Example 2, and will not be further elaborated in this embodiment.

[0304] It can be seen that the vehicle driving scene recognition model construction device described in this embodiment can improve the scene recognition ability of the model in complex and changing environments based on the processing methods of data expansion, feature extraction and feature dimension reduction combined with the classification algorithm optimized by heuristic strategies, thereby providing reliable decision support for the automatic driving system and improving road safety and traffic efficiency.

[0305] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the vehicle driving scene recognition model construction method in embodiment 1 or embodiment 2 of the present application.

[0306] An embodiment of the present application provides a computer-readable storage medium storing computer program instructions. When the computer program instructions are read and executed by a processor, the vehicle driving scene recognition model construction method in Embodiment 1 or Embodiment 2 of the present application is executed.

[0307] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0308] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0309] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for constructing a vehicle driving scene recognition model, It is characterized in that include: Collect multi-dimensional traffic environment information; Performing category labeling on the multi-dimensional traffic environment information to obtain labeling information; Training a preset original data expansion model according to the annotation information to obtain a data expansion model; Performing data expansion processing on the labeled information through the data expansion model to obtain expanded data; Based on the expanded data and the multi-angle sparrow optimization algorithm, the preset original feature extraction model is trained to obtain a target feature extraction model; Performing feature extraction on the expanded data by using the target feature extraction model to obtain feature data; The preset autoencoder neural network is trained by using the feature data to obtain a target feature dimension reduction model; Performing feature dimensionality reduction processing on the feature data by using the target feature dimensionality reduction model to obtain reduced-dimensional feature data; Training a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier; Based on the target feature extraction model, the target feature dimensionality reduction model and the target extreme learning machine classifier, a vehicle driving scene recognition model is constructed; The step of training a preset original data expansion model according to the annotation information to obtain a data expansion model includes: Obtaining a preset original data expansion model, preset input noise data and preset first training configuration data; wherein the original data expansion model includes an original generation model and an original discrimination model; the first training configuration data includes at least an asynchronous update strategy, an initial value of a learning rate, a dynamic feedback adjustment algorithm of the learning rate, an adjustment factor, a dynamic adjustment algorithm of the adjustment factor, and a diversity index; Initializing the original generative model and the original discriminant model respectively to obtain an initialized generative model and an initialized discriminant model; Asynchronously training the initialized generation model and the initialized discrimination model based on the input noise data, the annotation information, and the first training configuration data to obtain a trained target generation model and a trained target discrimination model; Constructing a data expansion model according to the target generation model and the target discrimination model; The asynchronous training of the initialized generation model and the initialized discrimination model based on the input noise data, the annotation information and the first training configuration data to obtain the trained target generation model and the trained target discrimination model includes: Perform molecular dynamics simulation according to the initialization generation model and the input noise data to obtain simulated sensing data; Evaluate the simulated sensor data and the labeled information by using the initialization discriminant model to obtain an evaluation result; Calculate a first loss function of the initialized generation model and a second loss function of the initialized discrimination model according to the evaluation result; According to the preset first training configuration data and the first loss function, the initialization generation model is trained to obtain a trained target generation model, and according to the first training configuration data and the second loss function, the initialization discrimination model is trained to obtain a trained target discrimination model; Assume that the dynamic change of sensor data is simulated as a time series problem, where the generation of data can be regarded as the movement of particles in multidimensional space, and define the noise vector At the initial time The state at the moment is , which in time The status is , obeys the following kinetic equation: in, is a parameterized nonlinear function, represented by the neural network Realize,simulate the dynamic changes of sensor data in complex environments;,wherein, the parameterized nonlinear function is the Sigmoid activation function; in, The calculation method can be expressed as: in, is the Sigmoid activation function, and They are weight matrices, corresponding to the states and time The linear transformation part.

2. The vehicle driving scene recognition model construction method according to claim 1, It is characterized in that The method of training the preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model includes: Obtain the preset original feature extraction model and multi-angle sparrow optimization algorithm; Randomly initializing the network weights and network structure of the original feature extraction model to obtain an initialized feature extraction model; Defining an initial population size of a multi-angle sparrow optimization algorithm according to the initialization feature extraction model; The initialized feature extraction model is trained based on the multi-angle sparrow optimization algorithm, the initial population size and the expanded data to obtain a trained target feature extraction model; wherein the multi-angle sparrow optimization algorithm at least includes a dynamic programming strategy, a fitness function and a crossover mutation algorithm.

3. The vehicle driving scene recognition model construction method according to claim 1, It is characterized in that The step of training a preset autoencoder neural network through the feature data to obtain a target feature dimension reduction model includes: Obtaining a preset autoencoder neural network and second training configuration data; wherein the second training configuration data at least includes a total loss function and a parameter update algorithm for model parameters; the total loss function includes a conditionally constrained loss term and a reconstruction error, the conditionally constrained loss term includes a loss function, and the autoencoder neural network includes an encoder and a decoder; Initializing the autoencoding neural network to obtain an initialized autoencoding model; The initialized autoencoder model is trained according to the second training configuration data and the feature data to obtain a target feature dimensionality reduction model.

4. The vehicle driving scene recognition model construction method according to claim 1, It is characterized in that The step of training a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier includes: Obtaining a preset original extreme learning machine classifier, a heuristic strategy, and preset third training configuration data; wherein the third training configuration data at least includes an initialization parameter algorithm, an overall loss function, and an output weight update algorithm, and the overall loss function includes a rule-constrained loss function and a conventional loss function; Initializing the original extreme learning machine classifier to obtain an initialized classifier; Setting the number of hidden layer nodes of the initialized classifier based on the heuristic strategy; The initialized classifier is trained according to the heuristic strategy, the third training configuration data and the dimension reduction feature data to obtain a target extreme learning machine classifier; wherein the heuristic strategy at least includes an algorithm for adjusting the number of hidden layer nodes.

5. The vehicle driving scene recognition model construction method according to claim 1, It is characterized in that The method further comprises: Deploying the vehicle driving scene recognition model on a target vehicle; Collect vehicle driving data of the target vehicle in real time; Extracting features from the vehicle driving data using the target feature extraction model to obtain target features; Performing feature dimensionality reduction on the target feature through the target feature dimensionality reduction model to obtain a target dimensionality reduction feature; Classify the target dimensionality reduction features by the target extreme learning machine classifier to obtain a target classification result; Perform scene recognition according to the target classification result to obtain a driving scene category; Determining an autonomous driving strategy based on the driving scenario category; The target vehicle is controlled to perform corresponding operations according to the autonomous driving strategy.

6. A vehicle driving scene recognition model construction device, It is characterized in that The vehicle driving scene recognition model building device comprises: A first collection unit, used for collecting multi-dimensional traffic environment information; A labeling unit, used for labeling the multi-dimensional traffic environment information by category to obtain labeling information; A first training unit is used to train a preset original data expansion model according to the annotation information to obtain a data expansion model; A data expansion unit, used to perform data expansion processing on the annotation information through the data expansion model to obtain expanded data; A second training unit is used to train a preset original feature extraction model based on the expanded data and the multi-angle sparrow optimization algorithm to obtain a target feature extraction model; A first feature extraction unit, configured to extract features from the expanded data using the target feature extraction model to obtain feature data; A third training unit is used to train a preset autoencoder neural network through the feature data to obtain a target feature dimension reduction model; A first feature dimension reduction unit is used to perform feature dimension reduction processing on the feature data through the target feature dimension reduction model to obtain dimension-reduced feature data; A fourth training unit is used to train a preset original extreme learning machine classifier according to the dimension reduction feature data and a preset heuristic strategy to obtain a target extreme learning machine classifier; A model building unit, used to build a vehicle driving scene recognition model based on the target feature extraction model, the target feature dimensionality reduction model and the target extreme learning machine classifier; The first training unit includes: A first acquisition subunit is used to acquire a preset original data expansion model, preset input noise data and preset first training configuration data; wherein the original data expansion model includes an original generation model and an original discrimination model; the first training configuration data at least includes an asynchronous update strategy, an initial value of a learning rate, a dynamic feedback adjustment algorithm of a learning rate, an adjustment factor, a dynamic adjustment algorithm of an adjustment factor, and a diversity index; A first initialization subunit is used to initialize the original generation model and the original discriminant model respectively to obtain an initialized generation model and an initialized discriminant model; A first training subunit is used to asynchronously train the initialized generation model and the initialized discrimination model based on the input noise data, the annotation information and the first training configuration data to obtain a trained target generation model and a trained target discrimination model; A subunit is constructed to construct a data augmentation model according to a target generation model and a target discrimination model; Wherein, the first training subunit includes: A simulation module is used to perform molecular dynamics simulation according to the initialization generation model and input noise data to obtain simulated sensing data; An evaluation module is used to evaluate the simulated sensor data and the labeled information by initializing the discriminant model to obtain an evaluation result; A calculation module, used for calculating a first loss function for initializing the generation model and a second loss function for initializing the discrimination model according to the evaluation result; A training module, used to train the initialization generation model according to the preset first training configuration data and the first loss function to obtain a trained target generation model, and to train the initialization discrimination model according to the first training configuration data and the second loss function to obtain a trained target discrimination model; Assume that the dynamic change of sensor data is simulated as a time series problem, where the generation of data can be regarded as the movement of particles in multidimensional space, and define the noise vector At the initial time The state at the moment is , which in time The status is , obeys the following kinetic equation: in, is a parameterized nonlinear function, represented by the neural network Realize,simulate the dynamic changes of sensor data in complex environments;,wherein, the parameterized nonlinear function is the Sigmoid activation function; in, The calculation method can be expressed as: in, is the Sigmoid activation function, and They are weight matrices, corresponding to the states and time The linear transformation part.

7. An electronic device, It is characterized in that The electronic device comprises a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the vehicle driving scene recognition model construction method according to any one of claims 1 to 5.

8. A readable storage medium, It is characterized in that The readable storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the vehicle driving scene recognition model construction method according to any one of claims 1 to 5 is executed.