instruction-tuning-eval
Instruction Tuning with GPT-4 — Peng et al. (2023) (arXiv:2304.03277, 2023)
What this evaluates
Evaluates the instruction-following capability and alignment (helpfulness, honesty, harmlessness) of instruction-tuned LLMs on unseen tasks across English and Chinese.
Datasets
- User-Oriented-Instructions-252 — total 252; splits: test (252)
- Vicuna-Instructions-80 — total 80; splits: test (80)
- Unnatural Instructions — total 68478; splits: test (68478)
Metrics
Relative Score (GPT-4) (primary) — range: percent
- Pairwise comparison rated 1-10 by GPT-4. Relative score = (sum of scores for model A) / (sum of scores for model A + sum of scores for model B) * 100%.
HHH Human Vote % — range: percent
- Human annotators on MTurk vote on three criteria: Helpfulness, Honesty, Harmlessness. Reported as percentage of votes for win, tie, or lose against a baseline.
ROUGE-L — range: [0, 1]
- Standard ROUGE-L score averaged over 9,000 samples from Unnatural Instructions, grouped by ground-truth response length.
Input / output format
Input: Instruction prompt (text) provided to the model.
Output: Text response generated by the model.
Scoring recipe
def compute_relative_score(preds_A, preds_B, prompts):
scores_A, scores_B = [], []
for p, a, b in zip(prompts, preds_A, preds_B):
scores_A.append(gpt4_pairwise_score(a, b))
scores_B.append(gpt4_pairwise_score(b, a))
return sum(scores_A) / (sum(scores_A) + sum(scores_B)) * 100
Common pitfalls
- The GPT-4 automatic evaluation uses pairwise comparisons against a specific opponent (ChatGPT or GPT-4), so scores are relative, not absolute.
- Human evaluation only covers the 252-user-oriented instructions, not the full Vicuna or Unnatural Instructions sets.
- ROUGE-L is computed on a 9K subset of Unnatural Instructions, not the full 68K.
Evidence (verbatim from paper)
We compare LLaMA-GPT4 with GPT-4 and Alpaca unnatural instructions in Figure 6. In terms of the average ROUGE-L scores, Alpaca outperforms the other two models.
Citation
@misc{peng2023instructiontuning,
title={Instruction Tuning with GPT-4},
author={Peng et al. (2023)},
year={2023},
note={arXiv:2304.03277}
}
1---2name: instruction-tuning-eval3description: Evaluates the instruction-following capability and alignment (helpfulness, honesty, harmlessness) of instruction-tuned LLMs on unseen tasks across English and Chinese. Use when the user wants to benchmark on User-Oriented-Instructions-252, Vicuna-Instructions-80, Unnatural Instructions, or asks about evaluating this task. Reports Relative Score (GPT-4).4metadata:5 source: https://skillmd.com/skills/qhjqhj00/instruction-tuning-eval6 skill_kind: dataset_eval7 source_arxiv: 2304.032778 bibtex_key: peng2023instructiontuning9 confidence: high10---1112# instruction-tuning-eval1314> Instruction Tuning with GPT-4 — Peng et al. (2023) (arXiv:2304.03277, 2023)1516## What this evaluates1718Evaluates the instruction-following capability and alignment (helpfulness, honesty, harmlessness) of instruction-tuned LLMs on unseen tasks across English and Chinese.1920## Datasets2122- **User-Oriented-Instructions-252** — total 252; splits: test (252)23- **Vicuna-Instructions-80** — total 80; splits: test (80)24- **Unnatural Instructions** — total 68478; splits: test (68478)2526## Metrics2728- `Relative Score (GPT-4)` **(primary)** — range: percent29 - Pairwise comparison rated 1-10 by GPT-4. Relative score = (sum of scores for model A) / (sum of scores for model A + sum of scores for model B) * 100%.30- `HHH Human Vote %` — range: percent31 - Human annotators on MTurk vote on three criteria: Helpfulness, Honesty, Harmlessness. Reported as percentage of votes for win, tie, or lose against a baseline.32- `ROUGE-L` — range: [0, 1]33 - Standard ROUGE-L score averaged over 9,000 samples from Unnatural Instructions, grouped by ground-truth response length.3435## Input / output format3637**Input**: Instruction prompt (text) provided to the model.3839**Output**: Text response generated by the model.4041## Scoring recipe4243```python44def compute_relative_score(preds_A, preds_B, prompts):45 scores_A, scores_B = [], []46 for p, a, b in zip(prompts, preds_A, preds_B):47 scores_A.append(gpt4_pairwise_score(a, b))48 scores_B.append(gpt4_pairwise_score(b, a))49 return sum(scores_A) / (sum(scores_A) + sum(scores_B)) * 10050```5152## Common pitfalls5354- The GPT-4 automatic evaluation uses pairwise comparisons against a specific opponent (ChatGPT or GPT-4), so scores are relative, not absolute.55- Human evaluation only covers the 252-user-oriented instructions, not the full Vicuna or Unnatural Instructions sets.56- ROUGE-L is computed on a 9K subset of Unnatural Instructions, not the full 68K.5758## Evidence (verbatim from paper)5960> We compare LLaMA-GPT4 with GPT-4 and Alpaca unnatural instructions in Figure 6. In terms of the average ROUGE-L scores, Alpaca outperforms the other two models.6162## Citation6364```bibtex65@misc{peng2023instructiontuning,66 title={Instruction Tuning with GPT-4},67 author={Peng et al. (2023)},68 year={2023},69 note={arXiv:2304.03277}70}71```7273- arXiv: 2304.03277