[论文解读] FedPylot: Navigating Federated Learning for Real-Time Object Detection in Internet of Vehicles
该论文提出 FedPylot,一种基于 MPI 的联邦学习框架,用于车联网(IoV)中的实时目标检测,采用 YOLOv7 与混合加密技术保障通信安全。结果表明,在数据异构条件下,YOLOv7 的联邦训练仍能保持稳健性能,在 KITTI 上 mAP 达 71.8%,在非独立同分布(non-IID)的 nuImages 上达到 53.1%,同时保持低推理延迟和可扩展的通信开销。
The Internet of Vehicles (IoV) emerges as a pivotal component for autonomous driving and intelligent transportation systems (ITS), by enabling low-latency big data processing in a dense interconnected network that comprises vehicles, infrastructures, pedestrians and the cloud. Autonomous vehicles are heavily reliant on machine learning (ML) and can strongly benefit from the wealth of sensory data generated at the edge, which calls for measures to reconcile model training with preserving the privacy of sensitive user data. Federated learning (FL) stands out as a promising solution to train sophisticated ML models in vehicular networks while protecting the privacy of road users and mitigating communication overhead. This paper examines the federated optimization of the cutting-edge YOLOv7 model to tackle real-time object detection amid data heterogeneity, encompassing unbalancedness, concept drift, and label distribution skews. To this end, we introduce FedPylot, a lightweight MPI-based prototype to simulate federated object detection experiments on high-performance computing (HPC) systems, where we safeguard server-client communications using hybrid encryption. Our study factors in accuracy, communication cost, and inference speed, thereby presenting a balanced approach to the challenges faced by autonomous vehicles. We demonstrate promising results for the applicability of FL in IoV and hope that FedPylot will provide a basis for future research into federated real-time object detection. The source code is available at https://github.com/cyprienquemeneur/fedpylot.
研究动机与目标
- 通过在不共享原始车载数据的前提下实现协作模型训练,解决自动驾驶中的隐私与可扩展性挑战。
- 通过现代实时目标检测器的联邦优化,克服 IoV 中的数据异构性问题,如标签分布偏移和概念漂移。
- 开发一个实用、高性能的仿真框架,用于在 HPC 系统上进行联邦目标检测实验,支持大规模评估。
- 在 KITTI 和 nuImages 等多样化、非独立同分布的数据集上,平衡 YOLOv7 联邦训练中的模型准确率、推理速度与通信成本。
- 提供一个可复现、开源的原型系统(FedPylot),以加速未来在自动驾驶车辆联邦实时视觉研究的发展。
提出的方法
- 设计并实现 FedPylot,一种轻量级、基于 MPI 的客户端-服务器原型,用于在高性能计算(HPC)系统上模拟 YOLOv7 的联邦训练。
- 集成混合密码系统(RSA + AES),以保护服务器与客户端之间模型权重的传输,确保模型更新的机密性与完整性。
- 应用 FedOptM 算法——一种基于动量的联邦优化方法,以提升在数据异构性条件下的收敛性与鲁棒性,尤其在非独立同分布(non-IID)设置下表现更优。
- 在多个 YOLOv7 变体(tiny、base、X、W6)上使用 640px 和 1280px 输入分辨率,评估准确率、速度与通信成本之间的权衡。
- 在 KITTI(IID)和 nuImages 的两个非 IID 子集(nuImages-10、nuImages-23)上开展实验,以模拟真实的车载数据分布偏移。
- 测量推理速度(FPS,批量大小为 1,使用 V100)、每轮通信开销(MB,采用对称加密)以及 mAP,以评估模型泛化能力与实时可行性。
实验结果
研究问题
- RQ1在真实数据异构条件下,联邦学习能否有效训练最先进的 YOLOv7 模型,以实现在车联网中的实时目标检测?
- RQ2联邦优化算法的选择(如 FedAvg 与 FedOptM)如何影响在非 IID、存在概念漂移的车载数据中模型的准确率与收敛性?
- RQ3在多样化 IoV 数据集上,联邦设置中训练 YOLOv7 变体时,模型准确率、推理速度与通信成本之间的权衡关系如何?
- RQ4混合加密在 IoV 场景中能否在不引入过高通信开销的前提下,有效保护联邦模型更新?
- RQ5在真实世界数据约束下,模型大小(如 YOLOv7-W6 与 YOLOv7-tiny)如何影响联邦目标检测中的性能与通信成本?
主要发现
- FedPylot 成功实现在 HPC 系统上对 YOLOv7 的联邦训练,在 IID 的 KITTI 数据集上达到 67.6% mAP,在更大参数量的 YOLOv7-W6 变体(1280px 输入)上达到 71.8% mAP。
- 在非 IID 的 nuImages-10 上,FedPylot 达到 47.6% mAP;在更具异构性的 nuImages-23 上,mAP 达到 28.5%,表明其在数据偏移下仍具鲁棒性。
- 采用动量(0.3)的 FedOptM 算法相比 FedAvg 提升了收敛性与准确率,尤其在非 IID 数据上:在 nuImages-23 上提升 0.3%,在 nuImages-10 上提升 0.1%。
- 通过使用半精度模型传输,显著降低了通信开销:在 KITTI 上,单轮模型交换通信量为 74.8MB(YOLOv7,640px),162.5MB(YOLOv7-W6,1280px)。
- 推理速度保持在实时应用可接受范围内:YOLOv7-W6 在 KITTI 上达到 115 FPS,在 nuImages 上达到 92 FPS,即使在更高输入分辨率下也表现良好。
- 高动量值(如 0.9)会破坏训练过程并降低性能,尤其在非 IID 数据上,表明联邦设置中对超参数调优具有高度敏感性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。