TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOps
Reading guide · Based on sections of the original paper
Why read this
Useful for AIOps engineers choosing prompting, models and local-versus-API serving for log triage. Treat it as a detection benchmark, not a validation of generated root-cause text.
What the authors found
- Setup: Qwen2.5-14B and Mistral-Small-22B on four LogHub datasets, three seeds, with balanced 150-incident samples. Under zero-shot prompting, Mistral's predicted-positive rate reached 0.993 to 1.000 on BGL, HDFS and OpenStack. Its accuracy there was about chance (0.500 to 0.507) even though F1 was 0.67 to 0.72. RAG kept 7 of 8 configurations inside the authors' 0.15 to 0.85 PPR band, against 2 of 8 for zero-shot. Few-shot prompting instead under-predicted on HDFS and OpenStack, with PPR as low as 0.016. 5.2. RQ2: Prediction Balance
- In a separate next-token log-probability scoring path covering 24 configurations, 11 were degenerate under raw scores. RAG had 0 of 8. Contextual Calibration lowered the total to 10 but made two RAG configurations degenerate. Batch Calibration gave 12 of 24. The authors conclude that correcting a static label prior does not reproduce RAG's effect. These counts are not interchangeable with the JSON-based F1 results. 5.3.1. Calibration-Correction Baselines
- Averaged over datasets, prompts and seeds, Mistral-Small scored higher mean F1 (0.644 versus 0.560). Qwen2.5-14B was more balanced (PPR 0.485 versus 0.713) and ran at roughly twice the throughput (713.1 versus 365.9 tok/s) with similar VRAM use (about 86 GB). JSON parse failures affected 0.2% of 10,800 responses. 5.1. RQ1: Detection Effectiveness
Main limitation
Only the binary anomaly flag is scored; the generated root-cause and remediation text is never evaluated. Other qualifications: HDFS windowing misaligns with its block-level labels, the Llama-70B and Claude checks are single runs, and DeepLog's higher F1 (0.698) comes from a different protocol on 120 incidents. 7. Limitations
Where to start
5.2. RQ2: Prediction Balance · Read for the per-dataset predicted-positive-rate breakdown and the opposite failure modes of zero-shot and few-shot prompting.
Abstract
Operational logs create a need for private, resource-efficient incident analysis, but aggregate detection scores can conceal severe prediction bias. We present TriCalRAG, a reproducible benchmark for log-anomaly detection with generated root-cause and remediation outputs across BGL, HDFS, Thunderbird, and OpenStack. The primary evaluation compares Qwen2.5-14B and Mistral-Small-22B, served through vLLM on one NVIDIA RTX PRO 6000 GPU (96 GB), under zero-shot, few-shot, and retrieval-augmented generation (RAG) prompting across three data-sampling seeds. We report F1, bootstrap confidence intervals, predicted-positive rates, throughput, and memory use, with DeepLog as a held-out classical baseline. Mistral-Small attains a higher macro-averaged F1 than Qwen2.5-14B (0.644 versus 0.560), whereas Qwen provides approximately twice the throughput. A separate log-probability evaluation compares raw decisions with Contextual Calibration (CC) and Batch Calibration (BC): neither correction consistently improves prediction-balance diagnostics across prompting strategies. Supplementary single-run comparisons extend evaluation to 4-bit Llama-3.1-70B via local Ollama and Claude Haiku 4.5 via Anthropic's cloud API; RAG improves F1 on all four datasets for both models. Claude's reported aggregate F1 increases from 0.566 to 0.695, while the estimated API cost rises from \$0.94 to \$2.15 per 1,000 incidents. Local deployment ablations show approximately 41-fold throughput scaling with batching and 20% lower latency with 4-bit quantization on the tested workload. These findings support retrieval as useful context for anomaly decisions, while the supplementary protocols, unvalidated explanation quality, and prediction-balance diagnostics limit broader claims about RCA accuracy and probabilistic calibration.