Computer Integrated Manufacturing System ›› 2026, Vol. 32 ›› Issue (3): 943-953.DOI: 10.13196/j.cims.2025.BPM03

Previous Articles     Next Articles

LLM-based business process semantic anomaly detection framework

GUAN Wei1,CAO Jian1,ZHAO Haiyan2+,YAO Yan3   

  1. 1.School of Electronic Information and Electrical Engineering,Shanghai Jiao Tong University
    2.School of Optoelectronic Information and Computer Engineering,University of Shanghai for Science and Technology
    3.School of Computer Science,Qufu Normal University
  • Online:2026-03-31 Published:2026-04-02
  • Supported by:
    Project supported by the National Natural Science Foundation,China (No.62072301),the Program of Technology Innovation of the Science and Technology Commission of Shanghai Municipality,China (No.21DZ1205000),and the Interdisciplinary Program of Shanghai Jiao Tong University,China (No.YG2024QNB05).

基于大语言模型的业务流程语义异常检测方法

关威1,曹健1,赵海燕2+,姚艳3   

  1. 1.上海交通大学电子信息与电气工程学院
    2.上海理工大学光电信息与计算机工程学院
    3.曲阜师范大学计算机学院
  • 作者简介:
    关威(1998-),男,黑龙江黑河人,博士研究生,研究方向:异常检测、深度学习等,E-mail:guan-wei@sjtu.edu.cn;

    曹健(1972-),男,江苏宜兴人,教授,博士,博士生导师,研究方向:智能数据分析、协同计算、服务计算、网络计算等,E-mail:cao-jian@sjtu.edu.cn;

    +赵海燕(1975-),女,河南焦作人,副教授,博士,硕士生导师,研究方向:服务计算、数据挖掘、推荐系统等,通讯作者,E-mail:zhaohaiyan1992@foxmail.com;

    姚艳(1988-),女,山东临沂人,讲师,博士,硕士生导师,研究方向:工作流调度、协同优化等,Email:yaoyan@qfnu.edu.cn。
  • 基金资助:
    国家自然科学基金资助项目(62072301);上海市科委科技创新计划资助项目(21DZ1205000);上海交通大学医工交叉资助项目(YG2024QNB05)。

Abstract: Identifying and addressing anomalies in business processes is critical for maintaining operational stability.Although existing methods often detect anomalies through statistical analysis of frequency,infrequent behaviors do not necessarily indicate anomalies.Consequently,detecting anomalies from a semantic perspective has become a research focus.A semantic anomaly detection method for business processes called SemAD was proposed based on large language models.Specifically,a large language model was fine-tuned to reconstruct normal traces and detect anomalies based on reconstruction errors.Since each executed activity (event) is tokenized into multiple tokens,the anomaly score of an event is aggregated from the anomaly scores of all its constituent tokens,a novel token anomaly score calculation method was designed.Experiments demonstrated that SemAD surpassed existing state-of-the-art semantic anomaly detection methods in both generalization ability and learning of given processes.

Key words: business process, anomaly detection, large language model, process mining, event log

摘要: 识别并处理业务流程中的异常对于确保企业稳定运营至关重要。虽然现有方法常通过统计分析频率来发现异常,但低频行为并不一定代表异常,从语义角度检测异常因此已成为研究热点。本文提出了一种基于大语言模型的业务流程语义异常检测方法(SemAD),通过微调大语言模型使其能够重建正常轨迹,并根据重建误差检测异常情况。同时,本文设计了一种新颖的词元异常分数计算机制,考虑到每个执行的活动(事件)会被分词为多个词元,事件的异常分数通过对其对应词元的异常分数进行聚合得到。实验证明,SemAD在泛化能力和给定流程的学习方面均优于现有的最先进的业务流程语义异常检测方法。

关键词: 业务流程, 异常检测, 大语言模型, 流程挖掘, 事件日志

CLC Number: