AILGSEMay 20

Insights Generator: Systematic Corpus-Level Trace Diagnostics for LLM Agents

arXiv:2605.2134776.0
Predicted impact top 41% in AI · last 90 daysOriginality Incremental advance
AI Analysis

For practitioners debugging LLM agents, this work addresses the bottleneck of manual trace inspection by automating systematic pattern discovery across large trace corpora.

The paper formalizes corpus-level trace diagnostics for LLM agents and introduces the Insights Generator (IG), a multi-agent system that produces evidence-backed insights from execution traces. Human experts using IG reports improved scaffold performance by 30.4 percentage points over the baseline.

Diagnosing failures in LLM agents remains largely manual. Practitioners inspect a small subset of execution traces, form ad-hoc hypotheses, and iterate. This process misses patterns that only emerge across trace populations and does not scale to production corpora where individual traces span tens of thousands of tokens. We formalize the problem of corpus-level trace diagnostics. Given a corpus of execution traces, the goal is to produce grounded natural-language insights that characterize systematic behavioral patterns across trace groups, each linked to supporting evidence. We present the Insights Generator (IG), a multi-agent system that answers diagnostic questions by proposing and testing hypotheses across the trace corpus to produce an evidence-backed insights report. We evaluate IG across qualitative and objective dimensions, spanning rubric-based report assessment and downstream performance improvements achieved by implementing IG insights. Human experts using IG reports improve scaffold performance by 30.4pp over the unmodified baseline scaffold, and coding agents leveraging IG-derived insights show consistent and stable gains. Across benchmarks, IG's scout-investigator architecture produces findings comparable in detection coverage to competing approaches, while domain experts rated IG reports as leading depth and evidence quality.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes