An Integrated Archictecture for Shallow and Deep Processing

Berthold Crysmann, Anette Frank, Bernd Kiefer, Stefan Müller, Günter Neumann, Jakub Piskorski, Ulrich Schäfer, Melanie Siegel, Hans Uszkoreit, Feiyu Xu, Markus Becker, Hans-Ulrich KriegerACL 2002

Introduction

In the field of Natural Language Processing (NLP) during the early 2000s, a significant divide existed between two primary methodologies: Shallow NLP (SNLP) and Deep NLP (DNLP). SNLP techniques, such as part-of-speech tagging and named entity recognition, offered robustness and speed, making them suitable for large-scale, unrestricted text. However, they lacked the precision required for complex semantic reasoning. Conversely, DNLP systems, often based on sophisticated grammars like Head-driven Phrase Structure Grammar (HPSG), provided rich linguistic detail but were notoriously brittle, frequently failing when encountering unknown words or minor grammatical errors.

This paper presents the WHITEBOARD architecture, a foundational effort to bridge this gap. By integrating the robustness of shallow tools with the precision of deep analysis, the researchers aimed to overcome the "performance ceiling" of standalone shallow systems.

The WHITEBOARD Architecture

The centerpiece of this integration is the WHITEBOARD Annotation Machine (WHAM). This framework facilitates communication between disparate NLP components through a shared, multi-layered data structure.

The WHITEBOARD Annotation Machine (WHAM) architecture, showing the integration of shallow and deep components via a shared XML-based text chart.

As shown in Figure 1, WHAM utilizes an XML-based "text chart" as an internal representation. This allows both shallow components (like the SPPC system) and deep components (like the PET HPSG engine) to contribute annotations to a common repository without overwriting previous data. This layered approach is crucial for handling the overlapping and often ambiguous annotations generated by different processing stages.

Intelligent Coupling and Technical Innovations

The core innovation of WHITEBOARD lies in its "intelligent coupling" rather than simple parallel execution. Shallow results are used to "prime" the deep parser, significantly reducing its search space and increasing its resilience.

Topological Fields as a Bridge

A key strategy for German text involves stochastic topological parsing. German sentence structure can be divided into "topological fields" (e.g., the middle field between verbs). The researchers used a statistical model to identify these fields, providing a macrostructural roadmap for the deep parser.

Illustration of the mapping between topological structures (shallow) and deep syntactic structures (HPSG).

As illustrated in Figure 3, this mapping allows the deep parser to focus its computational resources on specific segments of the sentence, effectively "filling in" the details within a pre-defined structural skeleton.

Lexical and POS Guidance

Beyond structural guidance, the system employs several other integration techniques:

  • POS Tagging: Shallow part-of-speech tags are used to prioritize specific readings in the deep parser, which helps in resolving lexical ambiguity.
  • Handling Unknown Words: Deep grammars typically fail upon encountering unknown vocabulary. WHITEBOARD addresses this by using GermaNet (a German WordNet) to map unknown nouns identified by the shallow system to semantic categories that the deep parser can process.

Evaluation and Results

The system was evaluated using the NEGRA corpus, consisting of approximately 20,000 German newspaper sentences. The results demonstrated a dramatic improvement in the deep parser's performance when integrated into the WHITEBOARD architecture:

  • Lexical Coverage: The deep system's ability to recognize words within a sentence increased from 28.6% to 71.4%.
  • Parsing Success: Overall sentence coverage nearly doubled, rising from 12.5% to 22.1%.
  • Efficiency: By utilizing shallow POS tags to guide the parser, the average number of ambiguous interpretations per sentence was reduced from 16.2 to 8.6, enhancing both speed and precision.

Conclusion and Future Directions

While the WHITEBOARD architecture significantly improved the robustness of deep parsing, challenges remain. A "success gap" persists, with nearly 80% of newspaper sentences still eluding full deep analysis. Furthermore, "interface friction"—such as mismatches in morphological analysis—accounted for a portion of the failures.

Future work suggests moving toward "scenario-based" information extraction. In this paradigm, deep semantic representations, such as Minimal Recursion Semantics (MRS), could be leveraged to fill complex templates that are beyond the reach of shallow systems alone. This hybrid approach continues to be a vital area of research for creating truly robust and intelligent NLP systems.

Summary updated

BibTeX
@inproceedings{crysmann2002integrated,
  author = {Berthold Crysmann and Anette Frank and Bernd Kiefer and Stefan Müller and Günter Neumann and Jakub Piskorski and Ulrich Schäfer and Melanie Siegel and Hans Uszkoreit and Feiyu Xu and Markus Becker and Hans-Ulrich Krieger},
  title = {{An Integrated Archictecture for Shallow and Deep Processing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2002},
  doi = {10.3115/1073083.1073157},
}
Figure