Explanations over Graphs: An Agent Architecture for IT Enterprise Diagnostic Tasks

Saurabh Jha, Rohan R. Arora, Bhavya Bhavya, Noah Zheutlin, Paulina Toro Isaza, Laura Shwartz, Yu Deng, Daby Sow, Ruchir PuriNeurIPS 2026

TL;DR

When diagnosing cloud outages, standard LLM agents wander around unstructured logs, summarize away crucial clues too early, and fail to change their minds when new evidence arrives. Explanations over Graphs (EoG) fixes this by taking navigation out of the LLM’s hands: a deterministic controller walks the system's dependency graph and passes messages, while the LLM acts strictly as a local detective inspecting one component at a time. The result is an agent that actually revises its beliefs, boosting consistent diagnostic accuracy by 7× over standard baselines.

What Problem Does This Paper Address?

Imagine it’s 2:00 AM and a cloud service is throwing errors. Site Reliability Engineers (SREs) have to trace symptoms backward through a tangled web of microservices, pods, and databases to find the true root cause—a process formally known as abductive reasoning. Unlike writing code, where you can cheaply run a test suite to verify ten different guesses, acting on a bad IT diagnosis means restarting the wrong production database. You don't need an AI that gets lucky once in five tries (Pass@k); you need one that gets it right almost every time (Majority@k).

Standard agent loops like ReAct and CodeAct—where an LLM writes code, calls tools, summarizes outputs, and plans its next move in one growing prompt—fall apart here. Because observability data is massive, agents summarize intermediate findings to save context space, accidentally throwing away quiet clues whose importance only becomes obvious later. Worse, their conclusions depend heavily on the order in which they stumble upon data. Once an LLM forms an early hypothesis in its prompt, it struggles to take it back (non-monotonic reasoning), leading to massive run-to-run variance—a "reliability gap."

Figure 1: CodeAct agent failure modes on ITBench SRE scenarios. (a) Reliability gap: Pass@k (any run succeeds) vs. Majority@k (most runs succeed); deviations from the dotted line indicate stochastic success. (b) Ground-truth discovery funnel: never saw, saw not queried, queried not asserted, asserted not in output, asserted in output. (c) Evidence discovery: not in context (red), ignored (orange), used (green). (d) Impact of oracle reordering on Majority@k.

Methods

Cloud systems aren't unstructured wildernesses; they are explicit graphs where services call services and failures flow along dependency edges. EoG exploits this structure through two core ideas: separation of concerns and Semantic Belief Propagation (SBP).

Instead of letting an LLM manage its own investigation loop, EoG splits the architecture into three parts:

  1. A Deterministic Controller: Written in traditional symbolic code (Rust), it tracks the graph state, maintains an append-only ledger of steps, routes messages, and decides which node to inspect next. No LLM hallucinations can corrupt the state or crash a tool loop.
  2. The Context Contract (CxC): A strict interface that fetches a bounded packet of local evidence for a single node (its logs, metrics, traces, and 1-hop neighbors) so the context window never overflows.
  3. A Stateless Abductive Policy ($\pi_{\text{abd}}$): An LLM that looks only at the current node’s packet and its inbox of neighbor messages. It labels the node (ORIGIN, SYMPTOM, HEALTHY, or DEFER), claims which upstream neighbors might explain the fault, and can even propose new edges if logs reveal hidden, undocumented dependencies.

To handle changing evidence, EoG uses Semantic Belief Propagation. Suppose Database $S_4$ crashes with an Out-Of-Memory error. Initially, the LLM labels $S_4$ as the ORIGIN. Later, traffic metrics reveal $S_4$ was hammered by a +30% load spike from upstream service $S_3$. Re-evaluating $S_4$, the LLM flips its belief from ORIGIN to SYMPTOM and broadcasts a message to $S_3$'s inbox: "I failed from your traffic." This triggers a chain reaction upstream until EoG finds the true culprit—say, a flash sale on the frontend—computing a minimal "explanatory frontier" of root causes.

Datasets

No new benchmarks were created; instead, the authors evaluate primarily on 35 SRE incident scenarios from ITBench (an open-source benchmark for IT diagnostics spanning misconfigurations, resource exhaustion, and cascading failures). To test generalization, independent teams also evaluated EoG on 16 real-world Kubernetes code-bug reports (K8s.af) and 14 FinOps cloud-cost anomaly scenarios from ITBench.

Key Insights and Ideas

  • The bottleneck is discovery, not reasoning: Failure analysis of standard CodeAct agents revealed that when relevant evidence actually makes it into the context window, modern LLMs rarely ignore it. They fail simply because they never navigate to the right entity or fetch the right logs.
  • LLMs shouldn't multitask control and reasoning: When the authors prompted a standard CodeAct agent with the exact step-by-step EoG algorithm—asking the LLM to manage the graph queue and message passing itself—its Majority@3 score collapsed to nearly 0%. Externalizing bookkeeping to deterministic code is essential.
  • Graphs are incomplete, and that's okay: Real-world topology maps miss dynamic API calls. Even when the authors severed every graph edge connected to the root-cause node, EoG lost only 1.5% recall because the LLM spotted the missing links inside trace and log payloads and dynamically added them to the graph.

Key Results

Across the 35 ITBench SRE scenarios, EoG achieves an average 7× gain in Majority@k F1 over CodeAct baselines while largely closing the reliability gap:

  • GPT-5.1: Jumps from 8.6% Majority@3 F1 under CodeAct to 86.1% under EoG (with Pass@3 F1 rising from 22.9% to 88.9%).
  • GPT-OSS-120B: Rises from 5.7% Majority@3 F1 to 79.4%.
  • Gemini 3 Flash: Improves from a strong 74.3% Majority@3 F1 baseline to 92.1%, outperforming Microsoft's GraphRAG (which topped out at 60.0% given the exact same graph and context tools).
  • Value of Belief Revision: Ablating Semantic Belief Propagation showed that while structured graph traversal does most of the heavy lifting, message-passing adds +7% to +64% relative improvement in recall—fixing half of the scenarios that would otherwise fail without breaking a single working diagnosis.
  • Efficiency: Because deterministic control avoids verbose reasoning loops and redundant code generation, EoG is 1.15× to 4.6× cheaper per correct diagnosis across all tested models.

Limitations and Future Work

Empirical validation is concentrated on 35 SRE scenarios in ITBench (the FinOps and code-bug evaluations are small directional checks at $n=14$ and $n=16$). Applying EoG to new enterprise domains isn't zero-shot plug-and-play: domain experts still have to define the resource-graph schema, build the local Context Contract tool, and tune prompts for the abductive policy. Finally, EoG strictly performs observational inference—the authors caution against letting autonomous diagnostic agents execute automated remediations on live, safety-critical production infrastructure.

Summary updated

Abstract

LLM agents excel when environments are mostly static and their required information fits in a model’s context window, but they struggle with IT enterprise diagnostic tasks—such as incident management, IT vulnerability analysis, and FinOps anomaly explanation—where operators iteratively mine massive observability data over a curated resource graph to identify the origins that explain observed symptoms, enabling correct remediation. The data in these domains inherently has hidden dependency structure: entities interact, signals co-vary, and the importance of a fact may only become clear after other evidence is discovered. To cope with bounded context windows, agents must summarize intermediate findings before their significance is known, increasing the risk of discarding key evidence. ReAct-style agents are especially brittle in this regime. Their retrieve-summarize-reason loop makes conclusions sensitive to exploration order and introduces run-to-run non-determinism, producing a reliability gap where Pass-at-k may be high but Majority-at-k remains low. Simply sampling more roll-outs or generating longer reasoning traces does not reliably stabilize results, since verifying a diagnosis requires remediation actions that carry operational risk---demanding consistent correctness, not occasional success---and ReAct provides no mechanism for belief revision as evidence accumulates. In addition, ReAct entangles semantic reasoning with controller duties such as tool orchestration and state tracking; execution errors and plan drift degrade reasoning while consuming scarce context. We address these issues by formulating the investigation as abductive reasoning over a dependency graph and proposing EoG (Explanations over Graphs), a disaggregated framework where an LLM performs bounded local evidence mining and labeling (cause vs symptom) while a deterministic controller manages traversal, state, and belief propagation to compute a minimal explanatory frontier. On representative ITBench diagnostics tasks, EoG improves accuracy and run-to-run consistency over ReAct baselines, including a 7x average gain in Majority-at-k F1 score.
BibTeX
@inproceedings{jha2026explanations,
  author = {Saurabh Jha and Rohan R. Arora and Bhavya Bhavya and Noah Zheutlin and Paulina Toro Isaza and Laura Shwartz and Yu Deng and Daby Sow and Ruchir Puri},
  title = {{Explanations over Graphs: An Agent Architecture for IT Enterprise Diagnostic Tasks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=YcWFCquBYo},
}
Figure