Controlled geometry
After tuning on 768 synthetic traces, the project generated 5,184 held-out swipes across 12 simulated people, 48 held-out words per person and nine conditions. Each arm saw the same traces, known keyboard layout and fixed 10,000-word vocabulary. The motion generator and template matcher were written independently. Both necessarily share the alphabet and layout. Three held-out keyboard geometries tested how templates adapt when the layout is supplied.
Half the simulated users came from a movement-generator family absent during tuning. Generator assignment varied by simulated user. These tests measure responses to defined disturbances. Their frequencies do not estimate the frequency of any disturbance in everyday typing.
First-choice recognition
Each condition contains 576 traces. Translation shifts the whole gesture. Unequal scaling stretches the axes by different amounts. Hook loss removes a short turn.
| Condition | Absolute DTW | Normalized DTW | Combined |
|---|---|---|---|
| Nominal | 93.75% | 89.76% | 94.10% |
| Translation | 28.82% | 88.37% | 71.53% |
| Uniform scale | 63.19% | 89.93% | 86.28% |
| Unequal scaling | 35.24% | 61.63% | 60.24% |
| Row bias | 92.19% | 81.08% | 90.10% |
| Noise | 92.53% | 78.82% | 89.93% |
| Combined drift | 25.00% | 88.89% | 69.79% |
| Endpoint loss | 33.68% | 25.17% | 32.81% |
| Hook loss | 88.89% | 78.30% | 85.59% |
How much evidence favors a change?
The nominal combined score gained 0.35 percentage points over the absolute method. The paired interval resampling simulated people and words ran from −1.04 to +2.08. Normalization was helpful under whole-gesture drift but also discarded location that identified short words. An absolute model that estimates common drift would make a useful additional control.
The 99th-percentile endpoint deviation on word-matched human swipes reached 1.484 key pitches, compared with 0.438 and 0.459 for the two generators. Similar median motion can conceal an especially easy synthetic tail.
Resolution and cost
On a single cloud CPU thread the full human replay scored and sorted candidates in 28.08 ms at the median and 34.07 ms at the 95th percentile. A separate 144-trial screen gave 74.31% top-one for three alignment bands at 32 points. At 64 points the measured score reached 77.08% while median feature time rose to 72.2 ms. These exploratory numbers describe one machine and one small screen. They do not measure end-to-end keyboard-extension latency.
Sources
- Swaptype synthetic perturbation and resolution experiments
- Kristensson and Zhai, SHARK²
- Cuturi and Blondel, Soft-DTW, a differentiable alignment method