New AI Framework Generates Synthetic Data for Safer AVs

New AI Framework Generates Synthetic Data for Safer AVs

By implementing a twelve-state behavioral finite state machine, developers can now simulate diverse pedestrian archetypes ranging from business people to parents with young children. This technological breakthrough in 2026 addresses a critical bottleneck in the safety validation of autonomous driving systems, which have historically struggled with the “long tail” of rare and unpredictable human movements. While real-world datasets provide a baseline for training, they are fundamentally limited by the statistical rarity of dangerous events and the ethical impossibility of staging life-threatening scenarios on public roads. This gap in training data often leaves artificial intelligence models unprepared for the chaotic reality of urban navigation, where a split-second decision by a pedestrian can lead to catastrophic outcomes. To solve this, researchers from the Barcelona Computer Vision Center and AGH University of Science and Technology have introduced ARCANE-PedSynth, a sophisticated pipeline that generates massive volumes of synthetic, high-utility data. By leveraging the power of simulated environments, this framework allows for the creation of perfectly annotated scenarios that would be impossible to capture in the real world. This approach not only enhances the precision of pedestrian intention models but also provides a safe and scalable sandbox for testing the limits of autonomous safety protocols before they are deployed in actual city environments.

Solving Data Scarcity and Imbalance

Engineering High-Frequency Crossing Scenarios

The scarcity of meaningful interaction data has long been a bottleneck for autonomous vehicle manufacturers who rely on deep learning to navigate urban streets safely. In conventional driving logs, pedestrians spend the vast majority of their time safely positioned on sidewalks or waiting at designated signals, which provides little value for training an AI to recognize the early signs of a hazardous crossing. This statistical disparity, known as class imbalance, often leads to models that are overly optimistic or fail to recognize subtle deviations in movement that precede a collision. The ARCANE-PedSynth framework solves this by moving the entire data generation process into the CARLA simulator, where researchers can artificially inflate the number of high-stakes interactions. By manipulating the environment in this way, the system generates scenarios where crossing events are not just occasional anomalies but frequent occurrences. This shift allows for a much more concentrated training period, as the AI is exposed to more critical decision-making moments in an hour of simulation than it would see in an entire year of standard real-world driving footage.

The core of this capability lies in the framework’s dual-mode control architecture, which effectively overrides the standard, overly cautious AI paths found in vanilla simulators. In a typical simulation, pedestrians are restricted to predefined sidewalk coordinates, making them predictable and largely irrelevant to the vehicle’s safety calculations. The ARCANE-PedSynth pipeline introduces a manual override system that allows for the creation of specific crossing trajectories, complete with pauses, speed variations, and sudden changes in direction. This level of granular control is essential for modeling the high-risk scenarios that are otherwise difficult to capture. By varying the angle of approach and the speed of the pedestrian relative to the car, the system produces a balanced dataset where the AI learns the difference between someone walking parallel to the road and someone pivoting to cross it. This creates a rigorous training ground where every frame contributes to the model’s understanding of intentionality, moving beyond simple distance-based alerts to a more profound comprehension of human motion.

Multi-Layered Strategy: Behavioral Diversity

To prevent the synthetic data from becoming a series of repetitive, unrealistic patterns, the development team implemented a sophisticated four-layer engineering strategy designed to mirror the chaos of real traffic. This process starts at the initial “spawn” level, where the density of pedestrians is carefully calculated to fill the virtual scene. From there, the system assigns specific behavioral traits to each individual, ensuring that not every agent follows a linear path. One of the most critical aspects of this strategy is the deliberate injection of jaywalkers directly into the path of the ego-vehicle. These agents are programmed to disregard standard traffic rules, forcing the autonomous system to account for non-compliant human behavior. By also grouping pedestrians together to simulate synchronized movements, such as a family crossing a road, the framework provides a dense and varied tapestry of potential obstacles. This layered approach ensures that the model learns to identify hazards across a wide range of social and environmental contexts without being limited by the rigid rules of basic simulation.

The results of this multi-layered intervention were immediately evident during the validation phase, where the crossing rate was significantly altered to suit research needs. In standard simulation environments, the baseline crossing rate typically hovers around a meager 3.8 percent, which is insufficient for training robust predictive models. Through the application of the ARCANE-PedSynth pipeline, researchers were able to boost this frequency to as high as 56.8 percent in controlled testing environments. This high density of crossing-heavy data is particularly valuable for training deep neural networks that require thousands of examples of an event to generalize effectively. Moreover, the framework allows for the adjustment of these rates based on the specific needs of the developer, meaning a model could be stress-tested against an environment with a 75 percent crossing rate to evaluate its performance in extreme conditions. This flexibility transforms the simulator from a simple testing tool into a precision instrument for data engineering, allowing developers to target specific weaknesses in their navigation stacks with surgically accurate synthetic examples.

Simulating Complex Human Psychology

The Twelve-State Behavioral Machine

At the heart of ARCANE-PedSynth is a twelve-state finite state machine that provides a psychological framework for virtual agents, moving beyond simple geometric movement. Rather than treating pedestrians as mindless points moving on a grid, the system allows each agent to transition between states such as walking, stopping, looking for traffic, and making the final decision to cross. This behavioral complexity is further diversified through five distinct character archetypes, including elderly individuals, business people, and young children. Each archetype is governed by its own set of rules regarding walking speed, which ranges from 0.6 to 1.8 meters per second, and its propensity for risk-taking. For instance, a “parent with a child” archetype may exhibit more cautious behavior and slower speeds compared to a “young person” who might move more impulsively. By simulating these different classes of pedestrians, the framework teaches the autonomous vehicle to recognize that different people pose different types of risks, requiring the AI to adjust its own predictive confidence based on the visual characteristics of the person it is tracking.

This behavioral depth is enhanced by the machine’s ability to respond dynamically to the presence and proximity of vehicles in the virtual environment. Unlike earlier models that followed fixed paths regardless of traffic, these virtual pedestrians continuously monitor their surroundings. They are programmed with specific “attention states,” meaning they may or may not be looking at the oncoming car. This mirrors a common real-world danger where a pedestrian steps into the street while distracted by a phone or other urban stimuli. By incorporating these attention gaps into the training data, the AI learns to prioritize monitoring pedestrians who are not making eye contact or who appear distracted. This level of detail is critical for developing defensive driving algorithms that can anticipate human error before it results in a collision. The twelve-state machine essentially creates a predictable yet flexible set of behaviors that allow the AI to learn the rules of human interaction through repeated exposure to realistic, archetype-driven movements.

Real-Time Decision Making: Risk Assessment

The decision-making process for virtual pedestrians in this framework is governed by a sophisticated gap-acceptance model centered on the concept of time-to-collision. Before an agent decides to step off the curb, the system calculates the projected closing speed of all nearby vehicles. A pedestrian will only proceed if the calculated time-to-collision exceeds the estimated time required to reach the other side of the street, plus an added safety margin. This mathematical approach ensures that the agents behave with a level of rationality that reflects average human judgment. However, the framework also introduces elements of human fallibility. If a vehicle accelerates suddenly or if the pedestrian misjudges the distance, a conflict is created that the autonomous vehicle must resolve. These interactions are precisely what the AI needs to experience to build a robust safety profile, as they represent the high-stakes decisions that occur daily in complex metropolitan areas.

One of the most valuable aspects of this decision logic is the inclusion of mid-road reversals and sudden halts, which occur in approximately 15 percent of high-risk scenarios within the simulation. If a vehicle enters a three-meter radius while a pedestrian is in the middle of the street, the agent may panic, stop in place, or retreat to the original curb. These sudden changes in intent are notoriously difficult for AI to predict because they defy the standard assumption of forward momentum. By including these “near-miss” events in the training data, ARCANE-PedSynth prepares autonomous systems for the unpredictability of human panic. The AI learns to maintain a buffer zone and to recognize the physical cues that suggest a pedestrian is about to change their mind. This focus on the “mid-crossing change of heart” represents a significant step forward in safety engineering, as it addresses a major cause of urban accidents that traditional, linear predictive models often fail to account for.

Advanced Sensing and Automated Labeling

Synchronized Multi-Modal Data Collection

To provide the most comprehensive training environment possible, the ARCANE-PedSynth pipeline utilizes a suite of synchronized sensors that mirror the hardware found on modern autonomous platforms. The primary source is a high-resolution RGB camera that captures visual details, while a roof-mounted, 64-channel LiDAR system provides the 3D geometric context. LiDAR is especially crucial because it generates approximately one million points per second, allowing the vehicle to “see” the distance and volume of pedestrians regardless of lighting conditions. Furthermore, the framework incorporates a Dynamic Vision Sensor, or event camera, which only records changes in pixel intensity. This sensor is highly effective at highlighting motion, making it a valuable tool for detecting fast-moving objects or pedestrians in low-contrast environments. By synchronizing these three distinct data streams, the framework provides the AI with a multi-modal view of every encounter, ensuring that the model can maintain tracking even if one sensor is compromised by weather or lighting.

The integration of these diverse sensors allows the AI to develop a more resilient understanding of the urban landscape. For example, while the RGB camera might struggle with the glare of a setting sun or a dark alleyway, the LiDAR and DVS data remain stable, providing the geometric and motion-based cues necessary to identify a pedestrian. This redundancy is a cornerstone of autonomous safety, and by training on multi-modal synthetic data, the AI becomes more adept at sensor fusion—the process of combining different data types to form a single, reliable world model. The framework also allows researchers to simulate adverse weather conditions, such as heavy rain or fog, which can affect each sensor differently. This ability to test sensor performance in a controlled, virtual environment is invaluable for identifying the technical limits of an autonomous system’s hardware and software, leading to more robust designs that can handle the unpredictable environmental challenges of the real world.

High-Precision Ground Truth Annotation

One of the most significant advantages of using synthetic data over real-world video is the elimination of the human error and subjectivity that plagues manual annotation. In a simulated environment, every object’s position, velocity, and internal state are known with 100 percent accuracy, allowing the ARCANE-PedSynth pipeline to generate flawless ground-truth labels. These labels include information that is impossible to extract with total certainty from real-world footage, such as the exact frame a pedestrian decides to cross or their specific behavioral archetype. The system uses a rigorous four-stage visibility gate to ensure that only relevant pedestrians are labeled, filtering them based on their distance from the vehicle and their visibility in the camera’s field of view. This automation allows for the rapid production of massive datasets that are ready for training immediately upon generation, drastically reducing the time and cost associated with developing new AI models.

To further refine the AI’s understanding of human movement, the framework incorporates the AlphaPose system to generate precise 2D pose keypoints for every pedestrian in the scene. By mapping seventeen key points on the human body, such as the shoulders, knees, and ankles, the system provides the AI with a detailed look at body language and orientation. This pose data is essential for predicting intent, as it allows the model to see when a person is leaning forward or turning their head to check for traffic. Comparative tests showed that AlphaPose maintained high accuracy at distances of up to 30 meters, outperforming older tools like OpenPose. This integration of skeletal tracking with behavioral labels creates a rich, multi-dimensional dataset that teaches the AI to connect physical posture with future action. The result is a more intuitive autonomous system that can “read” a pedestrian’s body language in the same way a human driver does, leading to safer and more natural interactions on the road.

Validation and the Future of AV Safety

Performance Testing: Established Models

The utility of the PedSynth++ dataset was validated through rigorous testing against three of the most prominent pedestrian crossing-prediction models in the industry: ST-CrossingPose, PedGraph+, and PedGT. When these models were trained using the synthetic data generated by the ARCANE-PedSynth pipeline, they demonstrated an impressive ability to generalize the learned behaviors to new, unseen scenarios. The PedGT model, in particular, achieved an accuracy rate of 86 percent in predicting whether a pedestrian would step into the street within a specific timeframe. These results confirmed that the synthetic behaviors programmed into the simulator were not just realistic in appearance but were also functionally consistent with the patterns that AI models need to recognize. This validation is a crucial step for the industry, as it proves that synthetic data can effectively stand in for real-world recordings when the latter is too difficult or dangerous to obtain.

Beyond just achieving high accuracy, the performance tests revealed that the models became increasingly precise as they were exposed to longer observation windows, which is a hallmark of effective training. Both PedGraph+ and ST-CrossingPose showed marked improvements when they were given more frames to analyze, indicating that the synthetic data provided a coherent narrative of pedestrian movement over time. This consistency allows researchers to fine-tune their algorithms for different response times, ensuring that the vehicle can make a safe decision even if it only has a fraction of a second to react. The success of these tests provided a clear proof of concept for the use of “crossing-heavy” synthetic datasets. It demonstrated that by focusing on the most relevant and dangerous interactions, developers could build more reliable safety systems that are better prepared for the complexities of real-world urban navigation, ultimately leading to a significant reduction in pedestrian-related accidents.

Scaling Open-Source Research: Global Impact

The researchers released the framework under the MIT License, which significantly lowered the barrier to entry for smaller laboratories and startups across the globe. By providing a containerized system through Docker, they enabled teams to replicate these complex scenarios without the need for massive, specialized computing clusters. This move fostered a more collaborative approach to safety, as developers shared custom-generated datasets that focused on regional driving habits or specific weather challenges. The project also demonstrated that synthetic data could serve as a powerful tool for generating “pseudo-labels,” which helped refine models trained on less-than-perfect real-world footage. This methodology effectively bridged the gap between the pristine conditions of a simulator and the messy reality of city streets, proving that a hybrid approach to data collection was the most viable path forward for the industry.

The team also highlighted the potential for future iterations to include more advanced eye-tracking simulations to better replicate human-to-driver communication, which remained a key frontier for the next phase of development. By focusing on “sim-to-real” transfer techniques, they aimed to ensure that the lessons learned in the virtual world translated flawlessly to actual hardware on the street. Developers were encouraged to adopt these synthetic pipelines to supplement their existing data streams, especially when targeting rare edge cases that occur in specific urban environments. As the technology matured, the emphasis shifted toward creating even more diverse social scenarios, such as pedestrians interacting in large crowds or reacting to emergency vehicles. This ongoing evolution of the ARCANE-PedSynth framework established a new standard for how the autonomous vehicle industry approached safety, prioritizing proactive, data-driven simulation as a prerequisite for any real-world deployment.

Subscribe to our weekly news digest.

Join now and become a part of our fast-growing community.

Invalid Email Address
Thanks for Subscribing!
We'll be sending you our best soon!
Something went wrong, please try again later