Temporal transformer CAN encoder with federated lightweight heads for anomaly detection
The framework detects anomalies in vehicle CAN messages by combining a Temporal Transformer encoder with Federated Lightweight Heads. It processes time series data into fixed-length frames, uses a Transformer to create rich temporal embeddings, and then employs XGBoost for prediction. Federated Learning allows collaborative training across different vehicle ECUs while keeping raw data private.