Path-Constrained Viterbi Algorithm: An Alternative to State-transition Feature for Conditional Random Fields

Yulin Ren, Dehua Li · 2017 International Conference on Computer Technology, Electronics and Communication (ICCTEC) · 2017

The state-transition feature that considers the transition between states is an important feature used in Conditional random fields (CRFs). However, integrating the state-transition feature into the CRF model always results in a long training time. It is believed that there is no study focusing on this problem. Therefore, this paper proposes a path-constrained Viterbi algorithm to substitute the use of the state-transition feature, where the core idea involves pruning the paths (or state transitions) that does not exist in real-world data in the Viterbi decoding process. The proposed method is simple but effective. The experimental results obtained for four natural language processing (NLP) tasks, i.e., Chinese word segmentation (CWS), Named Entity Recognition (NER), text chunking, and part-of-speech (POS) tagging, demonstrate that the proposed method achieved performance close to that using state-transition feature, and hence saving as much as half the training time in total.

Read the paper · More papers on PaperTik