[Paper Review] Turn Signal Prediction: A Federated Learning Case Study
This paper proposes a federated learning approach to predict turn signal usage in vehicles using CAN bus data, training a long short-term memory (LSTM) model across decentralized vehicles to preserve privacy and reduce bandwidth. The federated model achieves comparable accuracy (91.1% overall) to a centrally trained model (90.4%), demonstrating that privacy-preserving in-vehicle learning is viable for modeling local driving etiquette.
Driving etiquette takes a different flavor for each locality as drivers not only comply with rules/laws but also abide by local unspoken convention. When to have the turn signal (indicator) on/off is one such etiquette which does not have a definitive right or wrong answer. Learning this behavior from the abundance of data generated from various sensor modalities integrated in the vehicle is a suitable candidate for deep learning. But what makes it a prime candidate for Federated Learning are privacy concerns and bandwidth limitations for any data aggregation. This paper presents a long short-term memory (LSTM) based Turn Signal Prediction (on or off) model using vehicle control area network (CAN) signal data. The model is trained using two approaches, one by centrally aggregating the data and the other in a federated manner. Centrally trained models and federated models are compared under similar hyperparameter settings. This research demonstrates the efficacy of federated learning, paving the way for in-vehicle learning of driving etiquette.
Motivation & Objective
- To develop a machine learning model that predicts turn signal status (on/off) at the next time step using vehicle CAN signals.
- To evaluate federated learning as a privacy-preserving alternative to centralized data aggregation for in-vehicle behavior modeling.
- To compare the performance of a federated model against a centrally trained model under identical hyperparameters.
- To assess whether federated learning can learn diverse local driving norms without exposing raw driver data.
- To enable real-time, in-vehicle learning of driving etiquette while mitigating data privacy and bandwidth challenges.
Proposed method
- Formulates turn signal prediction as a multivariate time-series classification task using historical CAN signals.
- Uses LSTM-based deep neural networks to model temporal dependencies in vehicle signals such as steering angle, speed, and GPS.
- Applies federated learning via TensorFlow Federated (TFF) to train models on decentralized vehicles, sharing only model weights, not raw data.
- Employs a global model aggregation strategy where client model updates are averaged on the server to form a global model.
- Trains and evaluates models on a subset of Ford’s Big Data Drive (BDD) dataset, focusing on trips with off-on-off turn signal sequences.
- Implements data preprocessing to handle class imbalance and normalize features like vehicle speed, brake status, and direction.
Experimental results
Research questions
- RQ1Can federated learning achieve comparable performance to centralized training for turn signal prediction while preserving driver data privacy?
- RQ2How does the performance of a federated model compare to a centrally trained model when using the same hyperparameters and data?
- RQ3Can federated learning effectively capture diverse local driving behaviors and etiquette patterns across different regions?
- RQ4To what extent can the federated model generalize to cases where drivers forget to use turn signals, by learning from collective behavior?
- RQ5What are the practical challenges of deploying federated learning in real-world in-vehicle systems, including communication and device scheduling?
Key findings
- The federated model achieved 91.1% overall test accuracy, slightly outperforming the centrally trained model (90.4%).
- The federated model showed a higher F1-score (0.826) compared to the centralized model (0.807), indicating better balance in class prediction.
- The federated model correctly predicted turn signal activation during lane changes and turns even when drivers failed to use signals, demonstrating robustness to human error.
- Visual analysis confirmed that the federated model generalized well across diverse driving patterns, including cases where ground truth was inconsistent due to driver behavior.
- The model’s ability to detect intended maneuvers despite missing or incorrect signals suggests it learns from collective behavior rather than mimicking individual errors.
- Federated learning enables privacy-preserving, scalable training without transferring raw data, making it suitable for in-vehicle deployment with bandwidth and security constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.