[Paper Review] DeepPicar: A Low-cost Deep Neural Network-based Autonomous Car
DeepPicar is a low-cost, Raspberry Pi 3-based autonomous car platform that replicates NVIDIA's DAVE-2 using a 9-layer CNN for end-to-end steering control from camera input. It demonstrates real-time inference at 20–100 Hz across embedded platforms, revealing that shared resource contention can cause up to 11.6× slowdown, with memory bandwidth throttling proving effective for performance isolation while cache partitioning is not.
We present DeepPicar, a low-cost deep neural network based autonomous car platform. DeepPicar is a small scale replication of a real self-driving car called DAVE-2 by NVIDIA. DAVE-2 uses a deep convolutional neural network (CNN), which takes images from a front-facing camera as input and produces car steering angles as output. DeepPicar uses the same network architecture---9 layers, 27 million connections and 250K parameters---and can drive itself in real-time using a web camera and a Raspberry Pi 3 quad-core platform. Using DeepPicar, we analyze the Pi 3's computing capabilities to support end-to-end deep learning based real-time control of autonomous vehicles. We also systematically compare other contemporary embedded computing platforms using the DeepPicar's CNN-based real-time control workload. We find that all tested platforms, including the Pi 3, are capable of supporting the CNN-based real-time control, from 20 Hz up to 100 Hz, depending on hardware platform. However, we find that shared resource contention remains an important issue that must be considered in applying CNN models on shared memory based embedded computing platforms; we observe up to 11.6X execution time increase in the CNN based control loop due to shared resource contention. To protect the CNN workload, we also evaluate state-of-the-art cache partitioning and memory bandwidth throttling techniques on the Pi 3. We find that cache partitioning is ineffective, while memory bandwidth throttling is an effective solution.
Motivation & Objective
- To develop a low-cost, accessible testbed for real-time deep learning-based autonomous vehicle control.
- To evaluate the real-time inference performance of a CNN-based control system on embedded platforms, including the Raspberry Pi 3.
- To investigate the impact of shared resource contention (cache and DRAM) on CNN inference latency in consolidated workloads.
- To assess the effectiveness of shared resource isolation techniques—cache partitioning and memory bandwidth throttling—for protecting real-time CNN workloads.
- To explore the feasibility of deploying compressed or quantized CNNs on resource-constrained platforms in future work.
Proposed method
- Replicates NVIDIA’s DAVE-2 CNN architecture (9 layers, 27M connections, 250K parameters) for end-to-end steering prediction from monocular camera input.
- Uses a Raspberry Pi 3 with a web camera and RC car chassis to build a low-cost, real-time autonomous control system.
- Employs real-time inference of the CNN at 20–100 Hz across multiple embedded platforms, including the Pi 3 and more powerful alternatives.
- Measures performance degradation due to shared resource contention by running multiple concurrent CNN models and tasks on the same platform.
- Applies state-of-the-art isolation techniques: cache partitioning and memory bandwidth throttling, to evaluate their effectiveness in maintaining real-time performance.
- Evaluates the impact of hardware-level resource contention and isolation mechanisms through controlled benchmarking and workload consolidation experiments.
Experimental results
Research questions
- RQ1Can a low-cost embedded platform like the Raspberry Pi 3 support real-time end-to-end deep learning-based control for autonomous vehicles?
- RQ2How does shared resource contention (cache and DRAM) affect the performance of CNN inference workloads in consolidated embedded systems?
- RQ3To what extent do existing shared resource isolation techniques—cache partitioning and memory bandwidth throttling—protect real-time CNN inference performance?
- RQ4What is the achievable real-time performance (inference frequency) of the CNN model across different embedded computing platforms?
- RQ5Can resource-constrained platforms support efficient deployment of compressed or quantized CNNs for future low-power autonomous systems?
Key findings
- The Raspberry Pi 3 and other embedded platforms can support real-time CNN inference for autonomous control, achieving frame rates from 20 Hz to 100 Hz depending on hardware.
- Shared resource contention, even with dedicated CPU cores, can cause up to 11.6× increase in CNN inference latency, severely degrading real-time performance.
- Cache partitioning is ineffective in isolating the CNN workload from interference due to shared cache hierarchy.
- Memory bandwidth throttling is an effective technique for protecting CNN inference performance under resource contention, significantly reducing latency spikes.
- The DeepPicar platform successfully replicates the behavior of NVIDIA’s DAVE-2 using only $100 in components, enabling low-cost research on real-time deep learning control.
- The study confirms that hardware-aware optimization and isolation mechanisms are essential for reliable real-time deployment of DNNs in embedded autonomous systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.