AI
New benchmark reveals AI agents struggle to diagnose web failures across browser and backend systems
A research team introduces CUJBench, the first benchmark testing LLM agents on cross-layer failure diagnosis, uncovering a critical reasoning gap.
Diagnosing why web applications fail requires connecting visible problems in users' browsers with deeper issues in backend systems, yet no standardized way to test whether AI agents can perform this task has existed—until now. Researchers have created CUJBench, the first benchmark designed to measure how large language models handle this multi-layered diagnostic challenge.
The Challenge of Cross-Layer Diagnosis#
Most failure diagnosis happens in a fragmented way: engineers see frontend symptoms (a broken button, slow page load) but must also analyze backend logs, system metrics, and infrastructure data to find the root cause. Existing benchmarks focus on one layer or the other, not the synthesis across both. Building a realistic test suite for this cross-modal reasoning is expensive: collecting real failure scenarios requires extensive annotation, and live environments introduce randomness that makes comparing different agent runs unreliable.
How CUJBench Works#
The researchers tackled annotation costs through an LLM-assisted generation pipeline with human review loops, producing 87 carefully labeled failure scenarios grouped into five fault families. Each test case is packaged as a deterministic snapshot—meaning it behaves identically every time an agent runs through it—with a consistent interface to tools and data sources. This design ensures fair comparison across different models and approaches.
Performance and Key Findings#
When six leading language models were evaluated on the benchmark, results were sobering:
- Overall accuracy reached only 21.6%, with a maximum possible performance of 52.5%—far from saturation
- Surprisingly, agents given browser-only evidence outperformed those with full access to backend tools
- The counterintuitive result suggests that more data doesn't help; instead, extra signals seem to lead agents down rabbit holes of unfocused exploration
Analysis of agent reasoning trajectories pinpointed the real bottleneck: cross-modal synthesis. Agents routinely found the critical evidence but misattributed its cause or failed to connect it to the actual problem. This failure mode persisted across all six models tested, indicating that simply scaling up model size or adding more tool access cannot solve it alone.

