通过分阶段推理提升自动驾驶目标检测的实时性与准确性
CF-DETR: Coarse-to-Fine Transformer for Real-Time Object Detection
- 采用粗到精推理机制,动态调整注意力范围和图像块粒度
- 在资源受限下实现关键物体检测的严格定时保障,准确率显著提升
- 适合自动驾驶等对实时性与安全要求高的场景
检测变压器(DETR)因其在自动驾驶感知系统中优于卷积网络的精度而被广泛应用。然而,在资源受限条件下同时满足严格实时性要求(R1)和高精度需求(R2)仍具挑战,尤其对安全关键物体而言,难以平衡延迟与准确率。现有实时深度神经网络调度方法通常泛化处理模型,未能利用变压器特性实现高效资源分配。为此,本文提出CF-DETR,包含一种新型粗到精变压器架构及专用实时调度框架NPFP**。CF-DETR采用三项关键策略(A1:粗到精推理,A2:选择性精细推理,A3:多层级批处理推理),根据物体重要性动态调整补丁粒度与注意力范围,以满足R2。NPFP**调度框架(A4)协调这些自适应机制。它将每个DETR任务拆分为保证关键物体检测的粗粒度子任务(确保R1)和可选的精细子任务(提升整体精度,满足R2),并管理个体与批量执行。在服务器、带GPU的嵌入式平台及实际自动驾驶平台上广泛评估表明,采用NPFP**策略的CF-DETR成功满足关键操作的严格时序约束,并在多种自动驾驶工作负载下,相比现有基线实现了显著更高的整体与关键物体检测准确率。
原文摘要 · Abstract (English)
Detection Transformers (DETR) are increasingly adopted in autonomous vehicle (AV) perception systems due to their superior accuracy over convolutional networks. However, concurrently executing multiple DETR tasks presents significant challenges in meeting firm real-time deadlines (R1) and high accuracy requirements (R2), particularly for safety-critical objects, while navigating the inherent latency-accuracy trade-off under resource constraints. Existing real-time DNN scheduling approaches often treat models generically, failing to leverage Transformer-specific properties for efficient resource allocation. To address these challenges, we propose CF-DETR, an integrated system featuring a novel coarse-to-fine Transformer architecture and a dedicated real-time scheduling framework NPFP**. CF-DETR employs three key strategies (A1: coarse-to-fine inference, A2: selective fine inference, A3: multi-level batch inference) that exploit Transformer properties to dynamically adjust patch granularity and attention scope based on object criticality, aiming to satisfy R2. The NPFP** scheduling framework (A4) orchestrates these adaptive mechanisms A1-A3. It partitions each DETR task into a safety-critical coarse subtask for guaranteed critical object detection within its deadline (ensuring R1), and an optional fine subtask for enhanced overall accuracy (R2), while managing individual and batched execution. Our extensive evaluations on server, GPU-enabled embedded platforms, and actual AV platforms demonstrate that CF-DETR, under an NPFP** policy, successfully meets strict timing guarantees for critical operations and achieves significantly higher overall and critical object detection accuracy compared to existing baselines across diverse AV workloads.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。