Logical Forms in the Core Language Engine

Hiyan Alshawi, Jan van EijckACL 1989

Abstract

Translating natural language into formal logic is a cornerstone of computational linguistics, yet it faces significant hurdles due to linguistic ambiguity and the limitations of standard logical frameworks. This paper presents the semantic representation strategy of the Core Language Engine (CLE), a system designed to bridge the gap between syntax-driven meaning and context-dependent interpretation. By introducing the Quasi Logical Form (QLF) as an intermediate, underspecified representation, the CLE decouples compositional semantics from pragmatic resolution. We detail the extensions to First-Order Logic required to handle complex English phenomena, including generalized quantifiers and Davidsonian event variables, providing a robust framework for natural language understanding.

Introduction

Translating natural language into formal logic is notoriously difficult. Natural language is inherently ambiguous, context-heavy, and structurally complex. Traditional natural language processing (NLP) systems often struggle with the "combinatorial explosion" that occurs when attempting to resolve every possible meaning of a sentence—such as pronoun reference or quantifier scope—simultaneously with grammatical parsing.

The Core Language Engine (CLE) addresses these challenges through a modular architecture. The primary goal is to separate the literal, syntax-driven meaning of a sentence from its final, contextually resolved interpretation. This separation is achieved through a two-tier semantic representation system that balances expressivity with computational tractability.

The Architecture of Meaning: QLF and LF

The CLE utilizes two distinct levels of semantic representation to manage the transition from raw text to formal logic:

Quasi Logical Form (QLF)

The QLF is the initial output of the linguistic analysis phase. It captures the literal meaning of a sentence as derived from its syntactic structure but leaves "holes" for elements that cannot be resolved without contextual information.

  • Unresolved Quantifiers: Represented using qterm constructs, these allow the system to defer decisions about quantifier scoping.
  • Anaphora and References: Unresolved pronouns and definite descriptions are represented as a_term constructs, to be filled in during the pragmatic resolution phase.

By generating an underspecified QLF, the CLE avoids the need to "multiply out" every possible permutation of a sentence's meaning during the parsing stage, significantly reducing computational complexity.

Logical Form (LF)

The LF is the final, fully resolved representation. To transition from QLF to LF, the system applies a set of scoping rules and reference resolution algorithms. The resulting LF is a precise logical statement that can be used for further reasoning or database querying.

Extending Formal Logic for Natural Language

Standard First-Order Logic (FOL) is often insufficient for the nuances of English. The CLE extends FOL in several key ways to ensure high expressivity:

  1. Generalized Quantifiers: To handle phrases like "most people," "at least three," or "the third tallest man," the system uses mathematical relations between sets rather than simple universal or existential quantification.
  2. Davidsonean Event Variables: Verbs are treated as events. For instance, the sentence "John left suddenly" is represented as an event of "leaving" where the event itself possesses the property of being "sudden." This approach provides a uniform way to handle adverbs and prepositional phrases as simple predicates on an event.
  3. Lambda Abstraction: This is employed to handle degrees in comparatives (e.g., "taller than") and superlatives, allowing for a more mathematical treatment of relative properties.
  4. Set-Based Variables: To address the distinction between collective and distributive readings (e.g., "Two companies ordered five computers"), the CLE assumes variables range over sets, treating individuals as singleton sets.

Practical Utility and Results

The CLE's framework has been tested in practical environments, including a purchase order processing simulator and a natural language interface for database queries. The system demonstrates broad coverage of major English phrase types, including complex anaphora, possessives, and compound nominals.

One of the system's strengths is its systematic handling of ambiguity. For example, in the sentence "John designed a house in Cambridge," the CLE can generate distinct, resolved logical forms depending on whether the prepositional phrase "in Cambridge" modifies the "house" or the "designing event."

Limitations and Future Directions

While the CLE provides a powerful framework, several areas remain for future development:

  • Tense and Aspect: The current treatment using simple temporal operators does not yet capture the full internal structure of events.
  • Semantic Neutrality: The authors note that the LF representation is occasionally "overly neutral," serving as a sound basis for further derivation rather than a complete representation of "full meaning."
  • Collective Readings: Further refinement is needed to fully distinguish between nuances in collective versus distributive readings and the complexities of temporal logic.

Conclusion

The Core Language Engine demonstrates that complex semantic representations can be both expressive and practical. By utilizing the Quasi Logical Form to decouple syntax from context, the CLE provides a scalable and modular approach to natural language understanding, moving beyond the limitations of traditional First-Order Logic into a framework capable of handling the richness of human language.

Summary updated

BibTeX
@inproceedings{alshawi1989logical,
  author = {Hiyan Alshawi and Jan van Eijck},
  title = {{Logical Forms in the Core Language Engine}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1989},
  doi = {10.3115/981623.981627},
}
Figure