RAMS: 面向嵌入式边缘感知的资源自适应与检测条件模型切换
RAMS: Resource-Adaptive and Detection-Conditioned Model Switching for Embedded Edge Perception
AI总结:
提出RAMS运行时控制器,通过监控设备压力、校准切换阈值,在YOLOv8三个规模模型间动态切换,引入检测条件策略和VRU加权准确率评分,在多种嵌入式平台上实现延迟与精度的平衡。
摘要:
嵌入式硬件上的边缘目标检测需要在变化的资源压力下平衡推理延迟和检测质量。我们提出RAMS,一种轻量级运行时控制器,它监控设备压力,从空闲行为校准切换阈值,并在三个驻留的YOLOv8层级(NANO/SMALL/MEDIUM,分辨率320/416/640 px)之间动态选择,无需模型重新加载延迟。RAMS定义了五种切换策略,包括两种检测条件变体,可在最近检测到易受伤道路使用者(VRU)后防止激进的降级。我们进一步引入VRU加权准确率评分(SWAS),一种用于离线策略比较的标量指标,无需真实标注,以及一种基于oracle的变体,用于分离检测器循环性与真正的层级保留收益。在Raspberry Pi 5、x86笔记本电脑和Jetson Orin ONNX/TensorRT部署中,相同的控制器方程在37倍的延迟范围内运行。在重负载下的Jetson Orin TensorRT上,safety2策略实现了3.41毫秒的平均延迟,比固定MEDIUM推理快5.6倍,同时通过接近NANO操作并在VRU阳性窗口期间选择性锁定SMALL和MEDIUM,保留了其代理准确率的74%。与重负载下仅基于阈值的策略相比,检测条件切换在oracle评分下将SWAS提高了25.4%,在检测器衍生评分下提高了47.3%。实时KITTI评估报告了每层级VRU召回率分别为24.2%、41.2%和59.0%,表明反应性覆盖从根本上受限于基线检测器的召回率。
英文摘要:
Edge object detection on embedded hardware requires balancing inference latency and detection quality under changing resource pressure. We present RAMS, a lightweight runtime controller that monitors device pressure, calibrates switching thresholds from idle behavior, and dynamically selects among three resident YOLOv8 tiers (NANO/SMALL/MEDIUM at 320/416/640 px) without model-reload latency. RAMS defines five switching policies, including two detection-conditioned variants that prevent aggressive downgrades after recent vulnerable-road-user (VRU) detections. We further introduce the VRU-Weighted Accuracy Score (SWAS), a scalar metric for offline policy comparison without ground-truth annotations, together with an oracle-bounded variant that separates detector circularity from genuine tier-retention benefit. Across Raspberry Pi 5, x86 laptops, and Jetson Orin ONNX/TensorRT deployments, the same controller equations operate over a 37x latency range. On Jetson Orin TensorRT under heavy load, the safety2 policy achieves 3.41 ms mean latency, 5.6x faster than fixed-MEDIUM inference, while retaining 74% of its proxy accuracy through near-NANO operation with selective SMALL and MEDIUM locks during VRU-positive windows. Detection-conditioned switching improves SWAS by 25.4% under oracle scoring and 47.3% under detector-derived scoring relative to threshold-only policies under heavy load. Live KITTI evaluation reports per-tier VRU recall of 24.2%, 41.2%, and 59.0%, showing that reactive overrides are fundamentally limited by baseline detector recall.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。