Self-Adaptive Anomaly Detection with Reinforcement Learning and Human Feedback in Connected Vehicles

📅 2026-07-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge that connected vehicles exhibit continuously evolving normal behaviors due to software updates, configuration changes, and load fluctuations, which severely degrades the performance of conventional static anomaly detection methods. To overcome this limitation, the authors propose an online adaptive anomaly detection framework that uniquely integrates reinforcement learning–driven dynamic selection among multiple detectors, high-precision ternary statistical drift detection, a self-attention factorized deep Q-network, and a human-in-the-loop retraining mechanism within a unified closed-loop architecture. This design effectively balances distributional adaptability with mitigation of catastrophic forgetting. Experimental evaluation on an automated valet parking platform demonstrates that the proposed method achieves an F1 score of 0.69, substantially outperforming any single detector (maximum F1: 0.11). Following human-triggered retraining, the system restores its F1 score to 0.65 on the new distribution while maintaining 0.69 on the original one.
📝 Abstract
Connected vehicles are autonomous cyber-physical systems whose behavior must be continuously monitored during operation to detect deviations from normal operation before they propagate into failures. Such evaluation is challenging because the systems themselves evolve: over-the-air updates, configuration changes, and shifting workloads alter the definition of normal behavior, causing static diagnostic methods to degrade silently over time. Existing approaches typically address either automated model adaptation or operator integration in isolation, rather than as a single coordinated supervisory loop. This paper presents an online anomaly detection framework for autonomous CPS that integrates three coordinated mechanisms. A factorized deep Q-network with self-attention selects the most suitable detector from a candidate pool for each monitored service, exploiting inter-service dependencies in the microservice topology. An ensemble of three statistical drift detectors monitors the input distribution and raises an alarm only when all three concur, prioritizing precision over recall. A human-in-the-loop retraining mechanism, built around a pending transition buffer and a 60/40 prioritized replay strategy, allows the operator to incorporate expert knowledge while preserving the system's learned response to prior data distributions. The framework is evaluated on a connected-vehicle testbed running an automated valet parking application across seven backend microservices. The attention-augmented agent achieves an F1 score of 0.69, compared to at most 0.11 for any single detector applied uniformly. Following a real software update that induces measurable concept drift, F1 drops to 0.52; after operator-triggered retraining, performance recovers to 0.65 on the new distribution while remaining at 0.69 on the prior one, demonstrating sustained adaptation without catastrophic forgetting.
Problem

Research questions and friction points this paper is trying to address.

anomaly detection
connected vehicles
concept drift
human-in-the-loop
cyber-physical systems
Innovation

Methods, ideas, or system contributions that make the work stand out.

self-adaptive anomaly detection
reinforcement learning
human-in-the-loop
concept drift
microservice topology
Matthias Weiß
Matthias Weiß
PhD Student, University of Stuttgart
Electrical EngineeringSoftware Engineering
A
Athreya Hosahalli Prakash
Institute of Industrial Automation and Software Engineering (IAS), University of Stuttgart, Pfaffenwaldring 47, 70550 Stuttgart, Germany
M
Maurice Artelt
Institute of Industrial Automation and Software Engineering (IAS), University of Stuttgart, Pfaffenwaldring 47, 70550 Stuttgart, Germany
Falk Dettinger
Falk Dettinger
University of Stuttgart
Wissensgenerierung
Nasser Jazdi
Nasser Jazdi
Institute of Industrial Atuomation and Software Engineering, University of Stuttgart
AI for Industrial AutomationReliabilityAutonomous systems
Michael Weyrich
Michael Weyrich
Professor für Automatisierungstechnik und Softwaresysteme, Universität Stuttgart
AutomatisierungstechnikSoftwaresysteme