TL;DR
When a distributed system catches fire at 3:00 AM, engineers have to wade through tens of thousands of log lines to figure out what broke, when, and why. SLS-BENCH is a new benchmark of 90 incident-summarization tasks that tests whether AI agents can do this end-to-end—turning raw, 56,000-line log streams into structured, human-readable post-mortems. The verdict? Frontier models can write genuinely useful summaries, but they are slow, expensive, and still struggle to back up their claims with granular log evidence, while open-weight models lag far behind.
What Problem Does This Paper Address?
Modern IT systems emit oceans of logs. Turning those logs into a coherent incident report—identifying the affected components, tracing how a failure cascaded over time, and pinpointing the root cause—is one of the most valuable yet least automated parts of site reliability engineering.
While LLM-based agents promise to take over this heavy lifting, we haven't had a good way to test them on the real thing. Existing log-analysis benchmarks simplify the problem: they use tiny snippets (sometimes just 10–20 log lines), ask narrow multiple-choice questions, or only score whether an agent can name the single faulty service. Collecting real-world production logs paired with expert-written post-mortems at scale is prohibitively expensive and fraught with privacy hurdles.
SLS-BENCH bridges this gap by using real-world incident reports to synthetically generate realistic, large-scale log streams and matching reference summaries.
Methods
The authors built a report-grounded synthetic data pipeline that turns a high-level engineering post-mortem into a full-blown observability puzzle:
- Incident Modeling: An LLM translates a real incident report into a structured YAML incident model (Figure 3). This model defines:
- System structure: The services, hosts, interactions, and log templates.
- Log emission mechanisms: Background traffic (steady rates), bursts (sudden spikes like restarts or config changes), and request paths (ordered logs traversing multiple services).
- Phased timeline: How behavior shifts across normal, trigger, and progression phases.
- Deterministic Simulation & Reference Generation: From the incident model, an LLM generates a deterministic Python simulator that outputs a CSV log stream (20k–100k rows). Another LLM translates the same model into a detailed reference summary, strictly constrained to only describe behaviors observable in the logs.
- Generator–Verifier Loops: To keep quality high, every artifact (model, simulator, and reference) goes through a generator–verifier loop using GPT-5.2 (high) (Figure 2). An artifact is only accepted after passing $K$ consecutive verification rounds without violations—catching 98% of manually injected errors in sensitivity tests.
- Dual LLM-as-a-Judge: Agents are equipped with a stateful Python interpreter (
pandas) to analyze the logs. Their summaries are graded across seven dimensions by averaging two judges: GPT-5.2 (medium) (90% calibration accuracy, slightly strict) and Sonnet 4.6 (low) (62% accuracy, more lenient), which agree strongly on model rankings ($\rho_{\text{Spearman}} = 0.98$).
Datasets
The authors introduce SLS-BENCH, consisting of 90 tasks distilled from 343 publicly available incident reports (de-duplicated to 289 and filtered for rich technical detail). Each task includes:
- A synthetic log file averaging 56,000 rows (ranging from 20k to 100k).
- A standardized question asking for system structure, a phase-by-phase timeline, and a root-cause diagnosis.
- A reference summary averaging 2,400 words (1,900–3,300 words).
Compared to Loghub-2.0 (real logs from 14 systems), SLS-BENCH matches real-world message lengths and variable diversity, though it intentionally has fewer unique templates per file because it models only the minimal subsystem relevant to the incident.
Key Insights and Ideas
- High-level diagnosis is easy; proving it with evidence is hard. Top models nearly max out the Diagnosis dimension (reconstructing the high-level fault chain), but plateau around 0.7–0.8 on timeline progression and support alignment. When they fail, it's usually because they omit or misinterpret the specific log evidence needed to back up their claims.
- Agents waste time doing repetitive "orientation" work. Analyzing 10 trajectories of GPT-5.4 (medium) revealed that agents always start by running Python scripts to inspect the log schema, time span, hosts, and error counts. 21% of all Python tool outputs (75 out of 361) were completely precomputable—meaning we could inject that context upfront to slash API calls and latency.
- Parallelization is an untapped speedup. After the initial orientation prefix (~30% of the trajectory), agents naturally branch into independent analytical streams (e.g., checking failure chains vs. service timelines) that could easily be run in parallel.
Key Results
Across 14 evaluated LLMs:
- Frontier models lead, at a steep price: GPT-5.4 (high) and GPT-5.4 (medium) tie for the top score of 0.73 (just shy of the 0.75 "good match" threshold), costing $1.56–$2.19 and taking 6.9–9.5 minutes per problem.
- Lower reasoning effort = better efficiency: Within any model family, lower reasoning-effort settings (e.g., GPT-5.4 Mini (low) at 0.48 for $0.06 and 0.9 min) offer the best cost- and time-efficiency ratios.
- Open-weight models lag behind: GLM-5 is the strongest open-weight model at 0.49 ($0.59, 7.9 min), followed by MiniMax-M2 and Nemotron 3 Super at 0.29, and DeepSeek V3.2 at 0.27.
Limitations and Future Work
The authors note three main limitations:
- Limited scope: The benchmark is capped at 90 publicly available incident reports, though the pipeline can easily scale to private or newly synthesized reports.
- Simplified complexity: The incident model focuses on core failure dynamics and omits some of the messy background noise and incidental complexity of full production environments.
- Shared-model evaluation: Because both the logs and reference summaries come from the same incident model—and judges score summaries without reading the raw logs—evaluation relies on the reference summaries faithfully reflecting what is actually in the logs. Testing how well SLS-BENCH scores transfer to real-world incident summarization is a natural next step.
Summary updated