[Paper Review] Learning string edit distance
This paper proposes a stochastic model for learning string edit distance from a corpus of example string pairs, enabling automatic optimization of edit costs. By modeling string transformations as probabilistic transductions and using EM-based learning, the method reduces error rates by 75% compared to untrained Levenshtein distance in pronunciation modeling tasks on the Switchboard corpus.
In many applications, it is necessary to determine the similarity of two strings. A widely-used notion of string similarity is the edit distance: the minimum number of insertions, deletions, and substitutions required to transform one string into the other. In this report, we provide a stochastic model for string edit distance. Our stochastic model allows us to learn a string edit distance function from a corpus of examples. We illustrate the utility of our approach by applying it to the difficult problem of learning the pronunciation of words in conversational speech. In this application, we learn a string edit distance with one fourth the error rate of the untrained Levenshtein distance. Our approach is applicable to any string classification problem that may be solved using a similarity function against a database of labeled prototypes. Keywords: string edit distance, Levenshtein distance, stochastic transduction, syntactic pattern recognition, prototype dictionary, spelling correction, string correction, string similarity, string classification, speech recognition, pronunciation modeling, Switchboard corpus.
Motivation & Objective
- To develop a method for automatically learning string edit distance from a corpus of string pairs, overcoming the limitations of fixed-cost edit distances.
- To address the challenge of modeling pronunciation variation in conversational speech, where standard edit distances fail due to inconsistent phonetic transcriptions.
- To improve string classification performance by learning a distance function that adapts to the statistical properties of a training corpus.
- To demonstrate the utility of stochastic modeling in pattern recognition by applying it to real-world speech recognition tasks.
- To show that jointly learning word and lexical entry probabilities from data significantly improves recognition accuracy over fixed or uniform models.
Proposed method
- Model string edit distance as a memoryless stochastic transduction using a probability function δ over edit operations: substitutions, deletions, insertions, and termination.
- Define a joint probability model over underlying strings (x^t), surface strings (y^v), and word identities (w), using p(x^t, y^v, w | L) = p(w|L) * p(x^t|w,L) * p(y^v|x^t,L).
- Apply the Expectation-Maximization (EM) algorithm to jointly estimate the parameters of the word model p(w|L), lexical entry model p(x^t|w,L), and surface model p(y^v|x^t,L) from a training corpus.
- Use the Viterbi algorithm to decode the most likely underlying string for a given surface string during inference, enabling string classification.
- Learn edit costs by maximizing the likelihood of observed string pairs under the stochastic transduction model, with cost parameters derived from the EM-optimized probabilities.
- Condition the model on string length via an alternative formulation in Appendix B, improving performance in length-sensitive applications.
Experimental results
Research questions
- RQ1Can a stochastic model learn meaningful string edit distances directly from a corpus of example string pairs, without hand-coded costs?
- RQ2How does jointly learning word and lexical entry probabilities improve string classification accuracy in noisy or variable string data?
- RQ3To what extent can a learned stochastic edit distance outperform the standard Levenshtein distance in real-world applications like speech recognition?
- RQ4What is the impact of modeling nonlocal dependencies in surface forms through hidden underlying strings, compared to fixed or finite-scope models?
- RQ5Does synergistic adaptation of multiple probabilistic models (word, lexical entry, surface) yield better performance than individual adaptation?
Key findings
- The learned stochastic edit distance reduces the error rate by 75% compared to the untrained Levenshtein distance in the Switchboard pronunciation recognition task.
- Jointly adapting both the word model p(w|L) and the lexical entry model p(x^t|w,L) yields a synergistic improvement, reducing error rates by a factor of five to six compared to fixed models.
- Adapting the word model alone reduces error rates by nearly half, and adapting the lexical entry model alone also reduces error by nearly half, but their combination yields a significantly larger improvement than expected.
- For experiment E3, the error rate drops from 61.87% (Levenshtein) to 14.28% when both models are adapted, demonstrating the effectiveness of the joint learning framework.
- The model achieves over 85% accuracy in recognizing unseen pronunciations of syntactic words in conversational speech, significantly outperforming baseline methods.
- The approach enables a richer, data-driven pronouncing lexicon that captures nonlocal dependencies and variable pronunciations, surpassing traditional hand-crafted or finite-state models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.