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.