AVstack: An Open-Source, Reconfigurable Platform for Autonomous Vehicle Development

Robert Spencer Hallyburton, Shucheng Zhang, Miroslav PajicICCPS 2022

TL;DR

Autonomous vehicle (AV) development is hampered by fragmented tools, proprietary systems, and a lack of standardized evaluation across datasets and simulators. This paper introduces AVstack, an open-source, reconfigurable platform designed to unify AV development, testing, and analysis, enabling easier trade-off studies and next-level research like multi-agent collaboration.

What Problem Does This Paper Address?

The dream of widespread autonomous vehicles has been slower to materialize than anticipated. Several key issues plague the field:

  • Lack of Verifiability: Many cutting-edge AV components are proprietary and closed-source, making it difficult for researchers to verify their performance or build upon them.
  • Stagnation in Advanced Evaluations: Progress has stalled in crucial areas like vehicle-to-infrastructure (V2I) and multi-agent collaboration, partly due to the difficulty of testing these complex scenarios.
  • Fragmented Development Environment: The AV development landscape is characterized by a vast amount of software, disparate conventions for data and metrics, and inflexibility in existing platforms. This makes it challenging to test algorithms across different datasets and simulators, hindering robust validation and trade-off analysis.
  • High Barrier to Entry: Existing platforms often require significant effort to set up, modify, and use, especially for researchers wanting to explore novel architectures or conduct extensive testing.

Methods

AVstack tackles these challenges through four core innovations:

  • Wide Compatibility: AVstack is designed to work seamlessly with a broad range of benchmark AV datasets (e.g., KITTI, nuScenes, Waymo) and physics-based AV simulators (e.g., CARLA). It also supports numerous open-source AV algorithms.
  • Unified Conventions: The platform standardizes coordinate systems and component-wise metrics, creating a unified interface that simplifies data handling and reduces errors when working with diverse data sources. It introduces a "Reference Frame Chain of Command" (RefChoc) to manage complex reference frame dependencies.
  • Modular Testing: AVstack promotes a reconfigurable architecture, allowing developers to easily design, implement, and test AVs. This modularity enables seamless testing across static datasets, longitudinal datasets, and simulators with minimal code changes.
  • Low Barrier to Adoption: Written in a high-level programming language (Python), AVstack facilitates rapid prototyping and reusable implementations. Users can design and test AVs with just a few lines of code, and trade studies can be initiated using simple configuration tables.

Datasets

AVstack is designed to work with existing datasets and simulators. The paper explicitly mentions:

  • KITTI: A foundational dataset for autonomous driving research.
  • nuScenes: A multimodal dataset for autonomous driving.
  • Waymo Open Dataset: Another large-scale dataset for autonomous driving.
  • CARLA: An open-source simulator for autonomous driving research.

AVstack does not introduce new datasets but aims to unify the use of these existing ones for more comprehensive evaluation.

Key Insights and Ideas

  • Bridging the Dataset-Simulator Gap: A significant contribution is enabling consistent testing and analysis across both real-world datasets and simulated environments, a capability lacking in many existing tools.
  • The Power of Unified Conventions: Standardizing reference frames and metrics is crucial for enabling true transferability of algorithms and reducing the burden on developers. The RefChoc concept is a novel approach to managing these complexities.
  • Modularity as a Catalyst for Innovation: By breaking down AVs into reconfigurable components, AVstack lowers the barrier to experimenting with novel architectures and exploring complex scenarios like multi-agent collaboration.
  • Trade Studies are Essential for Validation: The paper emphasizes that isolated component testing is insufficient. AVstack's design facilitates comprehensive trade studies, revealing critical inter-component interactions and error propagation.
  • Industry vs. Research Pace: The paper highlights a growing disparity where industry is rapidly capturing markets, while research is hampered by the lack of accessible, standardized platforms for validation and next-level exploration.

Key Results

The paper demonstrates AVstack's capabilities through several case studies:

  • Portability and Transfer Testing: AVstack enabled the creation of dataset-agnostic passive agents using LiDAR-based and camera-LiDAR fusion architectures with as few as 15-20 lines of code. These agents were tested across KITTI, nuScenes, and CARLA, revealing insights into algorithm performance variations across datasets (e.g., lower recall on nuScenes for 3D object detection).
  • Multi-Sensor, Multi-Agent Collaboration: AVstack facilitated the design and testing of a collaborative agent in CARLA, integrating infrastructure sensors to augment the ego vehicle's limited range. Experiments explored trade-offs between communication range, noise, and detection accuracy, showing that collaborative sensing can significantly improve performance, particularly when individual sensors are limited.
  • Metrics Unification: AVstack supports a broad set of metrics, including the Responsibility Sensitive Safety (RSS) metric, allowing for more holistic evaluations beyond single-component performance.

Limitations and Future Work

The authors acknowledge the following limitations:

  • Real-Time Performance: AVstack is not designed as a real-time solution. Its Python-based implementation and focus on modularity prioritize flexibility over low-level latency, which would be necessary for production-level AVs.
  • Low-Level Programming: The use of Python, while beneficial for rapid prototyping, means AVstack is not optimized for raw speed or memory efficiency compared to lower-level implementations.

Future work could involve optimizing AVstack for real-time performance, further expanding its library of components and supported datasets/simulators, and exploring more advanced multi-agent and V2I scenarios. The platform's design inherently supports these extensions.

Summary updated

BibTeX
@inproceedings{hallyburton2022avstack,
  author = {Robert Spencer Hallyburton and Shucheng Zhang and Miroslav Pajic},
  title = {{AVstack: An Open-Source, Reconfigurable Platform for Autonomous Vehicle Development}},
  booktitle = {ICCPS},
  year = {2022},
}
Figure