One size
fits one

Adaptive EEG Processing · Krigolson Technologies

Reel 1 · Cold open

Adaptive EEG Processing

Every brain
is different.
Every pipeline
treats them the same.

Clinical EEG is cleaned by a fixed sequence of steps, applied identically to every recording whatever that recording needs. About half the data ends up discarded as artifact.

One cleaning step

On a typical
recording, it
works.

Forty per cent of this recording was unusable. One step of the sequence runs, and bad epochs fall from 40.6% to 1.1%. This is what the fixed pipeline is built to do.

Measured · April 2026

The same step

On another,
it finishes it.

The same step, the same settings, a recording too corrupted for it to work on. It did not clean it. 80.3% → 99.9%. On another, 52.8% → 97.5%.

Five of thirty recordings were made worse this way

Why it happens

A fixed pipeline
never looks at
what it did.

The same steps in the same order for every patient. The two recordings above take the identical path, and nothing anywhere in it can tell the rescue from the wreck. No step is ever asked whether it helped.

What we built

Run it.
Measure it.
Keep it only
if it helped.

Every step is scored against the signal that went into it, and committed only if the recording actually improved. If it did not, the step is discarded and the recording goes on without it. The decision is made per recording, not per protocol.

Thirty recordings

Thirty different
pipelines.

Each recording measured, each one treated differently. In 8 of 30 the pipeline ran the tests and declined to do anything at all — the most valuable thing it does.

Across all thirty

Bad epochs

Baseline10,046
Fixed sequence7,663
Adaptive6,699

3,347 epochs recovered · none left worse

What this does not yet prove

The honest ledger

“Zero made worse” is guaranteed by the rulenot measured
Best of a large search, scored on its own data33.3% is optimistic
C runtime per recordingestimated, not timed
Recordings analysed30
Three-way MATLAB / Python / C parityconfirmed

A pipeline that only ever keeps a lower count cannot report a higher one. Settling it takes a held-out test.

What it is for

Fast enough
to run on
everything.

Speed
Under five seconds a recording in C. An entire clinical archive clears in under a day on one workstation.
Parity
MATLAB, Python and C produce numerically identical output — reference and production are one instrument.
Next
Select on half the epochs, report on the other half. Then the figure is one you can defend.

Every percentage on this stage is measured, from thirty clinical recordings. The arrangement of epochs within a recording is illustrative.

0:00 / 1:56

What is measured

Thirty clinical EEG recordings, nineteen channels, April 2026. Every before-and-after percentage on screen is from that run. Recordings are lettered rather than identified.

What is not settled

That no recording is made worse follows from the selection rule rather than from the data, and the +33.3% is the best of a large search scored on the same epochs it selected from. Both need a held-out set before they are claims.

Where it stands

Implemented in MATLAB, Python and C with verified numerical parity, fast enough to process a very large dataset on one workstation. Held-out validation is the next piece of work.