Case-Aware LLM-as-a-Judge Evaluation for Enterprise-Scale RAG Systems
Organizations: Dell Technologies, Austin, TX, USA
Abstract
Enterprise Retrieval-Augmented Generation (RAG) assistants operate in multi-turn, case-based workflows such as technical support and IT operations, where evaluation must reflect operational constraints, structured identifiers (e.g., error codes, versions), and resolution workflows. Existing RAG evaluation frameworks are primarily designed for benchmark-style or single-turn settings and often fail to capture enterprise-specific failure modes such as case misidentification, workflow misalignment, and partial resolution across turns. We present a case-aware LLM-as-a-Judge evaluation framework for enterprise multi-turn RAG systems. The framework evaluates each turn using eight operationally grounded metrics that separate retrieval quality, grounding fidelity, answer utility, precision integrity, and case/workflow alignment. A severity-aware scoring protocol reduces score inflation and improves diagnostic clarity across heterogeneous enterprise cases. The system uses deterministic prompting with strict JSON outputs, enabling scalable batch evaluation, regression testing, and production monitoring. Through a comparative study of two instruction-tuned models across short and long workflows, we show that generic proxy metrics provide ambiguous signals, while the proposed framework exposes enterprise-critical tradeoffs that are actionable for system improvement.
Figures & tables
| Metric | GPT-OSS (Short) | LLaMA (Short) | GPT-OSS (Long) | LLaMA (Long) |
|---|---|---|---|---|
| Hallucination (Grounding Fidelity) | 0.6890 | 0.7431 | 0.7586 | 0.7132 |
| Retrieval Correctness | 0.7429 | 0.7647 | 0.7941 | 0.7578 |
| Context Sufficiency | 0.6526 | 0.6429 | 0.7411 | 0.6546 |
| Answer Helpfulness | 0.6943 | 0.6143 | 0.7724 | 0.6143 |
| Answer Type Fit | 0.7603 | 0.7274 | 0.8360 | 0.6825 |
| Identifier Integrity | 0.9421 | 0.9354 | 0.9559 | 0.9329 |
| Dataset | n | Mean (GPT) | Mean (Llama) | Wilcoxon | |
|---|---|---|---|---|---|
| Short Queries | 70 | 0.7353 | 0.7202 | +0.0151 | 0.6495 |
| Long Queries | 63 | 0.8099 | 0.7136 | +0.0963 | 0.0011 |
| Subset | Judge | Mean (GPT-oss) | Mean (Llama) | Wilcoxon | ||
|---|---|---|---|---|---|---|
| Short | GPT-4 | 70 | 0.7353 | 0.7202 | +0.0151 | 0.6495 |
| Short | Llama-3.3-70B | 70 | 0.6639 | 0.6060 | +0.0578 | 0.0005 |
| Long | GPT-4 | 63 | 0.8099 | 0.7136 | +0.0963 | 0.0011 |
| Long | Llama-3.3-70B | 63 | 0.7143 | 0.6589 | +0.0554 | 0.0016 |
| Metric | Llama | GPT-oss |
|---|---|---|
| Faithfulness (Short) | 0.8439 | 0.5799 |
| Answer Relevancy (Short) | 0.7404 | 0.8192 |
| Faithfulness (Long) | 0.8123 | 0.6005 |
| Answer Relevancy (Long) | 0.7276 | 0.8330 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric | Score field | Justification field |
|---|---|---|
| M1 Hallucination | hallucination_score | hallucination_justification |
| M2 Retrieval Correctness | retrieval_correctness_score | retrieval_correctness_justification |
| M3 Context Sufficiency | context_sufficiency_score | context_sufficiency_justification |
| M4 Answer Helpfulness | answer_helpfulness_score | answer_helpfulness_justification |
| M5 Answer Type Fit | answer_type_fit_score | answer_type_fit_justification |
| M6 Identifier Integrity | identifier_integrity_score | identifier_integrity_justification |
| Condition | Spearman on | |
|---|---|---|
| Short (Llama responses) | 70 | 0.515 |
| Short (GPT-oss responses) | 70 | 0.577 |
| Long (Llama responses) | 63 | 0.691 |
| Long (GPT-oss responses) | 63 | 0.644 |
RAG Evaluation
Retrieval-augmented generation (RAG) evaluation measures how well systems retrieve, use, and cite evidence while balancing reliability, cost, and speed.
See all 352 papers