Difference between revisions of "McCallum Bellare and Pereira 2005 A Conditional Random Field for Discriminatively-Trained Finite-State String Edit Distance"

From Cohen Courses
Jump to navigationJump to search
Line 8: Line 8:
  
 
== Summary ==
 
== Summary ==
This [[Category::paper]] presents a discriminative string edit CRF. Conditional random fields outperform generative models for [[AddressesProblem::String Edit Distance | string edit distance]] prediction (such as the [[HMM]] and [[Pair HMM]] based methods described in [[RelatedPaper::Ristad_and_Yianilos_1997_Learning_String_Edit_Distance | Ristad and Yianilos]] and [[RelatedPaper::Bilenko_and_Mooney_2003_Adaptive_duplicate_detection_using_learnable_string_similarity_measures | Bilenko and Mooney]]) since they are able to use complex, arbitrary features over the input strings. As in the case of the generative models, this method does not require to specify the edit sequence (alignment) of the training strings, however, it does require negative input instances.
+
This [[Category::paper]] presents a discriminative string edit CRF. The authors show that conditional random fields outperform generative models for [[AddressesProblem::String Edit Distance | string edit distance]] prediction (such as the [[HMM]] and [[Pair HMM]] based methods described in [[RelatedPaper::Ristad_and_Yianilos_1997_Learning_String_Edit_Distance | Ristad and Yianilos]] and [[RelatedPaper::Bilenko_and_Mooney_2003_Adaptive_duplicate_detection_using_learnable_string_similarity_measures | Bilenko and Mooney]]) since they are able to use complex, arbitrary features over the input strings. As in the case of the generative models, this method does not require to specify the edit sequence (alignment) of the training strings, however, it does require negative input instances.
  
 
The results show that the CRF approach outperforms the generative models on all but one of the estimated classes.
 
The results show that the CRF approach outperforms the generative models on all but one of the estimated classes.

Revision as of 19:17, 29 November 2011

Citation

Andrew McCallum, Kedar Bellare and Fernando Pereira. A Conditional Random Field for Discriminatively-Trained Finite-State String Edit Distance. Conference on Uncertainty in AI (UAI'05), 2005.

Online

Summary

This paper presents a discriminative string edit CRF. The authors show that conditional random fields outperform generative models for string edit distance prediction (such as the HMM and Pair HMM based methods described in Ristad and Yianilos and Bilenko and Mooney) since they are able to use complex, arbitrary features over the input strings. As in the case of the generative models, this method does not require to specify the edit sequence (alignment) of the training strings, however, it does require negative input instances.

The results show that the CRF approach outperforms the generative models on all but one of the estimated classes.

Method

The model

The CRF presented in this paper is based on a finite state machine (FST) model with a single start state and two sets of disjoint states, and , representing 'matching' and 'non-matching' string pairs, respectively.

An alignment under this model is a four-tuple

where,

  • . These indicate the sequence of edit-operations for this alignment.

Each edit operation consumes a portion of either one or both of the input strings, up to position or .

  • . This is the non-decreasing positions in the input string x, associated with the edit operations in .
  • . This is the non-decreasing positions in the input string y, associated with the edit operations in .
  • . This is the set of states in the FST models of this alignment. By construction, either (indicating a sequence of match states), or (indicating a sequence of non-match states).


Let , be the -th position in the alignment.


Given the strings x, and y, the probability of an alignment a is given by

where is a normalizer and is the following potential function, parametrized as an exponential of a linear scoring function

where f is a vector of feature functions over its arguments.

Inference

The probability of a match (or mismatch) is given by marginalizing over the alignments with states in the corresponding state set ( or )

This is calculated with dynamic programming, to give a Forward-Backward-like match-estimate. Alternatively, a Viterbi estimate can be given by calculating the max-product.

Learning

The training data consists of string pairs with corresponding labels , indicating a 'match' or 'mismatch' label.

The model parameters are estimated using maximum likelihood with penalization in the form of a zero-mean Gaussian prior:

The penalized log likelihood is given by

This is maximized using EM , and the M-step uses BFGS for optimization.

The initial model parameters are manually-tuned in order to avoid local-maxima.

Results

The results of this work are compared with the results of Bilenko and Mooney over six data sets. The CRF outperforms the previously used generative model in 5 out of 6 cases. Additionally, in all but one of the datasets, using the Forward-Backward alignment score has been shown to outperform the Viterbi alignment score.