Abstract
In the mid-1980s, computational linguistics faced a significant challenge in scaling grammar formalisms. As systems like Lexical Functional Grammar (LFG) and Functional Unification Grammar (FUG) grew, the "feature structures" used to describe linguistic objects became increasingly complex. This paper by Robert T. Kasper and William C. Rounds provides the mathematical "missing link": a formal logical semantics that transforms these structures into rigorous formulas. The authors prove that the consistency problem for disjunctive structures is NP-complete and introduce a "calculus of equivalences" to optimize computation by delaying the expansion of disjunctions.
The Challenge of Complex Feature Structures
In computational linguistics, a feature structure is essentially a set of attribute-value pairs (e.g., number: singular, gender: feminine). To combine information from different parts of a sentence, researchers use an operation called unification.
However, as grammars became more sophisticated, two primary issues emerged: disjunction (representing multiple possibilities, such as a word being either a noun or a verb) and non-local paths (where a value in one part of a structure refers to a value elsewhere). Before this work, these complexities were handled with ad-hoc algorithms that often suffered from combinatorial explosion.
Formalizing Feature Structures as Logic
Kasper and Rounds bridge the gap between linguistics and formal logic by modeling feature structures as Directed Acyclic Graphs (DAGs), treated as transition graphs for Deterministic Finite Automata (DFA). They define a new logic, Feature Model Logic (FML), where:
- Conjunction ($\wedge$): Represents unification (merging information).
- Disjunction ($\vee$): Represents alternative possibilities.
- Path Equivalence: Represents shared structures or reentrancy.
The realization that unification is logically identical to conjunction was a pivotal insight. If two descriptions of a word exist, unifying them simply means both descriptions must be true simultaneously. This formalization allowed the logic to reason about shared identity across a structure through equivalence classes of paths.
Complexity and the Calculus of Equivalences
A major contribution of the paper is the formal proof that checking the consistency of feature structures with disjunction is NP-complete. This explained why early unification algorithms struggled with complex grammars.
To combat this, the authors proposed a "Calculus of Equivalences" consisting of 26 algebraic laws (similar to Boolean algebra) that allow for the simplification of formulas before solving them. By using laws like absorption and distributivity, systems can prune inconsistent branches of a search tree early. This "lazy" expansion approach avoids the immediate conversion to Disjunctive Normal Form (DNF), which is computationally expensive. The authors demonstrated that while DNF expansion is exponential, "path expansion" (handling non-local references) is only quadratically larger than the original formula.
Impact and Legacy
The paper successfully moved the field from experimental algorithms to mathematical analysis. While the NP-complete nature of the problem remains a fundamental constraint, the authors demonstrated that average-case performance can be significantly improved through logical simplification. Their work laid the groundwork for integrating feature structures with other logic-based formalisms and provided a robust framework for large-scale grammar development, such as the Nigel grammar of English.
Summary updated