[Paper Review] Transformer-based models and hardware acceleration analysis in autonomous driving: A survey
A comprehensive survey of Transformer-based models for autonomous driving, focusing on model architectures, tasks (3D/2D perception, prediction, end-to-end planning), and operator-level hardware acceleration on portable devices.
Transformer architectures have exhibited promising performance in various autonomous driving applications in recent years. On the other hand, its dedicated hardware acceleration on portable computational platforms has become the next critical step for practical deployment in real autonomous vehicles. This survey paper provides a comprehensive overview, benchmark, and analysis of Transformer-based models specifically tailored for autonomous driving tasks such as lane detection, segmentation, tracking, planning, and decision-making. We review different architectures for organizing Transformer inputs and outputs, such as encoder-decoder and encoder-only structures, and explore their respective advantages and disadvantages. Furthermore, we discuss Transformer-related operators and their hardware acceleration schemes in depth, taking into account key factors such as quantization and runtime. We specifically illustrate the operator level comparison between layers from convolutional neural network, Swin-Transformer, and Transformer with 4D encoder. The paper also highlights the challenges, trends, and current insights in Transformer-based models, addressing their hardware deployment and acceleration issues within the context of long-term autonomous driving applications.
Motivation & Objective
- Assess how Transformer architectures are applied across autonomous driving tasks (perception, mapping, prediction, planning).
- Analyze encoder-decoder and encoder-only designs and their trade-offs for real-time deployment.
- Survey operator-level hardware acceleration aspects, including quantization, fixed-point arithmetic, and architecture-specific optimizations.
- Benchmark Transformer models on standard datasets to relate accuracy, speed, and resource use to deployment feasibility.
Proposed method
- Review and categorize Transformer-based models by driving task (3D/general perception, 2D/plane, prediction and end-to-end).
- Compare encoder-decoder vs encoder-only structures and their input/output phrasing (BEV, 2D/3D queries, etc.).
- Summarize operator-level components (softmax, layer norm, matrix multiply) and their hardware acceleration strategies.
- Provide benchmark tables on model size, FLOPs, FPS, and accuracy for Nvidia GTX-3090 hardware across datasets.
- Discuss hardware deployment challenges and trends for long-term autonomous driving applications.
Experimental results
Research questions
- RQ1What Transformer-based architectures are most effective for 3D perception, lane/HD-map tasks, and end-to-end autonomous driving pipelines?
- RQ2How do encoder-decoder and encoder-only configurations compare in accuracy, latency, and resource use for automotive scenarios?
- RQ3What are the key operator-level bottlenecks (e.g., softmax, LN, FFN, matmul) and how can hardware acceleration address them?
- RQ4What is the current state of benchmark performance across representative datasets (NuScenes, OpenLane, TuSimple, CARLA) on portable hardware?
- RQ5What trends and challenges shape the deployment of Transformer-based models in long-term autonomous driving?
Key findings
- Transformer-based models achieve competitive or superior performance across object detection, lane detection, and HD-map generation compared to CNN baselines in several cases.
- BEV-based queries and multi-view fusion improve 3D perception performance, with BEVFormer and PETR-type approaches exemplifying strong results on NuScenes.
- End-to-end Transformer configurations (e.g., TransFuser, InterFuser, UniAD) show promise for integrated sensing-planning control, though realism and data requirements remain a challenge.
- Hardware benchmarks on a GTX-3090 reveal a trade-off between model size, FLOPs, and frame rate, highlighting the need for efficient encoder/decoder designs and accelerated operators.
- Slated trends point to increased use of hierarchical/shifted-window Transformers (e.g., Swin-Transformer) and multi-modal fusion to balance efficiency and accuracy in edge devices.
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.