← Latest papers
💻 computer science

A Neural Screener–Reasoner Framework for Evidence-Grounded Log-Based Anomaly Detection and Explanation

This paper proposes a Neural Screener–Reasoner framework that combines a parser-free, linear self-attention detector with a retrieval-augmented LLM to achieve high-accuracy log anomaly detection and generate verifiable, evidence-grounded explanations while managing inference costs.

Original authors: Chi-Ming Chou, Shang-Kuan Chen

Published 2026-09-02
📖 4 min read☕ Coffee break read

Original authors: Chi-Ming Chou, Shang-Kuan Chen

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Modern computing systems are vast, interconnected networks that power everything from scientific research to global finance. To keep these systems running smoothly, engineers rely on a constant stream of digital records called logs. These logs act as a diary of the system's activity, noting every action, error, and status change with a timestamp and a message. When something goes wrong—a server crashes, a file fails to save, or a security breach occurs—these logs contain the clues needed to understand what happened. However, as systems grow larger and faster, the volume of these logs becomes overwhelming. A single day's worth of activity can generate millions of lines of text, making it impossible for human operators to read them all. For decades, the solution has been to build automated tools that scan these logs to spot anomalies, or strange patterns that suggest a problem. But a significant gap has remained: while these tools can tell an operator that something is wrong, they often cannot explain why. They offer a binary warning, a simple "yes" or "no," without pointing to the specific lines of text that triggered the alarm or connecting the current error to past failures. This leaves engineers with a red light but no map, forcing them to manually sift through thousands of lines of text to find the root cause.

A team of researchers has developed a new framework designed to bridge this gap, moving beyond simple detection to provide evidence-backed explanations. Their approach treats the problem in two distinct stages, much like a triage nurse followed by a specialist doctor. The first stage, which they call the "Screener," is a fast, efficient detector that scans raw log messages without needing to break them down into smaller, pre-defined parts. Traditional methods often force logs into rigid templates first, a process that can strip away important details or introduce errors. This new Screener reads the raw text directly, using a streamlined attention mechanism that allows it to process long sequences of data quickly and accurately. In tests on two major datasets representing supercomputer and distributed storage systems, this Screener identified anomalies with near-perfect accuracy, correctly flagging almost every problematic session while ignoring normal activity. It acts as a highly reliable filter, ensuring that no real problem slips through the cracks.

Once the Screener flags a session as suspicious, the second stage, the "Reasoner," takes over to generate a human-readable explanation. Instead of guessing or relying solely on its internal knowledge, the Reasoner acts like a researcher digging through an archive. It retrieves specific examples of past anomalies and normal behavior from a database of historical logs. Using these retrieved examples as a guide, it constructs a structured report that links every claim it makes to a specific line of text in the current log and a corresponding line in the historical examples. This ensures that the explanation is not just a fluent story, but a grounded argument supported by concrete evidence. To guarantee reliability, an automated verifier checks every generated explanation against strict rules, ensuring that every cited line actually exists and that the reasoning holds up. In their experiments, every explanation generated by this system passed these rigorous checks, and human experts rated the quality of the explanations as highly correct and complete.

The researchers also addressed the practical reality that generating these detailed explanations is computationally expensive. Running a complex reasoning process on every single flagged anomaly would be too slow and costly for real-world use. To solve this, they introduced a smart gating mechanism that decides which anomalies deserve a full explanation. The system prioritizes sessions where the initial Screener was less confident, focusing its expensive reasoning power on the cases that are most ambiguous or difficult to understand. By doing so, the framework can explain a vast majority of unique failure patterns while using significantly fewer computing resources. The study found that by explaining only the most uncertain cases, the system could still cover the majority of known error types, striking a balance between thoroughness and efficiency. This work demonstrates that it is possible to build automated systems that not only detect problems with high precision but also provide the traceable, evidence-based reasoning that human operators need to fix them quickly and confidently.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →