Definition
Plain language
Rewriting different-looking inputs into one standard form so that harmless variations stop mattering.
As stated in the literature
Normalizing surface variation (spacing, casing, punctuation, phrasing) into a canonical representation before a model or filter sees it, so that semantically equivalent inputs map to identical strings.
Also called: canonicalize, canonicalizing
Why it matters: It stops attackers from slipping past filters with cosmetic tricks like odd spacing or capitalization, and stops harmless formatting differences from changing a system's answer.
For example, "H E L L O", "hello!!!", and "HeLLo" all get rewritten as "hello" before anything else looks at them.
Heard on the show
“Is the fix engineering — canonicalize inputs, train models to ignore irrelevant surface detail, average over semantically equivalent variants until the votes cancel?”Episode 243 — How a Hundred Meaningless Word Choices Add Up to Flip a Model's Answer