Comparative Analysis of Deep Learning Models for Perception in Autonomous Vehicles

Jalal Khan · 2025

Read Comparative Analysis of Deep Learning Models for Perception in Autonomous Vehicles by Jalal Khan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-21673.txt.

Introduction

Jalal Khan compares two deep learning object detectors for the perception system of an autonomous vehicle. Perception is how the vehicle detects, locates, and identifies cars, pedestrians, and road signs to navigate safely. The models compared are YOLO-NAS and YOLOv8, both recent versions of the you-only-look-once detector family.

Khan captured a custom dataset and trained and tested both models on it under matched conditions. The smaller YOLOv8s variant finished training in about a quarter of the time the YOLO-NAS model needed, a saving of roughly seventy-five percent. It also edged out its rival on detection accuracy, reaching about eighty-three percent against about eighty-one percent. The comparison is deliberately practical rather than theoretical. Its value is a real-world data point on the speed-accuracy trade-off between two widely used detectors.

Catalog record

CREATORJalal Khan
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE8 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-21673

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Comparative Analysis of Deep Learning Models for Perception in Autonomous Vehicles
Jalal Khan

Abstract
Recently, a plethora of machine learning (ML) and deep learning (DL) algorithms have been proposed to achieve the efficiency, safety, and reliability of autonomous vehicles (AVs). The AVs use a perception system to detect, localize, and identify other vehicles, pedestrians, and road signs to perform safe navigation and decision-making. In this paper, we compare the performance of DL models, including YOLO-NAS and YOLOv8, for a detection-based perception task. We capture a custom dataset and experiment with both DL models using our custom dataset. Our analysis reveals that the YOLOv8s model saves 75% of training time compared to the YOLO-NAS model. In addition, the YOLOv8s model (83%) outperforms the YOLO-NAS model (81%) when the target is to achieve the highest object detection accuracy. These comparative analyses of these new emerging DL models will allow the relevant research community to understand the models’ performance under real-world use case scenarios.



keywords
Deep learning; YOLO-NAS; YOLOv8; Perception; Autonomous vehicles.

1
Introduction

The United States (DARPA Agency) and Europe (EUREKA Prometheus Project) made significant contributions to enhance the necessary technologies, research, and development for autonomous driving (AD) technology
DARPAUrb5:online
;
EurekaPr8:online
;
khan2022level
. In addition, the success of deep neural networks in ImageNet allowed relevant research communities to propose significant deep learning (DL) models to detect objects for the perception system of autonomous vehicles (AVs)
khan2023augmenting
;
mao20233d
;
malik2023should
. For instance, Sparse4D-v3, Far3D, HoP, Li, StreamPETR-Large, VCD-A, UniM2AE, SparseBEV, and VideoBEV techniques are proposed for object detection based on nuScenes dataset during the year 2023
Objectde0:online
. These models introduce various unique approaches to perception tasks and are designed to improve accuracy and speed in challenging environments. For object detection, the newly available DL-based architectures, i.e., the YOLOv8 and YOLO-NAS models, are compared on the COCO dataset using NVIDIA T4
GitHubDe57:online
. However, these models have not yet been extensively compared and evaluated for performance analysis using a custom road dataset. In this study, we investigate the impact of DL models on object-detection-based perception tasks for AVs. In this connection, we consider a custom road dataset from
khan2024vehicle
. We compared and evaluated YOLOv8s and YOLO-NAS using well-known performance metrics, such as mean average precision (mAP), and confusion matrix values. The contributions of this research work are comparing the performance of DL models used by AVs for object detection tasks.

2
Methodology

The perception system of AVs perceives road objects using state-of-the-art (SOTA) DL-based models. Since the YOLOv8s and YOLO-NAS-based DL models have not been explored extensively, we select them for experimental work considering object detection-based perception tasks of AVs. For object detection tasks, we use a camera as the primary capturing device to capture data (video clips) on complex urban road segments. We record a total of 15,100 images during the data-capturing phase. Next, we reduce the initial capture dataset to 1000 images using different pre-processing techniques. We manually label our final dataset, which contains five different classes i.e., cars, pedestrians, motorcyclists, trucks, and rickshaws. In addition, we split the dataset into a train set (70%), a validation set (20%), and a test set (10%). The rationale behind the YOLOv8s and YOLO-NAS is that the selection of a single DL model depends on the underlying use case scenarios
mao20233d
. Now that we have our pre-processed dataset and DL-based models, we start to perform the training, validation, and testing of our models. It should be highlighted that we use the basic hyperparameters (i.e., 100 epochs, 16 batch size, etc.) to get a fair performance comparison of both DL models. Now that we have our custom-trained DL-based models, we start investigating the performance of each model.

3
Experiments

The experiments were conducted using the NVIDIA Tesla V100 GPU model, 16.0GB of GPU RAM, 12.7GB of System RAM, etc., using Google Colab Pro platform. The NVIDIA Tesla V100 GPU was accessed through Google Chrome (version 117.0) installed in a physical machine of Intel Quad-Core i7@ 3.4GHz with 32GB NVIDIA GeForce GTX 680MX Graphics and a 27-inch (2560x1440) build-in Display. The software stack includes Python v.3.11.4 (the newest major release), and its rich family of libraries e.g., PyTorch, glob, etc. The YOLOv8s and YOLO-NAS based DL models were implemented through their respective packages using the latest version of Python programming language. The learning model instances were trained on image size of 640x640. For evaluation, we rely on well-known mean average precision (mAP) metric, which provide answer to the following question: How consistently accurate are the learning model’s predictions across different recall levels and across all classes?

Figure 1
:
Comparison of [email protected] Performance Metrics.

4
Performance Evaluation

The purpose of conducting these experiments is to investigate the behavior and performance of DL models custom-trained over GPU-capable devices. We evaluated the performance of object detection task for the perception system of the AVs. The uniform setting and configuration are used for the experiments with both DL-based models. All experiments are conducted on the same custom dataset (as discussed in Section
2
) and using the custom-trained YOLOv8s and YOLO-NAS DL models with configuration i.e., 16 batch size, 100 epochs. In what follows next, we discuss the findings concluded from the experimental results.

Figure 2
:
Confusion Matrix for YOLOv8s Model.

Figure 3
:
Confusion Matrix for YOLO-NAS Model.

The performance of both the DL models for a detection-based perception task is shown in Figure
1
. The YOLOv8s model starts with a high mAP of 0.602, whereas, the YOLO-NAS model starts with a low mAP of 0.003. Meaning thereby, the YOLOv8s outperforms YOLO-NAS for initial performance until their fifth epoch. Furthermore, the learning curve of the YOLOv8s model shows a steady increase with consistent improvement and fewer fluctuations. Whereas, the learning curve of the YOLO-NAS model shows a sudden improvement in the beginning and less consistency in comparison to the YOLOv8s model. It is important to highlight that the YOLOv8s model shows a stable and reliable performance in comparison to the YOLO-NAS model. Therefore, the YOLOv8s model is more robust and effective for object detection-based perception task.

To evaluate the performance further, we rely on the confusion matrices of both DL models as shown in Figure
2
and Figure
3
. For the car objects, the YOLOv8s predicted cars 89% of the time and the YOLO-NAS predicted cars 79% of the time. For the car objects, the true predictions are 89% by the YOLOv8s model and 79% by the YOLO-NAS model. It is also evident from the false positives (background), where the car object has 0.05 by the YOLOv8s model and 0.17 by the YOLO-NAS model. In a nutshell, the YOLOv8s model is a suitable choice for car, rickshaws, and trucks. Similarly, the YOLO-NAS model is a good choice for motorcyclists and pedestrian objects. To achieve safe navigation by the AVs, both the DL models can be integrated for object detection tasks performed by the perception system.

5
Conclusions

Read the complete text