System and method for automatic scenario generation based on scenario similarity search
The automatic scenario generation method addresses the challenge of creating realistic scenarios for autonomous vehicles by transforming existing scenarios to match ODD and CP conditions, ensuring thorough testing and compliance.
Patent Information
- Application Number
- JP2022210027
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-12-02
- Filing Date
- 2022-12-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-12-27
AI Technical Summary
Existing methods for verifying autonomous vehicles struggle to generate realistic and relevant driving scenarios that cover the entire Operational Design Domain (ODD) and Criticality Phenomena (CP), making it difficult to ensure safety and compliance in various traffic situations.
An automatic scenario generation method that searches and transforms existing scenarios to match ODD and CP conditions, using ontology adapters and similarity calculations to create scenarios similar to target scenarios, ensuring they meet the required format and risk factors.
Enables the generation of scenarios that accurately reflect actual driving situations, allowing comprehensive testing of autonomous vehicles within their operational limits and potential risks, thereby enhancing safety and regulatory compliance.
Smart Images

Figure 0007566862000001 
Figure 0007566862000002 
Figure 0007566862000003
Abstract
Description
[Technical field]
[0001] The present invention relates to the evaluation and validation of autonomous vehicles, and more particularly to a method for generating traffic scenarios for evaluating and validating the functionality of autonomous vehicles in various traffic situations. [Background technology]
[0002] The approval process by official agencies for introducing vehicles equipped with SAE (Society of Automotive Engineers) Level 4 or higher autonomous driving systems into the market requires rational verification and evaluation of the system. Developments in verification and evaluation methods are moving in the direction of testing autonomous driving systems in various situations and statistically analyzing the test results. The system is tested using a scenario-based testing method, which involves generating driving scenarios under various conditions to check whether the system operates properly within the Operational Design Domain (ODD), which is the range in which the system can operate, and whether it is prepared for safety, legal, and regulatory risks in driving conditions through Criticality Phenomena (CP). Since ODD targets real-world environments, it requires technology to create scenarios that simulate realistic driving conditions. Summary of the Invention [Problem to be solved by the invention]
[0003] Therefore, the present invention has been made in consideration of the above problems, and an object of the present invention is to provide the following functions as a method for automatically generating scenarios for various actual driving conditions. 1) When a driving test is performed on an actual road, a scenario similar to this situation is searched for from among the scenarios already held, and a modified scenario is generated so that the searched scenario can be integrated into this situation or map, and then provided. 2) In a situation where continuous driving is tested in a large simulation area, a scenario similar to this situation is searched for from among the scenarios already held, and a modified scenario is generated and provided so that the searched scenario can be integrated into this situation or map. 3) When a target scenario exists, search for scenarios similar to this scenario from existing scenarios, and generate and provide a scenario by modifying the searched scenario so that it can be integrated into the target scenario or map, or provide the searched scenario without modification. 4) Search and provide scenarios that meet the ODD conditions by referring to the presented ODD and CP 5) The scenario is provided after being modified to fit the presented goal. [Means for solving the problem]
[0004] To achieve the above-mentioned objective, a scenario search-based automatic scenario generation method according to one embodiment of the present invention includes a step of searching for scenarios similar to a query scenario from a scenario DB for autonomous driving tests, a step of filtering only scenarios that meet selection conditions from the searched scenarios, and a step of converting components of the filtered scenarios to meet target conditions. The searching step may include a step of comparing the query scenario with scenarios stored in the DB and calculating the similarity, a step of sorting the scenarios based on the calculated similarity, and a step of selecting scenarios having a similarity above a certain standard. The step of calculating the similarity may include the steps of extracting feature values from the scenarios, and calculating the similarity between the extracted feature values. The extracting step may include selecting scenes from a scenario and extracting feature values from the selected scenes. The extracting step may include a step of dividing the components of the scenario into a plurality of groups, and a step of extracting feature values from the divided groups. The selection conditions may include ODD, CP, and filtering conditions. The filtering conditions may include the abstraction level of the scenario, the scenario level, the validation method, and the location where the scenario is collected.
[0005] The method for automatically generating a scenario according to an embodiment of the present invention may further include a step of verifying the validity of the converted scenario, and a step of implementing the scenario whose validity has been verified. The concretization step may involve parameterizing an abstract scenario into a logical scenario, and then sampling specific values based on a probability distribution to concretize the logical scenario into a concrete scenario. A scenario search-based automatic scenario generation system according to another embodiment of the present invention includes a scenario DB for autonomous driving testing, and a scenario generation system that searches the scenario DB for scenarios similar to a query scenario, filters out only those scenarios that meet selection conditions from the searched scenarios, and converts the components of the filtered scenarios to meet target conditions. A scenario search-based automatic scenario generation method according to another embodiment of the present invention further includes a step of searching for a scenario similar to a query scenario from a scenario DB for autonomous driving testing, a step of converting components of the searched scenario to meet target conditions, and a step of concretizing the converted scenario. A scenario search-based scenario automatic generation system according to another embodiment of the present invention includes a scenario DB for autonomous driving testing, and a scenario generation system that searches the scenario DB for a scenario similar to a query scenario, converts components of the searched scenario to meet target conditions, and implements the converted scenario. Effect of the Invention
[0006] As described above, according to an embodiment of the present invention, it is possible to search for scenarios similar to a target scenario, convert and concretize the searched scenario, and automatically generate a desired scenario, and more specifically, it is possible to provide the following effects. 1) Scenarios can be selected based on the presented ODD and CP 2) The components and format of the scenario can be modified to suit the type of goal presented. 3) Various driving systems can be generated by utilizing existing scenarios 4) It is possible to convert the actual driving conditions of an autonomous vehicle into scenarios and search for scenarios similar to those driving conditions. 5) It is possible to convert the actual driving conditions of an autonomous vehicle into scenarios and query scenarios that can be applied to those driving conditions. 6) It is possible to incorporate specific scenarios into a given traffic situation. [Brief description of the drawings]
[0007] [Figure 1] FIG. 2 is a diagram showing a method for automatically generating a scenario based on a scenario search in accordance with an embodiment of the present invention. [Diagram 2] 1 is a diagram showing an adapter generation process according to an embodiment of the present invention; [Diagram 3] FIG. 2 is a diagram showing calculation of scenario similarity through scenes according to an embodiment of the present invention. [Figure 4] FIG. 13 is a diagram illustrating calculation of scenario similarity through comparison between groups having similar characteristics according to an embodiment of the present invention. [Diagram 5] 1 is a flowchart showing a method for automatically generating a scenario based on a scenario search according to an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram showing a scenario search-based automatic scenario generation system according to an embodiment of the present invention. [Figure 7] FIG. 2 is a diagram for defining terms related to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] In the following, the invention will be explained in more detail with reference to the drawings. In the embodiment of the present invention, a method and system for automatically generating a scenario based on a scenario similarity search is provided. Specifically, the technology searches a database for traffic scenarios that have similar driving environments, operating ranges, and risk factors to an input traffic scenario, and automatically generates a new traffic scenario by transforming and merging the traffic scenarios so that they can be used for testing.
[0009] 1. Scenario-Based Testing 1.1 How to use ODD When an autonomous vehicle is driving, the environments it may encounter are infinitely complex and uncertain. Conventional verification methodologies have been used to check how much time and distance the vehicle has traveled on real roads in order to handle an almost unlimited number of situations, but this makes it difficult to check whether the vehicle has covered all of the risk factors it may encounter while driving. Therefore, in the scenario-based verification methodology, when designing a vehicle concept, the environment in which it can be operated is restricted to an operational domain (ODD), scenarios that may occur within the restricted ODD are tested, and the safety of various aspects of the system is verified. Thus, the ODD limits the extent to which the system can operate relative to all factors related to driving, such as operation on the road and the road itself. Meanwhile, in the embodiment of the present invention, scenarios included in the presented ODD are selected by comparing the already held scenarios with the ODD.
[0010] 1.2 How to utilize CP While operating within the ODD, the system will experience risks in various situations. For example, an autonomous vehicle may collide with other vehicles or pedestrians around it, or violate traffic laws. To validate the system, it is necessary to operate the system in all dangerous situations that it may encounter while operating within the ODD and verify that it is prepared for danger. Factors that may lead to dangerous situations are called hazard factors (CPs), and CPs are summarized in advance through criticality analysis based on actual cases and simulations. Hazardous situations may be defined in a CP, and it is possible to ascertain what hazardous situations a particular scenario includes through the CP. In an embodiment of the present invention, a CP is compared with already held scenarios, and it is confirmed whether the scenario includes a CP presented for realizing a dangerous situation, and a scenario including the CP is selected.
[0011] 1.3 How to use Ontology Ontology is a knowledge organization format and data structure used in knowledge engineering to utilize abstract information in computing devices. Various groups related to autonomous driving systems, such as companies developing autonomous vehicles, organizations analyzing traffic conditions, and research institutes studying new technologies related to autonomous driving, manage their knowledge in various ways according to Ontology, which independently defines knowledge related to traffic conditions and autonomous driving systems. The multiple groups participating in development and verification, such as ODD, CP, scenarios, traffic conditions, autonomous driving systems and platforms, handle data based on their own ontologies. In order to cooperate with each other, it is necessary to unify the ontologies or to organize the relationships between each ontology. In an embodiment of the present invention, in order to utilize information generated from multiple groups in the system, an adapter for reading each data is generated based on the ontology of each group. 2. Scenario
[0012] 2.1 Scenario Format In the scenario-based system verification methodology, it is necessary to systematically handle scenarios applied to each stage in the process of conceptual design, development, and testing of the system, and ensure traceability of the basis for generating scenarios appropriate for each stage. In particular, the progress of an autonomous driving system tends to be such that the components of the system start from abstract concepts and gradually become more concrete as the stages progress. Therefore, the scenarios also have different forms according to the abstraction stages of the components of the system. Scenarios can be broadly divided into four types according to the abstraction stage: functional scenarios, which correspond to the conceptual design stage and summarize traffic situations that may occur within the system's ODD in natural language and a knowledge base; abstract scenarios, which are functional scenarios transformed so that they can be stored and processed in a computing device; logical scenarios, which summarize the states of the components of an abstract scenario as parameters, parameter ranges, and probability distributions; and finally, concrete scenarios, which select specific values based on probability distributions within the logical scenario range.
[0013] 2.2 Scenario components and structure In scenario-based testing, various traffic conditions required for testing are simulated through scenarios. Therefore, research is being conducted on scenario components and structural arrangement methods for them to reflect various traffic conditions in scenarios. The components are divided into small parts to adjust various factors related to traffic conditions such as road positions, shapes, and traffic object placements, and the state of each component is defined on a parameter basis. In addition, in order to efficiently process, store, and manage multiple scenarios and to realize simulations, they are classified into groups with similar characteristics. A representative method is the six-layer model compiled by the PEGASUS project. This model classifies traffic situation components into six layers according to their characteristics. Layer 1 consists of elements related to the traffic system, such as roads and signal systems. Layer 2 consists of structures located around roads, such as buildings and vegetation. Layer 3 consists of elements that define temporary changes of objects in layers 1 and 2. Layer 4 consists of traffic objects whose appearances can change, such as cars, pedestrians, and animals. Layer 5 is environmental elements such as date and illuminance, and layer 6 is communication elements used in autonomous driving. In addition, there is a method to add state elements of the vehicle under test as layer 0 to the six-layer model. This classification of scenario components allows separate algorithms to be used to modify values and process information according to the characteristics of each pre-segregated classification.
[0014] 2.3 Generating Scenarios A scenario is data that summarizes traffic conditions in a standardized format and structure. The following scenario generation methods are currently being researched: First, there is a method to generate it from traffic conditions collected by a system equipped with sensors to recognize traffic conditions and recognition logic. Traffic conditions are collected using systems such as traffic condition collectors attached to autonomous vehicles and infrastructure, and detachable traffic condition collectors. The second method is to generate scenarios based on collected traffic situation case documents. Documents that summarize cases that cause material and social damage, such as accident cases that cause property damage and personal injury, violations of traffic laws and rules, and driving cases that cause congestion, are recognized and used to generate scenarios. The second method is to generate scenarios using expert knowledge. Experts use generation tools to generate scenarios based on their experience with various traffic conditions. Next, there is a method for generating arbitrary scenarios based on constraints and characteristic conditions for the environment such as ODD and CP. A scenario is generated by arbitrarily assigning components of another scenario that are not predefined, including the road environment restricted by ODD and CP conditions selected within the range. The second method is to generate a scenario based on an existing scenario. The components of an existing scenario are modified and expanded to generate a new scenario. Finally, there is a method to realize and generate arbitrary traffic conditions through simulation. In the simulation, elements that make up the traffic conditions are arbitrarily assigned to realize random conditions, and traffic conditions that meet specific conditions are collected to generate a scenario.
[0015] 3. Scenario search-based automatic scenario generation method 3.1 Overview The verification / evaluation of an autonomous driving system requires testing in scenarios for various traffic conditions. In particular, for scenarios in which dangers are manifested during testing, it is necessary to reproduce various situations in which the same dangers may manifest. Therefore, it is necessary to generate scenarios similar to the scenarios that contain dangers during testing and perform testing on them. Methods for generating similar scenarios include directly transforming the scenario in question, or generating a completely new scenario using the components of the scenario as materials, but since the results that can be generated are nearly unlimited, it is necessary to limit the scope based on actual examples or data already held. It is necessary to select scenarios that meet the ODD conditions, which limit the environments and situations in which the autonomous driving system can operate, and the CP conditions, which may result in the occurrence of dangers. The scenarios generated by the embodiments of the present invention are used to verify / evaluate an autonomous driving system in a proving ground or a simulation environment where the scenarios can be reproduced.
[0016] 3.2 Method The scenario search-based automatic scenario generation method according to the embodiment of the present invention is similar to that shown in Fig. 1. It is roughly divided into five steps: an adapter generation step (S110), a scenario retrieval step (S120), a filtering step (S130), a domain adaptation step (S140), a scenario validation step (S150), and a parameterization / sampling step (S160).
[0017] 3.3 Input / Output Data The data used are Ontology, Format, Scenario, Operational design domain (ODD), Criticality phenomena (CP), Filtering condition, and Target condition. Ontology is a collection of terms and concepts for data used as input, and is used by matching the ontology for existing data with the ontology for newly input data, allowing data to be used without being restricted by terms and concepts that are defined differently. Format refers to the relationships between terms and concepts within the data, and the arrangement and format in which the data is stored. Scenarios are organized differently depending on Ontology and Format. Scenario types include Abstract, Logical, and Concrete. Functional is excluded because it cannot be handled by a computing device. Operational design domain and criticality phenomena are not defined in the same way as Scenarios, but are summarized differently depending on Ontology and Format. In addition to ODD and CP conditions, the filtering condition includes various elements that can be used to filter scenarios, such as the generation time, the type of objects handled, and the number of objects. The target condition includes conditions for output values such as the Ontology, Format, and storage format used in the result scenario. In addition, it includes specific components, which are used as conditions for transforming the scenario.
[0018] 3.4 Adapter generation This step involves mapping the ontology and the query ontology, and generating adapters based on that to read Scenario, Map, Criticality phenomena, and ODD data in various formats. Scenario, Map, Criticality phenomena and ODD are described based on machine readable languages (Ontology) such as OWL, RDF, etc. The process of generating adapters to read each data consists of an Ontology mapping step and an Adapter generation step, as shown in Figure 2. Ontology mapping: This is the step of connecting the ontology already stored in the ontology DB with the query ontology on which the input data is based. After this step, the terms and concepts used in the input data correspond to the terms and concepts already stored in the DB. Adapter generation: This is the step of receiving the format that summarizes the input data extension and data structure as input and generating an adapter based on the already summarized terms and concepts. The generated adapter can read data created based on the query ontology and format.
[0019] 3.5 Scenario retrieval In this stage, the scenario entered in the Query scenario is compared with the scenarios previously stored in the Scenario DB to calculate the similarity, the scenarios are sorted based on the similarity, and similar scenarios are searched for by selecting scenarios that have a similarity above a certain standard. The calculation of the similarity of scenarios may be performed in various ways. Similarity calculation is largely composed of two parts: Representation function and Similarity function. Representation function converts input data into feature values, extracting feature values from input data in the form of natural language, graphs, images, or vectors through classical or deep learning algorithms, and converting them into feature values in the form of vectors, semantic features, or graphs. The Similarity function is the part that calculates the similarity between two feature values by inputting the feature values transformed by the Representation function. There are several methods for calculating similarity, such as using a distance function to calculate the similarity itself, estimating the probability of similarity, and classifying groups through clustering. There are two main examples for the input of the Representation function.
[0020] First, there is a method to calculate similarity based on scenes. As shown in Figure 3, scenes are generated under specific conditions for each scenario, and the components of each scene are converted into feature values through a representation function. Finally, the similarity between the converted feature values for each scene is compared and calculated through a similarity function. In this process, the similarity is compared for scenes automatically selected by the selection logic among the scenes at multiple points in time that make up the scenario extracted from the database. Meanwhile, for the scenario used as a query, the similarity is compared using scenes selected directly by the user or automatically by the selection logic. The selection logic automatically extracts scenes based on the time and location of the scene. Next, there is a method to calculate the similarity by comparing groups of scenario components that have similar characteristics. As shown in Figure 4, among the scenario components in the Query and scenario DB, groups that have similar characteristics are separated from the other components and converted into feature values through the Representation function. The similarity with the feature values converted from the same object is then calculated by comparing them through the Similarity function. Not all components are always used, but only selected ones are used according to the specified conditions. It is possible to calculate similarity by combining attributes divided into multiple characteristics in stages, in series or in parallel for each group. It compares the layout of dynamic objects in a scene and the layout of spatial elements (maps, static objects, structures).
[0021] 3.6 Filtering In this stage, the components of the searched scenarios are compared with the selection conditions (ODD, CP, Filtering condition) to select the scenarios. The Filtering conditions include the abstraction level (abstract, logical, concrete), the Scenario Layer (L0~L6), the Verification & Validation method, and the location where the scenario was collected.
[0022] 3.7 Domain adaptation In this stage, the selected scenarios are transformed to match the target components, and the transformed data is compiled to match the target Ontology and Format. Specifically, the selected scenarios are transformed or merged to resemble the components of the scenarios presented in the target condition, and the maps and components are the targets. The target components include some of the components of the scenario. As a first example of transformation, when a specific road is provided as a target component, the selected scenario replaces the road with the provided road and transforms the components dependent on the road to fit the road by adjusting their positions, deleting them, changing their state values, etc. As a second example, when a specific range, probability distribution, or feature value of the probability distribution is provided, the existing components are changed to the provided components.
[0023] 3.8 Scenario validation In this step, we check the validity of the values included in the final transformed scenario and whether it is created to match the Ontology and Format presented as the target condition.
[0024] 3.9 Parametrization / Sampling In this stage, scenarios of the corresponding form are materialized through parametrization and sampling. In parametrization, an abstract scenario with no assigned parameters is materialized into a logical scenario with assigned parameters, ranges, and probability distributions. In sampling, values within a range are extracted from the logical scenario based on the probability distribution, and the logical scenario is materialized into a concrete form.
[0025] 3.10 Flow The flow of the scenario search-based automatic scenario generation method is shown in Figure 5. Query scenario (abstract, logical, concrete form), ODD, CP, Filtering condition, and Target condition are used as input data. First, in the scenario retrieval stage, a scenario similar to the query scenario is searched for from the scenario DB (S120). In the filtering step, the searched scenarios are filtered based on ODD, CP, and filtering conditions (S130). After this step, only scenarios (abstract, logical, concrete forms) that are similar to the query scenario and meet the filtering conditions remain. In the domain adaptation stage, the remaining scenarios are transformed so as to match the conditions presented as the target conditions (S140). Next, in the scenario validation stage, the validity of the scenarios is verified (S150). The scenarios (abstract, logical, concrete) whose validity has been verified are parametrized from abstract form to logical form through parameterization, and the logical form is embodied into a concrete form through sampling (S160). The generated scenarios are used to reproduce traffic conditions on simulations and proving ground instances during the evaluation and validation process of autonomous driving systems.
[0026] 4. Scenario Search-Based Automatic Scenario Generation System The execution environment of the system is as shown in Fig. 6. The system is operated on the cloud, managed by a scenario generation service system 210, and includes an Ontology DB 220 and a Scenario DB 230. The service system 210 can replicate and manage the system in multiple system instances 211, 212, and 213 on the cloud, includes a function for communicating with user personal computers 310, 320, and 330 through a network environment, and manages connections to each of the system instances 211, 212, and 213. The replicated system instances 211 , 212 , and 213 also use the same Ontology DB 220 and Scenario DB 230 .
[0027] 5. Variations So far, the system and method for automatically generating a scenario based on a scenario similarity search have been described in detail with reference to preferred embodiments. More specific definitions for terms used in the embodiments of the present invention are shown in FIG. Meanwhile, the technical idea of the present invention may also be applied to a computer readable recording medium incorporating a computer program for performing the functions of the apparatus and method according to the present embodiment. The technical idea of various embodiments of the present invention may be realized in the form of computer readable code recorded on a computer readable recording medium. The computer readable recording medium may be any data storage device that can be read by a computer and can store data. For example, the computer readable recording medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, etc. The computer readable code or program stored on the computer readable recording medium may be transmitted via a network connected between computers. Although the preferred embodiment of the present invention has been described in detail above with reference to the accompanying drawings, the present invention is not limited to the above embodiment. It is clear that a person having ordinary knowledge in the technical field to which the present invention pertains can conceive of various modified or altered examples within the scope of the technical intent described in the claims, and it is understood that these also naturally belong to the technical scope of the present invention.
Claims
1. A step of searching for a scenario similar to the query scenario from a scenario DB for autonomous driving tests; filtering out only those scenarios that meet a selection condition from among the retrieved scenarios; Transforming the filtered scenario components to meet the target conditions; A method for automatically generating a scenario based on a scenario search, comprising:
2. The searching step is comparing the query scenario with a scenario stored in a scenario DB and calculating a similarity; A step of sorting the scenarios based on the calculated similarity; A step of selecting scenarios having a similarity equal to or higher than a certain standard; The method for automatically generating a scenario based on a scenario search according to claim 1, further comprising:
3. The step of calculating the similarity includes: Extracting feature values from the scenario; Calculating the similarity between the extracted feature values; The method for automatically generating a scenario based on a scenario search according to claim 2, further comprising:
4. The extracting step includes: selecting scenes from the scenario; Extracting feature values from the selected scenes; The method for automatically generating a scenario based on a scenario search according to claim 3, further comprising:
5. The extracting step includes: Partitioning components of a scenario into groups; Extracting feature values from the partitioned groups; The method for automatically generating a scenario based on a scenario search according to claim 3, further comprising:
6. The selection criteria are: The method for automatically generating scenarios based on a scenario search according to claim 1, characterized in that it includes operational design limits (ODD), hazardous phenomena (CP), and filtering conditions.
7. The filtering conditions are:
7. The method for automatically generating scenarios based on a scenario search according to claim 6, comprising: a scenario abstraction level, a scenario level, a method for verifying validity, and a location where the scenarios are collected.
8. verifying the validity of the converted scenario; A step of specifying a scenario whose effectiveness has been verified; The method for automatically generating a scenario based on a scenario search according to claim 1, further comprising:
9. The specific steps are:
10. The method of claim 8, wherein an abstract scenario is parameterized into a logical scenario, and the logical scenario is sampled based on a probability distribution to be concreted into a concrete scenario.
10. A scenario database for autonomous driving tests; A scenario generation system that searches for scenarios similar to a query scenario from a scenario DB, filters out only those scenarios that meet a selection condition from among the searched scenarios, and converts components of the filtered scenarios to meet a target condition. A scenario search-based automatic scenario generation system comprising:
11. A step of searching for a scenario similar to the query scenario from a scenario DB for autonomous driving tests; Transforming the components of the retrieved scenarios to meet the target conditions; Substantiating the converted scenario; A scenario search-based automatic scenario generation method, further comprising:
Citation Information
Patent Citations
Determining Performance of Autonomy Decision-Making Engines
US20190179738A1
Evaluating Autonomous Vehicle Algorithms
US20200082034A1
Autonomous Vehicle Testing Systems and Methods
US20220121550A1
System for testing intelligent vehicles
US20220136930A1
Systems and Methods for Extracting Data From Autonomous Vehicles
US20220172606A1
Cited By
Scenario data generation system, method, and program
WO2026133596A1
