• 基于大语言模型的事件日志抽取方法

    Event logs extraction method based on large language models

    • 针对企业关键事务信息大量隐含于即时消息文本,其口语化表达、话题切换频繁及语义噪声等特点给事件日志构建带来困难的问题,提出一种基于大语言模型的事件日志抽取方法。该方法设计由多路径活动抽取与交叉验证构成的协同工作流:在抽取阶段融合触发词匹配、语义分析与外部知识检索,利用大语言模型的长上下文与少样本学习能力提高事件召回率;在验证阶段结合多源交叉验证与结构化约束,缓解大语言模型幻觉并保障结果置信度。在3个即时消息数据集上的实验结果表明:该方法的平均F1-Score和Balanced Accuracy均超过0.95,较基于传统Transformer的强基线方法提高3.4%,并在不平衡数据集和多场景任务中表现出良好的鲁棒性与稳定性。该方法可为流程挖掘提供高质量的事件日志数据支持。

       

      Abstract: To address the difficulty of constructing event logs from instant messaging texts, in which critical business information is largely implicit and the texts are characterized by colloquial expressions, frequent topic shifts, and semantic noise, an event log extraction method based on large language models (LLMs) is proposed. A collaborative workflow consisting of multi-path activity extraction and cross-verification is designed. In the extraction stage, trigger-word matching, semantic analysis, and external knowledge retrieval are integrated to leverage the long-context and few-shot learning capabilities of LLMs, thereby improving event recall. In the verification stage, multi-source cross-verification and structural constraints are combined to mitigate LLM hallucination and ensure result confidence. Experimental results on three instant messaging datasets show that the average F1-Score and Balanced Accuracy of the proposed method both exceed 0.95, and the method improves over a strong Transformer-based baseline by 3.4%. It also exhibits good robustness and stability on imbalanced datasets and in multi-scenario tasks, providing high-quality event log data support for process mining.

       

    /

    返回文章
    返回