Constraint Projection: An Efficient Treatment of Disjunctive Feature Descriptions

Mikio NakanoACL 1991

Abstract

This paper introduces Constraint Projection (CP), a method designed to optimize natural language parsing when handling complex, disjunctive (OR-based) feature descriptions. By strategically discarding information irrelevant to the current parsing goal, CP prevents the "argument explosion" common in previous methods like Constraint Unification (CU). Empirical results demonstrate that CP significantly improves performance and memory efficiency, particularly for complex sentences.

Introduction

In computational linguistics, unification is the fundamental process of merging grammatical feature structures. However, natural language is inherently ambiguous, leading to disjunction—where a word may possess multiple possible roles or features.

The traditional approach to disjunction involves expanding all possibilities into Disjunctive Normal Form (DNF), which often results in an exponential explosion of cases and severe performance degradation. While Constraint Unification (CU) attempted to mitigate this by treating features as logical constraints, it suffered from "computation time explosion." As the parser ascended the tree, it retained all lower-level information, causing the number of variables to grow unmanageably.

Methodology

The proposed Constraint Projection (CP) serves as a generalization of CU, introducing a "projection" mechanism to manage information density.

Logical Representation and Projection

CP represents feature structures using Horn clauses, treating unification as a constraint satisfaction problem. The core innovation is the ability to accept a "goal"—a specific set of variables relevant to the current parsing step (e.g., the features of a "mother" node).

The projection mechanism splits constraints into goal-relevant and goal-irrelevant groups.

The algorithm operates in three main steps:

  1. Partitioning: Constraints are divided into "goal-relevant" and "goal-irrelevant" groups.
  2. Satisfiability Checking: For irrelevant constraints, the system merely verifies their satisfiability (ensuring no contradictions) before discarding them.
  3. Normalization: Relevant constraints are transformed into a "Normal" form, a streamlined structure containing only the variables present in the goal.

By utilizing term unification rather than graph-based methods, CP further reduces memory overhead and speeds up the unification process.

Key Results

The effectiveness of CP was evaluated against standard Prolog-based parsing and CU using an HPSG-based grammar. The tests involved four English sentences of increasing complexity.

Performance comparison (CPU time in seconds) between standard Prolog, Constraint Unification (CU), and Constraint Projection (CP).

As shown in the performance data, CP consistently outperformed both CU and Prolog. Notably, for the most complex sentence ("I saw a man with a telescope on the hill"), the standard Prolog parser failed due to memory exhaustion, and CU required over 245 seconds. In contrast, CP completed the task in just 17.32 seconds. These results highlight CP's superior scalability and memory efficiency, as it successfully prevents the exponential slowdown seen in CU by discarding irrelevant Horn clauses.

Discussion and Key Insights

The primary advantage of CP is the "tightening" effect: by projecting constraints onto a specific set of variables, subsequent parsing steps manage fewer variables. This exploits a key linguistic property: once a "mother" node is determined, the internal details of its "daughter" nodes are typically no longer required for higher-level parsing.

Limitations and Future Work

Despite its success, the current implementation of CP has limitations. It does not yet support "folding" for recursively defined predicates, a feature present in CU. Additionally, the current model assumes static goals in a bottom-up parsing context; extending CP to dynamic goal specification or more general logical inference systems remains an area for future research.

Conclusion

Constraint Projection offers a robust solution to the problem of disjunctive feature descriptions in natural language processing. By focusing on goal-relevant information and efficiently checking the satisfiability of discarded constraints, CP achieves significant gains in both speed and memory management over previous state-of-the-art techniques.

Summary updated

BibTeX
@inproceedings{nakano1991constraint,
  author = {Mikio Nakano},
  title = {{Constraint Projection: An Efficient Treatment of Disjunctive Feature Descriptions}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1991},
  doi = {10.3115/981344.981384},
}
Figure