A method and device for implementing adaptive acceleration test
Through the adaptive acceleration test method, the importance sampling function and Bayesian optimization algorithm are used to increase the sampling rate of safety-critical scenes in autonomous vehicle testing, solve the problem of inefficiency in real road testing, and achieve more efficient test evaluation.
Patent Information
- Application Number
- CN202310063836.5
- 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
Among existing autonomous vehicle testing methods, real road testing is inefficient, especially in safety-critical scenarios where the sampling probability is low, leading to testing efficiency and effectiveness issues.
Through the adaptive accelerated testing method, the importance sampling function and Bayesian optimization algorithm are used to successively adjust the sampling probability of test scenarios, increase the sampling rate of key scenarios, and achieve convergence and evaluation of test results.
Significantly improves the efficiency of autonomous vehicle testing and evaluation, reduces the number of tests, and reduces time and economic costs.
Smart Images

Figure CN116009516B
Abstract
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 testing. 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 acceleration testing, which can accelerate the generation of test scenarios and improve the efficiency of testing and evaluation of autonomous driving vehicles.
[0007] An embodiment of the present invention provides a method for implementing an adaptive acceleration test, comprising:
[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 sampling i ;
[0010] In the test scenario X of the i-th adaptive test determined by sampling i Conduct adaptive acceleration tests on self-driving cars and obtain test results;
[0011] According to the obtained test results, determine the test scenario X of the i-th adaptive test i The test indicator of the adaptive acceleration test; when it is judged that the test result converges according to the determined test indicator, the determined test indicator is determined as the test evaluation result;
[0012] 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.
[0013] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method further includes:
[0014] Determine the natural probability distribution p of the test scenario.
[0015] In an exemplary embodiment, before determining the importance sampling function of the i-th adaptive acceleration test, the method further includes:
[0016] Construct the initial importance sampling function.
[0017] In an exemplary embodiment, the test index is determined by calculating the following formula:
[0018]
[0019] in, For test scenario X i Corresponding test results; q α Indicates q (i) Perform sum operation, the weight of i is 1 to n; q α (X i ) is used to solve X i After substitution, q α The value of p(X i ) represents test scenario X i The natural probability distribution of .
[0020] In an exemplary embodiment, determining the importance sampling function of the i-th adaptive acceleration test includes:
[0021] 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.
[0022] In an exemplary embodiment, whether the test result is convergent is determined by:
[0023] Calculating the variance of the test indicator;
[0024] 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.
[0025] 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 is implemented.
[0026] 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:
[0027] The processor is configured to execute the computer program in the memory;
[0028] When the computer program is executed by the processor, the method for implementing the adaptive acceleration test as described above is implemented.
[0029] In another aspect, an embodiment of the present invention further provides a device for implementing adaptive acceleration testing, comprising: a sampling function determination unit, a sampling unit, a testing unit, an indicator determination unit and an output unit; wherein,
[0030] 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;
[0031] 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 ;
[0032] The test unit is set as follows: In the test scenario X of the i-th adaptive test determined by sampling i Conduct adaptive acceleration tests on self-driving cars and obtain test results;
[0033] The indicator unit is set to: Determine the test scenario X of the i-th adaptive test according to the obtained test results iThe output unit is configured to: when the test result converges according to the determined test indicator, determine the determined test indicator as the test evaluation result;
[0034] 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.
[0035] 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 the test scenario X of the i-th adaptive test determined by sampling i In the process, the self-driving car is subjected to an adaptive acceleration test to obtain the test results; according to the obtained test results, the test scenario X of the i-th adaptive test is determined. i The test indicator of the adaptive acceleration test; when the test result converges according to the determined test indicator, the determined test indicator 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 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 determining the multiple importance sampling functions.
[0036] 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
[0037] 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.
[0038] Figure 1 A flowchart of a method for implementing adaptive acceleration testing according to an embodiment of the present invention;
[0039] Figure 2 A structural block diagram of a device for implementing adaptive acceleration testing according to an embodiment of the present invention;
[0040] Figure 3 A schematic diagram of a car cutting scenario in which the present invention is applied as an example;
[0041] Figure 4 A schematic diagram of the natural probability distribution of a car-cutting scenario in an application example of the present invention;
[0042] Figure 5 A schematic diagram of an initial importance sampling function for an application example of the present invention;
[0043] Figure 6 A schematic diagram of an importance sampling function for applying an example of the present invention;
[0044] Figure 7 It is a curve diagram of the estimated results of the test indicators of the embodiment of the present invention;
[0045] Figure 8 Schematic diagram of the estimated error of the test indicators of the embodiment of the present invention. DETAILED DESCRIPTION
[0046] 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.
[0047] 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.
[0048] 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;
[0049] 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:
[0050]
[0051] 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. The probability of an accident occurring in an autonomous vehicle is extremely low, which means that the Monte Carlo sampling-based test method requires a large number of tests to obtain an estimate of the accident rate. The time and economic costs of 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 scenarios prone to accidents, thereby improving test efficiency. The expression of the test index determined based on the importance sampling method is:
[0052]
[0053] 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.
[0054] 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.
[0055] Figure 1 Flow chart of a method for implementing adaptive acceleration testing according to an embodiment of the present invention, such as Figure 1 As shown, including:
[0056] 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;
[0057] 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 ;
[0058] Step 103: In the test scenario X of the i-th adaptive test determined by sampling i Conduct adaptive acceleration tests on self-driving cars and obtain test results;
[0059] Step 104: Determine the test scenario X for the i-th adaptive test based on the obtained test results. i Test indicators for adaptive acceleration testing;
[0060] Step 105: when it is determined that the test result converges according to the determined test indicator, the determined test indicator is determined as the test evaluation result;
[0061] 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.
[0062] The embodiments of the present invention accelerate the generation of test scenarios and improve the efficiency of autonomous driving vehicle testing and evaluation through multiple importance sampling.
[0063] 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. Only when the n-th adaptive test is executed, the test results converge.
[0064] 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:
[0065] Determine the natural probability distribution function p of the test scenario, which can be obtained from the natural driving dataset.
[0066] 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:
[0067] Construct the initial importance sampling function.
[0068] 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.
[0069] In an exemplary embodiment, the test index of the embodiment of the present invention is calculated and determined by the following formula:
[0070]
[0071] in, For test scenario X i Corresponding test results; q α Indicates q (i) Perform sum operation, the weight of i is 1 to n; q α (X i ) is used to solve X i After substitution, q α The value of p(X i ) represents test scenario X i The natural probability distribution of .
[0072] In an exemplary embodiment, an embodiment of the present invention obtains an expression of a test indicator based on an adaptive accelerated test of multiple importance sampling including n tests.
[0073] In an exemplary embodiment, the embodiment of the present invention determines the importance sampling function of the i-th adaptive acceleration test, including:
[0074] 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.
[0075] 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.
[0076] In an exemplary embodiment, the embodiment of the present invention determines whether the test result is convergent in the following manner:
[0077] Calculate the variance of the test indicator;
[0078] 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.
[0079] In an exemplary embodiment, the adaptive test model of the embodiment of the present invention is implemented as follows:
[0080] Obtain the natural probability distribution function p of the test scenario; here, the natural probability distribution can be determined by referring to the method of adaptive acceleration testing through relevant technologies.
[0081] 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) ;
[0082] For i=1:n, loop:
[0083] Sample test scenario X i ~q (i) ;
[0084] According to the sampled test scenario X i , testing of self-driving cars;
[0085] Get test results And calculate the test index according to the test results;
[0086] 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) .
[0087] 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 is implemented.
[0088] 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:
[0089] The processor is configured to execute the computer program in the memory;
[0090] When the computer program is executed by a processor, the method for implementing the adaptive acceleration test as described above is implemented.
[0091] Figure 2 The structure diagram of the device for implementing adaptive acceleration test according to the embodiment of the present invention is as follows: Figure 2 As shown, it includes: a sampling function determination unit, a sampling unit, a testing unit, an indicator determination unit and an output unit; wherein,
[0092] 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;
[0093] 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 ;
[0094] The test unit is set as follows: In the test scenario X of the i-th adaptive test determined by sampling i Conduct adaptive acceleration tests on self-driving cars and obtain test results;
[0095] The indicator unit is set to: Determine the test scenario X of the i-th adaptive test according to the obtained test results i The output unit is configured to: when the test result converges according to the determined test indicator, determine the determined test indicator as the test evaluation result;
[0096] 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.
[0097] In an exemplary embodiment, the sampling function determination unit of the embodiment of the present invention is further configured to: determine a natural probability distribution p of the test scenario.
[0098] In an exemplary embodiment, the sampling function determination unit of the embodiment of the present invention is further configured to: construct an initial importance sampling function.
[0099] In an exemplary embodiment, the indicator determination unit of the embodiment of the present invention is configured to calculate and determine the test indicator by the following formula:
[0100]
[0101] in, For test scenario X i Corresponding test results; q α Indicates q (i) Perform sum operation, the weight of i is 1 to n; q α (X i ) is used to solve X i After substitution, q α The value of p(X i ) represents test scenario X i The natural probability distribution of .
[0102] 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.
[0103] Application Examples
[0104] 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 3 Schematic diagram of a car cutting scenario using an example of the present invention, as shown in FIG. Figure 3As 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.
[0105] 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 4 As shown, the horizontal axis is the relative speed, in meters per second, and the vertical axis is the relative distance, in meters;
[0106] The embodiment of the present invention constructs an initial importance sampling function q based on the full speed differential model of the autonomous driving vehicle. (1) ,like Figure 5 As shown, the horizontal axis is the relative speed, in meters per second, and the vertical axis is the relative distance, in meters. The embodiment of the present invention performs an adaptive acceleration test on an autonomous driving vehicle according to the above method. The importance sampling function used in the test is as follows Figure 6 As shown in the figure, the importance sampling function obtained after 0, 10, 30, 50, 70, 100, 150, 200 and 250 tests are respectively shown. The horizontal axis is the relative speed in meters per second, and the vertical axis is the relative distance in meters.
[0107] Comparison between adaptive testing method based on multiple importance sampling and importance sampling method, Figure 7 is a curve diagram of the estimated results of the test indicators of the embodiment of the present invention, Figure 8 Schematic diagram of estimation error of test indicators of an embodiment of the present invention. In the figure, curve 1 represents the curve of the importance sampling (IS) method, and curve 2 represents the curve of the multiple importance sampling (Multiple IS) method. Figure 7 The black dashed line in the middle represents the true value of the test indicator. Figure 8 The black dashed line in the middle represents the set threshold of the test indicator estimation error; see Figure 7 It can be seen that as the number of tests gradually increases, the number of tests required by the embodiment of the present invention is much smaller than that of the importance sampling method, reducing the number of tests by about 75%, thereby greatly improving the test efficiency.
[0108] 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 testing, 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 sampling determined Test scenarios for sub-adaptive testing Conduct adaptive acceleration tests on self-driving cars and obtain test results; Based on the test results obtained, determine the Test scenarios for sub-adaptive testing Test indicators for adaptive acceleration testing; When it is determined that the test result converges according to the determined test indicator, the determined test indicator 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 determination 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: ; For test scenarios Corresponding test results; Express Perform sum operation, the weight of i is 1~n; To solve the After substitution The value of Represents a test scenario The natural probability distribution of The importance sampling function of the first adaptive acceleration test includes: 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.
2. 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.
3. 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 testing as described in any one of claims 1 to 2 is implemented.
4. 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 acceleration testing as described in any one of claims 1 to 2 is implemented.
5. A device for implementing adaptive acceleration testing, comprising: Determine a sampling function unit, a sampling unit, a testing unit, an indicator determination unit and an output 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 as follows: Test scenarios for sub-adaptive testing Conduct adaptive acceleration tests on self-driving cars and obtain test results; Determine the indicator unit setting as: According to the test results obtained, determine the Test scenarios for sub-adaptive testing The output unit is configured to: when the test result converges according to the determined test indicator, determine the determined test indicator 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 sampling function determination unit is also configured to: determine the natural probability distribution of the test scenario ; constructing the initial importance sampling function; the indicator determination unit is configured to calculate and determine the test indicator by the following formula: ; For test scenarios Corresponding test results; Express Perform sum operation, the weight of i is 1~n; To solve the After substitution The value of Represents a test scenario The natural probability distribution of The importance sampling function of the first adaptive acceleration test includes: 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.
