Automatic driving system safety verification method based on adaptive subset simulation

Through the adaptive subset simulation method, using Monte Carlo and Markov chain technology stratified sampling and conditional sampling, the problem of low test efficiency and accuracy of the autonomous driving system in high-dimensional scenarios is solved, and more efficient and accurate results are achieved. Security verification enhances robustness and ensures the reliability of test results.

CN118708494APending Publication Date: 2024-09-27TONGJI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410857188.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing autonomous driving systems have low test efficiency and accuracy in the high-dimensional scene parameter space, making it difficult to balance the needs of exploring extreme scenarios and covering the test space, and fail to fully integrate advanced test platforms and full-stack autonomous driving systems, resulting in test results It cannot fully reflect the real environment.

Method used

Using a method based on adaptive subset simulation, independently and identically distributed driving scene samples are generated through Monte Carlo testing, and the Markov chain Monte Carlo method is used to construct an adaptive scaling proposal distribution, hierarchical sampling and conditional sampling, and gradual approximation target area to improve sampling efficiency and accuracy of results.

Benefits of technology

Significantly improves the safety verification efficiency and accuracy of the autonomous driving system in high-dimensional scenarios, enhances the robustness of the method, ensures the effectiveness of testing in complex and uncertain environments, and improves the accuracy and accuracy of probability estimation. Reliability of results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708494A
    Figure CN118708494A
Patent Text Reader

Abstract

The invention relates to an automatic driving system safety verification method based on adaptive subset simulation, and the method comprises the steps: 1, high-dimensional scene parameter space acceleration test capability: based on an adaptive subset simulation technology, employing layered sampling and conditional sampling means, achieving the efficient test of a high-dimensional parameter space, and remarkably improving the test efficiency; 2, the method adapts to the uncertainty output characteristics of a real tested object: aiming at a commercial automatic driving system with obvious uncertainty output characteristics, the method provided by the invention can adapt to the uncertainty of the commercial automatic driving system, and the applicability of the test method is improved; and 3, security and verification test requirements are considered: the method provided by the invention can meet the security and verification test requirements at the same time, and test resources are greatly saved by realizing security in the verification process. According to the method, efficient utilization of test resources can be realized, and a high-credibility test result can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method for verifying the safety of an autonomous driving system based on adaptive subset simulation. Background Art

[0002] Autonomous Driving Systems (ADS) integrate cutting-edge technologies such as high-trust sensors and artificial intelligence, aiming to reduce dependence on drivers and improve traffic safety and efficiency. With the advancement of technology, autonomous driving systems are gradually transforming from advanced driver assistance systems (ADAS) to fully autonomous driving, and the demand for safety testing is growing.

[0003] Traditional autonomous driving testing methods mainly include controlled field testing, open road testing and virtual simulation testing. Controlled field testing is conducted in a specific environment. Although it can provide predictable and safe conditions, it has problems such as poor generalization ability and high operating costs. Open road testing is closer to the real traffic environment, but it faces problems such as imperfect laws and regulations, high testing costs and safety risks. Virtual simulation testing uses computer simulation technology to reproduce the traffic environment. It has the advantages of controllability, repeatability and cost-effectiveness, but it also has the limitation of not being able to fully reproduce the complex situations in the real world.

[0004] Even with virtual simulation testing, existing testing methods have significant limitations when facing high-dimensional natural driving scenarios. Existing methods have difficulty balancing the needs of exploring extreme scenarios and covering the test space, and fail to fully integrate advanced test platforms and full-stack autonomous driving systems, resulting in test results that cannot fully reflect the real environment. Therefore, how to improve the efficiency and accuracy of autonomous driving system safety testing, especially in high-dimensional scenario parameter space, has become an urgent problem to be solved. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a safety verification method for an autonomous driving system based on adaptive subset simulation, so as to solve the problems of low efficiency and low accuracy of the prior art in testing the autonomous driving system in a high-dimensional scene parameter space.

[0006] The purpose of the present invention can be achieved by the following technical solutions:

[0007] One aspect of the present invention provides a method for safety verification of an autonomous driving system based on adaptive subset simulation, comprising the following steps:

[0008] Step S1, generating N independent and identically distributed driving scene samples through Monte Carlo test;

[0009] Step S2, based on the pre-built function function of the automatic driving system, selecting multiple samples with high risk from the current driving scene samples as seed samples of the current level;

[0010] Step S3: for each seed sample, using the Markov chain Monte Carlo method, based on the standard deviation of the proposal distribution after adaptive scaling, construct an independent Markov chain to generate new samples, ensure that the total number of samples generated at each level is N, and update the scaling factor;

[0011] Step S4, for the new samples, based on the functional function of the driving automatic driving system, multiple samples with high risk are selected as seed samples of the current level, as new seed samples, and the subset simulation of the current level is completed;

[0012] Step S5, repeating steps S3-S4 until the critical value of the functional function of the seed sample meets the preset condition;

[0013] Step S6, by calculating the number of seed samples falling into the collision event area, the estimated value of the failure probability is calculated to achieve the safety verification of the autonomous driving system.

[0014] As a preferred technical solution, in step S3, the calculation process of the proposed distribution variance includes the following steps:

[0015] Step S301 : adaptively adjusting the standard deviation of the proposal distribution based on the current scaling factor.

[0016] As a preferred technical solution, the adaptive adjustment of the proposed distribution standard deviation is implemented by the following formula:

[0017] σ k =min(λ iter σ 0k ,1.0)

[0018] Among them, σ k , σ 0k is the updated standard deviation of the proposed distribution of the kth sample, the initial value of the proposed distribution standard deviation, λ iter The scaling factor for the iterth iteration.

[0019] As a preferred technical solution, the initial value of the proposed distribution standard deviation is the sample variance of the seed sample.

[0020] As a preferred technical solution, the process of updating the scaling factor includes the following steps:

[0021] Step S302, calculating the average acceptance of the Markov chain;

[0022] Step S303: updating the scaling factor based on the average acceptance.

[0023] As a preferred technical solution, the updating of the scaling factor is implemented by the following formula:

[0024]

[0025] Among them, λ iter+1 , iter Respectively represent the scaling factors of the iter+1th and iterth generations, a * is the predetermined optimal acceptance rate, ζiter is a positive real number, is the average acceptance of the Markov chain.

[0026] As a preferred technical solution, the estimated value of the failure probability is The calculation is done using the following formula:

[0027]

[0028] Among them, p0 is the probability of selecting high-risk samples in step S2 and step S4, N f is the number of seed samples falling into the collision event area, and N is the total number of seed samples.

[0029] As a preferred technical solution, the driving scenario samples include all possible states of the autonomous driving system.

[0030] According to another aspect of the present invention, an electronic device is provided, comprising: one or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the aforementioned autonomous driving system safety verification method based on adaptive subset simulation.

[0031] According to another aspect of the present invention, a computer-readable storage medium is provided, comprising one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the aforementioned autonomous driving system safety verification method based on adaptive subset simulation.

[0032] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0033] (1) Improving the safety verification efficiency of autonomous driving systems in high-dimensional scenarios: To address the problem that the number of tests required for testing using the Monte Carlo simulation method is very large, the present invention uses an adaptive subset simulation method to decompose the probability of a complex, rare event into a series of simple event probabilities that are easier to simulate and estimate. By constructing a functional function for driving an autonomous driving system, subset simulation is implemented through stratified sampling and conditional sampling, and the entire simulation process is decomposed into multiple levels or stages, so as to more effectively explore and approximate the target area or selected sample characteristics.

[0034] (2) Improving the accuracy and robustness of probability estimation in subset simulation in high-dimensional problems: To address the problem of unsatisfactory performance of Monte Carlo Markov methods, the present invention adaptively scales the standard deviation of the proposal distribution during the iteration process. By scaling the standard deviation σ of the one-dimensional proposal distribution k Adjustments are made to keep the acceptance rate within an optimal range, thereby improving sampling efficiency and accuracy of results. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of subset simulation iteration in an embodiment;

[0036] Figure 2 It is a flow chart of the step-by-step sampling and conditional sampling of subset simulation in the embodiment;

[0037] Figure 3 Schematic diagram of a three-dimensional car-following scene in an embodiment;

[0038] Figure 4 A schematic diagram of a six-dimensional lane change insertion scenario in an embodiment;

[0039] Figure 5 It is a joint simulation framework between LGSVL and SUT in the embodiment. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0041] Example 1

[0042] In response to the problems of low efficiency and low accuracy in testing autonomous driving systems in high-dimensional scenario parameter space in the prior art, this embodiment provides an autonomous driving system safety verification method based on adaptive subset simulation. Through the adaptive subset simulation technology, the test efficiency and the accuracy of the results are significantly improved, while the robustness of the method is enhanced, ensuring the effectiveness of the test in complex and uncertain environments.

[0043] This embodiment is mainly divided into two parts. The first part realizes subset simulation, and the second part realizes adaptive subset simulation based on this.

[0044] 1. Subset simulation.

[0045] At present, the main method to evaluate the safety of autonomous driving systems is to analyze their collision probability in natural driving scenarios. The evaluation of collision probability is an important part of the safety verification of autonomous driving systems and one of the key indicators for measuring the safety of autonomous driving systems. In the sample space Ω that conforms to the distribution of natural driving scenarios, the probability of any scenario θ appearing in the sample space is P(θ). Let I ε is the indicator function of the collision scene, indicating whether the scene θ is a collision scene, that is, whether it belongs to the sample subspace of the dangerous scene Inside. I F It is expressed as:

[0046]

[0047] Let probability P F Expressed as the probability of a collision scenario, a set of data containing n independent samples (θ1,θ1,...,θ n ), and count the proportion of collision scene samples in n samples. Let represents the estimated value, then It can be expressed as:

[0048]

[0049] In the traditional Monte Carlo method, according to the law of large numbers, when n→∞, That is, when n is large enough, It can converge to P F .by The relative half-width is used as the convergence criterion, and the number of samples n tested must satisfy:

[0050]

[0051] Where b is the relative half-width, z α / 2 2 / b 2 is a constant, P Fis the probability of a collision scenario. In a natural driving environment, P F This means that when using the Monte Carlo simulation method for testing, the number of tests n required will be very large. In order to reduce the number of tests, new testing techniques are needed.

[0052] In view of the above problems, this embodiment provides an adaptive subset simulation technology. The core principle is to decompose the probability of a complex and rare event into a series of simple event probabilities that are easier to simulate and estimate. It is especially suitable for high-dimensional problems. To achieve this goal, the function function of the driving automatic driving system can be defined as Y(θ), the collision event can be represented as F={θ:Y(θ)≤0}, and the set of intermediate dangerous events can be F j (k=1,2,...,m), where The critical value of the functional function corresponding to each subset is b1>b2>...>b m =0, that is, F j ={θ:Y(θ)≤b j}, the schematic diagram of subset simulation sampling is attached Figure 1 Therefore, according to the definition of conditional probability, the probability of the final collision event can be expressed as:

[0053]

[0054] In order to realize subset simulation, stratified sampling method and conditional sampling method are needed. Stratified sampling is a gradually refined sampling strategy for estimating the probability of rare events. This method decomposes the entire simulation process into multiple levels or stages, each of which is associated with an intermediate dangerous event and corresponds to a gradually decreasing safety threshold. Conditional sampling is to select samples based on specific conditions in order to more effectively explore and approach the target area or selected sample characteristics. The Markov Chain Monte Carlo method (MCMC) is used in the proposed adaptive subset simulation method. The flowchart of stratified sampling and conditional sampling is attached. Figure 2 The specific process of adaptive subset simulation is as follows:

[0055] Step S1, initialize Monte Carlo test: First, conduct a round of Monte Carlo test to generate N independent and identically distributed samples. These samples cover all possible states of the system, including safe and dangerous states. The samples contain input data and output data, where the input data is the key parameters of the scene, such as the distance between the front and rear vehicles, the speed of the front vehicle, the speed of the main vehicle, the steering angle of the vehicle, etc., and the output data is the scene test result: safe or dangerous.

[0056] Step S2, sorting and selecting seed samples: sort the N samples in descending order according to the value of the functional function Y(θ), and select the most dangerous p0*N samples, which have the highest risk at the current level, that is, they are most likely to be close to failure events.

[0057] Step S3, seed sample definition: p0*N samples are selected as "seed samples", which are assumed to be at the safety threshold b of the current level j-1 and the next safety threshold b j The intermediate dangerous event set F j-1 Inside.

[0058] Step S4, constructing a Markov chain: For each seed sample, a Markov chain is constructed using the Markov chain Monte Carlo (MCMC) method. These chains help explore the state space from the current seed sample state to a lower safety threshold.

[0059] Step S5, simulate the Markov chain: each Markov chain runs independently and generates 1 / p0 samples to keep the total number of samples generated in each layer constant at N. MCMC is used in this process to achieve the transition from the current state to the adjacent state and further explore the state with a lower safety threshold.

[0060] Step S6, re-evaluation and sorting: re-evaluate and sort the functional function values ​​of all samples generated by the Markov chain, and re-select the most dangerous p0*N samples as seed samples for the next round.

[0061] Step S7, repeat stratified sampling: use the newly selected seed sample and repeat the above steps until the critical value b of the seed sample is reached. j <0, indicating that they have entered the failure event set, that is, the collision event area. At this point, the stratified sampling ends.

[0062] Step S8, statistics and probability calculation: The number of samples that finally fall into the collision event area is counted as N f , the estimated value of the conditional probability is P n =N f / N, this ratio is used to estimate the probability of a collision event in the entire system. This ratio is used to estimate the probability of a failure event in the entire system. By combining the conditional probabilities p of all levels j Multiplying them together, we can get an estimate of the probability of failure:

[0063]

[0064] Through subset simulation, the efficiency of safety verification of autonomous driving systems in high-dimensional scenarios can be improved.

[0065] 2. Adaptive subset simulation.

[0066] From the perspective of the sampling process of subset simulation, the performance of the algorithm depends largely on the proposed distribution in the MCMC algorithm. The choice of variance. If the variance of the proposed distribution is too large, a large number of candidate samples will be rejected, while if the variance is too small, the correlation between sample states may be too high. In order to improve sampling efficiency, this embodiment achieves the optimal acceptance rate by adaptively adjusting the parameters of the proposed distribution to optimize the performance of the MCMC algorithm.

[0067] This embodiment adopts a dynamic adjustment strategy. This strategy involves adjusting the one-dimensional proposal distribution S k (·|θ k ) k This method aims to keep the acceptance rate within an optimal range, thereby improving sampling efficiency and accuracy of results.

[0068] In the implementation of adaptive subset simulation, we first use the subset that falls into F at the jth level. j A sample collection As a seed, start N s The purpose of this step is to obtain the conditional sample π(·||F j ), these samples will then be used for further simulation of the j+1th layer subset. The core idea of ​​adaptive subset simulation is to simulate the Markov chain step by step. In each simulation step, we first use the same standard deviation σ k Simulation N a Chains, where N a YesN s A subset of . Complete N a After simulating the chain, adjust the standard deviation σ of the proposal distribution based on the estimated acceptance rate of the current chain k In order to ensure uniform convergence of the Markov chain and unbiasedness of the subset simulation, N a The seed of the chain is from N s The seeds are selected randomly and without duplication. This process helps to ensure the reliability and validity of the simulation results.

[0069] In the adaptive subset simulation process, we first set a set of initial values ​​σ for the standard deviation of the proposed distribution. 0k ,k=1,…,n. At the same time, an initial scaling parameter λ1∈(0,1) is determined. By adjusting N a The proposed distribution of Markov chains is used to optimize the sampling process, where N s / N a It must be an integer so that uniform adjustment is performed in each iteration step. The adaptive adjustment process will be performed in each iteration step iter=1,…,Ns / N a In each adaptation step iter, by using the scaling factor λ iter For the initial value σ 0k Scaling is performed to calculate the standard deviation σ of the proposal distribution for each component k To ensure that the proposal distribution is not too dispersed, each σ k cannot exceed the upper limit of the standard deviation of the corresponding random variable, which is 1.0. Therefore, in each iteration step iter, σ k All will be adaptively adjusted according to the following equation:

[0070] σ k =min (λ iter σ 0k ,1.0) (6)

[0071] Afterwards, from the collection Randomly select N a seed samples and conditionally sample to simulate k The corresponding Markov chain. Then, the average acceptance rate of the current Markov chain is evaluated using formula (7):

[0072]

[0073] in, There is a seed sample chain The average accepted sample. Then, the scaling factor λ is updated according to the following formula iter adjustments.

[0074]

[0075] Among them, a * is the predetermined optimal acceptance rate. iter is a positive real number, which is designed to ensure that iter The change of gradually decreases and finally converges to 0. In this embodiment, it is set to ζ iter =iter -1 / 2 According to formula (8), if the average acceptance rate of the chain is less than a * , then the variance of each one-dimensional conditional normal distribution will decrease, otherwise if it exceeds a * , then the variance of each one-dimensional normal distribution will increase. This mechanism enables the algorithm to automatically adjust the standard deviation of the proposed distribution to approach the optimal acceptance rate.

[0076] For the standard deviation σ in the iterative process of the conditional sampling algorithm 0kThe initial value of is taken as the sample variance of the seed sample in the corresponding subset in this method to ensure that the initial proposed distribution matches the distribution characteristics of the seed sample. The specific equations for calculating the sample mean and standard deviation of each dimension of the seed sample are as follows:

[0077]

[0078] The variance is:

[0079]

[0080] The greater the impact of the random variable on the function of the autonomous driving system, the greater the corresponding standard deviation. By adaptively selecting the initial value σ of the standard deviation in the conditional sampling algorithm 0k , ensuring that dimensions with greater influence can move over a wider range. Compared to using a fixed proposal distribution Compared with the original subset simulation with sampling, the adaptive subset simulation using adaptive scaling factor helps to keep the acceptance rate very close to the optimal value a * In summary, the method pseudo code is shown in Table 1:

[0081] Table 1 Pseudo code of adaptive sampling method

[0082]

[0083]

[0084] In summary, this section improves the accuracy and robustness of probability estimation of subset simulation in high-dimensional problems by dynamically adjusting the sampling method of subset simulation in an adaptive manner.

[0085] This method improves the test efficiency in high-dimensional parameter space by dynamically adjusting the sampling strategy, significantly improving the accuracy and robustness of the probability estimation of rare events. By building a high-fidelity joint simulation platform and integrating a representative full-stack, end-to-end autonomous driving system, the high fidelity and credibility of the test are ensured, and the proposed test method is verified by example.

[0086] The following two core functional scenarios, car-following and lane-changing, are used as examples for verification. They are two vehicle interaction scenarios that frequently appear in autonomous vehicle testing. In the car-following scenario, the autonomous vehicle must follow the vehicle in front closely, which not only requires the system to maintain a safe following distance, but also to be able to respond sensitively to possible acceleration, deceleration or parking of the vehicle in front. In the lane-changing scenario, the autonomous vehicle needs to properly handle the situation where vehicles in adjacent lanes merge into the current lane. This requires the system to accurately assess the current traffic environment, select the appropriate time to change lanes or accelerate or decelerate, and ensure the safety of the entire process.

[0087] In the example verification, two key logical scenario parameters, car-following and lane-changing, are extracted from the HighD dataset. Specifically, the car-following scenario parameters are three-dimensional, while the lane-changing parameter is six-dimensional. These parameters jointly determine the details of the interaction between vehicles. The illustration of the scenario parameters is attached. Figure 3 and attached Figure 4 Using these parameters, two logical scenarios were constructed and converted into specific simulation scenarios through simulation tools to test the autonomous driving system in a virtual environment. The construction of parameter distribution adopts Gaussian Mixture Model (GMM), which describes the probability distribution of data through the weighted sum of multiple Gaussian distributions. Its probability density function is defined as:

[0088]

[0089] Where: D is the dimension of the dataset. μ k Is a D-dimensional mean vector. Σ k Is a D×D covariance matrix, which is positive definite and represents the distribution of data in each dimension. |Σ k | is the determinant of the covariance matrix. When determining the parameters of the Gaussian mixture model, the maximum likelihood estimation method is usually used, and the expectation maximization (EM) algorithm is used to iteratively solve the problem.

[0090] In the example verification, the LGSVL simulation platform was used and integrated with two widely used autonomous driving systems: Apollo; and the intelligent driving model IDM, a physical model used to describe and simulate vehicle following behavior. These two models were co-simulated with LGSVL, so that this simulation test could evaluate and compare their performance in a unified and controlled environment. When co-simulating with the autonomous driving system, LGSVL not only serves as a simulation environment, but also enables in-depth two-way interaction with the autonomous driving system. The autonomous driving system receives sensor data from LGSVL in the simulation environment, executes its algorithms, and makes decisions, which include but are not limited to key functions such as obstacle prediction, motion planning, and vehicle control. Subsequently, the output of the autonomous driving system, such as steering, acceleration, and braking commands, will be fed back to the simulation platform, which in turn affects the behavior of the simulated vehicle and the state of the simulation environment.

[0091] In the example verification, Python API was used to develop a test process for dynamically adjusting simulation parameters. These parameters can be adjusted based on real-time feedback from the simulation to simulate different scenario parameters. The use of API greatly increases the flexibility and efficiency of simulation testing, making it possible to apply accelerated testing methods based on simulation test results. Based on the results of the previous simulation, the parameters of the next simulation can be adjusted and the test cases can be optimized, thereby speeding up the simulation iteration and meeting the needs of large-scale simulation testing. The specific framework of the joint simulation platform is attached. Figure 5 .

[0092] In the process of instance verification, since the deceleration in the IDM model is dynamically calculated, it will gradually decelerate according to the actual situation, thereby avoiding sudden braking and finally avoiding collision completely. However, this is obviously not in line with reality. In order to simulate the physical limitations of the braking system of vehicles in the real world. In terms of parameter setting, in order to reproduce the braking principle of IDM, this study sets a hard-coded maximum deceleration parameter b max , which is consistent with the setting in the Apollo model. The specific parameter settings of IDM are shown in Table 2:

[0093] Table 2 IDM model parameters

[0094]

[0095] Before conducting safety verification accelerated testing on ADS, a Monte Carlo experiment is conducted in advance as a benchmark for the efficiency and accuracy of subsequent accelerated testing methods. The Monte Carlo method relies on the law of large numbers and the central limit theorem, which ensure that with a sufficient number of independent and identically distributed random samples, the sample mean will approach the true mean of the population. Through Monte Carlo simulation testing, specific estimates of the collision rate and the number of tests required for the simulation to converge can be obtained. In the subsequent evaluation of accelerated testing methods, the collision rate estimate can be used to compare the accuracy of the collision probability estimate, and the number of tests can be used to compare the acceleration efficiency of the accelerated testing method.

[0096] Afterwards, the adaptive subset simulation method, the traditional subset simulation method and the importance sampling method are implemented to compare the accuracy, efficiency and robustness of the methods. Among them, importance sampling is a widely used accelerated test method. In terms of efficiency, the number of simulations required for the three methods to converge in different dimensional scenarios is compared. In terms of accuracy, the estimation results of the three methods need to be obtained through accelerated test experiments. Then, the estimation results are compared with the benchmark values ​​obtained by Monte Carlo simulation one by one to obtain the relative error value. In terms of robustness, due to the uncertainty and noise between different modules and the system as a whole, the ADS may eventually get completely different test results when facing the same test scenario, which puts high demands on the robustness of the test scheme. When conducting robustness evaluation, multiple rounds of experiments are used to evaluate the coefficient of variation (COV). The coefficient of variation is a dimensionless indicator, which means that it does not depend on the unit of measurement and can be used to compare probability estimation results under different magnitudes or units. In the analysis process, a lower coefficient of variation means that the estimated value fluctuates less around the mean, indicating that the estimation process is relatively stable and robust.

[0097] Among the two scenarios verified in this case, the six-dimensional lane change insertion scenario is a high-dimensional scenario, which uses multiple key parameters such as vehicle speed and vehicle lateral and longitudinal distance to describe the scenario. Compared with the low-dimensional three-dimensional following scenario, the complexity and difficulty of the test are significantly increased. Therefore, it is necessary to use adaptive subset simulation to improve the robustness of the acceleration test method. The data in Table 3 are used as the sampling parameter settings for subset simulation. After that, the data results of each acceleration test method are obtained through 20 repeated tests.

[0098] Table 3 Subset simulation sampling parameters

[0099]

[0100] Table 4 Performance of different test methods in 3D car-following scenarios

[0101]

[0102] Table 5 Performance of different test methods in the 6-dimensional lane change insertion scenario

[0103]

[0104] The following main conclusions can be drawn from Tables 4 and 5: Adaptive subset simulation can achieve similar or even better results than subset simulation in a shorter time, significantly improve the efficiency of simulation, and maintain accuracy that is better than the importance sampling method. It is also better than traditional subset simulation and importance sampling in terms of robustness. The above results fully demonstrate that the adaptive subset simulation method can achieve the purpose of the invention.

[0105] Example 2

[0106] This embodiment provides an electronic device, including: one or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the autonomous driving system safety verification method based on adaptive subset simulation as described in Example 1.

[0107] Example 3

[0108] This embodiment provides a computer-readable storage medium, including one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the autonomous driving system safety verification method based on adaptive subset simulation as described in Example 1.

[0109] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A safety verification method for an autonomous driving system based on adaptive subset simulation, characterized in that: The steps include: Step S1, generating N independent and identically distributed driving scene samples through Monte Carlo test; Step S2, based on the pre-built function function of the automatic driving system, selecting multiple samples with high risk from the current driving scene samples as seed samples of the current level; Step S3: for each seed sample, using the Markov chain Monte Carlo method, based on the standard deviation of the proposal distribution after adaptive scaling, construct an independent Markov chain to generate new samples, ensure that the total number of samples generated at each level is N, and update the scaling factor; Step S4, for the new samples, based on the functional function of the driving automatic driving system, multiple samples with high risk are selected as seed samples of the current level, as new seed samples, and the subset simulation of the current level is completed; Step S5, repeating steps S3-S4 until the critical value of the functional function of the seed sample meets the preset condition; Step S6, by calculating the number of seed samples falling into the collision event area, the estimated value of the failure probability is calculated to achieve the safety verification of the autonomous driving system.

2. The method for safety verification of an automatic driving system based on adaptive subset simulation according to claim 1, characterized in that: In step S3, the calculation process of the proposed distribution variance includes the following steps: Step S301 : adaptively adjusting the standard deviation of the proposal distribution based on the current scaling factor.

3. The method for safety verification of an automatic driving system based on adaptive subset simulation according to claim 2, characterized in that: The adaptive adjustment of the proposed distribution standard deviation is implemented using the following formula: s k =min(λ iter s 0k ,1.0) Among them, σ k , σ 0k is the updated standard deviation of the proposed distribution of the kth sample, the initial value of the proposed distribution standard deviation, λ iter The scaling factor for the iterth iteration.

4. The method for safety verification of an automatic driving system based on adaptive subset simulation according to claim 2, characterized in that: The initial value of the proposed distribution standard deviation is the sample variance of the seed sample.

5. The method for safety verification of an automatic driving system based on adaptive subset simulation according to claim 2, characterized in that: The process of updating the scaling factor includes the following steps: Step S302, calculating the average acceptance of the Markov chain; Step S303: updating the scaling factor based on the average acceptance.

6. The method for safety verification of an autonomous driving system based on adaptive subset simulation according to claim 5, characterized in that: The updating of the scaling factor is implemented by the following formula: Among them, λ iter+1 , iter Respectively represent the scaling factors of the iter+1th and iterth generations, a * is the predetermined optimal acceptance rate, ζ iter is a positive real number, is the average acceptance of the Markov chain.

7. The method for safety verification of an autonomous driving system based on adaptive subset simulation according to claim 1, characterized in that: The estimated value of the failure probability is The calculation is done using the following formula: Among them, p0 is the probability of selecting high-risk samples in step S2 and step S4, N f is the number of seed samples falling into the collision event area, and N is the total number of seed samples.

8. The method for safety verification of an autonomous driving system based on adaptive subset simulation according to claim 1, characterized in that: The driving scenario samples include all possible states of the autonomous driving system.

9. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the autonomous driving system safety verification method based on adaptive subset simulation as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: It includes one or more programs for execution by one or more processors of an electronic device, and the one or more programs include instructions for executing the safety verification method of an autonomous driving system based on adaptive subset simulation as described in any one of claims 1-8.

Citation Information

Cited By

  • Person-vehicle-road cooperative unmanned driving credibility acceleration evaluation method

    CN119473887A

  • Power system control optimization method considering distributed wind power generation random volatility

    CN119765391A