IntermediateAbout 17 min

    Instruction-Following Evaluation

    Read the full article on Substack

    7 min read.

    A model can read a tweet correctly and still answer HAPPY when you asked for NEGATIVE, POSITIVE or NEUTRAL. Step IFEval's 25 automatically verifiable instruction types, score one with INFOBench's yes/no criteria, and see why roleplaying needs negative knowledge.

    Think of it this way: A competent chef handed a recipe card. Whether the food is good is one question; whether they made the dish you asked for, in the portion size you specified, without the ingredient you said you were allergic to, is a completely different one. The second question is the one your program depends on.

    • Include keywords
      “Mention "photosynthesis".”
      Response: Plants use photosynthesis to…
    • Keyword frequency
      “Use the word "safety" at least three times.”
      Response: …mentions safety twice.
    • Forbidden words
      “Do not use the word "very".”
      Response: …extremely useful…
    • Letter frequency
      “Use the letter "e" fewer than ten times.”
      Response: …seventeen of them.

    A script checks every one of these. This sample model passes 16 of 25 (64%).

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Can a script check this?

    Sort

    Sort each instruction by whether compliance is verifiable in code.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Verifiable by code

    Drop items here

    Needs a judge

    Drop items here
    6 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    A model correctly identifies an angry tweet but answers "ANGRY" when asked for NEGATIVE, POSITIVE or NEUTRAL. This is a failure of:

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going