[Paper Review] The Generation-Recognition Asymmetry: Six Dimensions of a Fundamental Divide in Formal Language Theory
The paper treats generation, recognition, and inference as six-dimensional asymmetries between how grammars generate strings and how they parse them, analyzing complexity, ambiguity, directionality, information, grammar inference, and temporality.
Every formal grammar defines a language and can in principle be used in three ways: to generate strings (production), to recognize them (parsing), or -- given only examples -- to infer the grammar itself (grammar induction). Generation and recognition are extensionally equivalent -- they characterize the same set -- but operationally asymmetric in multiple independent ways. Inference is a qualitatively harder problem: it does not have access to a known grammar. Despite the centrality of this triad to compiler design, natural language processing, and formal language theory, no survey has treated it as a unified, multidimensional phenomenon. We identify six dimensions along which generation and recognition diverge: computational complexity, ambiguity, directionality, information availability, grammar inference, and temporality. We show that the common characterization "generation is easy, parsing is hard" is misleading: unconstrained generation is trivial, but generation under constraints can be NP-hard. The real asymmetry is that parsing is always constrained (the input is given) while generation need not be. Two of these dimensions -- directionality and temporality -- have not previously been identified as dimensions of the generation-recognition asymmetry. We connect the temporal dimension to the surprisal framework of Hale (2001) and Levy (2008), arguing that surprisal formalizes the temporal asymmetry between a generator (surprisal = 0) and a parser that predicts under uncertainty (surprisal > 0). We review bidirectional systems in NLP and observe that bidirectionality has been available for fifty years yet has not transferred to most domain-specific applications. We conclude with a discussion of large language models, which architecturally unify generation and recognition while operationally preserving the asymmetry.
Motivation & Objective
- Identify six independent dimensions along which generation and recognition diverge.
- Incorporate inference as a third axis to deepen the asymmetry.
- Challenge the simplistic view that generation is easy and parsing is hard by stressing structural constraints.
- Link surprisal theory to the temporal dimension of the asymmetry.
- Survey bidirectional systems and explain their limited transfer to domain-specific grammars.
- Address counter-arguments and discuss implications for large language models.
Proposed method
- Define generation, recognition, and inference within formal grammars and articulate their extensional equivalence but operational asymmetry.
- Develop six dimensions (D1–D6) of asymmetry with formal arguments and running examples.
- Synthesize frameworks from Shannon information theory, the Chomsky hierarchy, and Morris’s semiotics to ground the analysis.
- Survey analytical, generative, and bidirectional systems across domains to illustrate directionality and asymmetry.
- Present complexity heatmaps to contrast generation and recognition across grammar classes and task types.
- Discuss bidirectionality in NLP systems and evaluate why domain-specific applications show limited adoption of bidirectional grammars.
Experimental results
Research questions
- RQ1What six dimensions characterize the operational divergence between generation and recognition in formal grammars?
- RQ2How does inference (grammar induction) extend and deepen the generation-recognition asymmetry?
- RQ3How do information theory, syntactic complexity, and semiotics illuminate the asymmetry across different domains?
- RQ4Under what conditions can bidirectional grammars mitigate asymmetry, and why is adoption uneven across domains?
- RQ5What implications do the six dimensions have for large language models and their generation-recognition interplay?
Key findings
- Generation is not universally easy; constrained generation can be as hard as parsing depending on task and grammar expressiveness.
- Recognition complexity grows with the expressiveness of the grammar, leading to various complexity classes from linear to undecidable, depending on task and grammar type.
- Directionality, temporality, and two newly identified dimensions (D3 and D6) shape the asymmetry and connect to parsing strategies and surprisal theory.
- Bidirectional grammar systems exist (e.g., GF, DCG, KAMP) but are domain-limited due to declarativity requirements and computational costs.
- Inference (grammar induction) represents the most difficult axis and is rarely combined with generation or recognition in single systems, highlighting a fundamental third dimension.
- Large language models appear to unify generation and recognition architecturally but preserve operational asymmetries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.