Abstract
This report summarizes early research into knowledge-based natural language processing (NLP) conducted at UC Berkeley in 1981. It details the development of PHRAN and PHRED, systems designed to bridge the gap between language analysis and production using a shared, declarative knowledge base of pattern-concept pairs.
Introduction
In 1981, Robert Wilensky proposed a shift in how computers process human language. Moving away from rigid grammatical rules, he argued that natural language processing is fundamentally a database management problem. This approach aimed to handle the inherent messiness and idiomatic nature of human speech, which traditional generative models often struggled to capture.
The Problem: Unbalanced Systems and Idiomatic Complexity
Early NLP research was frequently bifurcated into analysis (understanding text) and production (generating text). This separation often resulted in "unbalanced" systems—an AI might understand a phrase it could not produce, or vice versa. Furthermore, "non-generative" language, such as idioms like "kick the bucket," were often treated as outliers rather than central components of communication. Wilensky sought a robust, extensible framework that treated these phrases as first-class citizens.
Methods: Pattern-Concept Pairs
The cornerstone of Wilensky’s approach is the Pattern-Concept Pair.
- Patterns: These range from specific literal strings (e.g., "so's your old man") to flexible templates (e.g.,
<person> <give> <person> <object>). - Concepts: These are meaning representations rooted in Roger Schank’s "Conceptual Dependency" theory.
The research introduced two primary programs:
- PHRAN (PHRasal ANalyzer): This component reads English text and matches it against a pattern database to derive conceptual meaning.
- PHRED (PHRasal English Diction): This component takes a conceptual meaning and queries the same database to find the most appropriate linguistic pattern for expression.
By making the knowledge declarative, the researchers separated linguistic data from the processing engine. This allowed for experimentation with relational database systems like INGRES, treating language as a scalable data problem.
Key Insights: Language as Data
- The Primacy of the Phrase: By prioritizing "phrasal units" over individual words, the system naturally accommodates idioms and collocations.
- Symmetry of Knowledge: A shared database ensures that the system's understanding and expressive capabilities are perfectly aligned.
- Language Independence: Because the processing "engine" is separate from the "content," porting the system to other languages (like Spanish or Chinese) required only updating the knowledge base, not the underlying code.
Key Results and Performance
The system demonstrated significant extensibility and efficiency. Adding patterns to handle complex prose from Newsweek was straightforward, requiring manual indexing rather than new programming. Multilingual implementation was also successful; a Spanish version of PHRAN was developed in weeks by a student without deep knowledge of the core LISP code.
Crucially, the relational database implementation (EQUEL/INGRES) proved to be three times faster than the LISP-based version as the knowledge base grew to 2,000 words and 500 patterns. This validated the hypothesis that scaling NLP is primarily a challenge of efficient data retrieval.
Limitations and Future Directions
Despite its successes, the authors identified several areas for growth. Languages with complex internal word structures, such as Chinese, suggested a need to handle sub-word components. Additionally, resolving ambiguity between conflicting patterns remained a significant challenge. The ultimate test for the system would be its performance when scaled to a full human vocabulary.
Summary updated