FedPAW: Federated Learning With Personalized Aggregation Weights for Urban Vehicle Speed Prediction

Yuepeng He, Pengzhan Zhou, Yijun Zhai, Fang Qu, Zhida Qin, Mingyan Li, Songtao Guo

Introduction

Accurate short-term vehicle speed prediction is a cornerstone of autonomous driving and efficient energy management. However, developing a universal prediction model is challenging due to "statistical heterogeneity"—the inherent variability in driving styles (e.g., aggressive vs. cautious) and vehicle dynamics (e.g., SUV vs. sedan).

Vehicle speed distributions across ten different clients, highlighting the statistical heterogeneity in driving behavior.

Standard Federated Learning (FL) approaches typically aggregate local updates into a single global model. While this preserves data privacy, the resulting "one-size-fits-all" model often fails to capture individual driver nuances. Existing Personalized FL (PFL) methods attempt to address this but often impose significant computational burdens on resource-constrained onboard vehicle hardware.

The FedPAW Framework

To overcome these limitations, we propose FedPAW (Federated Learning with Personalized Aggregation Weights). The primary innovation of FedPAW is shifting the personalization logic from the client (vehicle) to the central server, thereby minimizing the computational overhead on the car's hardware.

Overview of the FedPAW architecture, illustrating the server-side personalized aggregation process.

Personalized Aggregation (PA)

The server calculates custom aggregation weights for each client based on the divergence between the client's local model parameters and the global average. By identifying layers where a local model significantly deviates from the mean, the server can isolate and preserve features unique to that specific driver. Instead of a uniform global model, the server transmits a "tailored" model back to each vehicle.

Model Architecture

FedPAW utilizes a Multi-Head Attention Augmented Seq2Seq LSTM. This architecture leverages Long Short-Term Memory (LSTM) units to process temporal sequences and an attention mechanism to prioritize critical historical events, such as sudden braking or traffic light transitions.

Experimental Setup

The framework was evaluated using CarlaVSP, a new open-source dataset generated via the CARLA autonomous driving simulator. The dataset comprises driving data from 10 volunteers across three vehicle types (Nissan Micra, Audi A2, Tesla Model 3) in a complex urban environment ("Town 10"). Features include internal vehicle controls (throttle, steering) and external V2V/V2I data (distance to preceding vehicles, traffic light states).

Results and Discussion

FedPAW was benchmarked against 11 methods, including standard FedAvg and seven state-of-the-art PFL algorithms.

  • Accuracy: FedPAW achieved a 0.8% reduction in Mean Absolute Error (MAE) at a 10-second prediction horizon compared to the strongest baseline.
  • Efficiency: The system maintained high computational efficiency, with a "Time per Iteration" of 4.67s, nearly identical to standard FedAvg (4.66s) and significantly faster than complex PFL methods like pFedMe (21.23s).
  • Layer Sensitivity: Analysis revealed that lower network layers capture general driving features, while higher layers are more sensitive to personal style. FedPAW optimizes performance by tuning specific layers to balance general knowledge with personal style.

Conclusion

FedPAW demonstrates that high-performance personalized speed prediction can be achieved without taxing vehicle hardware. By centralizing the personalization process on the server, the framework maintains low communication and computational costs while improving accuracy. Future research will focus on validating the system against real-world sensor noise and network latency in diverse urban scenarios.

Summary updated

BibTeX
@article{he2024fedpaw,
  author = {Yuepeng He and Pengzhan Zhou and Yijun Zhai and Fang Qu and Zhida Qin and Mingyan Li and Songtao Guo},
  title = {{FedPAW: Federated Learning With Personalized Aggregation Weights for Urban Vehicle Speed Prediction}},
  journal = {IEEE Trans. Cloud Comput.},
  year = {2024},
  url = {https://openreview.net/forum?id=KNDQ34TnXT},
}
Figure