A method and device for implementing adaptive acceleration test evaluation

Through the adaptive acceleration test method and importance sampling technology, the problem of inefficiency in the test and evaluation of autonomous vehicles is solved, the test efficiency and accuracy are improved, and a more efficient safety evaluation is achieved.

CN116088476BActive Publication Date: 2024-09-24TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310070263.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-12
Publication Date
2024-09-24
Estimated Expiration
2043-01-12

AI Technical Summary

Technical Problem

Due to the inefficiency of real road testing, existing autonomous vehicle testing and evaluation methods are difficult to effectively generate safety-critical scenarios, resulting in low testing efficiency.

Method used

The adaptive acceleration testing method is adopted, and the test scenario generation and evaluation parameters are adjusted through the importance sampling function and the adaptive acceleration evaluation based on control variables to improve the sampling probability and evaluation efficiency of the test scenario.

Benefits of technology

It significantly improves the efficiency of autonomous vehicle testing and evaluation, reduces the number of tests, reduces time and economic costs, and achieves more accurate safety evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116088476B
    Figure CN116088476B
Patent Text Reader

Abstract

The present invention discloses a method and device for implementing adaptive acceleration test evaluation, comprising: determining an importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th adaptive acceleration test before the second adaptive acceleration test; determining a test scenario X according to the determined importance sampling function; i ; In test scenario X i An adaptive acceleration test is performed to obtain the i-th test result; according to the obtained test result, the control parameter of the adaptive acceleration evaluation method based on the control variable is determined; according to the determined control parameter, the test index of the i-th adaptive acceleration test is calculated; when it is determined according to the test index that the test result converges, the test index is used as the test evaluation result. The embodiment of the present invention accelerates the test scenario generation and improves the efficiency of the test evaluation of the autonomous driving vehicle by combining the adaptive acceleration test of multiple importance sampling with the adaptive acceleration evaluation based on the control variable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This article relates to but is not limited to unmanned driving technology, and in particular to a method and device for implementing adaptive acceleration test evaluation. Background Art

[0002] Currently, autonomous vehicles are facing severe safety issues. Autonomous vehicles developed by relevant companies have all encountered serious traffic accidents. These safety issues fundamentally hinder the large-scale application and commercialization of autonomous vehicles. Therefore, there is an urgent need to conduct safety testing and evaluation of autonomous vehicles.

[0003] The basic process of testing and evaluating autonomous vehicles is as follows: generate a series of test scenarios (a general dynamic description of the comprehensive interaction process between the autonomous vehicle and other vehicles, roads, traffic facilities, weather conditions and other elements in the driving environment within a certain time and space range. It is an organic combination of the driving scenario and the driving environment of the autonomous vehicle. It includes various entity elements, as well as the actions performed by the entities and the connection relationships between entities; for example, highway driving scenarios, following vehicle scenarios, cutting vehicle scenarios and turning scenarios, etc.); test the autonomous vehicle and collect test results; evaluate the safety of the autonomous vehicle based on the collected test results to obtain estimated values ​​of test indicators such as accident rate.

[0004] At present, because safety-critical scenarios (such as collision accident scenarios) in natural driving environments are very rare, the real road testing methods used are very inefficient. In order to solve the inefficiency of real road testing, the accelerated test scenario generation method in related technologies improves the efficiency of autonomous vehicle testing and evaluation by increasing the sampling probability of key scenarios. How to generate these safety-critical scenarios is a cutting-edge scientific problem that needs to be solved urgently. Summary of the invention

[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0006] The embodiments of the present invention provide a method and device for implementing adaptive accelerated test evaluation, which can accelerate the generation of test scenarios and improve the efficiency of autonomous driving vehicle test evaluation.

[0007] An embodiment of the present invention provides a method for implementing adaptive acceleration test evaluation, including:

[0008] Determine the importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th and previous adaptive acceleration tests;

[0009] According to the importance sampling function of the determined i-th adaptive acceleration test, the test scenario X of the i-th adaptive test is determined by samplingi ;

[0010] In the test scenario X of the determined i-th adaptive test i Perform an adaptive acceleration test on the autonomous driving vehicle and obtain the test result of the i-th adaptive acceleration test;

[0011] Determining control parameters of an adaptive acceleration evaluation method based on control variables according to the test results of the i-th adaptive acceleration test;

[0012] According to the determined control parameters, the test index of the i-th adaptive acceleration test is calculated;

[0013] When it is determined that the test result converges according to the calculated test index of the i-th adaptive acceleration test, the determined test index is determined as the test evaluation result;

[0014] Wherein, i is an integer greater than 1 but less than or equal to n, and n is the number of times the adaptive acceleration test is performed when the test results converge. i ~q (i) ,q (i) is the importance sampling function of the i-th adaptive acceleration test, and the initial importance sampling function q (1) =q; the control parameter is a parameter included in the control variable of the adaptive acceleration evaluation.

[0015] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method further includes:

[0016] Determine the natural probability distribution p of the test scenario.

[0017] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method further includes:

[0018] Construct the initial importance sampling function.

[0019] In an exemplary embodiment, the test index is determined by calculating the following formula:

[0020]

[0021] Among them, β i is the control parameter, q α Indicates q (i) Perform sum operation, i takes the value of 1 to n; q α (X i ) is used to solve X i After substitution, q α The value of Indicates the sum operation of β, i ranges from 1 to n; q (i) (X i ) means to convert X i Substitute q (i) The function value after ; For test scenario X i Corresponding test results; p(X i ) represents test scenario X i The natural probability distribution of .

[0022] In one exemplary embodiment, the control parameters are based on minimizing The variance of is calculated using the following formula:

[0023]

[0024] In an exemplary embodiment, determining the importance sampling function of the i-th adaptive acceleration test includes:

[0025] According to the test results of the i-1th and previous adaptive acceleration tests, the importance sampling function of the i-th adaptive acceleration test is determined using a Bayesian optimization algorithm BOA.

[0026] In an exemplary embodiment, whether the test result is convergent is determined by:

[0027] Calculating the variance of the test indicator;

[0028] When the variance of the test indicator is less than or equal to a preset variance threshold, it is determined that the test result has converged.

[0029] On the other hand, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the method for implementing the adaptive acceleration test evaluation is implemented.

[0030] In another aspect, an embodiment of the present invention further provides a terminal, comprising: a memory and a processor, wherein the memory stores a computer program; wherein:

[0031] The processor is configured to execute the computer program in the memory;

[0032] When the computer program is executed by the processor, the method for implementing adaptive accelerated test evaluation as described above is implemented.

[0033] In another aspect, an embodiment of the present invention further provides a device for implementing adaptive acceleration test evaluation, comprising: a sampling function determination unit, a sampling unit, a testing unit, a parameter determination unit, a calculation unit and a processing unit; wherein,

[0034] The sampling function determination unit is set to: determine the importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th and previous adaptive acceleration tests;

[0035] The sampling unit is set as follows: according to the importance sampling function of the determined i-th adaptive acceleration test, the test scenario X of the i-th adaptive test is sampled and determined. i ;

[0036] The test unit is set as follows: In the test scenario X of the determined i-th adaptive test i Perform an adaptive acceleration test on the autonomous driving vehicle and obtain the test result of the i-th adaptive acceleration test;

[0037] The parameter determination unit is set to: determine the control parameters of the adaptive acceleration evaluation method based on the control variable according to the test result of the i-th adaptive acceleration test obtained;

[0038] The calculation unit is configured to: calculate the test index of the i-th adaptive acceleration test according to the determined control parameters;

[0039] The processing unit is configured to: determine the determined test index as the test evaluation result when it is determined that the test result converges according to the calculated test index of the i-th adaptive acceleration test;

[0040] Wherein, i is an integer greater than 1 but less than or equal to n, and n is the number of times the adaptive acceleration test is performed when the test results converge. i ~q (i) ,q (i) is the importance sampling function of the i-th adaptive acceleration test, and the initial importance sampling function q (1) =q; the control parameter is a parameter included in the control variable of the adaptive acceleration evaluation.

[0041] The technical solution of the present application includes: determining the importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th and previous adaptive acceleration tests; sampling and determining the test scenario X of the i-th adaptive test according to the determined importance sampling function of the i-th adaptive acceleration test i ; In test scenario X iIn the embodiment of the present invention, an adaptive acceleration test is performed on the autonomous driving vehicle to obtain a test result of the i-th adaptive acceleration test; according to the test result of the i-th adaptive acceleration test, a control parameter of the adaptive acceleration evaluation method based on the control variable is determined; according to the determined control parameter, a test index of the i-th adaptive acceleration test is calculated; when it is determined that the test result converges according to the calculated test index of the i-th adaptive acceleration test, the determined test index is determined as the test evaluation result; wherein i is an integer greater than 1 but less than or equal to n, and n is the number of the adaptive acceleration test when the test result converges; the test scenario X i ~q (i) ,q (i) is the importance sampling function of the i-th adaptive acceleration test, and the initial importance sampling function q (1) =q; the control parameter is a parameter included in the control variable of the adaptive acceleration evaluation. The embodiment of the present invention accelerates the test scenario generation and improves the efficiency of the test evaluation of the autonomous driving vehicle by combining the adaptive acceleration test of multiple importance sampling with the adaptive acceleration evaluation based on the control variable.

[0042] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0044] Figure 1 A flowchart of a method for implementing adaptive acceleration test evaluation according to an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a car cutting scenario in which the present invention is applied as an example;

[0046] Figure 3 A schematic diagram of the natural probability distribution of a car-cutting scenario in an application example of the present invention;

[0047] Figure 4 A schematic diagram of an importance sampling function for applying an example of the present invention;

[0048] Figure 5 This is a comparison chart of test indicators of application example 1 of the present invention;

[0049] Figure 6 A comparison chart of another test index for an application example of the present invention;

[0050] Figure 7 A comparison chart of another test index for an application example of the present invention;

[0051] Figure 8 A comparison chart of test indicators for an application example of the present invention;

[0052] Fig. 9 The figure is a graph showing the estimated error of an example test indicator according to the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0054] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.

[0055] In the embodiment of the present invention, the test index (for example, accident rate) of the autonomous driving vehicle is: in, is the probability measure, represents the expectation, A represents the event of interest (e.g., a collision accident), and p represents the natural probability distribution function of the test scenario X. is the indicator function of event A;

[0056] The embodiment of the present invention is based on the Monte Carlo sampling principle, and the expression of the test index determined with reference to the relevant technology is:

[0057]

[0058] in, is the estimated value of the test index based on the Monte Carlo sampling principle, For a given test scenario X i The conditional probability of event A occurring under the condition (also called the test result), X i ~p represents the test scenario X i Determined by sampling from the probability distribution function p.

[0059] The probability of accidents of self-driving cars is extremely low, which means that the test method based on Monte Carlo sampling requires a large number of tests to obtain an estimated value of the accident rate. The time and economic costs consumed by a large number of tests are unacceptable. The importance sampling method can alleviate this problem. Its basic idea is to increase the sampling probability of key scenes where accidents are prone to occur, thereby improving test efficiency. The expression of the test index determined based on the importance sampling method is:

[0060]

[0061] in, is the estimated value of the test index based on the principle of importance sampling, p(X i ) represents test scenario X i The natural probability distribution of q is the importance sampling function constructed with reference to related technologies, q(X i ) represents test scenario X i The corresponding importance sampling function.

[0062] The applicant of this application analyzed and found that due to the high complexity of the autonomous driving system and the black box nature of the neural network algorithm used, the constructed importance sampling function q is different from the theoretically optimal importance sampling function q * There is a big gap, which leads to a bottleneck in improving the efficiency of the importance sampling-based method. The adaptive acceleration test method is committed to solving this problem. After obtaining the test results, the importance sampling function used in the test can be adjusted and optimized according to the information provided by these test results to improve the evaluation efficiency of autonomous driving vehicles.

[0063] Figure 1 Flow chart of a method for implementing adaptive acceleration test evaluation according to an embodiment of the present invention, such as Figure 1 As shown, including:

[0064] Step 101, determining the importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th and previous adaptive acceleration tests;

[0065] Step 102: According to the determined importance sampling function of the i-th adaptive acceleration test, sample and determine the test scenario X of the i-th adaptive test. i ;

[0066] Step 103: In the determined test scenario X of the i-th adaptive test i Perform an adaptive acceleration test on the autonomous driving vehicle and obtain the test result of the i-th adaptive acceleration test;

[0067] Step 104: Determine control parameters of the adaptive acceleration evaluation method based on control variables according to the test results of the i-th adaptive acceleration test;

[0068] Step 105: Calculate the test index of the i-th adaptive acceleration test according to the determined control parameters;

[0069] Step 106: when it is determined that the test result converges according to the calculated test index of the i-th adaptive acceleration test, the determined test index is determined as the test evaluation result;

[0070] Where i is an integer greater than 1 but less than or equal to n, and n is the number of adaptive acceleration tests when the test results converge. i ~q (i) ,q (i) is the importance sampling function of the i-th adaptive acceleration test, and the initial importance sampling function q (1) =q; the control parameter is the parameter included in the control variable of the adaptive acceleration evaluation.

[0071] The embodiment of the present invention performs the above steps 101-106 for the i-th adaptive acceleration test starting from the second adaptive acceleration test until the test result converges according to the calculated test index, and then ends the above process. The embodiment of the present invention accelerates the test scenario generation and improves the efficiency of the test evaluation of the autonomous driving vehicle by combining the adaptive acceleration test of multiple importance sampling with the adaptive acceleration evaluation based on the control variable.

[0072] In an exemplary embodiment, the adaptive acceleration test of multiple importance sampling and the adaptive acceleration evaluation based on control variables in the embodiment of the present invention are both existing algorithms in the relevant technology. The combination of the two can also be implemented with reference to the relevant technology, which will not be elaborated here.

[0073] In an exemplary embodiment, the present invention embodiment q (i) It is determined based on the test results of the i-1 adaptive acceleration test before the i-th adaptive acceleration test. Therefore, the importance sampling function of the i-th adaptive acceleration test is determined one by one in the order of values ​​from small to large. Since the importance sampling function of the i-th adaptive acceleration test is determined one by one in the order of values ​​from small to large, the test before the n-th adaptive acceleration test is a test whose test results do not converge. When the n-th adaptive test is executed, the test results converge.

[0074] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method of the embodiment of the present invention further includes:

[0075] Determine the natural probability distribution function p of the test scenario, which can be obtained from the natural driving dataset.

[0076] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method of the embodiment of the present invention further includes:

[0077] Construct the initial importance sampling function.

[0078] In an exemplary embodiment, the embodiments of the present invention can refer to S. Feng, Y. Feng, C. Yu, Y. Zhang and H. X. Liu, "Testing Scenario Library Generation for Connected and Automated Vehicles, Part I: Methodology" IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 3, pp. 1573-1582, March 2021, doi: 10.1109 / TITS.2020.2972211 and S. Feng, Y. Feng, H. Sun, S. Bao, Y. Zhang and HX Liu, "Testing Scenario Library Generation for Connected and Automated Vehicles, Part II: Case Studies" IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 3, pp. 1573-1582, March 2021, doi: 10.1109 / TITS.2020.2972211 Systems,vol.22,no.9,pp.5635-5647,Sept.2021,doi:10.1109 / TITS.2020.2988309,Construct importance sampling function.

[0079] In an exemplary embodiment, the test index in the embodiment of the present invention is calculated and determined by the following formula:

[0080]

[0081] Among them, β i is the control parameter, q α Indicates q (i) Perform sum operation, i takes the value of 1 to n; q α (X i ) is used to solve X iAfter substitution, q α The value of Indicates the sum operation of β, i ranges from 1 to n; q (i) (X i ) means to convert X i Substitute q (i) The function value after ; For test scenario X i The corresponding test results; p(X i ) represents test scenario X i The natural probability distribution of .

[0082] The solution of the control parameters in the embodiment of the present invention is a multivariate linear regression problem, which can be solved analytically by referring to relevant principles.

[0083] In an exemplary embodiment, an embodiment of the present invention combines an adaptive accelerated test based on multiple importance sampling including n tests with an adaptive accelerated evaluation based on control variables to obtain an expression for a test indicator.

[0084] In an exemplary embodiment, the control parameters in the embodiment of the present invention are based on minimizing The variance of is determined by calculation.

[0085] In an exemplary embodiment, the control parameters in the embodiment of the present invention are based on minimizing The variance of is calculated using the following formula:

[0086]

[0087] In an exemplary embodiment, the embodiment of the present invention determines the importance sampling function of the i-th adaptive acceleration test, including:

[0088] According to the test results of the i-1th and previous adaptive acceleration tests, the Bayesian optimization algorithm BOA is used to determine the importance sampling function of the i-th adaptive acceleration test.

[0089] In an exemplary instance, the Bayesian optimization algorithm of an embodiment of the present invention can be found in S. Feng, Y. Feng, H. Sun, Y. Zhang and HX Liu, "Testing Scenario Library Generation for Connected and Automated Vehicles: An Adaptive Framework", IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 2, pp. 1213-1222, Feb. 2022, doi: 10.1109 / TITS.2020.3023668.

[0090] In an exemplary embodiment, the embodiment of the present invention determines whether the test result is convergent in the following manner:

[0091] Calculate the variance of the test indicator;

[0092] When the variance of the test indicator is less than or equal to a preset variance threshold, it is determined that the test result has converged.

[0093] In an exemplary embodiment, the adaptive test model of the embodiment of the present invention is implemented as follows:

[0094] Obtain the natural probability distribution p of the test scenario; here, the natural probability distribution can be determined by referring to the method of adaptive acceleration testing and through relevant technologies.

[0095] Construct the initial importance sampling function q (1) In an exemplary embodiment, the embodiment of the present invention can refer to the proxy model in the related art to construct the initial importance sampling function q (1) ; For example, through the intelligent driving model (IDM, Intelligent Driver Model), construct the initial importance sampling function q (1) ;

[0096] For i=1:n, loop:

[0097] Sample test scenario X i ~q (i) ;

[0098] According to the sampled test scenario X i , testing of self-driving cars;

[0099] Get test results And determine the control parameters based on the test results;

[0100] Calculate test indicators based on determined control parameters;

[0101] Calculate the variance of the test index, and when it is determined that the calculated variance is less than or equal to the preset variance threshold, output the test index; when it is determined that the calculated variance is greater than the preset variance threshold, re-execute the above loop processing and update the importance sampling function, that is, determine the updated importance sampling function according to the obtained test results, and obtain q (i+1) .

[0102] An embodiment of the present invention further provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method for implementing the adaptive acceleration test evaluation is implemented.

[0103] The embodiment of the present invention further provides a terminal, comprising: a memory and a processor, wherein a computer program is stored in the memory; wherein:

[0104] The processor is configured to execute the computer program in the memory;

[0105] When the computer program is executed by a processor, the method for implementing adaptive accelerated test evaluation as described above is implemented.

[0106] The embodiment of the present invention also provides a device for implementing adaptive acceleration test evaluation, comprising: a sampling function determination unit, a sampling unit, a testing unit, a parameter determination unit, a calculation unit and a processing unit; wherein,

[0107] The sampling function determination unit is set to: determine the importance sampling function of the i-th adaptive acceleration test according to the test results of the i-1th and previous adaptive acceleration tests;

[0108] The sampling unit is set as follows: according to the importance sampling function of the determined i-th adaptive acceleration test, the test scenario X of the i-th adaptive test is sampled and determined. i ;

[0109] The test unit is set as follows: In the test scenario X of the determined i-th adaptive test i Perform an adaptive acceleration test on the autonomous driving vehicle and obtain the test result of the i-th adaptive acceleration test;

[0110] The parameter determination unit is set to: determine the control parameters of the adaptive acceleration evaluation method based on the control variable according to the test result of the i-th adaptive acceleration test obtained;

[0111] The calculation unit is configured to: calculate the test index of the i-th adaptive acceleration test according to the determined control parameters;

[0112] The processing unit is configured to: determine the determined test index as the test evaluation result when it is determined that the test result converges according to the calculated test index of the i-th adaptive acceleration test;

[0113] Wherein, i is an integer greater than 1 but less than or equal to n, and n is the number of times the adaptive acceleration test is performed when the test results converge. i ~q (i) ,q (i) is the importance sampling function of the i-th adaptive acceleration test, and the initial importance sampling function q (1) =q; the control parameter is a parameter included in the control variable of the adaptive acceleration evaluation.

[0114] The following briefly describes the embodiments of the present invention through application examples. The application examples are only used to illustrate the embodiments of the present invention and are not used to limit the protection scope of the present invention.

[0115] Application Examples

[0116] This application example takes the vehicle cutting scenario of an autonomous driving vehicle as an example to further illustrate the embodiment of the present invention. Figure 2 Schematic diagram of a car cutting scenario using an example of the present invention, as shown in FIG. Figure 2 As shown, x is the direction of vehicle travel, the autonomous vehicle under test is denoted as AV, the background vehicle is denoted as BV, the distance between BV and AV in the direction of vehicle travel is R, and BV may collide with AV after changing lanes.

[0117] The car cutting scene is defined as Among them, R represents the relative distance (Range), represents the relative speed (Range rate), and the natural probability distribution p of the car-cutting scene is as follows: Figure 3 As shown, the horizontal axis is the relative speed, in meters per second, and the vertical axis is the relative distance, in meters;

[0118] Construct the initial importance sampling function q based on the full speed difference model of the autonomous vehicle (1) ,like Figure 4 As shown, the horizontal axis is the relative speed, in meters per second, and the vertical axis is the relative distance, in meters.

[0119] This application example uses the adaptive acceleration test evaluation method (Multiple IS+CV) to test and evaluate autonomous vehicles. Compared with the importance sampling (IS) method and the adaptive acceleration test method based on multiple importance sampling (Multiple IS), the estimated results of the test indicators are as follows: Figures 5 to 8As shown in the figure; the four figures show the experimental results of 50, 100, 150 and 200 test times respectively, among which curve 1 represents the curve of the importance sampling (IS) method, curve 2 represents the curve of the multiple importance sampling (Multiple IS) method, curve 3 represents the curve of the adaptive accelerated test evaluation method (Multiple IS+CV), and the black dotted line represents the true value of the test indicator; it can be seen from the above figure that with the gradual increase in the number of tests, the estimation results of the three methods eventually converge to the true value of the test indicator.

[0120] The estimated error of the test indicator is Fig. 9 As shown, see Fig. 9 It can be seen that curve 1 represents the curve of the importance sampling (IS) method, curve 2 represents the curve of the multiple importance sampling (Multiple IS) method, and curve 3 represents the curve of the adaptive accelerated test evaluation method (Multiple IS+CV). When achieving the same estimation error, the number of tests required by the adaptive accelerated test evaluation method proposed in the embodiment of the present invention is much smaller than that of the importance sampling method and the adaptive accelerated test method based on multiple importance sampling, which can reduce the number of tests by about 95% and 80% respectively, greatly improving the test efficiency.

[0121] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A method for implementing adaptive acceleration test evaluation, comprising: According to The test results of the first and previous adaptive acceleration tests determine the Importance sampling function for sub-adaptive acceleration test; According to the determined The importance sampling function of the adaptive acceleration test is used to determine the Test scenarios for sub-adaptive testing ; In the determined Test scenarios for sub-adaptive testing The adaptive acceleration test of the self-driving car was carried out in Test results of sub-adaptive acceleration test; According to the obtained The test results of the adaptive acceleration test are used to determine the control parameters of the adaptive acceleration evaluation method based on the control variables; According to the determined control parameters, calculate the Test indicators for sub-adaptive acceleration test; According to the calculation of When the test index of the secondary adaptive acceleration test determines that the test result has converged, the determined test index is determined as the test evaluation result; Wherein, i is an integer greater than 1 but less than or equal to n, and n is the number of times the adaptive acceleration test is performed when the test results converge. , For the The importance sampling function of the adaptive acceleration test, the initial importance sampling function ; The control parameter is a parameter included in the control variable of the adaptive acceleration evaluation; Before the importance sampling function of the adaptive acceleration test, the method also includes: determining the natural probability distribution of the test scenario ; Construct the initial importance sampling function; the test index is calculated and determined by the following formula: ; To control the parameters, Express Perform sum operation, i takes the value of 1~n; To solve the After substitution The value of Express Perform sum operation, i takes the value of 1~n; Indicates that Substitution The function value after ; For test scenarios Corresponding test results; Represents a test scenario The control parameters are based on the minimization of The variance of is calculated using the following formula: 。 2. The method according to claim 1, characterized in that The determination The importance sampling function of the sub-adaptive acceleration test includes: According to the said The test results of the adaptive acceleration test and the previous test are used to determine the Importance sampling function for sub-adaptive speedup testing.

3. The method according to claim 1, characterized in that Whether the test results are convergent is determined by: Calculating the variance of the test indicator; When the variance of the test indicator is less than or equal to a preset variance threshold, it is determined that the test result has converged.

4. A computer storage medium, wherein a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the method for implementing adaptive acceleration test evaluation as described in any one of claims 1 to 3 is implemented.

5. A terminal, comprising: A memory and a processor, wherein the memory stores a computer program; wherein, The processor is configured to execute the computer program in the memory; When the computer program is executed by the processor, the method for implementing adaptive accelerated test evaluation as described in any one of claims 1 to 3 is implemented.

6. A device for implementing adaptive acceleration test evaluation, comprising: Determine a sampling function unit, a sampling unit, a testing unit, a parameter determination unit, a calculation unit and a processing unit; wherein, Determine the sampling function unit setting as: The test results of the first and previous adaptive acceleration tests determine the Importance sampling function for sub-adaptive acceleration test; The sampling unit is set as follows: The importance sampling function of the adaptive acceleration test is used to determine the Test scenarios for sub-adaptive testing ; The test unit is set to: Test scenarios for sub-adaptive testing The adaptive acceleration test of the self-driving car was carried out in Test results of sub-adaptive acceleration test; Determine the parameter unit setting as: The test results of the adaptive acceleration test are used to determine the control parameters of the adaptive acceleration evaluation method based on the control variables; The calculation unit is set to: according to the determined control parameters, calculate the Test indicators for sub-adaptive acceleration test; The processing unit is set as follows: When the test index of the secondary adaptive acceleration test determines that the test result has converged, the determined test index is determined as the test evaluation result; Wherein, i is an integer greater than 1 but less than or equal to n, and n is the number of times the adaptive acceleration test is performed when the test results converge. , For the The importance sampling function of the adaptive acceleration test, the initial importance sampling function ; The control parameter is a parameter included in the control variable of the adaptive acceleration evaluation; the sampling function determination unit is also configured to: determine the natural probability distribution of the test scenario ; construct the initial importance sampling function; the calculation unit is configured to calculate and determine the test index by the following formula: ; To control the parameters, Express Perform sum operation, i takes the value of 1~n; To solve the After substitution The value of Express Perform sum operation, i takes the value of 1~n; Indicates that Substitution The function value after ; For test scenarios Corresponding test results; Represents a test scenario The control parameters are based on the minimization of The variance of is calculated using the following formula: .