GryphOne: Symbol-Aware Masked Diffusion for Structural Refinement in Offline Handwritten Mathematical Expression Recognition
About
Handwritten mathematical expression recognition (HMER) requires reasoning over diverse symbols and structures, yet autoregressive models struggle with exposure bias and syntax inconsistency. We present GryphOne, a discrete diffusion framework which reformulates HMER as iterative symbolic refinement instead of sequential generation. GryphOne progressively refines symbols and relations, removing autoregression and improving consistency. Symbol-aware tokenization and random-masking mutual learning further enhance robustness to handwriting diversity. On the MathWriting benchmark, GryphOne achieves 5.51% CER and 59.9% EM (ExpRate), outperforming all reimplemented models in the matched setting as well as the commercial HMER system. Held-out evaluation on CROHME 2014-2023 further shows strong cross-dataset generalization.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Handwritten Mathematical Expression Recognition | CROHME 2014 | -- | 47 | |
| Handwritten Mathematical Expression Recognition | CROHME 2016 | Expression Rate63.23 | 40 | |
| Handwritten Mathematical Expression Recognition | CROHME 2019 | ExpRate60.66 | 39 | |
| Handwritten Mathematical Expression Recognition | CROHME 2023 (test) | Expression Rate60.78 | 11 | |
| Mathematical Expression Recognition | MathWriting 1.0 (test) | CER5.55 | 9 | |
| Mathematical Expression Recognition | MathWriting 1.0 (val) | CER4.7 | 9 |