评估大型语言模型在航空航天软件时间序列异常检测中的应用
Evaluating Large Language Models for Time Series Anomaly Detection in Aerospace Software
AI总结:
本文提出ATSADBench基准,评估大型语言模型在航空航天软件时间序列异常检测中的性能,发现其在单变量任务表现良好,但多变量任务效果欠佳,且RAG策略可能加剧假警报问题。
摘要:
时间序列异常检测(TSAD)对于确保航空航天软件系统的安全性和可靠性至关重要。尽管大型语言模型(LLMs)提供了一种有前景的无监督方法替代方案,但其在航空航天环境中的有效性仍缺乏充分研究,原因包括复杂的 telemetry、评估指标不一致以及缺乏领域知识。为解决这一差距,我们引入了ATSADBench,这是首个航空航天TSAD基准。ATSADBench包含九个任务,结合三种模式的异常类型、单变量和多变量信号以及循环内和循环外反馈场景,产生108,000个数据点。使用此基准,我们系统地评估了最先进的开源LLMs在两种范式下的表现:直接范式,即在滑动窗口内标记异常;预测范式,即通过预测误差检测异常。为了反映运营需求,我们重新制定了窗口级别的评估,并提出了三个面向用户指标:警报准确率(AA)、警报延迟(AL)和警报连续性(AC),这些指标量化了警报的正确性、及时性和可信度。我们进一步检查了两种增强策略,即少量样本学习和检索增强生成(RAG),以注入领域知识。评估结果表明:(1)LLMs在单变量任务上表现良好,但在多变量 telemetry 上挣扎;(2)其在多变量任务上的AA和AC接近随机猜测;(3)少量样本学习提供适度的提升,而RAG没有显著改进;(4)在实践中,LLMs可以检测到真正的异常起始点,但有时会引发假警报,少量样本提示缓解了这一点,而RAG加剧了这一点。这些发现为未来基于LLM的航空航天软件TSAD提供了指导。
英文摘要:
Time series anomaly detection (TSAD) is essential for ensuring the safety and reliability of aerospace software systems. Although large language models (LLMs) provide a promising training-free alternative to unsupervised approaches, their effectiveness in aerospace settings remains under-examined because of complex telemetry, misaligned evaluation metrics, and the absence of domain knowledge. To address this gap, we introduce ATSADBench, the first benchmark for aerospace TSAD. ATSADBench comprises nine tasks that combine three pattern-wise anomaly types, univariate and multivariate signals, and both in-loop and out-of-loop feedback scenarios, yielding 108,000 data points. Using this benchmark, we systematically evaluate state-of-the-art open-source LLMs under two paradigms: Direct, which labels anomalies within sliding windows, and Prediction-Based, which detects anomalies from prediction errors. To reflect operational needs, we reformulate evaluation at the window level and propose three user-oriented metrics: Alarm Accuracy (AA), Alarm Latency (AL), and Alarm Contiguity (AC), which quantify alarm correctness, timeliness, and credibility. We further examine two enhancement strategies, few-shot learning and retrieval-augmented generation (RAG), to inject domain knowledge. The evaluation results show that (1) LLMs perform well on univariate tasks but struggle with multivariate telemetry, (2) their AA and AC on multivariate tasks approach random guessing, (3) few-shot learning provides modest gains whereas RAG offers no significant improvement, and (4) in practice LLMs can detect true anomaly onsets yet sometimes raise false alarms, which few-shot prompting mitigates but RAG exacerbates. These findings offer guidance for future LLM-based TSAD in aerospace software.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。