Integration of Syntactic, Semantic and Contextual Information in Processing Grammatically Ill-Formed Inputs

TL;DR

This paper introduces a novel, integrated framework for processing grammatically ill-formed natural language inputs by combining syntactic, semantic, and contextual information. It tackles parsing failures by using partial parses, assigning "cost" and "reward" to guide error recovery, and employs specialized modules for different types of ill-formedness.

What Problem Does This Paper Address?

Natural language interfaces are a long-standing goal in AI, but real-world human-computer interaction often involves grammatically imperfect language. Users frequently omit words, alter word order, or make agreement errors, especially in spoken dialogues. Existing NLP systems often reject such inputs, limiting their practical applicability. This paper aims to build robust NLP systems that can not only parse grammatically correct sentences but also gracefully handle and interpret ill-formed inputs.

Methods

The proposed system employs a two-stage model: a normal parsing process followed by a recovery process.

  • Chart Parsing: The core parsing engine uses bottom-up Chart parsing, which is advantageous because it generates partial parses that can be leveraged during error recovery.
  • Cost-Based Unification: A key innovation is the extension of unification to be "cost-based." This allows unification to succeed even when feature structures are inconsistent. "Cost" quantifies the degree of inconsistency, while "reward" signifies the goodness of a partial parse for error recovery. This cost/reward trade-off is central to the system's decision-making.
  • Three Modules for Ill-Formedness:
    • Module A: Handles local ill-formedness, such as constraint violations, by selecting partial parses with minimal cost and maximal reward.
  • Module B: Addresses non-local ill-formedness, like word order violations, using "lexical expectation." This mechanism leverages syntactic and semantic information (like SUBCAT lists and MOD values in HPSG) to find appropriate phrases.
  • Module C: Deals with non-local ill-formedness, specifically incomplete sentential fragments and contextual ellipses. It uses contextual information to find appropriate interpretations, rather than trying to form a complete sentence.
  • Integrated Framework: Modules A and B work in an interleaving manner, guided by the cost/reward trade-off, to find a phrase covering the whole input. Module C then takes the result for contextual interpretation.

Datasets

The authors analyzed 1000 Japanese sentences from keyboard and telephone dialogues in the ATR Dialogue Database corpus ([Ehara et al, 1990]) to classify types of ill-formedness.

Key Insights and Ideas

  • Cost and Reward as a Unifying Principle: The paper elegantly unifies different error recovery strategies under the common notions of "cost" (inconsistency) and "reward" (goodness for recovery), providing a flexible framework.
  • Leveraging Partial Parses: The use of Chart parsing's inherent partial parses is crucial for enabling a systematic recovery process, rather than just rejecting failures.
  • Specialized Modules for Different Ill-Formedness: Recognizing that different types of ill-formedness require different handling (local vs. non-local, syntactic vs. contextual) leads to a more robust and targeted approach.
  • Lexical Expectation for Word Order: Module B's use of lexical expectation (SUBCAT, MOD values) is a clever way to resolve structural violations that simple constraint relaxation cannot handle.
  • Contextual Interpretation for Fragments: Module C's focus on understanding fragments within their context, rather than forcing them into complete sentences, is a pragmatic approach for handling elliptical utterances.

Key Results

The paper presents a framework that integrates three modules to handle various types of ill-formedness. While specific quantitative results (e.g., parsing accuracy improvements) are not detailed in the provided text, the framework is designed to:

  • Overcome disadvantages of previous methods (e.g., backtracking, inability to use right context, lack of semantic/contextual handling).
  • Retain advantages of previous methods (e.g., uniform handling of syntactic/semantic ill-formedness, not affecting the normal parsing process, using left/right contexts).
  • Handle local ill-formedness (Module A), non-local structural violations (Module B), and contextual ellipses/fragments (Module C) in a flexible manner.

Limitations and Future Work

  • Specific Ill-Formedness Types Not Fully Addressed: The authors acknowledge that types of ill-formedness such as self-repaired utterances, parenthetic phrases, and repetitions were not fully implemented. They suggest using Sagawa et al.'s method as a pre-processor for these.
  • Module C Implementation: Module C, which handles contextual interpretation, is not yet fully implemented. Future work involves constructing it based on Relevance Theory ([Sperber and Wilson, 1986]), building upon work by Hirasawa ([Hirasawa, 1995]).
  • Japanese Specifics: While the framework is presented with Japanese examples, the underlying principles are likely generalizable. However, the paper notes that Japanese has significant inter-sentential ill-formedness (contextual ellipsis, zero pronouns) that requires specific handling, which Module C aims to address.
  • Cost/Reward Trade-off: The current implementation prefers reward over cost when selecting partial parses. Further exploration of this trade-off might be beneficial.

Summary updated

BibTeX
@inproceedings{1995integration,
  title = {{Integration of Syntactic, Semantic and Contextual Information in Processing Grammatically Ill-Formed Inputs}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure