IFEval (Instruction-Following Evaluation) was introduced in November 2023 by Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou and Le Hou. Its appeal is simplicity: it measures instruction following with rules a program can check, so no human or AI judge is needed.

What it measures

Users constantly give models explicit constraints: “answer in under 100 words”, “use bullet points”, “don’t use commas”, “return valid JSON”, “mention the keyword at least three times”. IFEval measures how reliably a model obeys such verifiable instructions. It does not judge whether the answer is good or true, only whether the stated constraints were met.

How it works

The authors defined 25 types of verifiable instructions and wrote around 500 prompts, each containing one or more of them; the released dataset has 541 prompts. Instruction types fall into groups such as:

  • keywords: include or exclude certain words, or use a word a set number of times;
  • length constraints: at least, around or at most N words, sentences or paragraphs;
  • detectable format: a title in double angle brackets, exactly N bullet points, or output wrapped in JSON;
  • change cases: all uppercase or all lowercase;
  • start and end: finish with a specific phrase, or wrap the whole answer in quotation marks;
  • punctuation: for example, use no commas at all.

Each instruction is checked by a small program. Four scores are reported:

  • prompt-level accuracy: the share of prompts where every instruction was followed;
  • instruction-level accuracy: the share of individual instructions followed;
  • each in a strict version, checking the raw response, and a loose version, which also accepts the response after simple clean-ups such as removing markdown asterisks or the first or last line (to ignore “Sure, here’s…” intros and closing remarks).

A typical prompt might be: “Write a short blog post about a trip to Japan in fewer than 300 words, with at least two sections highlighted in markdown, and end with the phrase ‘Any other questions?’”.

Why it matters

Instruction following is central to how useful an assistant feels, and to whether it can be used inside software that expects a fixed format. IFEval made this measurable cheaply and reproducibly, and it became part of many evaluation suites, including Hugging Face’s Open LLM Leaderboard. In the paper, GPT-4 reached 76.89% prompt-level strict accuracy, compared with 43.07% for PaLM 2 S, though the authors caution that those models differ greatly in size.

Limitations and criticisms

  • Only surface constraints. IFEval checks format and wording, not quality, truthfulness or whether the task itself was done well. A model can satisfy every rule while giving a poor answer.
  • Saturation. Strong models now score very highly, especially on the loose metrics.
  • Contamination and tuning. The prompts are public and the instruction types are easy to train on specifically, so high scores may reflect targeted tuning. The 2025 IFBench paper from the Allen Institute for AI and the University of Washington found that most models strongly overfit to a small set of verifiable constraints, and introduced 58 new out-of-domain constraints to test generalisation.
  • Loose scoring trade-offs. The paper notes that loose scoring reduces false negatives but can introduce false positives.

Reading the scores

Always check which of the four numbers is quoted; prompt-level strict is the hardest and most informative. Differences of a point or two at the top are not meaningful. There is no official live leaderboard; scores come from model cards and open evaluation harnesses.

Sources