GDFlow: Anomaly Detection with NCDE-based Normalizing Flow for Advanced Driver Assistance System
Kangjun Lee, Minha Kim, Youngho Jun, Simon S. Woo
TL;DR
GDFlow tackles anomaly detection in ADAS braking data by learning the normal driving distribution with a novel combination of Neural Controlled Differential Equations and Normalizing Flow, enabling continuous, spatio-temporal modeling of multivariate time series. The model introduces a graph-aware, NCDE-based encoding pipeline and a quantile-based maximum likelihood objective to sharpen boundary decisions between normal and anomalous patterns. Across real-world Hyundai datasets and standard time-series benchmarks, GDFlow achieves state-of-the-art performance with strong generalization and reduced hyperparameter sensitivity, while maintaining efficient inference suitable for deployment in production ADAS systems. This work advances robust, scalable anomaly detection for adaptive braking by capturing complex temporal dynamics and sensor interdependencies in electric vehicle driving behavior.
Abstract
For electric vehicles, the Adaptive Cruise Control (ACC) in Advanced Driver Assistance Systems (ADAS) is designed to assist braking based on driving conditions, road inclines, predefined deceleration strengths, and user braking patterns. However, the driving data collected during the development of ADAS are generally limited and lack diversity. This deficiency leads to late or aggressive braking for different users. Crucially, it is necessary to effectively identify anomalies, such as unexpected or inconsistent braking patterns in ADAS, especially given the challenge of working with unlabelled, limited, and noisy datasets from real-world electric vehicles. In order to tackle the aforementioned challenges in ADAS, we propose Graph Neural Controlled Differential Equation Normalizing Flow (GDFlow), a model that leverages Normalizing Flow (NF) with Neural Controlled Differential Equations (NCDE) to learn the distribution of normal driving patterns continuously. Compared to the traditional clustering or anomaly detection algorithms, our approach effectively captures the spatio-temporal information from different sensor data and more accurately models continuous changes in driving patterns. Additionally, we introduce a quantile-based maximum likelihood objective to improve the likelihood estimate of the normal data near the boundary of the distribution, enhancing the model's ability to distinguish between normal and anomalous patterns. We validate GDFlow using real-world electric vehicle driving data that we collected from Hyundai IONIQ5 and GV80EV, achieving state-of-the-art performance compared to six baselines across four dataset configurations of different vehicle types and drivers. Furthermore, our model outperforms the latest anomaly detection methods across four time series benchmark datasets. Our approach demonstrates superior efficiency in inference time compared to existing methods.
