Ilmu Komputer & AI editorial
TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOps
The core problem
Innovation
The results show that RAG not only improves mean by 0.10โ0.27 over zero-shot prompting but, more importantly, substantially stabilizes model calibration. Zero-shot prompting drives both models toward near-degenerate behavior, predicting "anomaly" on up to 100% of incidents on some datasets. In contrast, RAG keeps predicted-positive rates close to the true class balance in the majority of configurations. Mistral-Small achieves higher macro-averaged than Qwen2.5-14B (0.644 vs. 0.560) but exhibits calibration failures in more configurations (7 vs. 5 of 12), while running at roughly half the throughput. This indicates that the better model choice depends on whether a deployment prioritizes peak accuracy or predictable behavior across prompting conditions. Ablations show that batching scales throughput 41 times on a single card and that 4-bit quantization reduces latency by 20% with no measurable accuracy loss. The following table summarizes key findings:
| Model | Strategy | Mean | Calibration Failures | Throughput (relative) |
|-------|----------|---------|----------------------|-----------------------|
| Qwen2.5-14B | Zero-shot | Lower | 5/12 | Higher |
| Qwen2.5-14B | RAG
Why it matters
The findings highlight a critical trade-off in on-premise LLM-based RCA: while Mistral-Small achieves higher peak , its higher rate of calibration failures makes it less reliable across diverse prompting conditions. Qwen2.5-14B, despite lower mean , exhibits more stable calibration, suggesting it may be preferable for deployments requiring consistent behavior. The substantial improvement in calibration stability with RAG is a key contribution, as it mitigates the near-degenerate behavior observed in zero-shot prompting. The ablation results demonstrate that batching and quantization can significantly enhance throughput and reduce latency without sacrificing accuracy, making on-premise deployment more feasible. However, the study is limited to two models and four datasets; future work should explore a broader range of models and log types. The release of the benchmark harness and evaluation code supports reproducibility and further research. Overall, TriCalRAG provides a rigorous framework for evaluating on-premise LLM-based RCA, emphasizing the importance of calibration alongside accuracy. The trade-off between accuracy and calibration stability can be formalized as a multi-objective optimization problem:
where and weight the relative importance of accuracy and calibration, and represents the model and prompting strategy configuration.
Who should read this
Opening member contentโฆ