arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.27247cs.CLcs.SE
收藏

SCOPE:基于树结构的自校正在线日志解析方法:通过语法-语义协作

SCOPE: Tree-based Self-Correcting Online Log Parsing via Syntactic-Semantic Collaboration

Zhejiang Sci-Tech University(浙江理工大学)

Dongyi Fan, Suqiong Zhang, Lili He, Ming Liu, Yifan Huo

AI总结:

SCOPE通过语法-语义协作框架,结合轻量NLP模型和LLM,实现高效准确的日志解析,平衡效率与效果。

摘要:

日志解析是复杂系统自动化日志分析的关键步骤。传统启发式方法效率高但准确率低,而基于LLM的方法准确率高但延迟大。SCOPE是首个自校正在线日志解析方法,引入双向树结构实现高效模板匹配,采用两阶段语法-语义协作框架:轻量NLP模型利用词性信息进行语法匹配,LLM作为后备处理语义复杂情况,显著减少LLM API调用,同时保持高准确率,实验表明SCOPE在准确率和效率上均优于现有方法。

英文摘要:

Log parsing is a critical step for automated log analysis in complex systems. Traditional heuristic-based methods offer high efficiency but are limited in accuracy due to overlooking semantic context. In contrast, recent LLM-based parsers improve accuracy via se mantic understanding but incur high latency from frequent model calls. To address this, we propose SCOPE, the first self-correcting online log parsing method that integrates the strengths of both heuristic and LLM-based paradigms. SCOPE introduces a novel bi-directional tree structure that enables efficient template match ing from both forward and reverse directions, resulting in a higher overall matching rate. Additionally, it adopts a two-stage syntactic semantic collaboration framework: a lightweight NLP model first utilizes part-of-speech (POS) information for syntax-based match ing, while the LLM is selectively invoked as a fallback to handle semantically complex cases when uncertainty remains. This design significantly reduces LLM API usage while maintaining high ac curacy, achieving a balance between efficiency and effectiveness. Extensive evaluations on diverse benchmark datasets show that SCOPE outperforms state-of-the-art methods in both accuracy and efficiency. The implementation and datasets are publicly released to facilitate further research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑