Manuscript Offprint

arXiv:2608.28673

AdaptAV: Continuous Adaption of Vision Models for Autonomous Vehicles Using Cloud-based Oracle

Yuheng Zhu, Dhruva Ungrupulithaya, Boluo Ge, Man-Ki Yoon

Yuheng Zhu, Dhruva Ungrupulithaya, Boluo Ge, Man-Ki Yoon

Department of Computer Science North Carolina State University

Abstract—Deploying vision perception models in autonomous vehicles requires that we prioritize inference speeds, resulting in a model with shallower architectures and lesser model parameters (i.e., more pruned). Such small models do not generalize well, which could result in poor performance when encountered with novel scenarios. We propose a system that overcomes this by continuously retraining the vision models on the cloud with data uploaded by vehicles. We leverage the abundant compute resources, including machine learning accelerators, of the cloud to run a state-of-the-art, highly accurate oracle model that will guide the retraining process of the on-vehicle model. This newly trained model is transmitted to the vehicle over the network and is utilized by the vehicle for perceptions, leading to improved inference accuracy over time.

I. INTRODUCTION

The proliferation of autonomous vehicles (AVs) has been one of the most significant trends in vehicular technology with automakers investing heavily [1]. Perception models are key to AVs' success and work by taking inputs from an array of sensors like cameras and LiDARs to assess the surrounding environment and make relevant decisions. The development of these intelligent algorithms is highly data-driven and is a result of the collection of millions of hours of driving data in a variety of unique environmental conditions and driving scenarios and training the models on these extensive datasets.

Although the models are tested vigorously to ensure that they perform well in a variety of challenging conditions, optimal performance is not always guaranteed. A poor performance can be ascribed to two primary reasons: a sub-optimal model and/or a lack of comprehensive training. Due to the constrained computational and memory resources available in vehicles, the perception models running in these systems may not represent the most precise models currently accessible. These models are instead optimized for resource efficiency, resulting in the model performing inference quickly to meet the real-time requirements of an autonomous vehicle. Thus, on encountering a novel and challenging scenario, which might not be a part of the training dataset, the perception model performs poorly, leading to inferior decisions. For instance, Fig. 1 shows the detection of a larger model (Faster R-CNN [2]) and that of a smaller model (SSD-MobileNet [3] [4]) that would run on the vehicle, both of which are trained on the Waymo Open Dataset [5]. There is a significant difference in the inference outputs of the two models, with the smaller MobileNet model missing some key objects such as the pedestrian crossing the road. This poor perception performance, if not addressed, may lead to catastrophic consequences [6] [7].

Figure

Fig. 1. A scenario where the vision model deployed in the vehicle fails to detect multiple important objects. The purple bounding boxes correspond to the detection of the larger Faster R-CNN model, and the yellow bounding boxes correspond to the smaller SSD-MobileNet model.

The conventional approach would be to deploy test vehicles to collect more data and use it to train and develop a better perception model. This improved model would then be updated when the vehicle comes to the service center as a software update, or if supported, through an over-the-air (OTA) update. However, the process of data collection and development of the updated model would take significant amounts of time and resources and still may not address all the shortcomings of the previous model [8].

Drawing from the above insights, we propose AdaptAV, a closed-loop software architecture that continuously improves and updates the model running in the vehicle. We achieve this by leveraging the power of computing on the cloud, which enables us to apply a complex, powerful perception model to flag erroneous or poor decisions of the on-vehicle model. These oracle models are developed to prioritize inference accuracy rather than speed, which allows us to use them to steer the (re)training of the small model that runs on the vehicle. The vehicle continuously logs the vision data and pushes it to the cloud in a bandwidth-efficient manner by using popular video compression techniques, allowing us to deploy this system even with limited network connectivity.

In this paper, we make the following contributions:

  • We present AdaptAV, a closed-loop software framework that continuously updates the vision model running in the vehicle using the cloud-side oracle model and the most recently captured image stream;
  • We propose frame sampling techniques that can reduce overfitting of the vision model;
  • We analyze the AdaptAV design parameters and their impacts on ML inference quality;

Figure

Fig. 2. AdaptAV continuously updates the vision model running on the vehicle. The image stream used by the vision model is compressed and uploaded to the cloud. A cloud instance with powerful compute with machine learning accelerators uses the data to retrain the model. The retrained model is then deployed back to the vehicle, closing the loop.

  • We show the practicality of AdaptAV by applying it to a prototype vehicle integrated with a public cloud.

References (28)