Introduction
Transformation-Based Error-Driven Learning (TBL), popularized by Eric Brill in the mid-1990s, became a cornerstone of Natural Language Processing (NLP). The framework iteratively learns rules to correct errors in initial linguistic guesses—for example, changing a word's tag from "noun" to "verb" if the preceding word is "to." However, the computational cost of finding the optimal rule in each iteration is traditionally high, often scaling at $O(Nn^3)$ or $O(Nn^4)$ for a corpus of $N$ pairs with maximum length $n$. This paper introduces a novel data structure—the suffix tree alignment—to dramatically accelerate this process.
Suffix Tree Alignment and Methods
The authors' primary contribution is the use of suffix trees to represent the search space of all possible transformations. A suffix tree stores all suffixes of a string, enabling rapid pattern matching and frequency counting. By aligning a suffix tree of the source text with one of the target "gold standard" text using "a-links" (alignment links), the algorithm can evaluate the impact of rules across the entire corpus simultaneously.
This alignment allows for the development of highly efficient algorithms that move beyond naive search:
- Algorithm 2: Identifies simple transformations ($u \to v$) in linear time, $O(Nn)$.
- Algorithm 3: Handles contextual transformations (e.g., $u \to v$ only if followed by pattern $\gamma$) in $O(Nn^2)$ time.
Key Results and Complexity Gains
The transition from naive data-driven search to tree-based induction results in significant efficiency gains. By "scoring" potential rules during a single traversal of the aligned tree structure, the system avoids the redundant re-scanning of the corpus that hindered earlier methods.
Beyond practical speedups, the paper establishes a theoretical "complexity cliff." While transformations with limited symbol classes (homomorphisms) remain polynomial, the problem becomes NP-hard when an unbounded number of "don't care" symbols are permitted. This finding provides a rigorous mathematical boundary for the feasibility of automated rule induction.
Conclusion
By leveraging the structural properties of suffix trees, this work transforms the bottleneck of rule induction into a manageable computational task. The reduction of complexity from cubic to linear time for basic transformations allows TBL to scale to the massive datasets required for modern NLP applications, while the formal proofs of NP-hardness define the theoretical limits of what can be efficiently learned.
Summary updated