Skip to main content
QUICK 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 Science参考文献 19被引用 3
一句话总结

本文提出一种用于中文分词的序列到序列Transformer模型,采用时间卷积网络(TCN)作为编码器,全连接层作为解码器,并集成条件随机场(CRF)与Viterbi解码。该模型在性能上达到当前最优水平,与Bi-LSTM-CRF模型相当,同时由于更优的并行化处理,训练速度显著提升,较Bi-LSTM-CRF快2.2倍,且相比基础TCN模型F1值提升10%。

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.

研究动机与目标

  • 为解决基于Bi-LSTM的模型在中文分词任务中的局限性,包括并行化能力差、正则化应用效率低以及难以捕捉长距离依赖关系。
  • 探索使用时间卷积网络(TCN)作为RNN在中文分词序列建模中的更高效替代方案的可行性。
  • 通过集成CRF进行结构化预测并使用Viterbi解码实现最优标签推理,提升TCN在中文分词任务中的性能。
  • 证明基于TCN的模型可达到或超越当前最优的Bi-LSTM-CRF模型性能,同时通过并行化实现更快的训练速度。

提出的方法

  • 模型采用基于改进TCN架构的空洞因果卷积编码器,膨胀率设置为 $ d = 2^0, 2^1, 2^2 $,以扩展感受野。
  • 单层全连接网络作为解码器,输出用于分词决策的token级得分。
  • 训练过程中应用Dropout以缓解过拟合,提升泛化能力。
  • 使用条件随机场(CRF)建模标签依赖关系,并在推理阶段应用Viterbi算法,解码出全局最优的分词序列。
  • 模型采用端到端训练方式,结合CRF损失函数,同时采用未来方案(右文关注)以避免因果卷积中左填充导致的信息丢失。
  • 该架构在简体与繁体中文语料库上均进行了评估,包括NLPCC2016、CITYU和PKU数据集。

实验结果

研究问题

  • RQ1基于TCN的编码器是否能在中文分词任务中超越Bi-LSTM,同时实现更好的并行化能力?
  • RQ2与无CRF的标准TCN相比,集成CRF与Viterbi解码是否能显著提升TCN在中文分词任务中的性能?
  • RQ3感受野方向选择(过去信息 vs. 未来信息)如何影响因果TCN架构的分词准确率?
  • RQ4基于TCN的模型是否能在中文分词任务中达到与当前最优的Bi-LSTM-CRF模型相当的性能?

主要发现

  • 所提出的TCN-with-CRF模型在NLPCC2016测试集上取得92.34的F1分数,较基础TCN(Tcn-no-CRF)提升9.45个百分点。
  • 在CITYU数据集上F1得分为94.1,在PKU数据集上为94.4,与或略优于当前最优的Bi-LSTM-CRF模型表现相当。
  • 训练速度达到每秒263个句子,较Bi-LSTM-with-CRF(每秒120个句子)提升2.2倍,充分体现了其优越的并行化能力。
  • 采用未来方案(右文关注)相比过去方案(左文关注)提升0.31个F1分数,原因在于避免了零填充导致的信息丢失。
  • 该模型在简体与繁体中文语料上均表现出稳健性能,证实其良好的泛化能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。