Language Access to Distributed Data with Error Recovery

Earl D. Sacerdoti

In 1977, Earl D. Sacerdoti of the Stanford Research Institute (SRI) introduced LADDER (Language Access to Distributed Data with Error Recovery). This system represented a pioneering effort in Artificial Intelligence, aimed at making complex, distributed databases accessible to non-technical users through natural language. At a time when querying a database required specialized technical knowledge and awareness of network topology, LADDER provided a seamless interface that shielded users from the complexities of database schemas and the inherent instability of early wide-area networks like ARPANET.

System Architecture

LADDER is structured as a pipeline of three major functional components, each abstracting a layer of the data retrieval process.

The LADDER system architecture, showing the flow from natural language input to distributed database queries.
  1. INLAND (Informal Natural Language Access to Navy Data): Built on the LIFER package, this component parses English input using semantic grammars. Unlike traditional syntactic parsers, semantic grammars use domain-specific categories (e.g., "ship name," "port"). This approach allows for efficient parsing and the handling of "elliptical" queries, where the system infers context from previous interactions (e.g., asking "What is the length of the Kennedy?" followed by just "The Biddle?").
  2. IDA (Intelligent Data Access): This planning layer translates the generic query from INLAND into specific file and field requirements. Using a "structural schema," IDA determines how to "link" (join) disparate files to answer a single user question.
  3. FAM (File Access Manager): FAM manages the physical interaction with the ARPANET. It maintains a map of file locations across various hosts. Crucially, FAM provides resilience; if a remote server fails, it automatically seeks backup locations and re-transmits queries without user intervention.

Data and Implementation

The system was implemented in INTERLISP on DEC KA-10 computers. For demonstration, it utilized a facsimile of a Navy command and control database consisting of approximately 14 files and 100 fields. This data was distributed across the ARPANET between the Naval Electronics Laboratory Center (NELC) in San Diego and the Computer Corporation of America (CCA) in Cambridge.

Key Insights

LADDER introduced several innovative concepts to the field of database management and AI:

  • Semantic Grammars over Syntactic Ones: By encoding domain knowledge directly into the grammar, the system avoided the computational explosion of trying to understand every possible English sentence.
  • Casual Extensibility: Users could define their own synonyms or paraphrases on the fly (e.g., "Define 'his lineal number' to be like 'what is his lineal number'"), allowing the system to adapt to individual linguistic preferences.
  • Abstraction of Distribution: The system presented a "virtual" unified database, hiding the messy details of network logins and directory navigation.
  • Integrated Resilience: Error recovery was treated as a core component of the data access loop, ensuring reliability on the often-unstable early ARPANET.

Results and Performance

Despite the multi-layered processing required, LADDER achieved real-time performance, with typical queries requiring only a few seconds of CPU time. The system demonstrated significant robustness, successfully navigating network failures by switching to backup sites transparently. Transcripts from the era show the system handling complex, multi-step queries, correcting spelling errors, and resolving ambiguous pronouns (like "his") based on conversational context.

Conclusion

While LADDER had limitations—such as a "shallow" understanding of language and a reliance on heuristic planning—it laid the groundwork for modern natural language interfaces to databases. It proved that AI techniques could effectively bridge the gap between human intent and complex, distributed technical systems, automating the role of the "database expert" for the casual user.

Summary updated

BibTeX
@inproceedings{sacerdoti1977language,
  author = {Earl D. Sacerdoti},
  title = {{Language Access to Distributed Data with Error Recovery}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1977},
}
Figure