Method and apparatus for training decision-making model, device, medium and program product

By combining supervised learning and reinforcement learning, and using imitation learning loss and reinforcement learning loss to train decision-making models, the problem of difficulty and low robustness of decision-making model training in complex scenarios is solved, and decision-making model training with excellent performance and robustness is achieved.

WO2024212657A1PCT designated stage expired Publication Date: 2024-10-17YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/073076
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-10
Filing Date
2024-01-18
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Existing decision-making models are difficult to train in complex scenarios, requiring a large amount of expert data and the data is unevenly distributed, resulting in low robustness. Although the reinforcement learning model has strong generalization, it requires a carefully designed reward function, and its use efficiency is not high.

Method used

Combining supervised learning and reinforcement learning, the decision-making model is trained through imitation learning loss and reinforcement learning loss, adaptive weights are used to adjust the training process, and data distribution is dynamically adjusted to improve the performance of the decision-making model.

Benefits of technology

It achieves a human-like decision-making model with excellent training performance, which is suitable for complex scenarios such as autonomous driving, and improves the robustness and generalization ability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073076_17102024_PF_FP_ABST
    Figure CN2024073076_17102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to the field of computers, and provide a method and apparatus for training a decision-making model, a device, a medium and a program product. The method comprises: on the basis of training data, determining a first strategy by using a supervised learning model in a decision-making model, and determining a second strategy by using a reinforcement learning model in the decision-making model (510). The method further comprises: determining imitation learning loss on the basis of a difference between the first strategy and the second strategy (520). The method further comprises: training the decision-making model on the basis of the imitation learning loss and reinforcement learning loss corresponding to the second strategy (530). In this way, on the basis of both imitation learning loss and reinforcement learning loss, a decision-making model with excellent performance and human-like property is trained by combining the ability of supervised learning to use expert data with the characteristics of strong generalization of reinforcement learning. In some embodiments, according to the scheme of the present disclosure, a decision-making model applied to the field of autonomous driving can be trained to provide strategies such as lane changing.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device, medium, and program product for training a decision model

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 10, 2023, with application number 202310413264.9 and invention name “Methods, devices, equipment, media and program products for training decision models”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] Embodiments of the present disclosure generally relate to the field of computers. More specifically, embodiments of the present disclosure relate to methods, apparatuses, devices, computer-readable storage media, and computer program products for training decision models. Background Art

[0003] Currently, decision-making models using artificial intelligence are widely used in fields such as autonomous driving, recommendation decision management, and robotic control decision management. For example, in the field of autonomous driving, decision-making models can be used to determine driving behaviors such as lane changes and braking based on road conditions, thereby achieving autonomous driving. However, training decision-making models suitable for complex scenarios is relatively difficult. In some cases, it is necessary to collect large amounts of expert data to train decision-making models based on supervised learning. In other cases, decision-making models based on reinforcement learning require the construction of complex reward functions to learn from decision-making experience. Therefore, a solution for training decision-making models that are human-like and have excellent performance is needed.

[0004] Summary of the Invention

[0005] The embodiments of the present disclosure provide a solution for training a decision model.

[0006] In a first aspect of the present disclosure, a method for training a decision model is provided. The method comprises determining a first policy using a supervised learning model in the decision model and determining a second policy using a reinforcement learning model in the decision model based on training data; determining an imitation learning loss based on the difference between the first policy and the second policy; and training the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second policy.

[0007] In this way, by combining both imitation learning loss and reinforcement learning loss, we can combine supervised learning's ability to leverage expert data with reinforcement learning's strong generalization capabilities, thereby training a high-performance, human-like decision-making model. In some embodiments, the disclosed solutions can be used to train decision-making models for autonomous driving applications, such as providing strategies for lane changing.

[0008] In some embodiments of the first aspect, training the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second policy includes: determining an adaptive weight for the imitation learning loss; determining an overall learning loss based on the adaptive weight and the imitation learning loss and the reinforcement learning loss; and training the decision model by minimizing the overall learning loss.

[0009] In some embodiments of the first aspect, determining the adaptive weight for the imitation learning loss includes: determining an initial weight for the imitation learning loss; updating the initial weight based on a change in the imitation learning loss before reaching a predetermined training round to determine an updated weight; and gradually reducing the updated weight after reaching the predetermined round.

[0010] In some embodiments of the first aspect, updating the initial weight based on the change of the imitation learning loss includes: increasing the initial weight if the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round; and maintaining the initial weight if the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round.

[0011] In this way, based on adaptive weights, the reinforcement learning model can focus more on "imitating" human strategies in the early stages of training, and more on free exploration in the later stages of training, thereby obtaining a decision network that combines the advantages of both supervised learning and reinforcement learning.

[0012] In some embodiments of the first aspect, determining the imitation learning loss based on the difference between the first strategy and the second strategy includes: normalizing the first strategy and the second strategy; and determining the imitation learning loss based on the normalized distance between the first strategy and the second strategy.

[0013] In some embodiments of the first aspect, the method further includes: training the supervised learning model based on labeled expert data; determining the reasoning performance of the supervised learning model trained based on the expert data, the reasoning performance indicating the quality of the prediction strategy for each of a plurality of decision scenarios; and determining the data distribution in the training data corresponding to the plurality of decision scenarios based on the reasoning performance of the supervised learning model.

[0014] In some embodiments of the first aspect, the method further includes: determining an inference performance of the reinforcement learning model, the inference performance indicating a quality of a prediction strategy for each of a plurality of decision scenarios; updating a data distribution in the training data corresponding to the plurality of decision scenarios based on the inference performance of the reinforcement learning model to determine updated training data; and training the decision model based on the updated training data.

[0015] In this way, the data distribution in the training data for the decision-making scenario can be dynamically adjusted, thereby directionally improving the reasoning performance of the decision model for specific decision-making scenarios.

[0016] In some embodiments of the first aspect, the method further includes: generating at least a portion of the training data using a simulator. In some embodiments, generating data using the simulator includes: based on at least one of a policy or a random policy determined by the reinforcement learning model, generating, using the simulator, a behavior corresponding to the at least one of the policy or the random policy as at least a portion of the training data. In this way, the simulator can be used to increase the amount of training data.

[0017] In some embodiments of the first aspect, training the decision model includes: determining a supervised learning loss corresponding to the first policy; and training the decision model based on the imitation learning loss, the reinforcement learning loss, and the supervised learning loss.

[0018] In some embodiments of the first aspect, the method further includes: using the trained decision model or the trained reinforcement learning model to determine a driving strategy based on driving-related input data, the driving strategy including at least one of the following: changing left lanes, changing right lanes, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, and braking.

[0019] In a second aspect of the present disclosure, an apparatus for training a decision model is provided. The apparatus includes a policy determination unit configured to determine a first policy based on training data using a supervised learning model in the decision model and to determine a second policy based on a reinforcement learning model in the decision model; a loss determination unit configured to determine an imitation learning loss based on a difference between the first policy and the second policy; and an optimization unit configured to train the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second policy.

[0020] In some embodiments of the second aspect, the optimization unit is further configured to: determine an adaptive weight for the imitation learning loss; determine an overall learning loss based on the adaptive weight and the imitation learning loss and the reinforcement learning loss; and train the decision model by minimizing the overall learning loss.

[0021] In some embodiments of the second aspect, the optimization unit is further configured to: determine an initial weight for the imitation learning loss; before reaching a predetermined training round, update the initial weight based on a change in the imitation learning loss to determine an updated weight; and after reaching the predetermined round, gradually reduce the updated weight.

[0022] In some embodiments of the second aspect, the optimization unit is further configured to: increase the initial weight if the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round; and maintain the initial weight if the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round.

[0023] In some embodiments of the second aspect, the device also includes a training data determination unit, which is configured to: train the supervised learning model based on labeled expert data; determine the reasoning performance of the supervised learning model trained based on the expert data, wherein the reasoning performance indicates the quality of the prediction strategy for each decision scenario in a plurality of decision scenarios; and determine the data distribution in the training data corresponding to the plurality of decision scenarios based on the reasoning performance of the supervised learning model.

[0024] In some embodiments of the second aspect, the apparatus further comprises a simulator utilizing unit configured to: utilize a simulator to generate at least a portion of the training data. In some embodiments of the second aspect, the simulator utilizing unit is further configured to: based on at least one of a policy or a random policy determined by the reinforcement learning model, utilize the simulator to generate a behavior corresponding to the at least one of the policy or the random policy as at least a portion of the training data.

[0025] In some embodiments of the second aspect, the device also includes a directed optimization unit, which is configured to: determine the reasoning performance of the reinforcement learning model, wherein the reasoning performance indicates the quality of the prediction strategy for each decision scenario in a plurality of decision scenarios; based on the reasoning performance of the reinforcement learning model, update the data distribution corresponding to the plurality of decision scenarios in the training data to determine updated training data; and train the decision model based on the updated training data.

[0026] In some embodiments of the second aspect, the loss determination unit is further configured to: normalize the first strategy and the second strategy; and determine the imitation learning loss based on the normalized distance between the first strategy and the second strategy.

[0027] In some embodiments of the second aspect, the optimization unit is further configured to: determine a supervised learning loss corresponding to the first strategy; and train the decision model based on the imitation learning loss, the reinforcement learning loss, and the supervised learning loss.

[0028] In some embodiments of the second aspect, the device further includes a decision model utilization unit, which is configured to: utilize the trained decision model or the trained reinforcement learning model to determine a driving strategy based on driving-related input data, wherein the driving strategy includes at least one of the following: changing left lanes, changing right lanes, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, and braking.

[0029] In a third aspect of the present disclosure, an electronic device is provided, comprising: at least one computing unit; and at least one memory, the at least one memory being coupled to the at least one computing unit and storing instructions for execution by the at least one computing unit, the instructions, when executed by the at least one computing unit, enabling the device to implement the method provided in the first aspect.

[0030] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program is executed by a processor to implement the method provided in the first aspect.

[0031] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer executable instructions, which implement part or all of the steps of the method of the first aspect when the instructions are executed by a processor.

[0032] It is understandable that the electronic device of the third aspect, the computer storage medium of the fourth aspect, or the computer program product of the fifth aspect provided above is used to perform at least a portion of the method provided in the first aspect. Therefore, the explanation or description of the first aspect also applies to the second, third, fourth, and fifth aspects. In addition, the beneficial effects that can be achieved in the second, third, fourth, and fifth aspects can refer to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0034] FIG1 illustrates a schematic diagram of an example environment in which various embodiments of the present disclosure can be implemented;

[0035] 2A and 2B are schematic diagrams illustrating an example process of training a decision model according to some embodiments of the present disclosure;

[0036] FIG3 is a schematic diagram showing an example process of training a decision model in stages according to some embodiments of the present disclosure;

[0037] FIG4 shows a flowchart of an example process of training a decision model based on a decision scenario according to some embodiments of the present disclosure;

[0038] FIG5 shows a flowchart of a process of an example method for training a decision model according to some embodiments of the present disclosure;

[0039] FIG6 shows a schematic block diagram of an apparatus for training a decision model according to some embodiments of the present disclosure; and

[0040] FIG7 illustrates a block diagram of a computing device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION

[0041] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0042] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to." The term "based on" should be understood as "based at least in part on." The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The terms "first," "second," etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0043] As briefly mentioned above, decision models suitable for complex scenarios are difficult to train. In some examples, using supervised learning to train decision models often requires collecting a large amount of expert data so that the decision model can imitate human behavior, thereby obtaining a human-like decision model. In addition, due to the differences in behavior of different experts, the distribution of training data is usually uneven. Furthermore, expert data generally does not contain negative samples, and the data scenarios are limited, resulting in low robustness of the decision model and potential safety hazards. In other examples, although using reinforcement learning to train decision models can be independent of expert data and have strong generalization, this method requires the careful design of the reward function to train the decision model.

[0044] Currently, several approaches have been proposed that combine supervised learning and reinforcement learning to train decision-making models. For example, supervised learning can be used to train the feature extractor in the decision-making model, and the feature vectors obtained by the feature extractor can be used as input to the reinforcement learning model. In this approach, the feature extractor trained by supervised learning can obtain relatively accurate low-dimensional features, thereby reducing the amount of data and time required for reinforcement learning. However, the reinforcement learning model in this approach cannot utilize the human strategies contained in the expert data, making inefficient use of expert data.

[0045] In order to at least partially solve the above problems and other potential problems, various embodiments of the present disclosure provide a scheme for training a decision model. In general, according to the various embodiments described herein, a method for training a decision model is provided. The method includes: based on training data, determining a first strategy using a supervised learning model in the decision model and determining a second strategy using a reinforcement learning model in the decision model. The method also includes determining an imitation learning loss based on the difference between the first strategy and the second strategy. The method also includes training the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy.

[0046] In this way, by combining both imitation learning loss and reinforcement learning loss, we can combine supervised learning's ability to leverage expert data with reinforcement learning's strong generalization capabilities, thereby training a high-performance, human-like decision-making model. In some embodiments, the disclosed solutions can be used to train a decision-making model suitable for autonomous driving, providing strategies such as lane changing.

[0047] Various exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings. FIG1 illustrates a schematic diagram of an exemplary environment 100 in which various exemplary embodiments of the present disclosure can be implemented. FIG1 illustrates an exemplary environment in which the solution for training a decision model according to the present disclosure can be applied, taking the autonomous driving field as an example.

[0048] Autonomous driving technology generally includes three aspects: road information perception and reasoning, behavioral decision-making, and path planning. As shown in Figure 1, the perception module 110 can process the original radar and camera information of the road and surrounding vehicles into road and vehicle information with physical meaning. The decision module 120 can determine the upper-level decision-making behavior, such as lane changing, overtaking, left turning, etc. based on the perceived road and vehicle information. Specifically, the decision module 120 can use the decision model 125 to determine the decision-making behavior, that is, the strategy. Examples of strategies may include changing left lanes, changing right lanes, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, braking, etc. Based on the determined strategy, the planning module 130 can plan a path to control the steering wheel and brake accelerator of the vehicle to achieve the upper-level decision-making behavior.

[0049] In some embodiments, the apparatus for training a decision model according to the present disclosure may be deployed on a vehicle having computing capabilities, such as a vehicle equipped with a computer system. The apparatus for training a decision model according to the present disclosure may train a decision model 125 based on data collected from a vehicle and / or a simulation environment based on a real vehicle. The executable code of the perception module 110, the decision module 120 (including the decision model 125), and the planning module 130 may be stored on a storage component of the vehicle and may be executed by a computing device of the vehicle, such as a processor, to implement the functions of training and / or applying the decision model. Additionally or alternatively, the apparatus for training a decision model according to the present disclosure may be deployed in a distributed manner, for example, at least partially on a remote server. It should be understood that the environment 100 shown in FIG. 1 is merely exemplary and does not constitute a limitation on the scope of the present disclosure. The scheme for training a decision model according to the present disclosure may be applied to other fields such as recommendation decision management.

[0050] Figure 2A shows a schematic diagram of an example process 200 for training a decision model according to some embodiments of the present disclosure. As shown in Figure 2A, training data 201 is used to train a decision model 210. In some embodiments, the training data 201 may include annotated expert data, such as behavioral data collected from human drivers and corresponding environmental data. Additionally or alternatively, the training data 201 may include data generated by a simulator. The simulator may simulate and determine the behavioral data based on the environmental data. The environmental data may include, for example, offline data extracted from a map. Additionally or alternatively, the environmental data may include online data dynamically simulated based on the vehicle's real-world environment. In some examples, the simulator may utilize a random strategy or a strategy generated by a reinforcement learning model to determine the corresponding behavioral data. It should be understood that unreasonable behaviors may be included in the training data generated by the simulator. These behaviors can be used as negative sample data to improve the robustness of the decision model 210.

[0051] As shown in FIG2A , decision model 210 includes a supervised learning model 212 and a reinforcement learning model 214. The supervised learning model can be any suitable model based on supervised learning, such as a Transformer model, a decision tree model, etc. The reinforcement learning model 214 can be any suitable model based on reinforcement learning, such as a Q-learning model, a Monte Carlo model, etc. The scope of the present disclosure is not limited in terms of the specific model implementation.

[0052] Based on training data 201, supervised learning model 212 in decision model 210 determines first strategy 222, and reinforcement learning model 214 determines second strategy 224. It should be understood that first strategy 222 and second strategy 224 are derived based on the same input data in training data 201. Therefore, the difference between first strategy 222 and second strategy 224 can reflect the difference in decision-making between supervised learning model 212 and reinforcement learning model 214 based on the same input data. It should be understood that supervised learning model 212 can generally utilize more human experience than reinforcement learning model 214 when making decisions, while reinforcement learning model 214 is more exploratory than supervised learning model 212.

[0053] In some embodiments, the supervised learning model 212 that determines the first policy 222 may be trained. In other words, the parameters of the supervised learning model 212 have been determined based on labeled expert data and are no longer updated during the training process shown in FIG2 . Alternatively, the supervised learning model 212 that determines the first policy 222 may be trained together with the reinforcement learning model 214, and the parameters of the supervised learning model 212 are updated during the training process shown in FIG2 .

[0054] Based on the difference between the first policy 222 and the second policy 224, the policy distillation module 230 determines the imitation learning loss 242. The imitation learning loss 242 can reflect the degree to which the reinforcement learning model 214 "imitates" the decision-making of the supervised learning model 212. For example, if the imitation learning loss 242 is small, the reinforcement learning model 214 "imitates" the supervised learning model 212 to a higher degree when making decisions. This can also be understood as the reinforcement learning model 214 "imitating" the human policy contained in the expert data. On the contrary, if the imitation learning loss 242 is large, the reinforcement learning model 214 "imitates" the supervised learning model 212 to a lower degree when making decisions. Based on the imitation learning loss 242 determined by the policy distillation module 230, the reinforcement learning model 214 can "distill" the policy determined by the supervised learning model 212, thereby learning the human experience in the expert data.

[0055] In some embodiments, depending on the specific implementation of the supervised learning model 212 and the reinforcement learning model 214, the policy distillation module 230 can normalize the first policy 222 and the second policy 224, and can determine the imitation learning loss 242 based on the distance between the normalized first policy 222 and the second policy 224.

[0056] In some examples, the first policy 222 output by the supervised learning model 212 may be a probability distribution of behaviors, such as (0.6, 0.4, 0), where each value represents the probability of a behavior. The second policy 224 output by the reinforcement learning model 214 may be a similar probability distribution or a value of (state, behavior). If the second policy 224 is a similar probability distribution, the policy distillation module 230 may determine the imitation learning loss 242 based on the vector distance between the first policy 222 and the second policy 224. If the second policy 224 is a value of (state, behavior), the policy distillation module 230 may normalize the value using a softmax function and calculate the distance between the first policy 222 and the second policy 224 by relative entropy (KL divergence) to obtain the imitation learning loss 242.

[0057] Based on the determined imitation learning loss 242 and the reinforcement learning loss 244 corresponding to the second policy 224, the optimization module 250 trains (also referred to as optimizes) the decision model 210. Depending on the specific implementation of the reinforcement learning model 214, the reinforcement learning loss 244 can be determined based on any suitable loss function, and the scope of the present disclosure is not limited thereto.

[0058] The optimization module 250 trains the decision model 210 or only the reinforcement learning model 214 in the decision model 210 by minimizing the combination of the imitation learning loss 242 and the reinforcement learning loss 244. In some embodiments, the optimization module 250 may determine an adaptive weight for the imitation learning loss 242 and determine an overall learning loss based on the adaptive weight and the imitation learning loss 242 and the reinforcement learning loss 244. The optimization module 250 may train the decision model 210 by minimizing the overall learning loss. For example, the overall learning loss L may be determined with reference to the following formula (1). L = α * loss kl +loss rl (1)

[0059] Among them, loss kl Indicates imitation learning loss 242, loss rlRepresents the reinforcement learning loss 244, and α represents the adaptive weight for the imitation learning loss 242. It should be understood that the above formula (1) is only exemplary and does not constitute a limitation of the present disclosure. For example, the adaptive weight may include two weights for both the imitation learning loss 242 and the reinforcement learning loss 244, and may not be embodied in the form of a coefficient.

[0060] In some embodiments, the optimization module 250 may determine initial weights for the imitation learning loss 242 and determine adaptive weights through gradual updates. In some embodiments, the optimization module 250 may update the initial weights based on changes in the imitation learning loss 242 before reaching a predetermined training round to determine updated weights. The optimization module 250 may gradually reduce the updated weights after reaching the predetermined round.

[0061] In some examples, if the imitation learning loss 242 increases before a predetermined training round, the initial weight can be increased. For example, if the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round, the initial weight can be increased. In some examples, the formula α can be used to refer to n =1.1*α n-1 To increase the weight, where α n represents the adaptive weight of the nth round and α n-1 Represents the adaptive weight of the n-1th round.

[0062] On the contrary, if the imitation learning loss 242 decreases, the initial weights can be kept unchanged. For example, if the imitation learning loss 242 of the initial training round is greater than the imitation learning loss 242 of the subsequent training rounds, the initial weights can be kept. In some examples, after reaching the predetermined number of training rounds N, the formula To gradually reduce the weight. According to this formula, the adaptive weight α n It will be reduced to zero in the 2Nth round.

[0063] FIG2B illustrates a schematic diagram of an example process 260 for training a decision model according to some embodiments of the present disclosure. In FIG2B , the supervised learning model 212 that determines the first policy 222 may be trained together with the reinforcement learning model 214, and the parameters of the supervised learning model 212 are updated during the training process shown in FIG2 . In some embodiments, a supervised learning loss 262 corresponding to the first policy 222 may be determined, and the decision model 210 may be trained together based on the imitation learning loss 242, the reinforcement learning loss 244, and the supervised learning loss 262.

[0064] Utilizing processes 200 and 260, based on both imitation learning loss 242 and reinforcement learning loss 244, it is possible to combine the ability of supervised learning to leverage expert data with the strong generalization characteristics of reinforcement learning, thereby training a decision model 210 with excellent performance and human-like behavior. Furthermore, utilizing adaptive weights allows reinforcement learning model 214 to prioritize "imitation" of the strategy determined by supervised learning model 212 in the early stages of training and prioritize autonomous exploration in the later stages of training, thereby improving the efficiency of training decision model 210, particularly reinforcement learning model 214.

[0065] Figure 3 shows a schematic diagram of an example process 300 for training a decision model in stages according to some embodiments of the present disclosure. It should be understood that Figure 3 uses the autonomous driving field as an example only and does not limit the scope of the present disclosure. As shown in Figure 3, in the data collection stage 310, expert data and non-expert data can be collected. Expert data can include data collected directly from humans, such as data obtained from the interaction between human experts and the environment. In the field of autonomous driving, expert data can be collected by collecting the driver's control behavior of the vehicle. Non-expert data can include data generated directly by non-humans. For example, non-expert data can be collected through a simulator. The simulator can simulate the vehicle's environment and apply a policy in this environment to generate vehicle behavior as non-expert data. The simulator can apply a random policy or a policy generated by a decision model to generate vehicle behavior corresponding to the policy. In particular, the simulator can apply the policy output by a reinforcement learning model online to generate non-expert data.

[0066] In the feature extraction stage 320, feature extraction can be performed on the collected expert and non-expert data to obtain preprocessed training data. For example, environmental data and behavioral data can be converted into corresponding vector representations. In the data selection stage 330, specific data can be selected from the collected data for use in training the decision model in the training stage 340. For example, data for a specific decision scenario can be selected from the collected data as training data for the decision model, thereby improving the decision model's performance for that specific decision scenario.

[0067] In some embodiments, a supervised learning model within a decision model can be trained using labeled expert data and then tested on a test set to determine the reasoning performance of the supervised learning model trained on the expert data. This reasoning performance can indicate the quality of the prediction strategy for each of multiple decision scenarios. For example, the reasoning performance of the supervised learning model can indicate the quality of the prediction strategy for lane changing, braking, and turning scenarios, respectively.

[0068] Based on the obtained inference performance, a data selection module can be used to select training data from the collected data for training a decision model or reinforcement learning model. Based on the inference performance of the supervised learning model, the data selection module can determine the distribution of data corresponding to multiple decision scenarios in the training data. For example, for a specific decision scenario with poor prediction strategy quality, data from that decision scenario can be added to the training data to specifically improve the inference performance of the decision model.

[0069] Additionally or alternatively, the training data may be updated based on the reasoning performance of the reinforcement learning model to target and improve the reasoning performance of the decision model in subsequent training rounds. Specifically, the reasoning performance of the reinforcement learning model obtained through previous training may be determined, where the reasoning performance indicates the quality of the prediction strategy for each of a plurality of decision scenarios. Based on the reasoning performance of the reinforcement learning model, the data distribution corresponding to the plurality of decision scenarios in the training data may be updated to determine updated training data. Based on the updated training data, the decision model may be further trained to improve the reasoning performance of the decision model for a particular decision scenario.

[0070] In the training phase 340, as described above with reference to FIG2 , the decision model can be trained using a combination of supervised learning and reinforcement learning. Specifically, policy distillation can be used to cause the reinforcement learning model to "mimic" the decision-making methods of the supervised learning model, thereby inheriting the policy learned through supervised learning. Furthermore, the degree of "mimicry" can be adjusted based on adaptive weights, so that the reinforcement learning model mimics the policy learned by the supervised learning model more at the beginning of training and gradually reduces the degree of mimicry, thereby increasing the generalization of the decision model.

[0071] In some embodiments, the training phase 340 may include an offline training phase and an online training phase. In the offline training phase, the supervised learning model may be trained based on expert data. In the online training phase, the policy output by the reinforcement learning model may be applied to a simulator to generate non-expert data. This non-expert data may be used as part of the training data and further trained in subsequent training rounds. In this way, the simulator may be utilized to increase the amount of training data, and the amount of training data may be increased for specific decision-making scenarios, thereby more efficiently training the decision model.

[0072] FIG4 shows a flowchart of an example process 400 for training a decision model based on a decision scenario according to some embodiments of the present disclosure. Referring to FIG4 , the application of the solution for training a decision model according to the present disclosure in the field of autonomous driving will be described below. The device for training the decision model can be deployed on the vehicle, and the training data can be determined by collecting the operating behavior of the human driver and the simulation of the simulator. The trained decision model can determine strategies in a variety of decision scenarios. Examples of decision scenarios may include: decision scenarios requiring left lane change, right lane change, and straight driving, respectively. Using the trained decision model, when there is an obstacle vehicle or a slow vehicle ahead, the appropriate target lane can be selected according to the current overall road conditions, such as issuing a left lane change, right lane change, or straight driving instruction to maximize traffic efficiency. The process of training the decision model will be described in detail below.

[0073] As shown in Figure 4, at block 402, the decision model can be initialized. Parameters for the supervised learning model and reinforcement learning model, such as the neural network dimensions and activation functions, can be initialized. Additionally or alternatively, parameters related to the decision task can be input, such as the behavior dimensions. In some examples, the behavior dimensions can be set to 3, representing left lane changes, right lane changes, and going straight. Additionally or alternatively, adaptive weights and parameters for updating the weights, such as the predetermined number of training rounds N, can be initialized.

[0074] At block 404, it may be determined whether the supervised learning model requires training. In some embodiments, if the supervised learning model requires training, process 400 may proceed to block 406 to train the supervised learning model using expert data. At block 406, any feasible supervised learning loss function may be used to train the supervised learning model. Examples of supervised learning loss functions include, but are not limited to, mean square error and cross entropy.

[0075] If, instead, the trained supervised learning model can be directly utilized, process 400 may proceed to block 408. At block 408, the data selection module may test the supervised learning model's reasoning performance and, based on the reasoning performance, determine the data distribution for a specific decision scenario (also referred to as determining a data scenario). In some embodiments, decision scenarios corresponding to a left lane change, a right lane change, and driving straight may be provided. The data selection module may adjust the distribution of training data for the next training round based on the supervised learning model's predicted policy quality for these decision scenarios.

[0076] For example, if a supervised learning model performs poorly in a particular decision scenario, the proportion of data for that decision scenario can be increased in the training data. As a non-limiting example, adjustments can be made by increasing the data by 10% for every 10% decrease in the pass rate, with a minimum adjustment of 10%. For example, if the pass rates for decision scenarios requiring left lane changes, right lane changes, and going straight are 80%, 80%, and 50%, respectively, the proportion of data for the going straight scenario can be increased, and the data proportions for these three decision scenarios can be determined to be 100%:100%:130%.

[0077] In blocks 410 to 420, the decision model (or only the reinforcement learning model) may be trained based on the determined training data. Specifically, in block 410, the policy distillation module may calculate an imitation learning loss. The policy distillation module may determine the imitation learning loss based on the difference between the first policy output by the supervised learning model and the second policy output by the reinforcement learning model. In block 412, the reinforcement learning loss may be calculated. For example, a Q-value learning method may be used to calculate the reinforcement learning loss.

[0078] At block 414, the adaptive weight module may calculate an overall learning loss based on the imitation learning loss and the reinforcement learning loss. For example, the overall learning loss may be calculated with reference to equation (1). At block 416, the reinforcement learning model may be trained based on the overall learning loss. At block 418, it may be determined whether the training has converged. If not, process 400 may return to block 410 for the next round of training.

[0079] Conversely, if the training has converged, process 400 may proceed to block 420. At block 420, it may be determined whether the reasoning performance of the reinforcement learning decision model meets the requirements. If the reasoning performance meets the requirements, training may be terminated at block 422. Conversely, if the reasoning performance does not meet the requirements, process 400 may proceed to block 425. At block 425, the data selection module may select data scenarios based on the reasoning performance of the reinforcement learning model, thereby adjusting the data distribution in the training data. For example, if the pass rate for decision scenarios requiring left lane changes, right lane changes, and going straight increases from 80%, 80%, and 50% to 80%, 80%, and 60%, the data ratio for decision scenarios requiring left lane changes, right lane changes, and going straight may be reduced from 100%:100%:130% to 100%:100%:120%.

[0080] Using process 400, supervised learning and reinforcement learning can be combined to train a high-performance, human-like decision model. Furthermore, based on the reasoning performance of the supervised learning model and / or reinforcement learning model, the data distribution in the training data can be adjusted for specific decision scenarios. This allows the decision model to be trained based on the decision scenario, thereby specifically improving the reasoning performance of the decision model.

[0081] FIG5 illustrates a flowchart of a process 500 for an example method of training a decision model according to some embodiments of the present disclosure. At block 510, a supervised learning model within the decision model is used to determine a first policy based on training data, and a reinforcement learning model within the decision model is used to determine a second policy. At block 520, an imitation learning loss is determined based on the difference between the first and second policies. At block 530, the decision model is trained based on the imitation learning loss and the reinforcement learning loss corresponding to the second policy.

[0082] In some embodiments, based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy, training the decision model includes: determining an adaptive weight for the imitation learning loss; determining an overall learning loss based on the adaptive weight and the imitation learning loss and the reinforcement learning loss; and training the decision model by minimizing the overall learning loss.

[0083] In some embodiments, determining the adaptive weight for the imitation learning loss includes: determining an initial weight for the imitation learning loss; updating the initial weight based on changes in the imitation learning loss before reaching a predetermined training round to determine an updated weight; and gradually reducing the updated weight after reaching the predetermined round.

[0084] In some embodiments, updating the initial weight based on the change of the imitation learning loss includes: increasing the initial weight if the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round; and maintaining the initial weight if the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round.

[0085] In some embodiments, the method further includes: training the supervised learning model based on labeled expert data; determining the reasoning performance of the supervised learning model trained based on the expert data, wherein the reasoning performance indicates the quality of the prediction strategy for each decision scenario in a plurality of decision scenarios; and determining the data distribution in the training data corresponding to the plurality of decision scenarios based on the reasoning performance of the supervised learning model.

[0086] In some embodiments, determining the imitation learning loss based on the difference between the first strategy and the second strategy includes: normalizing the first strategy and the second strategy; and determining the imitation learning loss based on the normalized distance between the first strategy and the second strategy.

[0087] In some embodiments, the method further comprises: generating at least a portion of the training data using a simulator. In some embodiments, generating data using the simulator comprises: based on at least one of a policy or a random policy determined by the reinforcement learning model, generating, using the simulator, a behavior corresponding to the at least one of the policy or the random policy as at least a portion of the training data.

[0088] In some embodiments, the method further includes: determining the reasoning performance of the reinforcement learning model, the reasoning performance indicating the quality of the prediction strategy for each of a plurality of decision scenarios; updating the data distribution corresponding to the plurality of decision scenarios in the training data based on the reasoning performance of the reinforcement learning model to determine updated training data; and training the decision model based on the updated training data.

[0089] In some embodiments, training the decision model includes: determining a supervised learning loss corresponding to the first strategy; and training the decision model based on the imitation learning loss, the reinforcement learning loss, and the supervised learning loss.

[0090] In some embodiments, the method further includes: utilizing the trained decision model or the trained reinforcement learning model to determine a driving strategy based on driving-related input data, wherein the driving strategy includes at least one of the following: changing lanes left, changing lanes right, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, and braking.

[0091] According to the disclosed solution, decision-making models can be trained by combining the advantages of supervised learning and reinforcement learning. For example, a supervised learning model can be first trained using offline expert data to obtain a human-like expert model. Then, the expert model's policy can be inherited through the policy distillation module as the initial solution for the reinforcement learning model. Furthermore, using the data selection module, targeted improvements can be achieved based on the expert model's policy for specific decision-making scenarios, resulting in a human-like decision-making model with excellent performance.

[0092] Example devices and equipment

[0093] FIG6 shows a block diagram of an apparatus 600 for training a decision network according to an embodiment of the present disclosure. The apparatus 600 may include multiple modules for performing the corresponding steps in the process 500 discussed in FIG5 . The apparatus 600 may be deployed on an onboard device (e.g., a vehicle computer) to improve the decision-making performance of autonomous driving software. The apparatus 600 includes a strategy determination unit 610, which is configured to determine a first strategy based on training data using a supervised learning model in a decision model and to determine a second strategy based on a reinforcement learning model in the decision model; a loss determination unit 620, which is configured to determine an imitation learning loss based on the difference between the first strategy and the second strategy; and an optimization unit 630, which is configured to train the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy.

[0094] In some embodiments, the optimization unit 630 is further configured to: determine an adaptive weight for the imitation learning loss; determine an overall learning loss based on the adaptive weight and the imitation learning loss and the reinforcement learning loss; and train the decision model by minimizing the overall learning loss.

[0095] In some embodiments, the optimization unit 630 is further configured to: determine an initial weight for the imitation learning loss; update the initial weight based on the change in the imitation learning loss before reaching a predetermined training round to determine an updated weight; and gradually reduce the updated weight after reaching the predetermined round.

[0096] In some embodiments, the optimization unit 630 is further configured to: increase the initial weight if the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round; and maintain the initial weight if the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round.

[0097] In some embodiments, the device 600 also includes a training data determination unit, which is configured to: train the supervised learning model based on labeled expert data; determine the reasoning performance of the supervised learning model trained based on the expert data, wherein the reasoning performance indicates the quality of the prediction strategy for each decision scenario in a plurality of decision scenarios; and determine the data distribution in the training data corresponding to the plurality of decision scenarios based on the reasoning performance of the supervised learning model.

[0098] In some embodiments, the apparatus 600 further includes a simulator utilizing unit configured to generate at least a portion of the training data using a simulator. In some embodiments, the simulator utilizing unit is further configured to generate, based on at least one of the strategies or random strategies determined by the reinforcement learning model, behaviors corresponding to the strategies or random strategies using the simulator as at least a portion of the training data.

[0099] In some embodiments, the device 600 also includes a directional optimization unit, which is configured to: determine the reasoning performance of the reinforcement learning model, wherein the reasoning performance indicates the quality of the prediction strategy for each decision scenario in a plurality of decision scenarios; based on the reasoning performance of the reinforcement learning model, update the data distribution corresponding to the plurality of decision scenarios in the training data to determine updated training data; and train the decision model based on the updated training data.

[0100] In some embodiments, the loss determination unit 620 is further configured to: normalize the first strategy and the second strategy; and determine the imitation learning loss based on the normalized distance between the first strategy and the second strategy.

[0101] In some embodiments, the optimization unit 630 is further configured to: determine a supervised learning loss corresponding to the first strategy; and train the decision model based on the imitation learning loss, the reinforcement learning loss, and the supervised learning loss.

[0102] In some embodiments, the device 600 also includes a decision model utilization unit, which is configured to: utilize the trained decision model or the trained reinforcement learning model to determine a driving strategy based on driving-related input data, and the driving strategy includes at least one of the following: changing left lanes, changing right lanes, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, and braking.

[0103] Fig. 7 shows a schematic block diagram of an example device 700 that can be used to implement an embodiment of the present disclosure. As shown in the figure, device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to computer program instructions stored in a random access memory (RAM) 703 and / or a read-only memory (ROM) 702 or the computer program instructions loaded into the RAM 703 and / or ROM 702 from a storage unit 708. In the RAM 703 and / or ROM 702, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701 and the RAM 703 and / or ROM 702 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0104] Various components in device 700 are connected to I / O interface 705, including an input unit 706, such as a keyboard, mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, optical disk, etc.; and a communication unit 709, such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows device 700 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0105] The computing unit 701 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as process 500. For example, in some embodiments, process 500 can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 700 via RAM and / or ROM and / or communication unit 709. When the computer program is loaded into RAM and / or ROM and executed by the computing unit 701, one or more steps of the process 500 described above can be performed. Alternatively, in other embodiments, the computing unit 701 can be configured to perform process 500 in any other appropriate manner (e.g., by means of firmware).

[0106] In the above embodiments, they can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a server or terminal, the process or function described in the embodiment of the present application is generated in whole or in part. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a server or terminal or a data storage device such as a server or data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, and a tape, etc.), an optical medium (e.g., a digital video disk (DVD), etc.), or a semiconductor medium (e.g., a solid-state hard disk, etc.).

[0107] In addition, although adopting specific order to describe each operation, this should be understood as requiring such operation to be carried out in the specific order shown or in sequential order, or requiring that all illustrated operations should be carried out to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although comprising some specific implementation details in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation also can be implemented in a plurality of implementations individually or in the mode of any suitable subcombination.

[0108] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A method for training a decision model, the method comprising: Based on driving-related training data, determine a first strategy using a supervised learning model in a decision model and determine a second strategy using a reinforcement learning model in the decision model; determining an imitation learning loss based on a difference between the first strategy and the second strategy; as well as The decision model is trained based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy.

2. The method according to claim 1, wherein training the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy comprises: determining an adaptive weight for the imitation learning loss; Determining an overall learning loss based on the adaptive weights and the imitation learning loss and the reinforcement learning loss; as well as The decision model is trained by minimizing the overall learning loss.

3. The method of claim 2, wherein determining an adaptive weight for the imitation learning loss comprises: determining an initial weight for the imitation learning loss; Before reaching a predetermined training round, updating the initial weights based on a change in the imitation learning loss to determine an updated weight; as well as After reaching the predetermined training rounds, the update weight is gradually reduced.

4. The method of claim 3, wherein updating the initial weights based on a change in the imitation learning loss comprises: If the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round, increasing the initial weight; as well as If the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round, the initial weight is maintained.

5. The method according to any one of claims 1 to 4, further comprising: Training the supervised learning model based on labeled expert data; determining an inference performance of the supervised learning model trained based on the expert data, the inference performance indicating a quality of a prediction strategy for each of a plurality of decision scenarios; as well as Based on the inference performance of the supervised learning model, data distribution in the training data corresponding to the plurality of decision scenarios is determined.

6. The method according to any one of claims 1 to 5, wherein determining the imitation learning loss based on the difference between the first strategy and the second strategy comprises: Normalizing the first strategy and the second strategy; as well as The imitation learning loss is determined based on a normalized distance between the first strategy and the second strategy.

7. The method according to any one of claims 1 to 6, further comprising: At least a portion of the training data is generated using a simulator.

8. The method of claim 7, wherein generating data using the simulator comprises: Based on at least one of the strategies or random strategies determined by the reinforcement learning model, the simulator is used to generate a behavior corresponding to the at least one of the strategies or random strategies as at least a part of the training data.

9. The method according to any one of claims 1 to 8, further comprising: determining an inference performance of the reinforcement learning model, the inference performance indicating a quality of a prediction strategy for each of a plurality of decision scenarios; Based on the reasoning performance of the reinforcement learning model, updating the data distribution corresponding to the plurality of decision scenarios in the training data to determine updated training data; as well as The decision model is trained based on the updated training data.

10. The method according to any one of claims 1 to 9, wherein training the decision model comprises: Determining a supervised learning loss corresponding to the first strategy; as well as The decision model is trained based on the imitation learning loss, the reinforcement learning loss and the supervised learning loss.

11. The method according to any one of claims 1 to 10, further comprising: Using the trained decision model or the trained reinforcement learning model, a driving strategy is determined based on input data related to driving, and the driving strategy includes at least one of the following: changing lanes left, changing lanes right, going straight, overtaking, turning left, turning right, stopping, accelerating, decelerating, and braking.

12. A device for training a decision model, comprising: a strategy determination unit configured to determine a first strategy using a supervised learning model in a decision model and determine a second strategy using a reinforcement learning model in the decision model based on training data related to driving; a loss determination unit configured to determine an imitation learning loss based on a difference between the first strategy and the second strategy; as well as An optimization unit is configured to train the decision model based on the imitation learning loss and the reinforcement learning loss corresponding to the second strategy.

13. The apparatus according to claim 12, wherein the optimization unit is further configured to: determining an adaptive weight for the imitation learning loss; Determining an overall learning loss based on the adaptive weights and the imitation learning loss and the reinforcement learning loss; and The decision model is trained by minimizing the overall learning loss.

14. The apparatus according to claim 13, wherein the optimization unit is further configured to: determining an initial weight for the imitation learning loss; Before reaching a predetermined training round, updating the initial weights based on a change in the imitation learning loss to determine an updated weight; and After reaching the predetermined training rounds, the update weight is gradually reduced.

15. The apparatus according to claim 14, wherein the optimization unit is further configured to: If the imitation learning loss of the initial training round is less than the imitation learning loss of the subsequent training round, increasing the initial weight; and If the imitation learning loss of the initial training round is greater than the imitation learning loss of the subsequent training round, the initial weight is maintained.

16. The apparatus according to any one of claims 12 to 15, further comprising a training data determination unit, wherein the training data determination unit is configured to: Training the supervised learning model based on labeled expert data; determining an inference performance of the supervised learning model trained based on the expert data, the inference performance indicating a quality of a prediction strategy for each of a plurality of decision scenarios; and Based on the inference performance of the supervised learning model, data distribution in the training data corresponding to the plurality of decision scenarios is determined. 17 . The apparatus according to claim 12 , further comprising a simulator utilizing unit configured to generate at least a portion of the training data using a simulator.

18. The apparatus according to claim 17, wherein the simulator utilization unit is further configured to: Based on at least one of the strategies or random strategies determined by the reinforcement learning model, the simulator is used to generate a behavior corresponding to the at least one of the strategies or random strategies as at least a part of the training data.

19. The apparatus according to any one of claims 12 to 18, further comprising a directional optimization unit, wherein the directional optimization unit is configured to: determining an inference performance of the reinforcement learning model, the inference performance indicating a quality of a prediction strategy for each of a plurality of decision scenarios; Based on the reasoning performance of the reinforcement learning model, updating the data distribution corresponding to the plurality of decision scenarios in the training data to determine updated training data; as well as The decision model is trained based on the updated training data.

20. An electronic device, comprising: at least one computing unit; At least one memory, the at least one memory is coupled to the at least one computing unit and stores instructions for execution by the at least one computing unit, the instructions, when executed by the at least one computing unit, causing the electronic device to perform the method according to any one of claims 1-11.

21. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

22. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Method, device and equipment for training decision model, medium and program product

    CN118780387A

  • Adversarial sample generation method and device, terminal and readable storage medium

    CN111461226A

  • End-to-end automatic driving model pre-training method based on asynchronous supervised learning

    CN112508164A

  • Unmanned aerial vehicle flight control method based on reinforcement learning and network model distillation

    CN113110550A

  • Method and device for training model, equipment, medium and program product

    CN113343979A