Fast and Accurate Sequence Labeling with Approximate Inference Network

09/17/2020
by   Xinyu Wang, et al.
4

The linear-chain Conditional Random Field (CRF) model is one of the most widely-used neural sequence labeling approaches. Exact probabilistic inference algorithms such as the forward-backward and Viterbi algorithms are typically applied in training and prediction stages of the CRF model. However, these algorithms require sequential computation that makes parallelization impossible. In this paper, we propose to employ a parallelizable approximate variational inference algorithm for the CRF model. Based on this algorithm, we design an approximate inference network that can be connected with the encoder of the neural CRF model to form an end-to-end network, which is amenable to parallelization for faster training and prediction. The empirical results show that our proposed approaches achieve a 12.7-fold improvement in decoding speed with long sentences and a competitive accuracy compared with the traditional CRF approach.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/19/2021

Masked Conditional Random Fields for Sequence Labeling

Conditional Random Field (CRF) based neural models are among the most pe...
research
03/01/2016

Segmental Recurrent Neural Networks for End-to-end Speech Recognition

We study the segmental recurrent neural network for end-to-end acoustic ...
research
08/01/2016

Structured prediction models for RNN based sequence labeling in clinical text

Sequence labeling is a widely used method for named entity recognition a...
research
11/11/2020

An Investigation of Potential Function Designs for Neural CRF

The neural linear-chain CRF model is one of the most widely-used approac...
research
06/14/2021

Constraining Linear-chain CRFs to Regular Languages

In structured prediction, a major challenge for models is to represent t...
research
08/09/2020

Fast and Accurate Neural CRF Constituency Parsing

Estimating probability distribution is one of the core issues in the NLP...
research
07/26/2016

Approximate Policy Iteration for Budgeted Semantic Video Segmentation

This paper formulates and presents a solution to the new problem of budg...

Please sign up or login with your details

Forgot password? Click here to reset