doi: 10.17706/jsw.20.2.95-109
LESR: LLM-Based Event Sequence Reconstruction for Repairing Identical Timestamp Errors in Logs
- 1 The School of Computer Science, China University of Geosciences, Wuhan 430074, China
- 2 Engineering Research Center of Natural Resource Information Management and Digital Twin Engineering Software, Ministry of Education, Wuhan 430074, China
- 3 The School of Computer Science, Wuhan University, Wuhan 430072, China
- Manuscript received July 3, 2025
- revised September 16, 2025
- accepted October 29, 2025
- published December 9, 2025
Abstract
Event logs record key activity data for process mining, yet quality defects such as attribute and case errors undermine economic benefits by corrupting critical operational insights. Identical timestamp errors occur when multiple events of a process instance mistakenly share the same timestamp—distort execution sequences, misrepresent concurrency, and compromise analysis accuracy. These errors manifest as multi-layered problems, with case-level sequence errors being particularly impactful. Current solutions inadequately correct consecutive event ordering errors due to incomplete utilization of log sequence information. We propose LLM-based Event Sequence Reconstruction (LESR), a novel framework integrating probabilistic ranking with fine-tuned Large Language Model (LLM) to resolve sequence faults. Its two-phase LLM architecture first generates candidates then selects optimally. Evaluated on 5 real and synthetic logs from e-commerce, healthcare, and public administration domains, LESR significantly outperforms baselines in repairing sequence errors caused by identical timestamps.
Keywords
- event log repair
- process mining
- proces
How to Cite
Zhengxu Huang, Yishi Zhao, Jianga Shang, and Shi Ying, "LESR: LLM-Based Event Sequence Reconstruction for Repairing Identical Timestamp Errors in Logs," Journal of Software, vol. 20, no. 2, pp. 95-109, 2025. https://doi.org/ 10.17706/jsw.20.2.95-109
Copyright & License
Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
