Driver2vec: Driver Identification from Automotive Data

Jingbo Yang, Ruge Zhao, Meixian Zhu, David Hallac, Jaka Sodnik, Jure LeskovecarXiv 2021

Abstract

Driver identification is a critical task for vehicle security and personalized user experiences. We present Driver2vec, a deep learning framework that identifies drivers using just 10 seconds of non-biometric automotive sensor data. By integrating Temporal Convolutional Networks (TCNs) with Haar wavelet transforms and a triplet loss training objective, Driver2vec creates unique behavioral embeddings. The system achieves 83.1% pairwise identification accuracy, significantly outperforming traditional recurrent neural network approaches and demonstrating that driving style serves as a robust digital fingerprint.

Introduction

Identifying the individual behind the wheel is essential for modern vehicle security (theft deterrence) and seamless personalization, such as automatically adjusting seat positions, mirrors, and climate control. While biometric methods like facial recognition or fingerprinting are effective, they often require specialized hardware and raise significant privacy concerns.

The primary challenge in behavioral driver identification is the high variance of driving patterns; a single individual drives differently on a highway than in a crowded city center. Most existing models struggle with this noise, often requiring long data windows or specific maneuvers to make a prediction. Driver2vec was developed to be non-invasive, robust across all road types, and capable of making reliable predictions from minimal data snippets.

Methodology

The Driver2vec architecture is designed to extract the "essence" of a driver’s habits from 31 different sensor channels, including pedal pressure, steering angle, and environmental data like distance to the next vehicle.

Driver2vec System Architecture: Integrating TCNs, Wavelet Transforms, and Triplet Loss for embedding generation.

Core Components

  1. Temporal Convolutional Network (TCN): Unlike standard Recurrent Neural Networks (RNNs) that process data sequentially, TCNs use dilated convolutions to observe long time horizons simultaneously. This architecture is faster to train and superior at capturing the nuances of time-series sensor data.
  2. Haar Wavelet Transform: To capture the "rhythm" of driving, the model utilizes wavelets to extract frequency-domain information, which is then concatenated with the TCN-derived features.
  3. Triplet Loss: This training strategy is the "secret sauce" for creating discriminative embeddings. The model is shown an "anchor" sample, a "positive" sample from the same driver, and a "negative" sample from a different driver. The loss function forces the model to cluster same-driver embeddings together while pushing different drivers apart in the feature space.
  4. LightGBM Classifier: Once a 62-dimensional embedding is generated, a Gradient Boosting Decision Tree (LightGBM) handles the final classification task.

Experimental Setup and Datasets

The study utilized a high-fidelity dataset from Nervtech, a driving simulation specialist. The dataset included over 15 hours of driving data from 51 unique drivers across four distinct environments: Highway, Suburban, Urban, and a Tutorial area. Data was sampled at 100Hz, providing high-resolution features across 31 categories, including gearbox usage, lane position, and acceleration.

Key Results and Analysis

Driver2vec demonstrates significant improvements over baseline models in both accuracy and robustness.

Confusion matrix showing the ground truth versus predicted drivers for the 51-driver identification task.
  • Identification Accuracy: The model achieved 83.1% accuracy in pairwise identification using a 10-second window. In a more challenging 5-way identification task, it maintained 62.5% accuracy. When scaled to the full pool of 51 drivers, it achieved 15% accuracy—nearly 50% better than state-of-the-art tree-based baselines (10.9%).
  • Driving as a Spatial Interaction: A feature ablation study revealed that removing "lane information" and "distance to the next vehicle" caused a larger drop in accuracy than removing speed or acceleration. This suggests that how we interact with our environment is a more unique identifier than mechanical inputs alone.
  • Contextual Robustness: Unlike previous models that failed on straight highways, Driver2vec remained consistent. The accuracy gap between complex urban driving and "boring" highway driving was only approximately 2%, proving the model captures fundamental behavioral traits rather than just reactions to specific road geometry.

Discussion and Future Work

While the results are promising, the current study relies on simulator data. Real-world driving introduces mechanical noise—such as engine vibration and sensor drift—that may complicate the signal.

Future research will focus on two areas:

  1. Semi-supervised Learning: Utilizing contrastive learning to leverage vast amounts of unlabeled real-world driving data.
  2. Universal Background Models (UBM): Adapting concepts from speaker recognition to create "driver stereotypes," helping the model better distinguish between drivers with similar styles (e.g., two highly aggressive or two highly cautious drivers).

Summary updated

BibTeX
@misc{yang2021driver,
  author = {Jingbo Yang and Ruge Zhao and Meixian Zhu and David Hallac and Jaka Sodnik and Jure Leskovec},
  title = {{Driver2vec: Driver Identification from Automotive Data}},
  year = {2021},
  eprint = {2102.05234},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05234},
}
Figure