Abstract
Identifying driving style from GPS data is critical for applications ranging from insurance to safety. Traditional supervised models often fail to generalize to unseen drivers and scale poorly as the number of drivers increases. We present ARNet (Autoencoder Regularized Network), a hybrid architecture that combines a supervised classification branch with an unsupervised autoencoder reconstruction branch. This dual-objective approach forces the model to learn a robust, generalized representation of driving behavior. Coupled with the trip2vec framework for aggregating trip segments, ARNet significantly outperforms traditional methods in driver identification and number estimation tasks, even for drivers not present in the training set.
Introduction
The unique "fingerprint" of a driver—how they accelerate, brake, and turn—contains valuable information for usage-based insurance (UBI), autonomous vehicle personalization, and safety monitoring. However, extracting this style from raw GPS data is challenging. Existing supervised learning models typically overfit to specific driver IDs in the training set, failing to describe the behavior of new, unseen drivers. Furthermore, as the number of drivers increases, the scalability and accuracy of traditional classifiers degrade. This paper introduces a method to learn a generalized mathematical language for driving style that remains effective for individuals the model has never encountered.
Methods
The proposed approach consists of two main components: the ARNet architecture and the trip2vec framework.
ARNet Architecture
ARNet is a hybrid neural network designed to learn discriminative yet generalizable features. It utilizes a Stacked RNN with Gated Recurrent Units (GRUs) to process temporal sequences of driving actions. The output of the RNN enters a shared hidden layer that splits into two branches:
- Supervised Branch: A softmax layer aimed at driver identification, teaching the model to find features that distinguish one driver from another.
- Unsupervised Branch: An autoencoder that reconstructs the internal features of the RNN rather than the raw input. This acts as a regularizer, forcing the model to learn a compact, meaningful "basis" for driving styles rather than just memorizing IDs.
trip2vec Framework
To handle varying trip lengths, the trip2vec framework decomposes long GPS trips into segments. Each segment is processed by ARNet to extract a feature vector. These vectors are then aggregated into a single, fixed-length representation for the entire trip, similar to the "Bag-of-Words" approach in natural language processing.
Datasets
The study leverages a large-scale private insurance dataset containing over 500,000 GPS trips from more than 2,500 unique drivers. Data was sampled at 1Hz, capturing fine-grained movement like speed changes and angular velocity. The model was trained on the first 50 drivers and tested on the remaining "unseen" drivers to evaluate generalization.
Key Results
ARNet demonstrates superior performance across several tasks. In driver number estimation—guessing the number of unique drivers in a set of anonymous trips—ARNet achieved an average absolute error of 0.68, significantly lower than competing methods like TripGBDT or pure classification networks.
In a 50-class driver identification task, ARNet reached 58.2% top-1 accuracy, outperforming standard CNN and RNN baselines by over 3%. Visual analysis using t-SNE confirmed that ARNet creates tight, distinct clusters for trips belonging to the same driver, even for those not seen during training.
Conclusion
ARNet provides a powerful framework for driving style representation by effectively combining supervised and unsupervised learning. By regularizing the feature space with an autoencoder, the model avoids overfitting to specific IDs and learns a universal "style" representation. Future work includes accounting for environmental factors like road type and applying the model to real-time safety monitoring for fatigue or distraction detection.
Summary updated