Difference between revisions of "Sha 2003 Shallow Parsing with Conditional Random Fields"

From Cohen Courses
Jump to navigationJump to search
Line 20: Line 20:
  
 
== Conditional Random Fields ==
 
== Conditional Random Fields ==
The paper uses a proprietary data set consisting of almost 10,000 voicemail messages with manual transcription and marks. As illustrated in the following excerpt.
+
The paper focuses on conditional random fields on sequences. Such CRFs define conditional probability distributions p(Y|X) of label sequences given input sequences. The label and input sequences are assumed to have the same length.
  
<blockquote><greeting> hi Jane </greeting> <caller> this is Pat Caller </caller> I just wanted to I know you’ve probably seen this or maybe you already know about it . . . so if you could give me a call at <telno> one two three four five </telno> when you get the message I’d like to chat about it hope things are well with you <closing> talk to you soon </closing></blockquote>
+
A CRF on (X, Y) is specified by a local feature vector and a weight vector, the local features are defined as follows:
 +
 
 +
And the global feature vector is thus an aggregate of the local features:
 +
 
 +
The conditional probability distribution defined by CRF is then defined as
 +
 
 +
 
 +
In sequential labeling task, we would like to find the most probable label sequence for input sequence, thus we use the following formula
 +
 
 +
The decoding process can be done with the Viterbi algorithm.
 +
 
 +
The early training methods proposed was iterative scaling algorithm from maximum entropy model. However, later work shows that other optimization method has better convergence speed, for example conjugate gradient method. In this paper, authors test the preconditioned conjugate-gradient (CG) and limited-memory quasi newton (L-BFGS) method and show their superior performance on large problems. They also provide a comparison of these algorithms over other methods.
  
 
== Shallow Parsing ==
 
== Shallow Parsing ==

Revision as of 23:32, 23 October 2010

Citation

Fei, S. and Pereira, F. 2003. Shallow Parsing with Conditional Random Fields. In Proceedings of NAACL.

Online version

An online version of this paper is available [1].

Summary

This paper introduces the analysis of Conditional Random Field in the task of shallow parsing. The author presents the comparison results with previous methods on both accuracy and time efficiency.

Key Contributions

The paper presents the following key findings

  • The authors claim CRF outperform other models or as good as any reported results in shallow parsing, one of the applications of sequential labeling task
  • The authors also report that the improved training methods proves great efficiency as shown in their experimental results

Conditional Random Fields

The paper focuses on conditional random fields on sequences. Such CRFs define conditional probability distributions p(Y|X) of label sequences given input sequences. The label and input sequences are assumed to have the same length.

A CRF on (X, Y) is specified by a local feature vector and a weight vector, the local features are defined as follows:

And the global feature vector is thus an aggregate of the local features:

The conditional probability distribution defined by CRF is then defined as


In sequential labeling task, we would like to find the most probable label sequence for input sequence, thus we use the following formula

The decoding process can be done with the Viterbi algorithm.

The early training methods proposed was iterative scaling algorithm from maximum entropy model. However, later work shows that other optimization method has better convergence speed, for example conjugate gradient method. In this paper, authors test the preconditioned conjugate-gradient (CG) and limited-memory quasi newton (L-BFGS) method and show their superior performance on large problems. They also provide a comparison of these algorithms over other methods.

Shallow Parsing

The authors present two set of algorithms on two different sub-tasks, Caller Identification/Phone Number Extraction.

  • For Caller Identification (Caller Phrase/Caller Name), the authors focus on two targeted variables - the starting position of the Caller Phrase/Caller Name and the length of it. The authors first show empirical distributions of the position and the length, which are both highly skewed. The authors then apply decision tree learner with a small set of features based on common words for learning these two targeted variables. The authors then present the comparison between their results and those from previous work. In fact, the new algorithm performs worse than the previous method on their dataset. However, they do observe a great improvement over previous method on unseen data, which they picked the ASR (automatic speech recognition) results. Thus the authors argue that the previous method with generic named entity recognizer tends to overfit the dataset and the new algorithm is more robust for unseen data. They also transfer this technique to extract Caller Name instead of Caller Phrase.
  • For Phone Number Extraction, the authors propose a two phrase approach. In the first phrase, the algorithm uses a hand-crafted grammar to propose candidate phone numbers and convert them into numeric presentation. In the second phrase, the algorithm uses a binary classifier to consider the validity of every phone number candidate. In the performance comparison, this rather simple method shows great effectiveness and the authors present a 10% improvement on F-measure over previous method.

Experiments

The Huang et al., 2001 paper discussed a very similar problem but rather with a traditional perspective, it studied three approaches: hand-crafted rules, grammatical inference of sub-sequential transducers and log-linear classifier with bi-gram and tri-gram features, which is essentially the same as in Ratnaparkhi, 1996 paper on Maxent POS tagging.