Skip to main content
QUICK REVIEW

[Paper Review] A Note on the Complexity of Restricted Attribute-Value Grammars

Leen Torenvliet, Marten Trautwein|ArXiv.org|Mar 21, 1995
Natural Language Processing TechniquesComputer Science6 citations
TL;DR

This paper introduces Restricted Attribute-Value Grammars (R-AVGs), a decidable formalism for which recognition is NP-complete. It demonstrates that R-AVGs capture all context-free languages and beyond, and introduces the 'honest parsability constraint' to precisely align R-AVG variants with standard time complexity classes.

ABSTRACT

The recognition problem for attribute-value grammars (AVGs) was shown to be undecidable by Johnson in 1988. Therefore, the general form of AVGs is of no practical use. In this paper we study a very restricted form of AVG, for which the recognition problem is decidable (though still NP-complete), the R-AVG. We show that the R-AVG formalism captures all of the context free languages and more, and introduce a variation on the so-called `off-line parsability constraint', the `honest parsability constraint', which lets different types of R-AVG coincide precisely with well-known time complexity classes.

Motivation & Objective

  • To address the undecidability of general attribute-value grammars (AVGs) by restricting their formalism.
  • To identify a restricted class of AVGs—R-AVGs—where the recognition problem becomes decidable.
  • To show that R-AVGs capture all context-free languages and extend beyond them.
  • To define a new parsability constraint, 'honest parsability,' that aligns R-AVG variants with known time complexity classes.
  • To establish a formal connection between R-AVGs and computational complexity theory.

Proposed method

  • Proposes a restricted form of attribute-value grammars (R-AVGs) with syntactic and semantic constraints to ensure decidability.
  • Introduces the 'honest parsability constraint' as a refinement of the standard 'off-line parsability constraint' to control parsing complexity.
  • Uses formal language theory to prove that R-AVGs can express all context-free languages.
  • Demonstrates that the recognition problem for R-AVGs is NP-complete via reduction techniques.
  • Establishes a correspondence between R-AVG variants and standard complexity classes (e.g., P, NP) through the honest parsability constraint.
  • Employs formal proof techniques to show closure properties and expressiveness of R-AVGs.

Experimental results

Research questions

  • RQ1Can a restricted form of attribute-value grammar be defined such that recognition becomes decidable?
  • RQ2To what extent do R-AVGs extend the expressive power of context-free grammars?
  • RQ3How does the 'honest parsability constraint' relate to known complexity classes in computational theory?
  • RQ4Can different variants of R-AVGs be characterized precisely by standard time complexity classes?
  • RQ5What is the computational complexity of the recognition problem for R-AVGs?

Key findings

  • The recognition problem for R-AVGs is decidable and falls within the NP complexity class.
  • R-AVGs are strictly more expressive than context-free grammars, as they can capture certain non-context-free languages.
  • The 'honest parsability constraint' enables precise alignment of R-AVG variants with well-known complexity classes such as P and NP.
  • All context-free languages are expressible within the R-AVG formalism.
  • The formalism provides a bridge between attribute-value grammar theory and classical complexity classes.
  • The paper establishes that the NP-completeness of R-AVG recognition is tight, as the problem is both in NP and NP-hard.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.