sciqag-24d-eval
SciQAG: A Framework for Auto-Generated Science Question Answering Dataset with Fine-grained Evaluation — Wan et al. (2024) (arXiv:2405.09939, 2024)
What this evaluates
Evaluates open-ended, closed-book scientific question answering capabilities. It probes a model's ability to generate comprehensive, accurate, and reasonable answers to research-level science questions without external context or reference papers.
Datasets
- SciQAG-24D — total 188042; splits: train (-1), test (-1)
- SciQ — total 11000; splits: train (10000), test (1000)
Metrics
CAR (primary) — range: [0, 5]
- A modified LLM-judged metric derived from RACAR, explicitly excluding Relevance and Agnosticism. It scores generated answers on three dimensions: Completeness, Accuracy, and Reasonableness, typically on a 5-point scale.
accuracy — range: [0, 1]
- Standard exact-match accuracy for multiple-choice questions.
F1-score — range: [0, 1]
- Harmonic mean of precision and recall for classification tasks.
MAE — range: other
- Mean Absolute Error for regression tasks.
KL divergence — range: [0, inf)
- Kullback-Leibler divergence for transformation tasks.
Input / output format
Input: Open-ended science questions generated from scientific literature, provided without context or reference papers.
Output: Open-ended textual answers to the science questions.
Scoring recipe
def score_car(question, answer):
prompt = f'Question: {question}\nAnswer: {answer}\nScore Completeness, Accuracy, Reasonableness on 1-5 scale.'
llm_response = call_llm(prompt)
scores = extract_scores(llm_response)
return sum(scores) / len(scores)
def score_accuracy(prediction, gold):
return 1.0 if prediction.strip().lower() == gold.strip().lower() else 0.0
def score_f1(prediction, gold):
pred_set = set(prediction.lower().split())
gold_set = set(gold.lower().split())
if not pred_set and not gold_set: return 1.0
prec = len(pred_set & gold_set) / len(pred_set) if pred_set else 0
rec = len(pred_set & gold_set) / len(gold_set) if gold_set else 0
return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0
Common pitfalls
- CAR is a modified version of RACAR that explicitly excludes 'Relevance' and 'Agnosticism'; using the full RACAR framework will yield incorrect scores.
- The CAR metric relies on LLM-as-a-judge evaluation, so results are highly sensitive to the judge model, prompt phrasing, and temperature settings.
- SciQAG-24D questions are auto-generated and open-ended; exact string matching is inappropriate, requiring semantic or LLM-based scoring.
Evidence (verbatim from paper)
For the evaluation of the quality of generated answers in the zero-shot experiment, we adopt a modified version of the RACAR framework. We exclude the criteria of "Relevance" and "Agnosticism", which are specifically designed to assess the alignment of question-answer (QA) pairs with a given paper, and name this modified metric as CAR (see [Appendix J]).
Citation
@misc{wan2024sciqag,
title={SciQAG: A Framework for Auto-Generated Science Question Answering Dataset with Fine-grained Evaluation},
author={Wan et al. (2024)},
year={2024},
note={arXiv:2405.09939}
}
1---2name: sciqag-24d-eval3description: Evaluates open-ended, closed-book scientific question answering capabilities. It probes a model's ability to generate comprehensive, accurate, and reasonable answers to research-level science questions without external context or reference papers. Use when the user wants to benchmark on SciQAG-24D, SciQ, or asks about evaluating this task. Reports CAR.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/sciqag-24d-eval6 skill_kind: dataset_eval7 source_arxiv: 2405.099398 bibtex_key: wan2024sciqag9 confidence: high10---1112# sciqag-24d-eval1314> SciQAG: A Framework for Auto-Generated Science Question Answering Dataset with Fine-grained Evaluation — Wan et al. (2024) (arXiv:2405.09939, 2024)1516## What this evaluates1718Evaluates open-ended, closed-book scientific question answering capabilities. It probes a model's ability to generate comprehensive, accurate, and reasonable answers to research-level science questions without external context or reference papers.1920## Datasets2122- **SciQAG-24D** — total 188042; splits: train (-1), test (-1)23- **SciQ** — total 11000; splits: train (10000), test (1000)2425## Metrics2627- `CAR` **(primary)** — range: [0, 5]28 - A modified LLM-judged metric derived from RACAR, explicitly excluding Relevance and Agnosticism. It scores generated answers on three dimensions: Completeness, Accuracy, and Reasonableness, typically on a 5-point scale.29- `accuracy` — range: [0, 1]30 - Standard exact-match accuracy for multiple-choice questions.31- `F1-score` — range: [0, 1]32 - Harmonic mean of precision and recall for classification tasks.33- `MAE` — range: other34 - Mean Absolute Error for regression tasks.35- `KL divergence` — range: [0, inf)36 - Kullback-Leibler divergence for transformation tasks.3738## Input / output format3940**Input**: Open-ended science questions generated from scientific literature, provided without context or reference papers.4142**Output**: Open-ended textual answers to the science questions.4344## Scoring recipe4546```python47def score_car(question, answer):48 prompt = f'Question: {question}\nAnswer: {answer}\nScore Completeness, Accuracy, Reasonableness on 1-5 scale.'49 llm_response = call_llm(prompt)50 scores = extract_scores(llm_response)51 return sum(scores) / len(scores)5253def score_accuracy(prediction, gold):54 return 1.0 if prediction.strip().lower() == gold.strip().lower() else 0.05556def score_f1(prediction, gold):57 pred_set = set(prediction.lower().split())58 gold_set = set(gold.lower().split())59 if not pred_set and not gold_set: return 1.060 prec = len(pred_set & gold_set) / len(pred_set) if pred_set else 061 rec = len(pred_set & gold_set) / len(gold_set) if gold_set else 062 return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 063```6465## Common pitfalls6667- CAR is a modified version of RACAR that explicitly excludes 'Relevance' and 'Agnosticism'; using the full RACAR framework will yield incorrect scores.68- The CAR metric relies on LLM-as-a-judge evaluation, so results are highly sensitive to the judge model, prompt phrasing, and temperature settings.69- SciQAG-24D questions are auto-generated and open-ended; exact string matching is inappropriate, requiring semantic or LLM-based scoring.7071## Evidence (verbatim from paper)7273> For the evaluation of the quality of generated answers in the zero-shot experiment, we adopt a modified version of the RACAR framework. We exclude the criteria of "Relevance" and "Agnosticism", which are specifically designed to assess the alignment of question-answer (QA) pairs with a given paper, and name this modified metric as CAR (see [Appendix J]).7475## Citation7677```bibtex78@misc{wan2024sciqag,79 title={SciQAG: A Framework for Auto-Generated Science Question Answering Dataset with Fine-grained Evaluation},80 author={Wan et al. (2024)},81 year={2024},82 note={arXiv:2405.09939}83}84```8586- arXiv: 2405.09939