Skip to main content
QUICK REVIEW

[Paper Review] A Seq-to-Seq Transformer Premised Temporal Convolutional Network for Chinese Word Segmentation

Wei Jiang, Yan Tang|arXiv (Cornell University)|May 21, 2019
Natural Language Processing TechniquesComputer Science19 references3 citations
TL;DR

This paper proposes a sequence-to-sequence transformer model for Chinese word segmentation that uses a temporal convolutional network (TCN) as the encoder and a fully connected decoder, integrating Conditional Random Fields (CRF) and Viterbi decoding. The model achieves state-of-the-art performance comparable to Bi-LSTM-CRF models while enabling significantly faster training due to superior parallelization, with a 2.2x speedup over Bi-LSTM-CRF and a 10% F1 improvement over the base TCN without CRF.

ABSTRACT

The prevalent approaches of Chinese word segmentation task almost rely on the Bi-LSTM neural network. However, the methods based the Bi-LSTM have some inherent drawbacks: hard to parallel computing, little efficient in applying the Dropout method to inhibit the Overfitting and little efficient in capturing the character information at the more distant site of a long sentence for the word segmentation task. In this work, we propose a sequence-to-sequence transformer model for Chinese word segmentation, which is premised a type of convolutional neural network named temporal convolutional network. The model uses the temporal convolutional network to construct an encoder, and uses one layer of fully-connected neural network to build a decoder, and applies the Dropout method to inhibit the Overfitting, and captures the character information at the distant site of a sentence by adding the layers of the encoder, and binds Conditional Random Fields model to train parameters, and uses the Viterbi algorithm to infer the final result of the Chinese word segmentation. The experiments on traditional Chinese corpora and simplified Chinese corpora show that the performance of Chinese word segmentation of the model is equivalent to the performance of the methods based the Bi-LSTM, and the model has a tremendous growth in parallel computing than the models based the Bi-LSTM.

Motivation & Objective

  • To address the limitations of Bi-LSTM-based models in Chinese word segmentation, including poor parallelization, inefficient dropout application, and difficulty capturing long-range dependencies.
  • To explore the feasibility of using temporal convolutional networks (TCNs) as a more efficient alternative to RNNs for sequence modeling in CWS.
  • To improve TCN performance for CWS by integrating CRF for structured prediction and using Viterbi decoding for optimal label inference.
  • To demonstrate that a TCN-based model can match or exceed the performance of state-of-the-art Bi-LSTM-CRF models while enabling faster training through parallelization.

Proposed method

  • The model employs a dilated causal convolutional encoder based on an improved TCN architecture, with dilation factors set to $ d = 2^0, 2^1, 2^2 $ to expand receptive fields.
  • A single-layer fully connected network serves as the decoder, producing token-level scores for segmentation decisions.
  • Dropout is applied during training to mitigate overfitting, enhancing generalization.
  • Conditional Random Fields (CRF) are used to model label dependencies, and the Viterbi algorithm is applied at inference to decode the globally optimal segmentation sequence.
  • The model is trained end-to-end with CRF loss, and the future-scheme (right-context focus) is adopted to avoid information loss from left-padding in causal convolutions.
  • The architecture is evaluated on both simplified and traditional Chinese corpora, including NLPCC2016, CITYU, and PKU datasets.

Experimental results

Research questions

  • RQ1Can a TCN-based encoder outperform Bi-LSTM in Chinese word segmentation while enabling better parallelization?
  • RQ2Does integrating CRF and Viterbi decoding significantly improve TCN-based CWS performance compared to standard TCN without CRF?
  • RQ3How does the choice of receptive field direction (past vs. future scheme) affect segmentation accuracy in causal TCN architectures?
  • RQ4Can a TCN-based model achieve performance on par with state-of-the-art Bi-LSTM-CRF models in Chinese word segmentation?

Key findings

  • The proposed TCN-with-CRF model achieves an F1 score of 92.34 on the NLPCC2016 test set, outperforming the base TCN (Tcn-no-CRF) by 9.45 percentage points.
  • The model achieves an F1 score of 94.1 on the CITYU dataset and 94.4 on the PKU dataset, matching or slightly exceeding state-of-the-art Bi-LSTM-CRF models.
  • Training speed is 263 sentences per second, a 2.2x improvement over Bi-LSTM-with-CRF (120 sentences per second), demonstrating superior parallelization.
  • The future-scheme (right-context focus) yields a 0.31 F1-point improvement over the past-scheme (left-context focus), due to avoiding information loss from zero-padding.
  • The model's performance is robust across both simplified and traditional Chinese corpora, confirming its generalization capability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.