Transportable Natural-Language Interfaces: Problems and Techniques

Barbara J. GroszACL 1982

In her 1982 paper, Barbara Grosz explores the architectural and linguistic hurdles of building "transportable" natural language interfaces (NLIs). While modern large language models (LLMs) have fundamentally altered the NLP landscape, this work provides a foundational look at the structural challenges of bridging the gap between human thought and relational databases. It addresses the core problem of how to move a system from one domain to another without requiring a team of computational linguists to rewrite the logic from scratch.

The Problem of Portability

In the early 1980s, most natural language interfaces to databases were "handcrafted" one-offs. If a user wanted to query a new database, a specialist had to manually code new semantic rules, making NLIs expensive, brittle, and difficult to scale. Grosz identifies a fundamental mismatch at the heart of this problem: the "user's view" versus the "database view."

Users think in terms of entities and relationships in the real world (e.g., "Which ships are in the Mediterranean?"), whereas databases are organized into files, records, and fields optimized for storage and retrieval efficiency. To achieve true transportability, a system must be configurable by a Database Expert (DBE)—someone who understands the data but lacks linguistic expertise—shifting the burden of mediation from the human developer to the system itself.

The TEAM Architecture

The paper details the TEAM (Transportable English Access Mechanism) project developed at SRI International. To solve the portability problem, TEAM introduced a modular design that separated general linguistic knowledge from domain-specific data structures. The architecture relies on three distinct layers of representation:

  1. Logical Form: A representation of the literal, domain-independent meaning of an utterance.
  2. Conceptual Schema: An internal model of the entities and relationships within a specific domain (acting as a restricted AI knowledge base).
  3. Database Schema: A mapping layer that translates concepts from the conceptual schema into actual database structures (tables and fields).

Central to this process is the Acquisition Dialogue. This is a specialized interface where the system prompts the DBE for information about the database's files and fields. This input is then used to automatically extend the system's language-processing and data-access components for the new domain.

Linguistic and Logical Insights

Grosz highlights several specific linguistic challenges that transportable systems must navigate:

  • Degree and Quantity: The paper observes a linguistic parallel between "how many" (count) and "how much" (mass) questions and degree questions like "how tall." Grosz proposes treating these using higher-order degree operators, though she notes the difficulty of reconciling this with the standard treatment of "many" as a quantifier.
  • Semantically Complex Fields: Some database fields are "dense." For example, a field like CHILD-OF-ALUMNUS is not just a simple value; it implies a relationship and an existential quantifier. TEAM handles these by maintaining a model of the domain that is richer than the database itself.
  • Temporal Reasoning and Interpolation: In temporal queries (e.g., "Where was the ship yesterday?"), databases often contain only discrete data points. Grosz warns against "naive interpolation"—guessing values between known points—as it can mislead users into believing the system possesses more certain reasoning than it actually does.
  • Quantification in Questions: The paper suggests a method for handling complex questions like "Who commands each ship?" by analyzing them as a REQUEST to INFORM. This allows the quantifier ("each") to outscope the information-sharing action without violating the logic of the request.

Requirements for Transportability

The paper establishes three primary requirements for a successful transportable NLI:

  1. Database Independence: The database cannot be restructured to accommodate the NLI; the interface must adapt to the existing data.
  2. Systematic Acquisition: Domain-specific information must be acquired systematically from non-linguists.
  3. Contextual Transparency: Because databases are extensional (storing specific facts rather than general truths), the interface must provide enough context in its responses for users to judge the validity of the results.

Limitations and Future Directions

Despite the advances of the TEAM project, Grosz acknowledges significant remaining hurdles. Transportable systems often struggle with sophisticated deductive capabilities—such as inferring that a doctor's location is the same as the ship they are stationed on—because encoding such "axioms" automatically is difficult. Furthermore, multifile queries often introduce ambiguity in how tables should be joined, a problem that may require discourse context (the history of the conversation) to resolve fully. Grosz concludes by pointing toward the need for more robust knowledge acquisition schemes to further automate the setup of these complex interfaces.

Summary updated

BibTeX
@inproceedings{grosz1982transportable,
  author = {Barbara J. Grosz},
  title = {{Transportable Natural-Language Interfaces: Problems and Techniques}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1982},
  doi = {10.3115/981251.981262},
}
Figure