TypoPilot Source

Research record · updated 17 July 2026

Every result.
Every trade-off.

This is the complete record behind TypoPilot’s public claims: model choices, training decisions, evaluation results, latency, failure modes, and the limits of cross-system comparisons.

Recommended model
Llama 3.2 1B + LoRA
GGUF Q4_K_M
Core spelling exact
83.23%
541 / 650 examples
Full-suite exact
69.89%
629 / 900 examples
Typical short input
344 ms
average CPU inference
Model history

What we trained, and what each experiment taught us.

Baseline

Identity, rules, SymSpell

Established the “do nothing” floor and exposed the cost of dictionary-only correction. SymSpell changed 44% of cases incorrectly in the early suite.

Byte-level pilot

ByT5-small

The first pilot halved CER from 10.1% to 5.0% and reached 43.8% exact match, proving the signal was learnable. Later versions improved spelling but still missed contextual grammar.

Contextual shift

Llama 3.2 1B + LoRA

A compact language model learned correction-only behaviour while using sentence context. The untuned base comparison demonstrated that the gain came from fine-tuning, not prompting alone.

Deployment pass

F16 → Q8 → Q4_K_M

Q4_K_M reduced model size by 67% versus F16 and produced the same eight clean outputs as Q8 in the manual test, at the lowest measured sentence latency.

Evaluation

Three views of quality, kept separate.

We do not collapse incompatible datasets into one headline score. The spelling subset measures the target behaviour, the full suite adds harder real-error material, and the public NSEC companion corpus stresses split and concatenated words.

Focused

Core spelling subset

650 examples

83.23%exact sentences
95.70% word-accuracy proxy 83.4% relative CER reduction 3.69% overcorrection 344 ms average latency
Mixed

Complete mixed suite

900 examples

69.89% exact overall 4.28% output CER 8.0% overcorrection 469 ms average latency
Inspect all 900 annotated outputs
Stress

Public split/concatenation stress test

700 of 9,060 examples

50.14%exact sentences

The model improved 527 inputs, but overcorrected 128. Extreme word segmentation, such as letters separated one by one, remains a clear weakness.

12.17% output WER 18.29% overcorrection 1.073 s average latency 2.048 s P95 latency

Scope: this is the author’s downloadable NSEC companion corpus, not the unavailable 12-category test file used for the published LREC rankings.

Native CPU performance

Quantisation changed the product equation.

VariantSizeSentence meanClean outputsDecision
Base Q4770 MB4,590 ms0 / 8Rejected
Fine-tuned F162,365 MB1,118 ms7 / 8Too large
Fine-tuned Q81,260 MB696 ms8 / 8Strong
Fine-tuned Q4_K_M770 MB444 ms8 / 8Selected

AMD Ryzen 9 4900HS, 8 cores / 16 threads, AVX2. Greedy decoding with cached instruction prefix. Medians of three complete runs.

Published comparison

Competitive evidence, without inventing a shared leaderboard.

On its own spelling suite, TypoPilot’s 95.70% word-accuracy proxy is numerically above systems reported by the LREC 2020 comparison. The datasets and scorers differ, so TypoPilot remains officially unranked until it runs on the paper’s exact test inputs.

1Transformer93.79% word accuracy
2LSTM93.00%
3BingSpell92.17%
4Grammarly91.62%
5Google91.14%
UnrankedTypoPilot95.70% proxy · different test

Source: Näther, LREC 2020. Apple publishes no absolute CER, WER, or false-correction benchmark for its current autocorrect, so it cannot be placed responsibly.

Limitations

What still breaks, and what we should train next.

Real-world C4 errors

Exact match falls to 10.67% and overcorrection rises to 31.33%. These examples differ sharply from the synthetic training distribution.

Extreme segmentation

The public split/concatenation sample reaches only 50.14% exact, showing that letter-by-letter splits and merged spans need dedicated training.

Grammar is intentionally conservative

The model was optimized primarily for spelling and minimal edits. It may preserve awkward grammar rather than rewrite professional or personal voice.

English first

The original vision includes Hinglish, but the current recommended model and reported results are English-focused. Hinglish should not be implied as complete.

No official Apple/Gboard comparison

Neither exposes a reproducible public API and absolute shared-dataset results are unavailable. Individual examples are useful demonstrations, not a universal ranking.

CPU performance varies

All reported native timings use one Ryzen 9 4900HS laptop. Sentence length, thread count, instruction set, and thermal state affect latency.

Methodology

How to read the numbers.

Exact match
The model output must equal the reference character for character, including capitalization and punctuation.
CER
Character edit distance divided by reference length. Lower is better.
WER
Word-token edit distance divided by reference token count. Lower is better.
Overcorrection
The output changed the input but ended farther from the reference than doing nothing.
Native timing
The model is loaded once, retained in memory, and receives a TSV batch through the C++ harness. Reported per-example latency excludes model load.
Cross-system ranking
Only systems evaluated on identical inputs with the same scorer should share an official position.
Reproducibility

Open the evidence.