Checking how many agents are working

How this works
Kontakt
← Blog
Three identical steel dice in a row on a dark bench, each showing a different face, lit in cold teal with one warm amber highlight, the AMARBARO mark and wordmark centered over them.
✎Post blogowy

Why one run is not enough

The short version

A single run cannot rank two options when changing the random seed moves the score by more than the gap between them.

Part 2 in Measuring things honestly. Part 1 explained what a benchmark is.

What this is about

You run a test once and get a good number. Then you run it again and the number is different. Which one is true?

Often both are, in a way. Many programs use a little randomness. A different roll of the dice gives a slightly different answer. If you only look at one roll, you might think you have found something when you have only found luck.

This article is about how many tries are enough, and what happens when we stop at one.

Why it matters

We make short video clips with AI models. We wanted to know whether using fewer steps to make a clip, which is faster, makes it worse. We wrote that four steps cost about 0.03 on our alignment score. We also wrote that 12 frames per second dropped the score to 0.014.

Both claims came from one shot each. When we checked with a second seed, they fell apart. We retracted both. This article tells you how it happened so it does not happen to you.

How it works

What a seed is

A seed is a starting number for the randomness in a program. The same seed gives the same result every time. A different seed gives a different but similar result. Think of shuffling a deck of cards: the seed decides the shuffle.

What we scored

The score here is called alignment. It is one number for how closely the frames of a clip match a short written caption, judged by a model that reads both pictures and text. It is a rough guide. It is not a judgment of whether a clip looks right.

What we saw

We used three shots, each with its own prompt and seed. Every arm of the test, meaning every setting we compared, used the same prompts and seeds.

Setting Shot 1 Shot 2 Shot 3 Average
8 steps 0.121 0.105 0.031 0.086
6 steps 0.116 0.089 0.025 0.076
4 steps 0.093 0.119 0.064 0.092

Look at shot 1 only. Four steps scores 0.028 below eight steps. That is the "about 0.03" we first wrote.

Now look at the average. Four steps scores higher than eight steps. Same data, opposite story.

The swing

Changing the seed inside one shot moved the score by 0.04 or more. The gap between the three averages is at most 0.016. The noise is bigger than the thing we wanted to measure. With a ruler that wobbles more than the difference, you cannot say which line is longer.

The same thing happened with the frame rate claim. One shot read 0.014. The same setting scored 0.131 and 0.057 on the other shots. The low reading was one unlucky shot, not the setting.

The rules we took from it

  1. One run cannot rank two options if the seed alone moves the score more than the gap.
  2. Find out how much the seed moves the score before you compare anything. Run one setting with a few seeds and look at the spread.
  3. If the gap is smaller than the spread, say "we cannot rank these". That is a real result, not a failure.
  4. Retract loudly. We kept the retraction in the open, with the numbers.

What we kept were checks that did hold up. A measure of flicker, which tracks brightness changes between frames, was tested on known cases: a clip with exposure flicker scored 13.5, and a smooth clip scored 0.06. That metric can tell the two apart. A second metric scored 1.57 for smooth motion and 1.73 for noise, so we dropped it.

What we wrote instead

After the retraction, the note on these clips said what the test could and could not do. It could not rank the step counts. It could tell exposure flicker from smooth motion. We also wrote that we had not yet looked at the contact sheets, the pages of small frames from each clip, so the numbers said nothing about whether a clip looked right. A claim should end where its evidence ends.

What a good number of tries looks like

There is no magic number. The honest answer is: enough that the spread across tries is smaller than the difference you care about. For some tests that is three. For others it is twenty. In our language-model speed tests we use a set of 20 prompts. For the five-pair speed test in our fly simulation, we ran five pairs before saying anything.

If you cannot afford enough runs, say so, and soften the claim.

Glossary

  • Seed: a starting number that decides the random choices in a program.
  • Arm: one setting or version in a comparison.
  • Alignment score: a number for how well a video matches its caption, as judged by a model.
  • Spread: how far apart the results are across repeats.
  • Retract: take back a claim, and say that you did.

Try it

Pick any program you use that has randomness, like a photo filter or a game that deals cards. Run it five times. Write the five results down in a column. Look at the highest and lowest. That gap is your noise.

For the full story, read One-Shot Quality Claims Did Not Survive a Second Seed. To ask us a question or tell us what you measured, find us on gllm.forum, our community forum.

What to remember

One run is a story. Several runs, with the spread written down, are a result.

Komentarze

Brak komentarzy.

Zaloguj się aby skomentować.