william garrow

Case study · Research

What a synthetic stand-in hid

Decomposing an inflated eye-tracking benchmark of cognitive load

In 2025 I built a cognitive-load classifier on a synthetic stand-in for an eye-tracking corpus I could not open. This year I wrote the decoder, opened the corpus, and ran the same pipeline on both. The stand-in scored a third higher. This page is the story and the numbers; the companion carries the replay, the model running in the browser, and the record.

The corpus, alive

Real recorded data

One participant from the COLET corpus: thirty seconds of the task they rated easiest beside thirty seconds of the one they rated hardest, replayed in sync. Nothing here is simulated. The line under each pane is the recorded sample driving the dot.

Rated easiest

TLX 14.2 · calm

Rated hardest

TLX 83.3 · overload

Synchronized replay, 2x speed. The dot is the gaze and its size is the pupil; the line under each pane is the recorded sample driving it.

python 3.12
>>> scipy.io.loadmat("data_v3.mat")
NotImplementedError: Please use HDF reader for
matlab v7.3 files, e.g. h5py
>>> from mat73_reader import load
>>> load("data_v3.mat")["Data"]["task"][0]["gaze"][0].shape
(8205, 21)  # participant 1, task 1, unlocked

The wall, then the key

The corpus was locked, so I wrote the decoder

COLET ships as MATLAB v7.3 table objects, an undocumented format no Python tool could read. My 2025 proof of concept trained on a synthetic stand-in and said so plainly; every number it produced carried that asterisk.

mat73-reader opened the real recordings: 47 participants, four conditions of one visual-search task, 188 labeled instances. It shipped on PyPI. The maintainer of the mat7.3 library built that library’s affine2d support on my write-up of the format, then asked for the table layer as a pull request. The corpus stopped being an asterisk.

The result

On the same pipeline, the synthetic stand-in scored a third higher than the real corpus.

I ran the 2025 pipeline, unchanged, on the stand-in and on the real corpus, with ungrouped and with participant-grouped five-fold cross-validation. Every cell is macro F1, mean (SD) across five folds. The proof of concept replicated exactly on its own split first: positive-class F1 0.897, macro 0.916.

Macro F1 of the 2025 pipeline on the stand-in and on the real corpus, ungrouped and participant-grouped
DataUngroupedParticipant-grouped
Synthetic stand-in0.834(0.020)0.829(0.046)
Real corpus, tertile label0.626(0.121)0.623(0.089)

Where the 0.897 came from: repeating the one split across five folds cost 0.082, grouping the folds by participant cost 0.005, and swapping in the real corpus cost 0.206. The dominant term is structure the generator fabricated, and split leakage contributed almost nothing. The two metrics differ by 0.02 to 0.15 across these cells, so the headline comparison had quietly crossed metrics as well.

What I found

  1. 1

    Most of the inflation was structure the generator fabricated, some was the luck of one split, and almost none was leakage.

  2. 2

    The checks that caught it are standard and need no new data: grouped validation, a label sweep, and a negative control, all run on the real data.

  3. 3

    With one corpus and one generator, n = 188, I have shown that this can happen and have not measured how often it does.

The audit turned inward

The audit of the stand-in needed the same audit on my own decoder.

In August I cross-checked mat73-reader against a second decoder, the one I was contributing to the mat7.3 library, on all 799 tables in the corpus. I ran it because numbers that depended on the reader were already out. The two disagreed on forty. Every one was an empty table. Version 0.1.0 read a zero-row table as two rows of [0, 1], so for 40 of the 188 instances the blink features were fabricated: two blinks per span, half a second each, where the truth was none.

I fixed the reader, rebuilt the features, and reran the feature, label, and protocol experiments under the frozen protocol. Every cell without blink features reproduced exactly. The headline moved from 0.762 to 0.783, blink rate became the largest coefficient, and two coefficients flipped sign. The contaminated results stay in the repo beside the corrected ones, with a correction block that says what changed and why. The abstract that had already gone out carries 0.762; the poster and everything after it carry 0.783.

The 40 instances, lit on the companion →

The honest protocol

What held on the real data

The 2×2 kept the 2025 pipeline as it was. Here I z-scored each feature within the participant, added two blink features, ran five participant-grouped folds over five seeds, and reported macro F1 with its SD. A twelve-coefficient logistic regression matched or beat three tree ensembles. Mental demand scores highest, with effort within one SD of it; physical demand sits at chance, as a model of cognitive load should. The score moves with where TLX is cut into high and low, so I fixed the top tertile before running the sweep.

Four models, one protocol
MeasureMacro F1, mean (SD)
Logistic regression0.783 (0.046)
Random forest0.775 (0.055)
Extra trees0.747 (0.050)
Gradient boosting0.731 (0.046)
Six subscales, one negative control
MeasureMacro F1, mean (SD)
Mental demand0.786 (0.060)
Effort0.749 (0.051)
Frustration0.705 (0.045)
Performance0.647 (0.062)
Temporal demand0.634 (0.086)
Physical demand, the control0.501 (0.054)
The label sweep
MeasureMacro F1, mean (SD)
Top tertile, primary0.783 (0.046)
Median split0.811 (0.031)
TLX at or above 500.678 (0.036)

The stand-in, measured

What the generator left out

The 2025 generator drew every feature and subscale from one hand-set difficulty term, with no participant term and no corpus statistic behind it. Pupil size is a person-specific signal: it carries a participant correlation of 0.848 in the corpus and about zero in the stand-in. A stand-in fitted to the real means, SDs and correlations scored 0.555 (0.048, 25 draws), below the corpus’s 0.623 on the same pipeline, so the moments carry none of the inflation.

188 eyes, corpus against stand-in, on the companion →
Real corpus against the archived stand-in
MeasureReal corpusStand-in
Participant ICC, mean pupil diameter0.8480.008
|r| with the label, ten features0.085 to 0.3610.455 to 0.675
SD of the label, mean TLX19.479.45

The theory underneath

Three kinds of load, two of them measurable here

Cognitive Load Theory, from John Sweller’s work on why people learn poorly when problem-solving demands exceed working memory, splits mental burden three ways.

Intrinsic load

The difficulty of the task itself. Within-person pupil change tracks it, and mental demand is the subscale where the model scores highest.

Extraneous load

The burden added by poor presentation. Theory says scanning carries it; on real recordings the saccade signature is a fraction of what the stand-in claimed.

Germane load

The productive effort of building understanding. Not measured here. Protecting room for it is the point of measuring the other two.

By the numbers

01234567890123456789.012345678901234567890123456789012345678901234567890123456789

macro F1, real corpus

the 2025 pipeline on the real recordings, participants held out; 0.829 on its stand-in

01234567890123456789.012345678901234567890123456789012345678901234567890123456789

honest protocol

logistic regression, five seeds by five participant-grouped folds, twelve coefficients

01234567890123456789.012345678901234567890123456789012345678901234567890123456789

physical demand

chance on the subscale a load model should fail: the negative control

012345678901234567890123456789012345678901234567890123456789

labeled instances

47 participants by 4 conditions, decoded from the real COLET corpus

Every number on this page traces to a frozen results file; the companion’s record page is the ledger, with the protocol, the correction note and its files, and the references with DOIs. The record →

One program

This is one of four artifacts in one research program; the decoder that opened this corpus is another. How each one forced the next is on the work page.

The stand-in told a tidy story. The real data tells a subtler one, and the gap between them is what the poster is about.

The paper is next. The companion carries the record until then.