Autonomous driving is advancing by leaps and bounds, but its safe deployment depends on exhaustive validation. Autonomous driving systems (ADS) must undergo tests that reflect the complexity of the real world. Traditionally, these tests rely on simulations based on mathematical models that assume fixed representations of scenarios, or on costly real-world trials that require enormous manual effort to design templates for failure situations. However, there is an invaluable source of information: historical accident records. This data, usually in natural language format, contains real failure conditions that can be leveraged to generate much more realistic and diverse test scenarios.
The use of artificial intelligence, specifically large-scale language models (LLMs), makes it possible to transform that textual information into concrete and executable scenarios. An innovative approach consists of a modular pipeline that extracts categorical and contextual information from accident reports, such as road type, movements of uncontrolled vehicles, or the presence of anomalies like construction zones. From there, the system generates varied combinations that respect the test limitations of the system under evaluation. For example, using the NHTSA accident database and the Metadrive simulator, combinations of up to four road types and three movement patterns of external vehicles can be obtained, all within a limited budget of only 20 scenarios. The results demonstrate that this methodology produces accurate and diverse scenarios, capable of revealing unexpected failures in the autonomous system.
Scenario generation based on real failures not only improves test coverage, but also drastically reduces manual effort. For companies developing ADS or any critical system, having tools like artificial intelligence for businesses such as those offered by Q2BSTUDIO is strategic. The ability to process natural language and convert it into automated test cases is an example of how AI agents can be integrated into validation workflows. Furthermore, the infrastructure needed to run massive simulations can benefit from AWS and Azure cloud services, while result analysis and report generation are enhanced with business intelligence services like Power BI. Cybersecurity also plays a relevant role in protecting sensitive accident data and trained models.
Beyond the automotive sector, this approach illustrates how custom software and custom applications can transform unstructured data into tangible value for system validation. Q2BSTUDIO, with its experience in custom technology development, helps companies implement similar solutions tailored to their specific needs, whether in autonomous mobility, robotics, or any field where safety is critical. The combination of artificial intelligence, cloud computing, and data analytics enables the creation of robust and scalable test pipelines, bringing the reliability of autonomous systems closer to the standards demanded by the industry.





