Generalized Chart Algorithm: An Efficient Procedure for Cost-Based Abduction

Yasuharu DenACL 1994

Abstract

This paper presents the Generalized Chart Algorithm, a novel method designed to enhance the efficiency of cost-based abduction in natural language processing. By integrating goal-driven bottom-up derivation with tabulation (memoization) and agenda-based priority control, the proposed algorithm achieves significant computational speedups—up to 4x—in interpreting messy or incomplete spoken language inputs.

Introduction

In natural language processing, particularly for spoken language, inputs are frequently underspecified or contain metonymy. For instance, a speaker might say "I'm reading Sōseki" to mean "I am reading a book written by Sōseki." Abduction is a logical inference method that reasons backward to find the best explanation for such observations. Cost-based abduction assigns "costs" to assumptions, where the most plausible interpretation is the one with the lowest total cost.

However, abduction is computationally expensive. The search space for possible hypotheses often explodes, leading to infinite loops in top-down approaches or vacuous computations in bottom-up methods. This paper addresses these efficiency challenges by adapting chart parsing techniques to the abductive framework.

Methodology

The Generalized Chart Algorithm employs a three-pronged strategy to make abduction practical for real-time applications:

  1. Head-driven (Left-Corner) Derivation: The algorithm utilizes a "head-driven" strategy rather than pure top-down or bottom-up approaches. It starts with an observed fact (the "head") and builds upward toward a goal. This ensures that the derivation path is anchored by shared arguments, significantly pruning the search space.
  2. Tabulation (The Chart): Borrowing from chart parsing, the system stores partial results in a data structure. When a sub-goal is re-encountered, the system retrieves the previous result instead of re-calculating it. In this framework, assumptions are treated as "passive edges" that carry specific costs.
  3. Agenda Control Mechanism: The algorithm manages the addition of edges to the chart using an "agenda" (a priority queue). By employing Ordered Search, the system prioritizes lower-cost paths, often identifying the optimal solution without exhaustive exploration of the search space.
Figure 3: A visualization of the generalized chart for the sentence 'Sōseki katta', showing the interaction between active edges, passive edges, and pointers.

Evaluation and Results

The algorithm was evaluated using a rule set designed for spoken Japanese understanding, consisting of 51 chain rules and 35 non-chain rules covering syntactic, semantic, and pragmatic knowledge. Test cases involved Japanese sentences with varying numbers of noun phrases (e.g., "Sōseki katta" / "Sōseki bought").

The study compared four algorithmic variants: Top-Down (TD), Head-Driven (HD), Generalized Chart with Full Search (GCF), and Generalized Chart with Ordered Search (GCO).

Figure 5: Performance comparison across different algorithm variants (TD, HD, GCF, GCO) showing the number of computation steps required for sentences of varying complexity (Ns).

Key findings include:

  • Head-Driven Impact: Switching from TD to HD derivation eliminated approximately 50% of computation steps.
  • Tabulation Impact: The addition of the chart (GCF) reduced steps by an additional 13% to 23%.
  • Ordered Search Impact: Agenda control (GCO) provided a final efficiency boost of 4% to 8%.
  • Overall Efficiency: The complete Generalized Chart Algorithm (GCO) was approximately 4 times more efficient than the baseline top-down approach for the tested sentences.

Conclusion and Future Work

The Generalized Chart Algorithm successfully treats abductive proof procedures as a structured parsing problem, offering a significant performance improvement over traditional methods. While effective on the tested rule sets, future work is needed to evaluate the "head-driven" constraint on larger, real-world knowledge bases. Additionally, automating cost assignment through stochastic parsing or corpus-based techniques remains a key area for further research.

Summary updated

BibTeX
@inproceedings{den1994generalized,
  author = {Yasuharu Den},
  title = {{Generalized Chart Algorithm: An Efficient Procedure for Cost-Based Abduction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1994},
  doi = {10.3115/981732.981762},
}
Figure