English

A New Graph Grammar Formalism for Robust Syntactic Pattern Recognition

Formal Languages and Automata Theory 2025-04-25 v2 Computer Vision and Pattern Recognition

Abstract

I introduce a formalism for representing the syntax of recursively structured graph-like patterns. It does not use production rules, like a conventional graph grammar, but represents the syntactic structure in a more direct and declarative way. The grammar and the pattern are both represented as networks, and parsing is seen as the construction of a homomorphism from the pattern to the grammar. The grammars can represent iterative, hierarchical and nested recursive structure in more than one dimension. This supports a highly parallel style of parsing, in which all aspects of pattern recognition (feature detection, segmentation, parsing, filling in missing symbols, top-down and bottom-up inference) are integrated into a single process, to exploit the synergy between them. The emphasis of this paper is on underlying theoretical issues, but I also give some example runs to illustrate the error-tolerant parsing of complex recursively structured patterns of 50-1000 symbols, involving variability in geometric relationships, blurry and indistinct symbols, overlapping symbols, cluttered images, and erased patches.

Keywords

Cite

@article{arxiv.2504.15975,
  title  = {A New Graph Grammar Formalism for Robust Syntactic Pattern Recognition},
  author = {Peter Fletcher},
  journal= {arXiv preprint arXiv:2504.15975},
  year   = {2025}
}

Comments

64 pages, 23 figures. Version 2: mathematical supplement added, 98 pages, 1 figure

R2 v1 2026-06-28T23:07:20.993Z