AIN: Fast and Accurate Sequence Labeling with Approximate Inference Network
Xinyu Wang, Yong Jiang, Nguyen Bach, Tao Wang, Zhongqiang Huang, Fei, Huang, Kewei Tu

TL;DR
This paper introduces a parallelizable approximate inference network for neural CRFs, significantly speeding up sequence labeling tasks while maintaining competitive accuracy.
Contribution
It proposes a novel approximate inference network that enables parallelization in neural CRFs, improving speed without sacrificing accuracy.
Findings
12.7-fold faster decoding on long sentences
Maintains competitive accuracy with traditional CRFs
Enables end-to-end parallel training and prediction
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMusic and Audio Processing · Neural Networks and Applications · Handwritten Text Recognition Techniques
MethodsConditional Random Field
