用大模型把专家经验转成可解释的规则,自动检测供应链异常
LLM-Assisted Logic Rule Learning: Scaling Human Expertise for Time Series Anomaly Detection
- 用大模型根据领域知识标注数据并生成逻辑规则
- 在真实供应链数据上准确率显著高于无监督方法
- 适合需要可解释性与稳定性的生产环境
时间序列异常检测对供应链主动运营至关重要,但传统无监督方法常与业务需求脱节,人工分析又难以扩展至数百万产品。本文提出一个框架,利用大语言模型(LLMs)将人类专家知识系统化转化为可解释的逻辑规则,用于检测供应链时间序列中的异常模式。该方法分三阶段:1)基于领域知识的LLM数据标注;2)通过LLM驱动优化自动生成并迭代改进符号规则;3)由LLM支持补充业务相关的异常类别以提升可解释性。实验表明,该方法在检测准确率和可解释性上均优于无监督学习方法。相比直接部署大模型,本方案结果一致、确定性强,计算延迟和成本低,适合生产环境。研究展示了大模型如何在规模化自动化与专家决策间建立桥梁。
原文摘要 · Abstract (English)
Time series anomaly detection is critical for supply chain management to take proactive operations, but faces challenges: classical unsupervised anomaly detection based on exploiting data patterns often yields results misaligned with business requirements and domain knowledge, while manual expert analysis cannot scale to millions of products in the supply chain. We propose a framework that leverages large language models (LLMs) to systematically encode human expertise into interpretable, logic-based rules for detecting anomaly patterns in supply chain time series data. Our approach operates in three stages: 1) LLM-based labeling of training data instructed by domain knowledge, 2) automated generation and iterative improvements of symbolic rules through LLM-driven optimization, and 3) rule augmentation with business-relevant anomaly categories supported by LLMs to enhance interpretability. The experiment results showcase that our approach outperforms the unsupervised learning methods in both detection accuracy and interpretability. Furthermore, compared to direct LLM deployment for time series anomaly detection, our approach provides consistent, deterministic results with low computational latency and cost, making it ideal for production deployment. The proposed framework thus demonstrates how LLMs can bridge the gap between scalable automation and expert-driven decision-making in operational settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。