ViDeBERTa: A powerful pre-trained language model for Vietnamese

Cong Dao Tran, Nhut Huy Pham, Anh Tuan Nguyen, Truong Son Hy, Tu Vu

TL;DR

This paper introduces ViDeBERTa, a new family of pre-trained language models specifically designed for Vietnamese. By leveraging the DeBERTaV3 architecture and a large, high-quality Vietnamese corpus, ViDeBERTa achieves state-of-the-art results on several Vietnamese NLP tasks, including Part-of-Speech tagging, Named Entity Recognition, and Question Answering, often with significantly fewer parameters than existing models.

What Problem Does This Paper Address?

While the field of Natural Language Processing (NLP) has seen tremendous progress with large pre-trained language models (PLMs) like BERT, RoBERTa, and DeBERTa, the development of such models for low-resource languages, such as Vietnamese, has lagged behind. Existing Vietnamese PLMs often suffer from smaller training datasets and may not fully leverage the advancements in model architectures. This gap limits the performance of Vietnamese NLP applications, particularly in complex tasks like Question Answering. The authors aim to bridge this gap by creating a powerful, Vietnamese-specific PLM that can achieve state-of-the-art performance while being more parameter-efficient.

Methods

The core of this work is the development of ViDeBERTa, a family of models built upon the DeBERTaV3 architecture. DeBERTaV3 is known for its disentangled attention mechanism, which separates content and position embeddings, and an improved mask decoder. The authors adopted DeBERTaV3's pre-training objectives: Masked Language Modeling (MLM) and Replaced Token Detection (RTD). They also incorporated a novel weight-sharing method called Gradient-Disentangled Embedding Sharing (GDES) from DeBERTaV3.

ViDeBERTa is presented in three versions: ViDeBERTaxsmall, ViDeBERTabase, and ViDeBERTalarge, differing in their number of layers and parameters. The models were pre-trained on a large Vietnamese corpus (CC100 Dataset) and then fine-tuned on downstream tasks. For Question Answering, they also proposed a new framework, ViDeBERTa-QA, which combines a BM25 retriever with a ViDeBERTa model as the reader.

Datasets

  • Pre-training: CC100 Vietnamese monolingual corpus (138GB of uncompressed text).
  • Fine-tuning and Evaluation:
    • Part-of-Speech (POS) Tagging: VLSP POS tagging dataset.
  • Named Entity Recognition (NER): PhoNER dataset.
  • Question Answering (QA): * Machine Reading Comprehension (MRC): ViQuAD dataset.
  • Open-Domain Question Answering (ODQA): ViQuAD dataset.

The ViQuAD dataset is a Vietnamese corpus containing over 23,000 question-answer-passage triples.

Key Insights and Ideas

  • DeBERTaV3 Architecture is Key: The paper strongly suggests that the DeBERTaV3 architecture, with its disentangled attention and improved decoding, provides a significant advantage for pre-training, even for low-resource languages.
  • Data Scale Matters: ViDeBERTa's performance is attributed, in part, to being trained on a much larger corpus (138GB) compared to previous Vietnamese models like PhoBERT (20GB), highlighting the importance of data scale for PLM effectiveness.
  • Parameter Efficiency: A major takeaway is that ViDeBERTa models achieve comparable or superior performance to larger models (like PhoBERTlarge or XLM-Rlarge) with significantly fewer parameters, making them more accessible and efficient.
  • Unified Framework for QA: The ViDeBERTa-QA framework demonstrates a successful integration of a retriever and a powerful reader for open-domain QA, achieving strong results.

Key Results

  • State-of-the-Art Performance: ViDeBERTa models achieved state-of-the-art (SOTA) results on Vietnamese POS tagging, NER, and MRC tasks.
  • POS Tagging & NER: ViDeBERTa models outperformed XLM-R and PhoBERT. For instance, ViDeBERTalarge achieved an F1 score of 95.3% for NER, surpassing previous SOTA models.
  • MRC: ViDeBERTa models significantly boosted performance over XLM-R and PhoBERT on the ViQuAD MRC task, with ViDeBERTalarge reaching an F1 score of 89.9%.
  • ODQA: The ViDeBERTa-QA framework outperformed existing ODQA systems like XLMRQA, BERTserini, and DrQA, particularly for larger values of k (number of selected passages).
  • Parameter Efficiency Example: ViDeBERTabase (86M parameters) achieved comparable or better results than PhoBERTlarge (370M parameters) on several tasks, using only about 23% of the parameters. ViDeBERTaxsmall (22M parameters) also outperformed PhoBERTbase (135M parameters) on MRC.

Limitations and Future Work

  • Limited Ablation Studies: The authors acknowledge that more analyses and ablation studies are needed to fully understand which specific components of ViDeBERTa contribute most to its success and what kind of Vietnamese knowledge it captures.
  • Future Work: The paper suggests further exploration into these aspects. Additionally, the authors hope their publicly available ViDeBERTa models will spur further NLP research and applications for Vietnamese and other low-resource languages.

Summary updated

BibTeX
@inproceedings{tran2023videberta,
  author = {Cong Dao Tran and Nhut Huy Pham and Anh Tuan Nguyen and Truong Son Hy and Tu Vu},
  title = {{ViDeBERTa: A powerful pre-trained language model for Vietnamese}},
  booktitle = {EACL (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-eacl.79},
}
Figure