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

通过去噪自编码器和上下文大语言模型进行汽车硬件在环验证中的故障检测与可解释分类

Fault Detection and Explainable Classification in Automotive HIL Validation via Denoising Autoencoders and In-Context Large Language Models

Clausthal University of Technology(克劳塔尔工业大学)

Mohammad Abboush, Hamza Ouarrad, Andreas Rausch

AI总结:

提出用于汽车实时验证中故障检测与分类的通用且可解释的两阶段框架,先以去噪自编码器标记异常,再用大语言模型分类并给出解释,评估显示该方法有效。

摘要:

验证汽车软件系统会产生大量多变量测试记录,目前仍通过人工审查和基于规则的评估来检查,难以检测超出预定义规则的故障。我们提出了一个用于实时验证期间故障检测和分类的通用且可解释的两阶段框架。首先,仅在健康信号上训练的去噪自编码器通过重建误差分析标记异常行为,无需故障标签。然后,每个异常窗口被编码为相对于时间对齐的健康参考的紧凑文本统计证据,并在零样本和少样本提示下由冻结的大语言模型进行分类,返回预测类别、排名替代方案、置信度值、故障位置和基于证据的简短解释。在两个动力总成和三种驾驶工况下评估了八个开源模型。该检测器在动力总成上的平均F1分数为0.97,在工况上为0.98,平均平均误差低于0.03。零样本提示被证明是不够的(最佳F1分数为0.519),而少样本提示在稳定工况下达到了完美区分,表明提示策略而非参数数量决定了分类质量:一个90亿参数的模型超过了所有零样本中型和大型模型。由于Mistral Small 24B在准确性、类别平衡可靠性、校准和推理成本之间取得了平衡,因此被用作主要管道模型,为工程师提供可解释的诊断报告和更高效的验证。

英文摘要:

Validating automotive software systems produces large multivariate test recordings that are still examined through effort-intensive manual review and rule-based evaluation, which detects faults beyond predefined rules poorly. Machine and deep learning have advanced fault diagnosis, yet most supervised models require large labelled datasets, generalise poorly to unseen conditions, and offer little insight into their decisions. We propose a generalisable and explainable two-phase framework for fault detection and classification during real-time validation. A denoising autoencoder trained only on healthy signals first flags abnormal behaviour through reconstruction-error analysis, removing the need for fault labels. Each abnormal window is then encoded as compact textual statistical evidence relative to a time-aligned healthy reference and classified by a frozen large language model under zero-shot and few-shot prompting, returning the predicted class, ranked alternatives, a confidence value, the fault location, and a short evidence-based explanation. Eight open-source models are evaluated across two powertrains and three driving regimes. The detector attains average F1-scores of 0.97 across powertrains and 0.98 across regimes, with average mean error below 0.03. Zero-shot prompting proves insufficient (best 0.519 F1-score), whereas few-shot prompting reaches perfect discrimination under stable regimes, showing that prompting strategy, rather than parameter count, governs classification quality: a nine-billion-parameter model surpasses every zero-shot medium and large model. Mistral Small 24B is adopted as the main pipeline model for its balance of accuracy, class-balanced reliability, calibration, and inference cost, giving engineers interpretable diagnostic reports and more efficient validation.

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

↑