Abstract
Vehicle-to-Everything (V2X) cooperative perception allows autonomous vehicles to share sensor data, significantly improving safety by overcoming line-of-sight limitations. However, existing full-precision (FP32) models are impractical for real-world deployment due to high memory requirements, excessive communication bandwidth needs, and significant computational latency. We introduce QuantV2X, the first fully quantized multi-agent system designed for cooperative perception. QuantV2X utilizes a full-stack quantization approach, including post-training quantization (PTQ) for neural networks and codebook-based messaging for data sharing. Our system achieves a 3.2× reduction in end-to-end latency and a 65.7% reduction in energy consumption while preserving near-perfect accuracy (up to 99.8% of FP32 baselines).
Introduction
In real-world autonomous driving, the "stale data" problem is a critical safety risk. While full-precision models offer high theoretical accuracy, their size and complexity lead to significant processing and transmission delays. By the time a vehicle processes a neighbor's high-resolution feature map, the environment has already changed. This creates a performance gap between lab simulations and edge deployment.
QuantV2X addresses these constraints by moving from FP32 to low-bit (INT8/INT4) representations across the entire perception pipeline, enabling larger, more capable models to run within tight hardware and bandwidth budgets.
Methodology: The QuantV2X Framework
QuantV2X implements a "full-stack" quantization recipe targeting the encoder, fusion module, and detection head.
1. Post-Training Quantization (PTQ)
To avoid the high cost of retraining, QuantV2X uses PTQ to convert pre-trained models into compact 8-bit or 4-bit formats using minimal calibration data. This drastically reduces the memory footprint of the models, allowing for the deployment of sophisticated backbones on edge devices.
2. Codebook-Based Messaging
Communication is often the primary bottleneck in V2X. Instead of transmitting raw floating-point feature maps, QuantV2X employs a shared "codebook" of feature patterns. Agents transmit only the indices of these patterns, significantly reducing the message volume and wireless network burden.
3. Alignment Modules
Quantization can introduce distribution shifts and noise. To mitigate this, the system incorporates two specialized losses during calibration:
- Heterogeneity Alignment Loss: Ensures consistency between features from diverse agents (e.g., vehicles vs. roadside units) using KL divergence.
- Spatial Alignment Loss: Corrects coordinate shifts in 3D bounding boxes caused by precision loss, maintaining spatial accuracy.
Experimental Evaluation
The system was benchmarked on three major datasets: DAIR-V2X (real-world vehicle-infrastructure), V2X-Real (large-scale real-world collaboration), and OPV2V (simulation).
Key Results
- Efficiency: QuantV2X achieved a 3.2× speedup in end-to-end system latency and a 2.61× throughput increase on an NVIDIA RTX 3090.
- Accuracy: The system preserved up to 99.8% of original FP32 accuracy even under aggressive quantization. In latency-constrained real-world scenarios (V2X-Real), QuantV2X actually outperformed FP32 baselines by +9.5 mAP30 due to its real-time processing capabilities.
- Resource Savings: Energy consumption per query was reduced by 65.7%.
Discussion and Future Work
While QuantV2X shows exceptional performance with CNN-based architectures, Transformer-based models (like V2X-ViT) exhibit higher sensitivity to low-bit quantization. Future research will focus on developing quantization-aware designs specifically for V2X Transformers and validating the system on real-world Cellular-V2X (C-V2X) testbeds.
Code and models are available at: https://github.com/ucla-mobility/QuantV2X
Summary updated