arXiv:2605.09222cs.DBcs.AI2026-05

用分层抽象和大模型增强,让日志异常检测更准、定位更清、解释更懂。

Detect, Localize, and Explain: Interactive Hierarchical Log Anomaly Analytics with LLM Augmentation

论文配图:Detect, Localize, and Explain: Interactive Hierarchical Log Anomaly Analytics with LLM Augmentation
图 1 · 摘自论文原文
  • 将原始日志转为实体-动作-状态三层语义结构
  • 在HDFS数据集上实现精准异常检测与大模型生成解释
  • 支持工程师交互式审查和修正大模型分析结果

现代系统中日志无处不在,但其扁平序列的非结构化特性限制了对执行行为的理解,阻碍了异常诊断。为此,Krone提出一种分层日志抽象方法,将扁平日志序列转化为跨实体、动作、状态层级的语义连贯单元。基于此抽象,Krone构建了分层编排框架,将日志分解为分层执行单元,并在各层级上模块化执行检测任务,通过选择性调用大模型推理,实现精确的异常检测、定位与解释。本文还介绍了Krone-viz这一交互式可视化系统,使分层日志分析可解释且可操作。该系统在广泛使用的HDFS基准数据集上展示:1)查看扁平日志的分层分解;2)检查由Krone识别的异常段及大模型生成的解释;3)在人工监督下复用、审查和修订大模型生成的知识。代码已开源于https://github.com/LeiMa0324/KRONE_Demo_official,线上演示地址为https://leima0324.github.io/KRONE_Demo_official。

原文摘要 · Abstract (English)

Logs are ubiquitous in modern systems. Unfortunately, their unstructured nature in flat sequences limits understanding of execution behaviors, hindering effective anomaly diagnosis. To address this, Krone introduces a novel hierarchical log abstraction that transforms flat log sequences into semantically coherent units across entity, action, and status levels. Building on this abstraction, Krone introduces a hierarchical orchestration framework that decomposes flat log sequences into hierarchical execution units and performs modular detection over them. It executes and optimizes the modular detection tasks across levels, enabling precise anomaly detection, localization, and explanation with selective invocation of LLM-based reasoning. In this work, we present Krone-viz, an interactive visualization system based on Krone, which makes hierarchical log analysis interpretable and actionable for software engineers and system operators. Demonstrated on the widely used HDFS benchmark dataset, Krone-viz supports: 1) examining hierarchical decompositions of flat log sequences, 2) inspecting detection results and abnormal segments identified by Krone with LLM-generated explanations, and 3) reusing, reviewing, and revising knowledge generated by LLMs with human-in-the-loop guardrails. The code of Krone-viz is available at https://github.com/LeiMa0324/KRONE_Demo_official, and we deploy a live demo at https://leima0324.github.io/KRONE_Demo_official.

日志分析大模型异常检测可视化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。