main-instruction-tuning-eval
MAIN: Mutual Alignment Is Necessary for instruction tuning — Yang et al. (2025) (arXiv:2504.12913, 2025)
What this evaluates
Evaluates the instruction-following capability, output preference quality, and general reasoning performance of fine-tuned LLMs. It probes how well models adhere to explicit constraints, generate preferred responses relative to a baseline, and solve standard academic benchmarks.
Datasets
- AlpacaEval — total 805; splits: test (805)
- IFEval — total ?; splits: test (-1)
- ARC — total ?; splits: test (-1)
- HellaSwag — total ?; splits: test (-1)
- Winogrande — total ?; splits: test (-1)
- MMLU — total ?; splits: test (-1)
- TruthfulQA — total ?; splits: test (-1)
Metrics
AlpacaEval (primary) — range: percent
- Percentage of pairwise comparisons where the model's output is judged better than text-davinci-003 by GPT-4. Calculated as (number of wins / total instructions) * 100.
IFEval — range: percent
- Accuracy across four variants: Prompt-level Strict (P-S), Instruction-level Strict (I-S), Prompt-level Loose (P-L), and Instruction-level Loose (I-L). Measures whether generated outputs satisfy explicit formatting and constraint instructions.
OpenLLM Leaderboard accuracy — range: percent
- Standard accuracy scores on ARC, HellaSwag, Winogrande, MMLU, and TruthfulQA, evaluated using the Language Model Evaluation Harness.
Input / output format
Input: Instruction or prompt text; for IFEval, prompts include explicit formatting/constraint instructions; for OpenLLM tasks, multiple-choice or open-ended questions.
Output: Model-generated text response.
Scoring recipe
def score_alpaca_eval(predictions, baseline_outputs):
wins = 0
for pred, base in zip(predictions, baseline_outputs):
if gpt4_judge(pred, base) == 'win':
wins += 1
return (wins / len(predictions)) * 100
def score_ifeval(predictions, prompts):
accuracies = []
for pred, prompt in zip(predictions, prompts):
accuracies.append(check_constraints(pred, prompt))
return sum(accuracies) / len(accuracies) * 100
Common pitfalls
- AlpacaEval win rates are relative to text-davinci-003, not gold references, so scores reflect preference over a specific baseline rather than absolute quality.
- IFEval reports four distinct strict/loose variants; reporting only one metric can significantly misrepresent instruction-following capability.
- OpenLLM tasks are evaluated via the Language Model Evaluation Harness, which may apply specific prompting or few-shot templates that differ from standard zero-shot setups.
Evidence (verbatim from paper)
We assess output preference using 805 instructions from the AlpacaEval dataset. Model outputs are compared against text-davinci-003 in a pairwise setting, with GPT-4-based judgments determining win rates. Instruction-following ability is evaluated with IFEval, which reports accuracy across four metrics: Prompt-level Strict (P-S), Instruction-level Strict (I-S), Prompt-level Loose (P-L), Instruction-level Loose (I-L) ensuring a comprehensive assessment of instruction adherence.
Citation
@misc{yang2025main,
title={MAIN: Mutual Alignment Is Necessary for instruction tuning},
author={Yang et al. (2025)},
year={2025},
note={arXiv:2504.12913}
}
1---2name: main-instruction-tuning-eval3description: Evaluates the instruction-following capability, output preference quality, and general reasoning performance of fine-tuned LLMs. It probes how well models adhere to explicit constraints, generate preferred responses relative to a baseline, and solve standard academic benchmarks. Use when the user wants to benchmark on AlpacaEval, IFEval, ARC, HellaSwag, Winogrande, MMLU, TruthfulQA, or asks about evaluating this task. Reports AlpacaEval.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/main-instruction-tuning-eval6 skill_kind: dataset_eval7 source_arxiv: 2504.129138 bibtex_key: yang2025main9 confidence: high10---1112# main-instruction-tuning-eval1314> MAIN: Mutual Alignment Is Necessary for instruction tuning — Yang et al. (2025) (arXiv:2504.12913, 2025)1516## What this evaluates1718Evaluates the instruction-following capability, output preference quality, and general reasoning performance of fine-tuned LLMs. It probes how well models adhere to explicit constraints, generate preferred responses relative to a baseline, and solve standard academic benchmarks.1920## Datasets2122- **AlpacaEval** — total 805; splits: test (805)23- **IFEval** — total ?; splits: test (-1)24- **ARC** — total ?; splits: test (-1)25- **HellaSwag** — total ?; splits: test (-1)26- **Winogrande** — total ?; splits: test (-1)27- **MMLU** — total ?; splits: test (-1)28- **TruthfulQA** — total ?; splits: test (-1)2930## Metrics3132- `AlpacaEval` **(primary)** — range: percent33 - Percentage of pairwise comparisons where the model's output is judged better than text-davinci-003 by GPT-4. Calculated as (number of wins / total instructions) * 100.34- `IFEval` — range: percent35 - Accuracy across four variants: Prompt-level Strict (P-S), Instruction-level Strict (I-S), Prompt-level Loose (P-L), and Instruction-level Loose (I-L). Measures whether generated outputs satisfy explicit formatting and constraint instructions.36- `OpenLLM Leaderboard accuracy` — range: percent37 - Standard accuracy scores on ARC, HellaSwag, Winogrande, MMLU, and TruthfulQA, evaluated using the Language Model Evaluation Harness.3839## Input / output format4041**Input**: Instruction or prompt text; for IFEval, prompts include explicit formatting/constraint instructions; for OpenLLM tasks, multiple-choice or open-ended questions.4243**Output**: Model-generated text response.4445## Scoring recipe4647```python48def score_alpaca_eval(predictions, baseline_outputs):49 wins = 050 for pred, base in zip(predictions, baseline_outputs):51 if gpt4_judge(pred, base) == 'win':52 wins += 153 return (wins / len(predictions)) * 1005455def score_ifeval(predictions, prompts):56 accuracies = []57 for pred, prompt in zip(predictions, prompts):58 accuracies.append(check_constraints(pred, prompt))59 return sum(accuracies) / len(accuracies) * 10060```6162## Common pitfalls6364- AlpacaEval win rates are relative to text-davinci-003, not gold references, so scores reflect preference over a specific baseline rather than absolute quality.65- IFEval reports four distinct strict/loose variants; reporting only one metric can significantly misrepresent instruction-following capability.66- OpenLLM tasks are evaluated via the Language Model Evaluation Harness, which may apply specific prompting or few-shot templates that differ from standard zero-shot setups.6768## Evidence (verbatim from paper)6970> We assess output preference using 805 instructions from the AlpacaEval dataset. Model outputs are compared against text-davinci-003 in a pairwise setting, with GPT-4-based judgments determining win rates. Instruction-following ability is evaluated with IFEval, which reports accuracy across four metrics: Prompt-level Strict (P-S), Instruction-level Strict (I-S), Prompt-level Loose (P-L), Instruction-level Loose (I-L) ensuring a comprehensive assessment of instruction adherence.7172## Citation7374```bibtex75@misc{yang2025main,76 title={MAIN: Mutual Alignment Is Necessary for instruction tuning},77 author={Yang et al. (2025)},78 year={2025},79 note={arXiv:2504.12913}80}81```8283- arXiv: 2504.12913