An evaluation method for autonomous driving test scenarios
By generating a set of autonomous driving test scenarios based on reinforcement learning and other methods, and conducting quantitative evaluations from the perspectives of intelligence, testability, and stability, the problem of difficulty in evaluating autonomous driving test scenarios in the existing technology is solved, and the test scenarios are realized Comprehensive evaluation and evaluation of pros and cons have promoted the development of autonomous driving technology.
Patent Information
- Application Number
- CN202210432327.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-22
AI Technical Summary
Existing evaluation methods for autonomous driving test scenarios are difficult to comprehensively evaluate the comprehensiveness of test scenarios from multiple perspectives, making it difficult to promote the development and implementation of autonomous driving vehicles.
Methods based on reinforcement learning, deep reinforcement learning, and inverse reinforcement learning are used to generate a set of autonomous driving test scenarios, and the intelligence without embedding the system under test, the testability with the system under test being embedded, and the stability of the system under test before and after embedding are selected. Based on three evaluation dimensions, specific evaluation indicators are constructed and quantitatively evaluated, and comprehensive evaluation results are obtained through weight calculation.
It achieves parallel comparison of autonomous driving test scenarios and accurately evaluates their advantages and disadvantages and the advantages and disadvantages of the generation method, thereby accelerating the development and commercialization of autonomous driving technology.
Smart Images

Figure CN114862159B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to an evaluation method for an autonomous driving test scenario. Background Art
[0002] From a statistical point of view, self-driving cars need to be tested for at least 11 billion miles in real or virtual environments to prove that the self-driving system is more reliable than human drivers; however, mileage-based testing methods have disadvantages such as long testing cycles, low efficiency, and high costs. With the commercialization of self-driving cars, relying solely on mileage-based testing methods is obviously not enough, and scenario-based simulation testing methods are indispensable. Compared with traditional real-car testing, scenario-based simulation testing has the advantages of safety, time saving, and economy, and is widely used.
[0003] When constructing simulation scenarios, the current mainstream research direction is to use machine learning to construct them. However, there are many different machine learning methods, which leads to large differences in the constructed autonomous driving test scenarios, and it is difficult to evaluate the comprehensiveness of these test scenarios later. Therefore, there is an urgent need for an evaluation method for autonomous driving test scenarios that can comprehensively evaluate autonomous driving test scenarios from multiple angles, which will help promote the development and implementation of autonomous driving vehicles. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide an evaluation method for autonomous driving test scenarios, which can compare the comprehensive performance of test scenarios in parallel, accurately evaluate the advantages and disadvantages of autonomous driving test scenarios, and the advantages and disadvantages of different methods of generating test scenarios.
[0005] The objective of the present invention can be achieved by the following technical solution: A method for evaluating an autonomous driving test scenario comprises the following steps:
[0006] S1. Generate a set of autonomous driving test scenarios based on three methods: reinforcement learning, deep reinforcement learning, and inverse reinforcement learning;
[0007] S2. Based on the actual data of the test scenario generated in step S1, three evaluation dimensions are selected for whether the generated test scenario is embedded in the system under test;
[0008] S3. Based on the three evaluation dimensions, construct specific evaluation indicators and conduct quantitative evaluation;
[0009] S4. Normalize the quantitative evaluation results of the evaluation indicators, determine the weights, and calculate the comprehensive evaluation results.
[0010] Further, the three evaluation dimensions selected in step S2 are specifically: the intelligence of the scenario when no system under test is embedded, the testability of the scenario when the system under test is embedded, and the stability of the test scenario before and after the system under test is embedded. Among them, the intelligence of the scenario when no system under test is embedded represents the inherent properties of the scenario after it is generated and before it is used for testing. Specifically, it is the inherent intelligence of the scenario after it is generated based on a certain machine learning method, and the intelligence will not change with different systems under test.
[0011] The testability of the scenario when the system under test is embedded represents the challenges and testability of the scenario for the system under test in different test scenarios.
[0012] The stability of the test scene before and after the system under test is embedded represents the stability of the background car in the scene before and after the system under test is embedded in the test scene.
[0013] Furthermore, the evaluation indicators corresponding to the intelligence of the scene when no system under test is embedded in step S3 include micro-intelligence, macro-complexity, same-domain generalization, foreign-domain migration, interactive simulation and generation efficiency;
[0014] The evaluation indicators corresponding to the testability of the scenario when the system under test is embedded include relative testability and application universality;
[0015] The evaluation index corresponding to the stability of the test scenarios before and after the system under test is embedded is the same-domain stability.
[0016] Furthermore, the micro-intelligence is measured by the intelligence of the interaction timing between the environment vehicle and the vehicles within the interaction domain, and the calculation formula is:
[0017]
[0018] Among them, MI is the micro-intelligence evaluation index, S is the overlap area of the interaction domain, the interaction domain is a rectangle with a length of 50 meters and a width of 2 meters centered on the car, excluding a rectangle with a length of 25 meters and a width of 3.6 meters centered on the car, of which the rectangle with a length of 50 meters and a width of 2 meters is the safe domain, and the rectangle with a length of 25 meters and a width of 3.6 meters is the dangerous domain. When the interaction domain of the environment vehicle overlaps with that of the front vehicle or the rear vehicle, it is considered to be in the interaction process. t1 and t2 are the start and end times of the interaction. α is the interaction factor, which is numerically equal to the proportion of vehicles interacting in the scene. The larger the integral of the overlap area during the interaction period, the larger the MI and the better the micro-intelligence.
[0019] Macro complexity is measured by the feasible domain area and information entropy to quantify uncertainty, and the calculation formula is:
[0020] MC=dFA / dt
[0021]
[0022] Among them, MC is the macro complexity evaluation index, FA is the feasible domain area, the feasible domain is the range of the vehicle's current lane and the left and right lanes available for driving, D is the lane width, Y l , Y0 are the rear ordinate of the closest vehicle in front of the l-th lane and the front ordinate of the vehicle, respectively. The derivative of the feasible domain with respect to time reflects the information entropy of the feasible range, which is used to measure the macro complexity.
[0023] Same-domain generalization is measured by the number of same-domain scene generation SN. The larger the SN, the better the same-domain generalization.
[0024] Interactive realism is measured by decision-making and planning. Decision-making is reflected by the following distance. 1000 scene tests are conducted. The following distance X presents a Gaussian distribution. Let X~N(μ1,σ1 2 ), the following distance Y in the natural road data is counted, and the following distance Y presents a Gaussian distribution. Let Y~N(μ2,σ2 2 ), using relative entropy to measure the similarity between two Gaussian distributions:
[0025]
[0026] The greater the similarity, the better the simulation of the decision. The planning is measured by the overlap between the driving trajectory and the driving trajectory in the natural road data. The overlap of the trajectory is expressed by the area enclosed by the driving trajectory of the environmental vehicle and the driving trajectory of the natural road data when changing lanes. The calculation formula is as follows:
[0027]
[0028] Among them, IS is the interactive realism evaluation index, I is the number of environmental vehicles in the scene, Sij is the area enclosed by the normalized driving trajectory of the i-th environmental vehicle and the driving trajectory of the j-th group in the 10 groups of natural road data. The smaller the enclosed area, the greater the similarity, and the better the realism of the planning;
[0029] The generation efficiency is measured by time cost and computational cost, and the calculation formula is as follows:
[0030]
[0031]
[0032] Among them, GE is the generation efficiency evaluation index, t′1 and t′2 are the start and end times of scene generation through machine learning, μ is the average CPU occupancy rate in the process of machine learning scene generation, and P is the CPU occupancy rate at a certain moment. The less time it takes to generate the scene, the lower the average CPU occupancy rate, the larger GE is, and the higher the generation efficiency is;
[0033] The cross-domain migration performance is measured by the migration success rate when the parameter ranges of the test set and the training set are different. The cross-domain migration performance test is performed 1000 times, and the average collision rate is calculated to represent the cross-domain migration performance. The calculation formula is as follows:
[0034]
[0035] Among them, EM is the evaluation index of allotropic migration, C q is the proportion of all vehicles that collided during the qth test. The lower the proportion of vehicles that collided, the larger the EM and the better the foreign migration.
[0036] Furthermore, the relative testability is measured from three aspects: comfort, safety and efficiency, and the calculation formula is as follows:
[0037]
[0038] TTC=(Y2-Y1) / (V2-V1)
[0039] S=TTC / β
[0040] EF=400 / T
[0041]
[0042] Among them, C is a comfort evaluation index, which is measured by the acceleration change rate of the system under test. The smoother the acceleration change, the better the comfort. T is a safety evaluation index, which is measured by the collision rate and collision time of the system under test. TTC is the collision time, which reflects the safety of the vehicle. Y2 and Y1 are the ordinate of the parking space of the front vehicle and the ordinate of the front of the system under test, respectively. V2 and V1 are the speed of the front vehicle and the speed of the system under test, respectively. β is the collision rate of the system under test. EF is an efficiency evaluation index. T is the time required to travel a 400-meter section. RT is a relative testability evaluation index. The worse the comfort, safety, and efficiency of the system under test, the larger the RT is, and the better the relative testability of the test scenario.
[0043] The application universality is measured by the percentage of successfully embedded systems under test, calculated as follows:
[0044] RT=N / 1000
[0045] Among them, RT is the application universality evaluation index, N is the number of times the system under test is successfully embedded in 1000 scenario tests. The higher the proportion of successful embedding of the system under test, the larger the RT is, and the better the embedding ability of the system under test is.
[0046] Furthermore, the same domain stability calculation formula is as follows:
[0047] SS=|AR1-AR2| / (AR1+AR2)
[0048] Among them, SS is the same-domain stability evaluation index, AR1 is the accident rate before the system under test is embedded, and AR2 is the accident rate other than the vehicle after the system under test is embedded. The same-domain stability is reflected by the changes in the test scenarios before and after the system under test is embedded.
[0049] Furthermore, the step S4 specifically performs normalization processing according to the proportion of the calculation results of each evaluation index, and the calculation formula is as follows:
[0050]
[0051] Among them, x wv is the wth sample value under the vth evaluation index, ρ wv is the proportion of the wth sample value under the vth evaluation index to the index. The larger the proportion, the higher the ρ wv The larger it is, the larger the normalized result will be.
[0052] Furthermore, the weights determined in step S4 are determined by obtaining subjective indicator weights through surveying experts, and the calculation formula is as follows:
[0053]
[0054] Among them, W v is the weight of the vth evaluation index, U is the number of evaluation experts, and W u-v is the weight given by the u-th expert to the v-th evaluation indicator.
[0055] Furthermore, the weight determined in step S4 is specifically determined by using an entropy method to obtain an objective indicator weight, and the calculation formula is as follows:
[0056]
[0057]
[0058] d v =1-e v
[0059]
[0060] Among them, ρ wvis the proportion of the wth sample value under the vth evaluation index to the index, e v is the entropy value of the vth evaluation index, d v is the coefficient of difference of the vth evaluation index, W v is the weight of the vth evaluation indicator.
[0061] Furthermore, the calculation formula of the comprehensive evaluation result in step S4 is:
[0062]
[0063] Among them, R is the comprehensive evaluation result, W v is the weight of the vth evaluation index, S v is the normalized result of the vth evaluation index.
[0064] Compared with the prior art, the present invention selects three evaluation dimensions according to whether the test scenario is embedded in the system under test, and constructs specific evaluation indicators based on the three evaluation dimensions to conduct quantitative evaluation. The evaluation scores of the autonomous driving test scenarios are obtained from these three perspectives through the evaluation indicators of the intelligence of the scenarios without the embedded system under test, the testability of the scenarios with the embedded system under test, and the stability of the scenarios before and after the embedded system under test. Finally, the comprehensive evaluation results of the test scenarios are comprehensively analyzed, thereby constructing an evaluation framework and indicators for autonomous driving test scenarios from multiple aspects, which can compare the comprehensive performance of the test scenarios in parallel, accurately evaluate the advantages and disadvantages of the autonomous driving test scenarios and the advantages and disadvantages of different methods of generating test scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a schematic diagram of the method flow of the present invention;
[0066] Figure 2 It is a schematic diagram of the application process of the embodiment;
[0067] Figure 3 A schematic diagram of the method for generating test scenarios;
[0068] Figure 4 These are the three dimensions for evaluating the test scenario in the present invention;
[0069] Figure 5 These are the six evaluation indicators without the embedded system under test;
[0070] Figure 6 It is a schematic diagram of microscopic intelligence;
[0071] Figure 7 This is a schematic diagram of interactive simulation;
[0072] Figure 8 These are two evaluation indicators from the perspective of embedding the system under test;
[0073] Fig. 9 It is an evaluation indicator for comparing the scene changes before and after the system is embedded. DETAILED DESCRIPTION
[0074] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0075] Example
[0076] like Figure 1 As shown, an evaluation method for an autonomous driving test scenario includes the following steps:
[0077] S1. Generate a set of autonomous driving test scenarios based on reinforcement learning, deep reinforcement learning, and inverse reinforcement learning;
[0078] S2. Based on the actual data of the test scenario generated in step S1, three evaluation dimensions are selected for whether the generated test scenario is embedded in the system under test;
[0079] S3, based on the evaluation dimensions selected in step S2, construct specific evaluation indicators and conduct quantitative evaluation;
[0080] S4: Based on the results of the evaluation indicators in step S3, normalization is performed, weights are determined, and comprehensive evaluation results are calculated.
[0081] The specific process of applying the above method in this embodiment is as follows: Figure 2 As shown, the process of generating the autonomous driving test scenario set in step S1 is as follows Figure 3 shown.
[0082] Step S2 aggregates the evaluation indicators into three evaluation dimensions based on whether the test scenario is embedded in the system under test, such as Figure 4 As shown, it includes the intelligence evaluation index of the scenario without the embedded system under test, the testability evaluation index of the scenario with the embedded system under test, and the stability evaluation index of the scenario before and after the embedded system under test.
[0083] When analyzing and evaluating the "test scenario" object, this technical solution defines it from three dimensions: 1) the intelligence of the scenario when the system under test is not embedded, 2) the testability of the scenario when the system under test is embedded, and 3) the stability of the test scenario before and after the system under test is embedded. Specifically:
[0084] 1) Scenario intelligence when there is no system under test embedded, which represents the inherent properties of the scenario after it is generated and before it is used for testing. Specifically, it is the inherent intelligence of the scenario after it is generated based on a certain machine learning method, and this intelligence will not change with different systems under test. Simulation test scenarios generated based on machine learning are used to serve different categories of autonomous driving decision systems. However, in the process of generating test scenarios, non-system-under-test-in-the-loop methods are often used to generate scenarios, that is, in the process of generating scenarios, the vulnerabilities or defects of a specific system under test are not targeted, but test scenarios for different systems under test are generated. This type of scenario is universal and has a wider range of applications. At the same time, there will be no overfitting in the simulation process after training. Therefore, evaluating the inherent intelligence of the scenario is a necessary step before the scenario is used for testing.
[0085] 2) The testability of the scenario when the system under test is embedded represents the challenge and testability of the scenario for the system under test in different systems under test in this test scenario. Due to the different intelligence of the systems under test, the performance results in the test scenario are also different, so the test effect of the test scenario will vary with the different systems under test. For example, when facing a system under test with a higher level of intelligence, the test effect shown by the test scenario is weaker; and when facing a system under test with a lower level of intelligence, the test effect shown by the test scenario is stronger. Therefore, the testability of the test scenario when facing different systems under test is also one of the evaluation indicators of the comprehensiveness of the scenario. Generally speaking, even if it is facing systems under test of different levels, the strong testability of the test scenario is one of the excellent manifestations of the comprehensiveness of the scenario.
[0086] 3) The stability of the test scene before and after the system under test is embedded, which represents the stability of the background cars in the scene before and after the system under test is embedded in the test scene. During the generation of the test scene, each type of background car will interact with other background cars during multiple rounds of iterations and training until no collision occurs and the reward function converges. The scene can be considered to be generated, so the background cars in the scene are "familiar" with each other. However, when the object under test is added, the background car has not learned how to interact with the object under test before, so some changes may occur in the process of interacting with the object under test, such as unrealistic decisions, trajectories, and even collisions. Therefore, the stability of the test scene before and after the system under test is embedded is also one of the comprehensiveness of the test scene.
[0087] The classification from the above three dimensions can fully reflect the nature of the test scenario itself and the nature of its interaction with the system under test.
[0088] like Figure 5As shown in the figure, the evaluation indicators of scene intelligence without embedded system under test include micro-intelligence, macro-complexity, same-domain generalization, cross-domain migration, interactive simulation and generation efficiency.
[0089] Micro-intelligence is measured by the intelligence of the interaction timing between the environment vehicle and the vehicles within the interaction domain. The calculation formula is:
[0090]
[0091] Among them, MI is the micro-intelligence evaluation index, S is the overlapping area of the interaction domain, and the interaction domain is a rectangle with a length of 50 meters and a width of 2 meters centered on the car, excluding a rectangle with a length of 25 meters and a width of 3.6 meters centered on the car. The rectangle with a length of 50 meters and a width of 2 meters is the safe domain, and the rectangle with a length of 25 meters and a width of 3.6 meters is the dangerous domain. When the interaction domain of the environmental vehicle overlaps with that of the front vehicle or the rear vehicle, it is considered to be in the interaction process. t1 and t2 are the start and end times of the interaction. α is the interaction factor, which is numerically equal to the proportion of vehicles interacting in the scene. The larger the integral of the overlapping area during the time period of the interaction, the larger the MI and the better the micro-intelligence.
[0092] like Figure 6 As shown in the figure, (a) is the moment when the interaction domain just begins to overlap when the left car changes lanes to overtake, which is t1; (b) is a certain moment in the interaction, and the gray area is the overlapping range of the interaction domain; (c) is the moment when the interaction domains of the two cars are about to have no overlapping parts, which is t2.
[0093] Macro complexity is measured by the feasible domain area and information entropy to quantify uncertainty. Its calculation formula is:
[0094] MC=dFA / dt
[0095]
[0096] Among them, MC is the macro complexity evaluation index, FA is the feasible domain area, the feasible domain is the range of the vehicle's current lane and the left and right lanes available for driving, D is the lane width, Y l , Y0 are the rear ordinate of the closest vehicle in front on the lth lane and the front ordinate of the vehicle itself, respectively. The derivative of the feasible domain with respect to time reflects the information entropy of the feasible range, which is used to measure the macro complexity.
[0097] Same-domain generalization is measured by the number of same-domain scene generation SN. The larger the SN, the better the same-domain generalization.
[0098] Interaction fidelity is measured by decision-making and planning. Decision-making is reflected by the following distance. 1000 scene tests are conducted. The following distance X presents a Gaussian distribution. Let X~N(μ1,σ1 2). The following distance Y in the natural road data is statistically analyzed. The following distance Y shows a Gaussian distribution. Let Y~N(μ2,σ2 2 ). Use relative entropy to measure the similarity of two Gaussian distributions.
[0099]
[0100]
[0101] The greater the similarity, the better the simulation of the decision. The planning is measured by the overlap between the driving trajectory and the driving trajectory in the natural road data. The overlap of the trajectory is expressed by the area enclosed by the driving trajectory of the environmental vehicle and the driving trajectory of the natural road data when changing lanes. The calculation formula is as follows:
[0102]
[0103] Among them, IS is the interactive realism evaluation index, I is the number of environmental vehicles in the scene, Sij is the area enclosed by the normalized driving trajectory of the i-th environmental vehicle and the driving trajectory of the j-th group in the 10 groups of natural road data. The smaller the enclosed area, the greater the similarity, the larger the IS, and the better the realism of the planning.
[0104] like Figure 7 As shown in the figure, (a) is the normalized lane-changing trajectory of a certain environmental vehicle in the test scene, (b) is a normalized lane-changing trajectory in the natural road data, and (c) is the area enclosed by these two trajectories, whose area is Sij.
[0105] The generation efficiency is measured by time cost and computational cost, and the calculation formula is as follows:
[0106]
[0107]
[0108] Among them, GE is the generation efficiency evaluation index, t′1 and t′2 are the start and end times of scene generation through machine learning, μ is the average CPU occupancy rate in the process of machine learning scene generation, and P is the CPU occupancy rate at a certain moment. The less time it takes to generate the scene, the lower the average CPU occupancy rate, the larger GE is, and the higher the generation efficiency is.
[0109] The cross-domain transferability is measured by the success rate of migration when the parameter ranges of the test set and the training set are different. 1000 cross-domain transferability tests are performed and the average collision rate is calculated to represent the cross-domain transferability. The calculation formula is as follows
[0110]
[0111] Among them, EM is the evaluation index of allotropic migration, C q is the proportion of all vehicles that collided during the qth test. The lower the proportion of vehicles that collided, the larger the EM and the better the foreign migration.
[0112] like Figure 8 As shown, the testability evaluation indicators of the scenario in which the system under test is embedded include relative testability and application universality.
[0113] Relative testability is measured from three aspects: comfort, safety and efficiency. The calculation formula is as follows:
[0114]
[0115] TTC=(Y2-Y1) / (V2-V1)
[0116] S=TTC / β
[0117] EF=400 / T
[0118]
[0119] Among them, C is a comfort evaluation index, which is measured by the acceleration change rate of the system under test. The smoother the acceleration change, the better the comfort. T is a safety evaluation index, which is measured by the collision rate and collision time of the system under test. TTC is the collision time, which reflects the safety of the vehicle. Y2 and Y1 are the ordinate of the parking space of the front vehicle and the ordinate of the front of the system under test, respectively, and V2 and V1 are the speed of the front vehicle and the speed of the system under test, respectively. β is the collision rate of the system under test. EF is an efficiency evaluation index, and T is the time required to travel a 400-meter section of road. RT is a relative testability evaluation index. The worse the comfort, safety, and efficiency of the system under test, the larger the RT, and the better the relative testability of the test scenario.
[0120] The application universality is measured by the percentage of successfully embedded systems under test. The calculation formula is as follows:
[0121] RT=N / 1000
[0122] RT is the evaluation index of application universality. N is the number of times the system under test is successfully embedded after 1,000 scenario tests. The higher the percentage of successful embedding of the system under test, the greater the RT, and the better the embedding capability of the system under test.
[0123] like Fig. 9 As shown in Figure 2, the evaluation index of the change of scenes before and after the system under test is embedded is the same-domain stability.
[0124] The formula for calculating the stability of the same domain is as follows
[0125] SS=|AR1-AR2| / (AR1+AR2)
[0126] Among them, SS is the same-domain stability evaluation index, AR1 is the accident rate before the system under test is embedded, and AR2 is the accident rate other than the vehicle after the system under test is embedded. The same-domain stability is reflected by the changes in the test scenarios before and after the system under test is embedded.
[0127] Step S4 includes the following sub-steps:
[0128] Step 401: normalizing the results of the quantitative evaluation;
[0129] Step 402: Based on the normalized results, determine the weights and perform comprehensive evaluation calculations.
[0130] The normalization method in step 401 is to compare the generation methods of various test scenarios horizontally, and perform normalization processing according to the proportion of the calculation results of each evaluation index. The calculation formula is as follows:
[0131]
[0132] Among them, x wv is the wth sample value under the vth evaluation index, ρ wv is the proportion of the wth sample value under the vth evaluation index to the index. The larger the proportion, the higher the ρ wv The larger it is, the larger the normalized result will be.
[0133] There are two methods for determining the weight in step 402:
[0134] The first method of determining weights is to obtain subjective indicator weights by surveying experts. The calculation formula is as follows
[0135]
[0136] Among them, W v is the weight of the vth evaluation index, U is the number of evaluation experts, and W u-v is the weight given by the u-th expert to the v-th evaluation indicator;
[0137] The second method to determine the weight is to use the entropy method to obtain objective indicator weights. The calculation formula is as follows
[0138]
[0139]
[0140] d v =1-e v
[0141]
[0142] Among them, ρ wvis the proportion of the wth sample value under the vth evaluation index to the index, e v is the entropy value of the vth evaluation index, d v is the coefficient of difference of the vth evaluation index, W v is the weight of the vth evaluation indicator.
[0143] The weights of various indicators are determined from three perspectives: with the system under test embedded, without the system under test embedded, and the scene changes before and after the system under test is embedded. The comprehensive evaluation results are obtained according to the following calculation formula:
[0144]
[0145] Among them, R is the comprehensive evaluation result, W v is the weight of the vth evaluation index, S v is the normalized result of the vth evaluation index, m is the total number of evaluation indicators, and in this technical solution, m=9, thereby finally calculating the comprehensive evaluation result of the autonomous driving test scenario.
[0146] In summary, this technical solution proposes 3 dimensions and 9 evaluation indicators to quantitatively evaluate the intelligence of autonomous driving test scenarios, so as to accurately evaluate the pros and cons of autonomous driving test scenarios and the pros and cons of different methods for generating test scenarios. This technical solution constructs an evaluation framework and indicators for autonomous driving test scenarios from multiple aspects, compares the intelligence of test scenarios in parallel, and accelerates the process of autonomous driving testing, which has great application value.
Claims
1. A method for evaluating an autonomous driving test scenario, characterized in that: The following steps are involved: S1. Generate a set of autonomous driving test scenarios based on three methods: reinforcement learning, deep reinforcement learning, and inverse reinforcement learning; S2. Based on the actual data of the test scenario generated in step S1, three evaluation dimensions are selected for whether the generated test scenario is embedded in the system under test; S3. Based on the three evaluation dimensions, construct specific evaluation indicators and conduct quantitative evaluation; S4, normalizing the quantitative evaluation results of the evaluation indicators, determining the weights, and calculating the comprehensive evaluation results; The evaluation indicators corresponding to the intelligence of the scene when no system under test is embedded in step S3 include micro-intelligence, macro-complexity, same-domain generalization, foreign-domain migration, interactive simulation and generation efficiency; The evaluation indicators corresponding to the testability of the scenario when the system under test is embedded include relative testability and application universality; The evaluation index corresponding to the stability of the test scenarios before and after the system under test is embedded is the same-domain stability; The micro-intelligence is measured by the intelligence of the interaction timing between the environment vehicle and the vehicles within the interaction domain, and its calculation formula is: Among them, MI is the micro-intelligence evaluation index, S is the overlap area of the interaction domain, the interaction domain is a rectangle with a length of 50 meters and a width of 2 meters centered on the car, excluding a rectangle with a length of 25 meters and a width of 3.6 meters centered on the car, of which the rectangle with a length of 50 meters and a width of 2 meters is the safe domain, and the rectangle with a length of 25 meters and a width of 3.6 meters is the dangerous domain. When the interaction domain of the environment vehicle overlaps with that of the front vehicle or the rear vehicle, it is considered to be in the interaction process. t1 and t2 are the start and end times of the interaction. α is the interaction factor, which is numerically equal to the proportion of vehicles interacting in the scene. The larger the integral of the overlap area during the interaction period, the larger the MI and the better the micro-intelligence. Macro complexity is measured by the feasible domain area and information entropy to quantify uncertainty, and the calculation formula is: MC=dFA / dt Among them, MC is the macro complexity evaluation index, FA is the feasible domain area, the feasible domain is the range of the vehicle's current lane and the left and right lanes available for driving, D is the lane width, Y l , Y0 are the rear ordinate of the closest vehicle in front of the l-th lane and the front ordinate of the vehicle, respectively. The derivative of the feasible domain with respect to time reflects the information entropy of the feasible range, which is used to measure the macro complexity. Same-domain generalization is measured by the number of same-domain scene generation SN. The larger the SN, the better the same-domain generalization. Interactive realism is measured by decision-making and planning. Decision-making is reflected by the following distance. 1000 scene tests are conducted. The following distance X presents a Gaussian distribution. Let X~N(μ1,σ1 2 ), the following distance Y in the natural road data is counted, and the following distance Y presents a Gaussian distribution. Let Y~N(μ2,σ2 2 ), using relative entropy to measure the similarity between two Gaussian distributions: The greater the similarity, the better the simulation of the decision. The planning is measured by the overlap between the driving trajectory and the driving trajectory in the natural road data. The overlap of the trajectory is expressed by the area enclosed by the driving trajectory of the environmental vehicle and the driving trajectory of the natural road data when changing lanes. The calculation formula is as follows: Among them, IS is the interactive realism evaluation index, I is the number of environmental vehicles in the scene, Sij is the area enclosed by the normalized driving trajectory of the i-th environmental vehicle and the driving trajectory of the j-th group in the 10 groups of natural road data. The smaller the enclosed area, the greater the similarity, and the better the realism of the planning; The generation efficiency is measured by time cost and computational cost, and the calculation formula is as follows: Among them, GE is the generation efficiency evaluation index, t′1 and t′2 are the start and end times of scene generation through machine learning, μ is the average CPU occupancy rate in the process of machine learning scene generation, and P is the CPU occupancy rate at a certain moment. The less time it takes to generate the scene, the lower the average CPU occupancy rate, the larger GE is, and the higher the generation efficiency is; The cross-domain migration performance is measured by the migration success rate when the parameter ranges of the test set and the training set are different. The cross-domain migration performance test is performed 1000 times, and the average collision rate is calculated to represent the cross-domain migration performance. The calculation formula is as follows: Among them, EM is the evaluation index of allotropic migration, C q is the proportion of all vehicles that collided during the qth test. The lower the proportion of vehicles that collided, the larger the EM and the better the foreign migration. The relative testability is measured from three aspects: comfort, safety and efficiency. The calculation formula is as follows: TTC=(Y2-Y1) / (V2-V1) S=TTC / β EF=400 / T Among them, C is a comfort evaluation index, which is measured by the acceleration change rate of the system under test. The smoother the acceleration change, the better the comfort. T is a safety evaluation index, which is measured by the collision rate and collision time of the system under test. TTC is the collision time, which reflects the safety of the vehicle. Y2 and Y1 are the ordinate of the parking space of the front vehicle and the ordinate of the front of the system under test, respectively. V2 and V1 are the speed of the front vehicle and the speed of the system under test, respectively. β is the collision rate of the system under test. EF is an efficiency evaluation index. T is the time required to travel a 400-meter section. RT is a relative testability evaluation index. The worse the comfort, safety, and efficiency of the system under test, the larger the RT is, and the better the relative testability of the test scenario. The application universality is measured by the percentage of successfully embedded systems under test, calculated as follows: RT=N / 1000 Among them, RT is the application universality evaluation index, N is the number of times the system under test is successfully embedded in 1000 scenario tests. The higher the proportion of successful embedding of the system under test, the larger the RT is, and the better the embedding ability of the system under test is; The same domain stability calculation formula is as follows: SS=|AR1-AR2| / (AR1+AR2) Among them, SS is the same-domain stability evaluation index, AR1 is the accident rate before the tested system is embedded, and AR2 is the accident rate other than the self-vehicle after the tested system is embedded. The same-domain stability is reflected by the changes in the test scenarios before and after the tested system is embedded. The step S4 specifically performs normalization processing according to the proportion of the calculation results of each evaluation index, and the calculation formula is as follows: Among them, x wv is the wth sample value under the vth evaluation index, ρ wv is the proportion of the wth sample value under the vth evaluation index to the index. The larger the proportion, the higher the ρ wv The larger it is, the larger the normalized result will be; The weights determined in step S4 are determined by obtaining subjective indicator weights through expert surveys or obtaining objective indicator weights using an entropy method. The calculation formula for the subjective indicator weights obtained through expert surveys is as follows: Among them, W v is the weight of the vth evaluation index, U is the number of evaluation experts, and W u-v is the weight given by the u-th expert to the v-th evaluation indicator; The calculation formula for obtaining objective indicator weights using the entropy method is as follows: d v =1-e v Among them, ρ wv is the proportion of the wth sample value under the vth evaluation index to the index, e v is the entropy value of the vth evaluation index, d v is the coefficient of difference of the vth evaluation index, W v is the weight of the vth evaluation index; The calculation formula of the comprehensive evaluation result in step S4 is: Among them, R is the comprehensive evaluation result, W v is the weight of the vth evaluation index, S v is the normalized result of the vth evaluation index.
2. The evaluation method for an autonomous driving test scenario according to claim 1, characterized in that: The three evaluation dimensions selected in step S2 are specifically: the intelligence of the scenario when no system under test is embedded, the testability of the scenario when the system under test is embedded, and the stability of the test scenario before and after the system under test is embedded. The intelligence of the scenario when no system under test is embedded represents the inherent properties of the scenario after it is generated and before it is used for testing. Specifically, it is the inherent intelligence of the scenario after it is generated based on a certain machine learning method, and the intelligence will not change with different systems under test. The testability of the scenario when the system under test is embedded represents the challenges and testability of the scenario for the system under test in different test scenarios. The stability of the test scene before and after the system under test is embedded represents the stability of the background car in the scene before and after the system under test is embedded in the test scene.
