Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labels
Not on the map. Why?
Abstract (arXiv)
Anomaly detection often relies on supervised or clustering approaches, with limited success in specialized domains like automotive communication systems where scalable solutions are essential. We propose a novel decoder-only Large Language Model (LLM) to detect anomalies in Electronic Control Unit (ECU) communication logs. Our approach addresses two key challenges: the lack of LLMs tailored for ECU communication and the complexity of inconsistent ground truth data. By learning from UDP communication logs, we formulate anomaly detection simply as identifying deviations in time from normal behavior. We introduce an entropy regularization technique that increases model's uncertainty in known anomalies while maintaining consistency in similar scenarios. Our solution offers three novelties: a decoder-only anomaly detection architecture, a way to handle inconsistent labeling, and an adaptable LLM for different ECU communication use cases. By leveraging the generative capabilities of decoder-only models, we present a new technique that addresses the high cost and error-prone nature of manual labeling through a more scalable system that is able to learn from a minimal set of examples, while improving detection accuracy in complex communication environments.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 17 references that are in the map. First posted on arXiv 1 Jul 2025.
Builds on
13 of 17 references.
References · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2024Qwen2 Technical Reportcited by 2,120
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2021LogBERT: Log Anomaly Detection via BERTcited by 118
- 2024Large Language Models for Forecasting and Anomaly Detection: A Systematic Literature Reviewcited by 53
- 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
- 2022CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Modelcited by 17
- 2023Few-shot Anomaly Detection in Text with Deviation Learningcited by 11
1 more
Built on by
Not cited yet.