Your Vision Model Is Biased

Lessons from shipping real-time video detection

0:00 1:00 2:00 3:00 4:00 5:00

No teacher in the room, and no one watching the test

What we build

  • Trilogy's new products division: the software behind Alpha School
  • A private US school: digital-first, AI-first, physical and online campuses
  • No teachers: adaptive learning apps, and guides in the room
  • Progress checked with periodic standardized tests

The problem

  • Students alone with devices cheat, idle, and work on the wrong thing
  • Official third-party tests kept bringing surprises
  • The answer: proctoring software

We detect

  • Cheating
  • Wasted time
  • Self-harm behaviors, raised to a safety officer

One billion students. Zero humans.

  • The founder's goal: improve education for 1 billion students in 20 years.
  • Humans bootstrap the detectors. Every human left in the loop is one we are working to remove.
  • Today, no human reviews a production detection before the student sees it.
1
engineer built it
2 mo
to real student traffic
140k
hours of video a month
3,400
students, last 30 days
335B
tokens a month

Eighteen months of mistakes. Every one was a bias we put there ourselves.

Three ways students cheat

Unauthorized device use

Markus holding a phone in front of the webcam
A handheld device, visibly in use. Judged from the webcam alone.

Help from another person

“The answer is B.”
Another person supplies the answer to the active question.

Unauthorized app use

The test question pasted into ChatGPT with the reply coming back
An external tool used to obtain the answer to the question on screen.

Every flagged behavior has an allowed twin

Flagged
Allowed
Device use
Phone in hand
Phone lying on the desk, untouched
Help from another person
“The answer is B.”
“Your screen froze, let me fix it.”
App use
Pastes the question into ChatGPT, submits the answer it gives
A calculator, on a math test that allows one

To the camera, each pair looks nearly identical.

Precision below 0.90 disqualifies a detector

0.90
precision: of what we flag, the share that is real. 0.95 is the goal. The hard gate.
0.90
recall: of what happened, the share we catch. Second priority.
≤2 min
latency, event to warning. Constant, never accumulating.
present caught false alarm missed WHAT HAPPENED phone ChatGPT help phone WHAT WE FLAGGED 0:00 1:00 2:00 3:00 4:00 5:00

No single flag ever punishes a student on its own.

We build gold ten seconds at a time

  • Every week brought a new model and a new idea. Every demo looked good.
  • Picking needs a harness: run every idea against the same sessions, scored the same way.
  • Pre-trained or not: a quality claim needs a figure behind it.
present clean undecided FIVE REAL MINUTES OF GOLD: WORK ALONE, ONE SESSION 4:00 5:00 6:00 7:00 8:00 9:00 every block carries polarity, difficulty and a written reason. One of the orange blocks: “The student observes something off-camera and speaks, maybe to herself. Surely about the test question though.”

We annotate in 10-second blocks to keep it simple. In around 13% of them, humans could not decide on the first pass.

Six annotators, one session, three verdicts on the same ten seconds

present clean undecided SERBAN · NINE SEPARATE EVENTS KSHAMA · ONE STRETCH, START TO END DULE · BLOCK BY BLOCK, MIXED VERDICTS 0:00 1:00 2:00 3:00 4:00 5:00 help from another person · one test, condensed · three trained annotators

The same ten seconds. Opposite verdicts, all with confident reasons:

Serban flagged
“Done fully by the peer. No input from the student.”
Kshama flagged
“An older sibling sits next to the student for the entire test.”
Dule clean
“Three children are present, but nothing contributes to an answer.”

Disagreement was the point: every divergence told us which rule to write.

Attempt 1: a model that only speaks when spoken to

STUDENT DEVICE webcam + mic GEMINI LIVE a stateful websocket call answers only when spoken to 1 JPEG per second PCM audio, continuous every 30 seconds, our app asks; every time, it answers [SYSTEM] What do you see? “The student is reading the question.” “The student looked away. Flagging it.” a question every 30 seconds is a demand for an answer every 30 seconds
n/a
precision: never measured.
n/a
recall: never measured.
30 s
latency: the nudge cadence, by construction.

Ask a model every 30 seconds whether anything happened, and it will tell you something did.

Attempt 2: stills gave 0.20 recall and a spiralling backlog

STUDENT DEVICE screen + webcam, one composite JPEG 1 frame per second BATCH 5 new frames + 2 for context identical frames skipped strictly in order: the next batch waits for this one CLAUDE 3.5 SONNET reads the batch, decides the rules VERDICTS minutes behind, falling further unprocessed footage: 1 minute of footage took 5 minutes to process the backlog only grows
0.70
precision: far below the 0.90 gate.
0.20
recall: stills are blind to motion and deaf to audio.
5x
latency: a backlog that compounds all session.

Blind to motion, deaf to audio, and $1,000 per student per month.

Attempt 3: audio doubled recall and hid the precision gap

STUDENT DEVICE webcam + screen + mic, streamed live LIVEKIT 10-second chunks motion and speech, out of the box each chunk sent exactly as LiveKit handed it over GEMINI 2.5 FLASH one call per chunk one huge prompt: every rule, vision + reasoning in one still sequential VERDICTS with a start time per insight, as the model recalls it unprocessed footage: 1 minute of footage took 2 minutes to process still behind, just slower
0.80
precision, on our annotated sessions. So we thought.
0.40
recall: audio and motion doubled it.
2x
latency: still compounding.

We shipped it everywhere, and our own number was wrong by a factor of eight.

“They are drinking from the phone”

PROCTORING INSIGHT type: UnauthorizedDeviceUse confidence: HIGH duration: 8 sec “Student is holding a phone in their hand and appears to be drinking from it while the assessment is active.”
90%
of flags reaching human review were false.
8
sessions in five weeks, same behavior, same flag.
HIGH
confidence, on every one of them.

No human would ever say a student is drinking from their phone.

Prompting harder made it worse

FALSE ALARMS ON THE HARDEST SESSIONS, BY QUESTION SHAPE “Is this person holding a phone?” 41% false the production prompt: 400 lines of rules and exclusions 33% “What object, if any, is in each hand?” 27% describe first, classify the text after 27% two inputs: the picture-in-picture recording, where the webcam is ~10% of the pixels, or the webcam stream alone · same model, same prompt: 67% → 40% PRECISION, PROMPT VERSION BY PROMPT VERSION on our annotated videos in production the gap kept growing v1 one rule added per false positive v8

Every prompt line fitted the prompt harder to the videos we had handpicked.

Making the pipeline dumber is what raised precision

CUT THE SESSION INTO WINDOWS. ASK EACH ONE QUESTION AT A TIME. 60 s the 10-second gold blocks align: six per window, scoreable directly device in use? NO someone helping? YES only the test on screen? YES one rule per question, yes or no · no memory, no order: every window independent, in parallel

The vision pipeline, kept dumb

one window, one rule, yes or no
stateless, parallel, replayable
one question per call

Deterministic code

When did the test start and end?
Is a calculator allowed right now?
no model at all

One smart model, at the end

reads all the text, builds the story of the test
reads text only, never sees a frame
after the test, not during

Separating the eyes from the judge cleared the gate

The model that decides never sees a pixel.

The window graph holds 0.95 precision at a constant two minutes

STUDENT DEVICE webcam + screen + mic 10-second chunks WINDOWS 60 seconds, per stream stateless, parallel NARRATORS one per stream neutral: describe, never judge pixels end here CLASSIFIERS one per rule, text only device? no helping? no on the test? no yes or no, with a reason CONSOLIDATOR the only memory in the system puts windows back in order carries history across them decides when a warning is earned not a model: code you can read, state you can inspect warning to the student, then strikes where a deterministic signal exists (test state, full-screen, focus), vision is not consulted at all
0.95
precision on live traffic, against gold and human review.
0.90
recall, measured the same way.
2 min
from the event to the warning. Constant.

Stateless everywhere, except one place built to remember.

62 models auditioned for one job

THE FUNNEL, RE-RUN EVERY MONDAY 62 models watched across every vendor catalog can watch a full minute of video most cap at 5 images allowed to see student video US-hosted, DPA baked against prod same run, same sessions, 3 reps above the floor precision 0.90, at a carryable cost 1 job HOW AUDITIONS END glm-5.3-flash extremely high error rate pegasus-1.5 quotas don't even support our tests nova-2-lite never returns the schema it was asked for nova-pro fires on half the hard tail gemma-4 6.5 minutes to watch 1 minute claude-sonnet-5 57x the cost gemini-3.8-flash ties on quality, 2.4x the cost THE CHAMPION · gemini-3.1-flash-lite nobody beats it on precision, recall, cost and latency together THE CHALLENGER, CONFIRMED THIS WEEK · Ling + TypeSafe Jev holds every precision floor at half the cost; the promotion call is pending

Every new model gets a blind check first: what do you see? what do you hear?

Cheaper and better are the same direction

cost per student, per month $1,000 $100 $10 0.6 0.8 1.0 precision the 0.90 precision gate ? Gemini Live · $280 to $1,700 we never measured it: not cost, not precision Frames + Sonnet · ~$1,000 $3.4M a month · precision 0.70 Video chunks · ~$120 $410k a month · 0.80 on our set, 0.10 in production Window graph · $26 $88k a month · precision 0.95 Ling + Jev · ~$12 $41k a month · every floor held promotion pending

The cheapest system we ever ran is the most accurate one. That is not a coincidence.

Six rules we would follow if we started again

  1. Build gold before you build anything: annotate to align, and let the disagreements write the rules. Bias 1
  2. Set the bar before the architecture: precision is a gate, recall a target, latency a constant.
  3. Keep it simple: no silver bullets, however strong the launch benchmarks looked. Bias 2
  4. The question shapes the answer: keep rule words away from the eyes, and your own bias out of the dataset. Bias 5
  5. Make the pipeline dumber: deterministic where code can decide, one binary question where it cannot. Bias 4
  6. Measure the input before you judge the model: check what it actually receives, and what it perceives. Bias 3 Bias 6

Every mistake was a bias we put there ourselves. That is the good news: so were all the fixes.

Thank you

Questions?