Failure probability estimation method and device of automatic driving system, equipment and medium

By optimizing the scenario parameter probability density function of the autonomous driving system and reducing the sample number, the problem of high calculation cost and low efficiency in the Monte Carlo method is solved, and efficient failure probability estimation is achieved.

CN120045834AActive Publication Date: 2025-05-27BEIJING SAIMO TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510518577.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-05-27
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

In the prior art, when using the Monte Carlo method to estimate the probability of failure of an autonomous driving system, the required number of scenario parameter samples is huge, resulting in excessive calculation cost and low efficiency.

Method used

By optimizing the probability density function of scene parameters, reducing the required number of scene parameter samples, and using a sampling method based on the target probability density function to estimate the probability of failure of the autonomous driving system.

Benefits of technology

While ensuring estimation accuracy, the number of scene parameter samples is reduced, the calculation cost is reduced, and the estimation efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045834A_ABST
    Figure CN120045834A_ABST
Patent Text Reader

Abstract

The invention relates to the field of automatic driving testing, in particular to a failure probability estimation method and device for an automatic driving system, equipment and a medium, and the method comprises the steps: taking the condition that the proportion of an initial scene parameter sample of which the estimated failure probability is greater than a first preset failure probability threshold value is greater than a preset proportion as an optimization target; optimizing the probability density function of the scene parameters to obtain a target probability density function; the estimation failure probability corresponding to the initial scene parameter sample refers to the failure estimation probability of the target automatic driving system under the initial scene parameter sample; sampling based on the target probability density function in a preset scene parameter value range to obtain a target scene parameter sample; and estimating the failure probability of the target automatic driving system based on the target probability density function and the estimated failure probabilities corresponding to all the target scene parameter samples. The method can reduce the number of scene parameter samples while guaranteeing the estimation precision, reduces the calculation cost, and improves the estimation efficiency.
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 tests. Specifically, it relates to a method, device, equipment and medium for estimating the failure probability of an autonomous driving system. Background Art

[0002] The failure probability of an autonomous driving system refers to the probability that the autonomous driving system cannot normally complete the predetermined tasks or fails in a specific test scenario or actual operating environment. It is an important indicator to measure the safety and reliability of the autonomous driving system. Generally, the Monte Carlo method is used to estimate the failure probability of the autonomous driving system.

[0003] Since the requirements for the failure probability of the autonomous driving system are very strict, the estimation accuracy requirements for the failure probability are very high. And the estimation accuracy of the Monte Carlo method is inversely proportional to the square root of the sample size. Therefore, when using this method to estimate the failure probability, the number of sample scenario parameters required is extremely large, resulting in too high computational costs and low efficiency. Summary of the Invention

[0004] In view of this, the purpose of this application is to provide a method, device, equipment and medium for estimating the failure probability of an autonomous driving system, which can sample based on the optimized probability density function, estimate the failure probability of the target autonomous driving system based on the sampled target scenario parameter samples, reduce the number of scenario parameter samples while ensuring the estimation accuracy, reduce the computational cost, and improve the estimation efficiency.

[0005] In a first aspect, an embodiment of this application provides a method for estimating the failure probability of an autonomous driving system, and the method includes: Taking the proportion of the initial scenario parameter samples with an estimated failure probability greater than the first preset failure probability threshold being greater than the preset proportion as the optimization goal, optimizing the probability density function of the scenario parameters to obtain the target probability density function; the estimated failure probability corresponding to the initial scenario parameter samples refers to the estimated probability that the target autonomous driving system fails under the initial scenario parameter samples; Sampling based on the target probability density function within the preset value range of the scenario parameters to obtain the target scenario parameter samples; Estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all the target scenario parameter samples.

[0006] In a possible implementation manner, the step of sampling based on the target probability density function within the preset value range of the scenario parameters to obtain the target scenario parameter samples includes: Taking the relative error of the first failure probability of the target autonomous driving system being less than a preset error threshold as the sampling target, sampling is performed based on the target probability density function within the value range of the scenario parameters to obtain the first scenario parameter sample in the target scenario parameter samples; Sampling is performed based on the target probability density function within the value range of the scenario parameters to obtain the second scenario parameter sample in the target scenario parameter samples; for any of the second scenario parameter samples, the estimated failure probability corresponding thereto is greater than or equal to the random failure probability threshold corresponding to the second scenario parameter sample.

[0007] In a possible implementation manner, the estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all the target scenario parameter samples includes: Determining the first failure probability of the target autonomous driving system under the first scenario parameter sample set obtained after sampling as the second failure probability of the target autonomous driving system; the first scenario parameter sample set refers to the set of the first scenario parameter samples in the target scenario parameter samples; Calculating a correction coefficient corresponding to the second failure probability according to the target probability density function and the estimated failure probabilities corresponding to all the second scenario parameter samples in the target scenario parameter samples; Correcting the second failure probability of the target autonomous driving system based on the correction coefficient to obtain the target failure probability of the target autonomous driving system.

[0008] In a possible implementation manner, the calculating the correction coefficient corresponding to the second failure probability according to the target probability density function and the estimated failure probabilities corresponding to all the second scenario parameter samples includes: Substituting the target probability density function and the estimated failure probabilities corresponding to all the second scenario parameter samples into the following formula to obtain the correction coefficient corresponding to the second failure probability; ; ; wherein, is the correction coefficient, is the number of the second scenario parameter samples, is the i-th second scenario parameter sample is the weight of, is the indicator function, is the simulation value of the evaluation index obtained by simulating the target autonomous driving system under the i-th second scenario parameter sample , is the i-th second scenario parameter sample is the estimated failure probability corresponding to, is the actual probability density function of the scenario parameters, is the target probability density function.

[0009] In a possible implementation, the estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample is calculated by the following formula: ; where, is the estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample, is any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample, is the cumulative distribution function of the standard normal distribution function; is the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample of the normal distribution expectation, is the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample of the standard deviation.

[0010] In a possible implementation, the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is determined by the following steps: Determine the estimated evaluation index distribution function under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample through a pre-constructed prediction model.

[0011] In a possible implementation, the prediction model is constructed by the following steps: Perform over-coverage sampling within the preset range of scenario parameter values through space-filling Latin hypercube sampling to obtain a set of simulation scenario parameter samples; Simulate the target autonomous driving system according to the set of simulation scenario parameter samples to obtain the estimated evaluation index of each simulation scenario parameter sample in the set of simulation scenario parameter samples; Perform Gaussian process regression modeling based on all simulation scenario parameter samples and the corresponding simulation scenario parameter samples to obtain a prediction model; the prediction model is used to determine the estimated evaluation index distribution function of the target autonomous driving system under any scenario parameter sample.

[0012] Second aspect, an embodiment of the present application further provides a failure probability estimation device for an autonomous driving system, the device includes: An optimization module, configured to optimize the probability density function of the scenario parameters with the objective of making the proportion of initial scenario parameter samples with an estimated failure probability greater than a first preset failure probability threshold greater than a preset proportion, to obtain a target probability density function; the estimated failure probability corresponding to the initial scenario parameter sample refers to the probability that the target autonomous driving system fails under the initial scenario parameter sample; A sampling module, including sampling based on the target probability density function within a preset range of scenario parameter values to obtain target scenario parameter samples; An estimation module, including estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all target scenario parameter samples.

[0013] Third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus, the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the failure probability estimation method of the autonomous driving system according to any one of the first aspect.

[0014] Fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, it performs the steps of the failure probability estimation method of the autonomous driving system according to any one of the first aspect.

[0015] An embodiment of the present application provides a failure probability estimation method, device, equipment and medium for an autonomous driving system. The method includes: optimizing the probability density function of the scenario parameters with the objective of making the proportion of initial scenario parameter samples with an estimated failure probability greater than a first preset failure probability threshold greater than a preset proportion, to obtain a target probability density function; the estimated failure probability corresponding to the initial scenario parameter sample refers to the estimated probability that the target autonomous driving system fails under the initial scenario parameter sample; sampling based on the target probability density function within a preset range of scenario parameter values to obtain target scenario parameter samples; estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all target scenario parameter samples. The present application can sample based on the optimized probability density function, estimate the failure probability of the target autonomous driving system based on the obtained target scenario parameter samples, reduce the number of scenario parameter samples while ensuring the estimation accuracy, reduce the calculation cost, and improve the estimation efficiency. Description of the Drawings

[0016] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the embodiments. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0017] Figure 1 Shows a flowchart of a method for estimating the failure probability of an autonomous driving system provided by an embodiment of the present application; Figure 2 Shows a sampling flowchart of target scenario parameter samples provided by an embodiment of the present application; Figure 3 Shows a structural schematic diagram of a device for estimating the failure probability of an autonomous driving system provided by an embodiment of the present application; Figure 4 Shows a structural schematic diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. It should be understood that the accompanying drawings in the present application only serve the purpose of illustration and description and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to actual scale. The flowcharts used in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations in the flowchart may not be implemented in sequence, and steps without logical context relationships may be reversed or implemented simultaneously. Furthermore, those skilled in the art can add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.

[0019] In addition, the described embodiments are only some embodiments of the present application, rather than all embodiments. The components of the embodiments of the present application usually described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application to be protected, but only represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the present application.

[0020] In order to enable those skilled in the art to use the content of this application, the following embodiments are given in combination with a specific application scenario, "the field of autonomous driving testing". For those skilled in the art, without departing from the spirit and scope of this application, the general principles defined here can be applied to other embodiments and application scenarios. Although this application is mainly described around "the field of autonomous driving testing", it should be understood that this is only an exemplary embodiment.

[0021] It should be noted that the term "including" will be used in the embodiments of this application to indicate the existence of the features stated thereafter, but does not exclude adding other features.

[0022] The following provides a detailed description of a method for estimating the failure probability of an autonomous driving system provided in the embodiments of this application.

[0023] Refer to Figure 1 As shown, it is a flowchart of a method for estimating the failure probability of an autonomous driving system provided in the embodiments of this application. The following explains each step of the embodiments of this application exemplarily: S101. Taking the proportion of the initial scenario parameter samples with the estimated failure probability greater than the first preset failure probability threshold being greater than the preset proportion as the optimization objective, optimize the probability density function of the scenario parameters to obtain the target probability density function.

[0024] In the embodiments of this application, the estimated failure probability corresponding to the initial scenario parameter sample refers to the estimated probability of the target autonomous driving system failing under the initial scenario parameter sample. Each initial scenario parameter sample corresponds to an estimated failure probability, which is calculated based on a pre-constructed prediction model of the distribution function of the predicted evaluation index for determining the target autonomous driving system under any scenario parameter sample (such as the initial scenario parameter sample). The scenario parameters are variables defined to describe the driving scenarios of the target autonomous driving system, such as the formal speed, whether there are pedestrians, the vehicle position, etc. The scenario parameter sample is obtained by assigning values to the scenario parameters. The probability density function (Probability Density Function, abbreviated as PDF) of the scenario parameters refers to a function that describes the probability distribution of the scenario parameters near a certain determined value point in the continuous probability space.

[0025] Specifically, the probability density function of the scenario parameters is optimized through the following steps: sampling is performed based on the latest probability density function within the preset value range of the scenario parameters to obtain an initial scenario parameter sample set; it is determined whether the proportion of the initial scenario parameter samples with an estimated failure probability greater than the first preset failure probability threshold (such as 0.5) in the initial scenario parameter sample set is greater than the preset proportion; if the proportion of the initial scenario parameter samples with an estimated failure probability greater than the first preset failure probability threshold is less than the preset proportion (such as 20%), the latest probability density function is updated based on the cross-entropy optimization method, and the process jumps to "sampling is performed based on the latest probability density function within the preset value range of the scenario parameters to obtain an initial scenario parameter sample set" and continues to execute; if the proportion of the initial scenario parameter samples with an estimated failure probability greater than the first preset failure probability threshold is greater than or equal to the preset proportion, the latest probability density function is determined as the target probability density function.

[0026] Here, the probability density function of the initial scenario parameters is the actual probability density function of the scenario parameters. The probability density function of the initial scenario parameters conforms to the standard normal distribution. Therefore, in the normal distribution family, the probability density function of the scenario parameters can be optimized based on the cross-entropy optimization method. During the optimization process, only the expectation and variance of the probability density function are optimized, and the covariance is not updated to avoid local optimization and affect the optimization effect.

[0027] In addition, the estimated failure probability corresponding to the initial scenario parameter sample is determined through the following steps: the estimated failure probability corresponding to the initial scenario parameter sample is calculated through the calculation formula of the estimated failure probability corresponding to the scenario parameter sample; when the number of initial scenario parameter samples with an estimated failure probability of 0 exceeds the preset number, the normal distribution expectation of the predicted evaluation index distribution function of the target autonomous driving system under the initial scenario parameter sample is used as the final estimated failure probability corresponding to the initial scenario parameter sample.

[0028] S102. Sampling is performed based on the target probability density function within the preset value range of the scenario parameters to obtain target scenario parameter samples.

[0029] Refer to Figure 2 As shown, it is the sampling flow chart of the target scenario parameter samples provided by the embodiment of the present application: S201. Taking the relative error of the first failure probability of the target autonomous driving system being less than the preset error threshold as the sampling target, sampling is performed based on the target probability density function within the value range of the scenario parameters to obtain the first scenario parameter samples in the target scenario parameter samples.

[0030] In the embodiment of the present application, the first failure probability of the target autonomous driving system refers to the failure probability of the target autonomous driving system under the "set of first scenario parameter samples after any sampling based on the sampling target", and is calculated from the estimated failure probabilities corresponding to all the first scenario parameter samples after any sampling. The set of first scenario parameter samples refers to the set of first scenario parameter samples. The relative error of the first failure probability of the target autonomous driving system is calculated based on the first failure probability of the target autonomous driving system and the estimated failure probabilities corresponding to all the first scenario parameter samples.

[0031] Specifically, the following steps are used to sample based on the target probability density function within the range of scenario parameter values to obtain the first scenario parameter samples among the target scenario parameter samples: Sample based on the target probability density function within the range of scenario parameter values to obtain a set of first scenario parameter samples; Calculate the relative error of the first failure probability of the target autonomous driving system based on this set of first scenario parameter samples; If the relative error is greater than or equal to the preset error threshold, continue to sample based on the target probability density function within the range of scenario parameter values to increase the number of first scenario parameter samples in the set of first scenario parameter samples; If the relative error is less than the preset error threshold, stop sampling.

[0032] For example, first sample 100 first scenario parameter samples based on the target probability density function, calculate the relative error of the first failure probability of the target autonomous driving system based on the set composed of these 100 first scenario parameter samples. If the relative error is greater than or equal to the preset error threshold, sample another 100 first scenario parameter samples based on the target probability density function. And calculate the relative error of the first failure probability of the target autonomous driving system based on the set composed of the 200 first scenario parameter samples obtained by sampling. If the relative error is less than the preset error threshold, stop sampling.

[0033] Furthermore, the calculation formulas for the first failure probability of the target autonomous driving system under the set of first scenario parameter samples after any sampling based on the sampling target and the relative error of the first failure probability are as follows: ; ; Among them, is the first failure probability of the target autonomous driving system, is the number of first scenario parameter samples is the number of the i-th first scenario parameter sample corresponding estimated failure probability, is the relative error of the first failure probability of the target autonomous driving system, is all first scenario parameter samples The variance of the corresponding estimated failure probability.

[0034] Here, in the process of sampling the first scenario parameter samples in the embodiments of the present application, it does not depend on simulation. Therefore, the increase in the target scenario parameter sample size will not lead to an increase in the calculation cost, reducing the estimation complexity of the failure probability of the target autonomous driving system.

[0035] S202. Sample within the value range of the scenario parameters based on the target probability density function to obtain the second scenario parameter samples in the target scenario parameter samples; the estimated failure probability corresponding to any of the second scenario parameter samples is greater than or equal to the random failure probability threshold corresponding to the second scenario parameter sample.

[0036] In the embodiment of the present application, a to-be-verified scenario parameter sample is obtained by sampling within the value range of the scenario parameters based on the target probability density function; a random failure probability threshold is randomly matched for the to-be-verified scenario parameter sample within the preset failure probability value range ([0, 1]) to obtain the random failure probability threshold corresponding to the to-be-verified scenario parameter sample; if the estimated failure probability corresponding to the to-be-verified scenario parameter sample is less than the random failure probability threshold, then discard the to-be-verified scenario parameter sample; if the estimated failure probability corresponding to the to-be-verified scenario parameter sample is greater than or equal to the random failure probability threshold, then determine the to-be-verified scenario parameter sample as the second scenario parameter sample; if the number of the second scenario parameter samples is less than the preset sample number, then continue to sample within the value range of the scenario parameters based on the target probability density function; if the number of the second scenario parameter samples is equal to the preset sample number, then stop sampling.

[0037] Here, in the process of sampling the second scenario parameter samples in the embodiments of the present application, it does not depend on simulation. Therefore, the sampling of the target scenario parameter sample size will not lead to an increase in the calculation cost, reducing the estimation complexity of the failure probability of the autonomous driving system. Sampling the second scenario parameter samples by the acceptance-rejection sampling method ensures the unbiasedness of the estimation. Optimizing the probability density function results in the failure probability corresponding to the sample not being too low, thereby improving the sampling efficiency.

[0038] S103. Estimate the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all the target scenario parameter samples.

[0039] Step 1. Determine the first failure probability of the target autonomous driving system under the first scenario parameter sample set obtained after sampling as the second failure probability of the target autonomous driving system; the first scenario parameter sample set refers to the set of the first scenario parameter samples in the target scenario parameter samples.

[0040] Step 2: Calculate the correction coefficient corresponding to the second failure probability according to the target probability density function and the estimated failure probabilities corresponding to all the second scenario parameter samples in the target scenario parameter samples.

[0041] Specifically, substitute the target probability density function and the estimated failure probabilities corresponding to all the second scenario parameter samples into the following formula to obtain the correction coefficient corresponding to the second failure probability; ; ; where is the correction coefficient, is the number of the second scenario parameter samples, is the i-th second scenario parameter sample of the weight, is the indicator function, is the simulation value of the evaluation index obtained by simulating the target autonomous driving system under the i-th second scenario parameter sample , is the i-th second scenario parameter sample corresponding to the estimated failure probability, is the actual probability density function of the scenario parameters, is the target probability density function.

[0042] Here, since the target autonomous driving system needs to be simulated based on the second scenario parameter samples when calculating the correction coefficient, in order to avoid the increase in calculation cost caused by the simulation, the number of the second scenario parameter samples is reasonably designed as the preset sample number.

[0043] Step 3: Correct the second failure probability of the target autonomous driving system based on the correction coefficient to obtain the target failure probability of the target autonomous driving system.

[0044] In the embodiment of the present application, the product of the correction coefficient and the second failure probability is determined as the target failure probability of the target autonomous driving system.

[0045] Furthermore, the embodiment of the present application provides a calculation formula for the estimated failure probability of the scenario parameter sample. Specifically, the estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample is calculated through the following formula: ; where is the estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample, is any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample, is the cumulative distribution function of the standard normal distribution function; is the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is the normal distribution expectation of is the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is the standard deviation of.

[0046] Here, the cumulative distribution function refers to the probability that a random variable is less than or equal to a certain value, can be understood as the probability that the standard normal distribution random variable is less than or equal to the probability of.

[0047] Further, the estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is determined through the following steps: The estimated evaluation index distribution function under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is determined through a pre-constructed prediction model.

[0048] In the embodiment of the present application, hyper-covering sampling is performed within the preset scenario parameter value range through space-filling Latin cube sampling to obtain a set of simulation scenario parameter samples; the target autonomous driving system is simulated according to the set of simulation scenario parameter samples to obtain the estimated evaluation index of each simulation scenario parameter sample in the set of simulation scenario parameter samples; Gaussian process regression modeling is performed based on all the simulation scenario parameter samples and the corresponding simulation scenario parameter samples to obtain a prediction model; the prediction model is used to determine the estimated evaluation index distribution function of the target autonomous driving system under any scenario parameter sample.

[0049] Further, the embodiment of the present application can also calculate the accuracy of the target failure probability. Specifically, the accuracy of the target failure probability is calculated through the following formula: ; where, is the second failure probability, is the variance of the estimated failure probabilities corresponding to all the first scenario parameter samples when calculating the second failure probability ; is the variance of the estimated failure probabilities corresponding to all the second scenario parameter samples when calculating the correction coefficient .

[0050] Further, the process of estimating the target failure probability in the embodiments of the present application has been elaborated in detail above. Next, the principle of the target failure probability in the embodiments of the present application will be elaborated through the following content: (1) The return value of the prediction model obtained by Gaussian process regression modeling is the estimated evaluation index distribution function of the target autonomous driving system under any scenario parameter sample , that is, the normal distribution expectation and the standard deviation . At this time, obeys . At this time, the estimated failure probability corresponding to any scenario parameter sample can be defined as: ; wherein, is used to represent the situation where the estimated target autonomous driving system fails under , and is the probability that the estimated target autonomous driving system fails under .

[0051] (2) Let be a random variable independent of X and uniformly distributed on 0-1. Let be the probability density function of the scenario parameters, and is equivalent to . Define the first failure probability under : ; wherein, the random matching failure probability threshold is value. represents the probability expectation under the probability density function . Let the weight function be:

[0052] Then the correction coefficient can be defined as: ; where represents obeys the density function when, under the condition the conditional expectation. It can be proved that:

[0053]

[0054]

[0055]

[0056]

[0057] ; Therefore: . Among them, is a scenario parameter sample for the scenario parameter X The value range of

[0058] Here, (1) The independent variable follows a standard normal distribution and is independent among each dimension, that is The probability density function of is the standard normal density function of the specified dimension. For the logical scenarios of general situations, through distribution transformation, the normal distribution can be transformed into the real distribution space, so this solution has generality. (2) Taking as the failure scenario, that is, to estimate , represents the under the probability density function of the autonomous driving system probability of represents the estimated value of the evaluation index of the autonomous driving system under (which can be the safety index TTC). (3) In addition to the Gaussian process regression model, Bayesian neural networks, probabilistic support vector machines, etc. can also be used as prediction models. In the embodiments of this application, the Gaussian process regression model is used, that is, through estimate , is the simulation failure probability obtained by simulating the target autonomous driving system under

[0059] The embodiments of this application provide a method for estimating the failure probability of an autonomous driving system. The method includes: taking the proportion of the initial scenario parameter samples with the estimated failure probability greater than the first preset failure probability threshold being greater than the preset proportion as the optimization objective, optimizing the probability density function of the scenario parameters to obtain the target probability density function; the estimated failure probability corresponding to the initial scenario parameter sample refers to the estimated probability of the target autonomous driving system failing under the initial scenario parameter sample; sampling based on the target probability density function within the preset value range of the scenario parameters to obtain the target scenario parameter sample; estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all the target scenario parameter samples. This application can sample based on the optimized probability density function, estimate the failure probability of the target autonomous driving system based on the obtained target scenario parameter samples, while ensuring the estimation accuracy, reducing the number of scenario parameter samples, reducing the calculation cost, and improving the estimation efficiency.​

[0060] Based on the same inventive concept, an embodiment of the present application further provides a failure probability estimation device for an autonomous driving system corresponding to the failure probability estimation method of the autonomous driving system. Since the principle of problem-solving of the device in the embodiment of the present application is similar to the above-mentioned failure probability estimation method of the autonomous driving system in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0061] Refer to Figure 3 As shown, it is a schematic diagram of a failure probability estimation device for an autonomous driving system provided by an embodiment of the present application. The device includes: An optimization module 301, configured to optimize the probability density function of the scenario parameters with the objective of the proportion of initial scenario parameter samples with a failure probability greater than a first preset failure probability threshold being greater than a preset proportion, so as to obtain a target probability density function; the estimated failure probability corresponding to the initial scenario parameter sample refers to the probability that the target autonomous driving system fails under the initial scenario parameter sample; A sampling module 302, including sampling based on the target probability density function within a preset scenario parameter value range to obtain target scenario parameter samples; An estimation module 303, including estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probabilities corresponding to all target scenario parameter samples.

[0062] Through the failure probability estimation device for an autonomous driving system provided by the present application, it is possible to sample based on the optimized probability density function, estimate the failure probability of the target autonomous driving system based on the target scenario parameter samples obtained by sampling, while ensuring the estimation accuracy, reducing the number of scenario parameter samples, reducing the calculation cost, and improving the estimation efficiency.

[0063] As Figure 4 Shown, an electronic device 400 provided by an embodiment of the present application includes: a processor 401, a memory 402, and a bus. The memory 402 stores machine-readable instructions executable by the processor 401. When the electronic device runs, communication between the processor 401 and the memory 402 is through the bus, and the processor 401 executes the machine-readable instructions to perform the steps of the failure probability estimation method of the autonomous driving system as described above.

[0064] Specifically, the above-mentioned memory 402 and processor 401 can be general memories and processors, which are not specifically limited here. When the processor 401 runs the computer program stored in the memory 402, it can execute the above-mentioned failure probability estimation method of the autonomous driving system.

[0065] Corresponding to the above-mentioned failure probability estimation method of the autonomous driving system, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, it executes the steps of the above-mentioned failure probability estimation method of the autonomous driving system.

[0066] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the method embodiments, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces. The indirect couplings or communication connections of the devices or modules can be in electrical, mechanical, or other forms.

[0067] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0068] In addition, in each embodiment of this application, the functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0069] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the information processing method described in each embodiment of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0070] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for estimating the failure probability of an autonomous driving system, characterized in that: The method comprises: Taking the proportion of initial scene parameter samples whose estimated failure probability is greater than a first preset failure probability threshold as an optimization goal being greater than a preset proportion, the probability density function of the scene parameters is optimized to obtain a target probability density function; the estimated failure probability corresponding to the initial scene parameter sample refers to the estimated probability of failure of the target autonomous driving system under the initial scene parameter sample; Sampling is performed based on the target probability density function within a preset scene parameter value range to obtain a target scene parameter sample; The failure probability of the target autonomous driving system is estimated based on the target probability density function and the estimated failure probabilities corresponding to all target scene parameter samples.

2. The failure probability estimation method of the automatic driving system according to claim 1, characterized in that: The sampling is performed based on the target probability density function within the preset scene parameter value range to obtain the target scene parameter sample, including: Taking the relative error of the first failure probability of the target autonomous driving system being less than a preset error threshold as a sampling target, sampling is performed based on the target probability density function within the scene parameter value range to obtain a first scene parameter sample in the target scene parameter sample; Sampling is performed based on the target probability density function within the scene parameter value range to obtain second scene parameter samples in the target scene parameter samples; the estimated failure probability corresponding to any of the second scene parameter samples is greater than or equal to the random failure probability threshold corresponding to the second scene parameter sample.

3. The failure probability estimation method of the automatic driving system according to claim 1 or 2, characterized in that: The estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probability corresponding to all target scene parameter samples includes: Determine the first failure probability of the target autonomous driving system under the first scene parameter sample set obtained after sampling as the second failure probability of the target autonomous driving system; the first scene parameter sample set refers to the set of first scene parameter samples in the target scene parameter samples; Calculating a correction coefficient corresponding to the second failure probability according to the target probability density function and the estimated failure probabilities corresponding to all second scene parameter samples in the target scene parameter sample; The second failure probability of the target autonomous driving system is corrected based on the correction coefficient to obtain a target failure probability of the target autonomous driving system.

4. The failure probability estimation method of the automatic driving system according to claim 3, characterized in that: The calculating, according to the target probability density function and the estimated failure probabilities corresponding to all second scenario parameter samples, a correction coefficient corresponding to the second failure probability includes: Substituting the target probability density function and the estimated failure probability corresponding to all second scenario parameter samples into the following formula, obtains a correction coefficient corresponding to the second failure probability; ; ; in, is the correction factor, is the number of parameter samples for the second scenario, is the parameter sample of the i-th second scene The weight of is the indicative function, The parameter sample of the second scene in the ith case obtained by simulating the target autonomous driving system The simulation value of the evaluation index under is the parameter sample of the i-th second scene The corresponding estimated failure probability is, is the actual probability density function of the scene parameters, is the target probability density function.

5. The failure probability estimation method of the automatic driving system according to claim 3, characterized in that: The estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample is calculated by the following formula: ; in, is the estimated failure probability corresponding to any initial scenario parameter sample, the estimated failure probability corresponding to any first scenario parameter sample, or the estimated failure probability corresponding to any second scenario parameter sample, is any initial scene parameter sample, any first scene parameter sample or any second scene parameter sample, is the cumulative distribution function of the standard normal distribution function; is the estimated evaluation index distribution function of the target autonomous driving system under any initial scene parameter sample, any first scene parameter sample or any second scene parameter sample The normal distribution expectation of is the estimated evaluation index distribution function of the target autonomous driving system under any initial scene parameter sample, any first scene parameter sample or any second scene parameter sample The standard deviation of .

6. The failure probability estimation method of the automatic driving system according to claim 5, characterized in that: The estimated evaluation index distribution function of the target autonomous driving system under any initial scenario parameter sample, any first scenario parameter sample, or any second scenario parameter sample is determined by the following steps: The estimated evaluation index distribution function under any initial scene parameter sample, any first scene parameter sample or any second scene parameter sample is determined through a pre-constructed prediction model.

7. The failure probability estimation method of the automatic driving system according to claim 6, characterized in that: The prediction model is constructed by the following steps: Super-coverage sampling is performed within the preset scene parameter value range by using a space-filling Latin cube sampling method to obtain a simulation scene parameter sample set; Simulating the target autonomous driving system according to the simulation scenario parameter sample set to obtain an estimated evaluation index for each simulation scenario parameter sample in the simulation scenario parameter sample set; Gaussian process regression modeling is performed based on all simulation scene parameter samples and corresponding simulation scene parameter samples to obtain a prediction model; the prediction model is used to determine the estimated evaluation index distribution function of the target autonomous driving system under any scene parameter sample.

8. A failure probability estimation device for an automatic driving system, characterized in that: The device comprises: an optimization module, configured to optimize the probability density function of the scene parameters with the proportion of the initial scene parameter samples having a failure probability greater than a first preset failure probability threshold being greater than a preset proportion as an optimization target, and obtain a target probability density function; the estimated failure probability corresponding to the initial scene parameter sample refers to the probability that the target autonomous driving system fails under the initial scene parameter sample; A sampling module, comprising sampling based on the target probability density function within a preset scene parameter value range to obtain a target scene parameter sample; An estimation module includes estimating the failure probability of the target autonomous driving system based on the target probability density function and the estimated failure probability corresponding to all target scene parameter samples.

9. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the failure probability estimation method for the autonomous driving system as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the failure probability estimation method for an autonomous driving system as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Filter coefficient regulator and method thereof

    CN101599801A

  • Failure probability estimation method and device based on limited generalization and storage medium

    CN118503611A

  • Method and device for estimating failure probability of automatic driving system

    CN119494204A

  • Position detection method, exposure method, exposer, device manufacturing method, program, and information recording medium

    JP2004200632A

  • On vehicle learning control device

    JP2020086555A