Skip to main content
QUICK REVIEW

[Paper Review] Improving Sequence Tagging for Vietnamese Text Using Transformer-based Neural Models

Viet Bui The, Oanh Tran Thi|arXiv (Cornell University)|Jun 29, 2020
Natural Language Processing TechniquesComputer Science21 references25 citations
TL;DR

This paper proposes viBERT and vELECTRA, multilingual BERT and ELECTRA-based models fine-tuned with attentional RNNs for Vietnamese sequence tagging. It achieves state-of-the-art results—95.40% accuracy on POS tagging (VLSP 2010), 96.77% on VLSP 2013, 94.07% F1 on NER (VLSP 2016), and 90.31% F1 on VLSP 2018—through improved fine-tuning and pre-training on large Vietnamese corpora, with code and models released open source.

ABSTRACT

This paper describes our study on using mutilingual BERT embeddings and some new neural models for improving sequence tagging tasks for the Vietnamese language. We propose new model architectures and evaluate them extensively on two named entity recognition datasets of VLSP 2016 and VLSP 2018, and on two part-of-speech tagging datasets of VLSP 2010 and VLSP 2013. Our proposed models outperform existing methods and achieve new state-of-the-art results. In particular, we have pushed the accuracy of part-of-speech tagging to 95.40% on the VLSP 2010 corpus, to 96.77% on the VLSP 2013 corpus; and the F1 score of named entity recognition to 94.07% on the VLSP 2016 corpus, to 90.31% on the VLSP 2018 corpus. Our code and pre-trained models viBERT and vELECTRA are released as open source to facilitate adoption and further research.

Motivation & Objective

  • To improve sequence tagging performance for Vietnamese using multilingual BERT and ELECTRA architectures.
  • To develop and pre-train dedicated Vietnamese language models (viBERT and vELECTRA) on large-scale monolingual corpora.
  • To enhance fine-tuning strategies by replacing linear layers with attentional RNNs for better sequence modeling.
  • To achieve state-of-the-art results on benchmark Vietnamese POS tagging and NER datasets.
  • To release open-source code and pre-trained models to support further research in Vietnamese NLP.

Proposed method

  • Pre-train viBERT and vELECTRA on 10GB and 60GB of uncompressed Vietnamese text using multilingual BERT and ELECTRA architectures.
  • Use whole-word masking in BERT-style pre-training and replaced token detection in ELECTRA-style pre-training to improve representation learning.
  • Fine-tune the pre-trained models using biLSTM or biGRU with self-attention mechanisms instead of simple linear layers for sequence tagging.
  • Apply learned positional embeddings with sequence length up to 256 tokens and use WordPiece tokenization with ## subword units.
  • Optimize models using Adam with β1 = 0.9, β2 = 0.999, ϵ = 1e−6, and weight decay of 0.01.
  • Evaluate on VLSP 2010, 2013 (POS tagging) and VLSP 2016, 2018 (NER) datasets using accuracy and F1 score.

Experimental results

Research questions

  • RQ1Can fine-tuning BERT and ELECTRA with attentional RNNs significantly improve sequence tagging performance on Vietnamese?
  • RQ2How does pre-training on large monolingual Vietnamese corpora affect downstream sequence tagging tasks compared to multilingual mBERT?
  • RQ3Does the replaced token detection objective in ELECTRA outperform the masked language modeling objective in BERT for Vietnamese NLP tasks?
  • RQ4What is the impact of different sequence tagging architectures (e.g., biLSTM, biGRU, attention) on model performance when combined with pre-trained models?
  • RQ5Can the proposed models achieve state-of-the-art results on standard Vietnamese benchmark datasets for POS tagging and NER?

Key findings

  • The proposed vELECTRA model achieves 95.40% accuracy on the VLSP 2010 POS tagging dataset, surpassing previous SOTA by over 2 percentage points.
  • On the VLSP 2013 POS tagging dataset, the model reaches 96.77% accuracy, setting a new state-of-the-art result.
  • For NER on the VLSP 2016 dataset, the best-performing model achieves 94.07% F1 score, significantly outperforming prior methods.
  • On the VLSP 2018 NER dataset, the model achieves 90.31% F1 score, marking a 3% improvement over mBERT and viBERT.
  • The biGRU with attention architecture yields the best performance on the VLSP 2018 NER dataset, while biLSTM with attention performs best on VLSP 2016.
  • Decoding times are practical, with vELECTRA being the fastest model, and the system is already deployed in production at FPT.AI serving over 30 million users.

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.