单板驱动视觉:用于车载机器人导航的无注意力深度估计
Seeing to Drive on a Single Board: Attention-Free Depth for Onboard Robot Navigation
AI总结:
本研究针对小型车载机器人,提出无注意力的ResNet-34 U-Net蒸馏模型,在树莓派5与Hailo-8L上实现高速准确的深度估计,支撑机器人导航任务,性能优于量化模型且与小型Depth Anything V2相当。
摘要:
小型地面机器人可搭载一台相机和几瓦的计算资源,但能将该相机转化为测距传感器的深度基础模型,却是专为GPU设计的视觉Transformer。我们将其部署到树莓派5(Raspberry Pi 5)及Hailo-8L加速器上,该加速器可对包括注意力机制在内的所有层执行整数算术运算。针对该加速器量化后的Depth Anything V2会丢失大量场景信息,我们对此进行了测量:在449个token的情况下,91%的softmax权重低于一个int8步长,却承载了17-33%的注意力质量。我们的解决方案是蒸馏而非量化:一个基于Depth Anything V2-Large(2450万参数)的无注意力ResNet-34 U-Net学生模型,在该芯片上的运行帧率达27.1 FPS,其int8输出与浮点孪生模型的皮尔逊相关系数为0.99993;在其模拟庭院的保留场景中,它是该芯片上最准确的深度网络(AbsRel为0.269,对比其他模型的0.354-0.530)。在真实户外驾驶的1000个经立体验证的点上,它与厂商的Depth Anything V2-Small版本无显著差异,同时运行更快(27.1 FPS对比21.6 FPS)。通过障碍物与地面的接触点测距仅需相机高度,因此建图、混合A*规划与SLAM均可在树莓派自身CPU上运行。在真实庭院的高斯溅射重建硬件在环实时测试中,该栈在10个场景中7.9±1.1次无碰撞到达目标,对比精确障碍物的9.2±0.4次,以及使用模拟轮式里程计的自身位姿的7.7±0.7次(各10个随机种子;真实树莓派与Hailo-8L参与环测试时为8.2±0.4次,5个随机种子)。源代码、预训练模型与数据可在该https URL获取。
英文摘要:
A small ground robot can carry one camera and a few watts of compute, but the depth foundation models that could turn that camera into a range sensor are vision transformers sized for GPUs. We bring one to a Raspberry Pi 5 with the Hailo-8L, an accelerator that runs every layer in integer arithmetic, attention included. Quantised for it, Depth Anything V2 loses large parts of the scene, and we measure why: at 449 tokens, 91% of softmax weights fall below one int8 step while carrying 17-33% of the attention mass. Our answer is to distil, not quantise. An attention-free ResNet-34 U-Net student of Depth Anything V2-Large (24.5M parameters) runs at 27.1 FPS on the chip, its int8 output matches its float twin (Pearson 0.99993), and on held-out scenes of its simulated yard it is the most accurate depth network on the chip (AbsRel 0.269 against 0.354-0.530). On 1,000 stereo-verified points of a real outdoor drive it is not resolvably different from the vendor's Depth Anything V2-Small build, while running faster (27.1 vs 21.6 FPS). Ranging obstacles by where they meet the floor needs only the camera height, so mapping, hybrid-A* planning and SLAM run on the Pi's own CPU. In real-time hardware-in-the-loop tests in a Gaussian-splat reconstruction of a real yard, the stack reaches the goal without contact in 7.9$\pm$1.1 of 10 scenes, against 9.2$\pm$0.4 with exact obstacles, and in 7.7$\pm$0.7 on its own pose with simulated wheel odometry (ten seeds each; 8.2$\pm$0.4 with the real Pi and Hailo-8L in the loop, five seeds). The source code, pre-trained models and data are available at https://github.com/itaim18/DANIEL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。