arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.01077cs.LG
收藏

足够好即可学习:基于LLM的ECU日志异常检测,无需可靠标签

Good Enough to Learn: LLM-based Anomaly Detection in ECU Logs without Reliable Labels

Dept. of AI, Big Data and Cloud(人工智能、大数据和云计算部门)

Bogdan Bogdan, Arina Cazacu, Laura Vasilie

AI总结:

本文提出一种基于仅解码器大语言模型的ECU通信日志异常检测方法,通过熵正则化和最小示例学习,解决标签不一致与人工标注成本高的问题。

摘要:

异常检测通常依赖监督学习或聚类方法,但在汽车通信系统等专业领域中成效有限,而这些领域迫切需要可扩展的解决方案。我们提出了一种新颖的仅解码器大语言模型(LLM),用于检测电子控制单元(ECU)通信日志中的异常。我们的方法应对了两个关键挑战:缺乏针对ECU通信量身定制的LLM,以及不一致的真值数据带来的复杂性。通过从UDP通信日志中学习,我们将异常检测简洁地表述为识别在时间上偏离正常行为的情况。我们引入了一种熵正则化技术,该技术在已知异常中增加模型的不确定性,同时在相似场景中保持一致性。我们的解决方案具有三个新颖之处:一种仅解码器的异常检测架构、一种处理不一致标签的方法,以及一个可适配不同ECU通信用例的LLM。通过利用仅解码器模型的生成能力,我们提出了一种新技术,该技术通过一个更具可扩展性的系统来应对人工标注的高成本和易出错特性,该系统能够从极少量示例中学习,同时提高复杂通信环境中的检测准确性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑