rowen-hallucination-eval
Rowen: Adaptive Retrieval-Augmented Generation for Hallucination Mitigation in LLMs — Hanxing Ding et al. (arXiv:2402.10612, 2024)
What this evaluates
This evaluation probes an LLM's ability to generate factually correct responses and mitigate hallucinations under adaptive retrieval-augmented generation. It measures factual accuracy via LLM-based scoring on open-ended questions and exact-match accuracy on multi-step reasoning yes/no questions.
Datasets
- TruthfulQA — total 817; splits: test (-1)
- StrategyQA — total 500; splits: test (-1)
Metrics
FactScore(primary) — range: [0, 100]- Compares generated responses to reference answers using prompt-based instructions to assess factual correctness. Higher scores indicate better factual alignment.
BLEU— range: [0, 100]- Measures n-gram precision overlap between generated and reference text, penalizing for verbosity.
Rouge-L— range: [0, 100]- Measures the longest common subsequence recall/precision between generated and reference text.
Accuracy— range: [0, 1]- Exact-match accuracy of generated yes/no answers compared to gold-standard answers.
Input / output format
Input: Question prompts from TruthfulQA and StrategyQA datasets.
Output: Generated textual responses (including reasoning process and final answer for StrategyQA).
Scoring recipe
# TruthfulQA
factscore = llm_as_judge(predictions, references, prompt=APPENDIX_C_TABLE9)
bleu = compute_bleu(predictions, references)
rouge_l = compute_rouge_l(predictions, references)
# StrategyQA
accuracy = sum(1 for p, g in zip(predictions, references) if p.strip().lower() == g.strip().lower()) / len(predictions)
Common pitfalls
- FactScore relies on a specific LLM-as-a-judge prompt template (Appendix Table 9), so results may vary if different prompts or models are used.
- StrategyQA evaluation uses a randomly sampled subset of 500 examples rather than the full benchmark, which limits direct comparison with full-dataset results.
- BLEU and Rouge-L measure lexical overlap only and do not capture factual correctness or reasoning quality.
Evidence (verbatim from paper)
We report the FactScoreMin et al. (2023), which is widely used in previous workDhuliawala et al. (2023); Kang et al. (2023), by comparing generated responses to reference answers using prompt-based instructions (AppendixC Table9). Notably, our experiments emphasize evaluating the performance on the FactScore.
Citation
@misc{ding2024rowen,
title={Rowen: Adaptive Retrieval-Augmented Generation for Hallucination Mitigation in LLMs},
author={Hanxing Ding et al.},
year={2024},
note={arXiv:2402.10612}
}
- arXiv: 2402.10612