GoiBERT: Compact Vietnamese Language Models via Two-Stage Knowledge Distillation

Quang Anh Kiet Tran, Nam Anh Tran, Manh Hung Trinh, Thanh Danh Le, Khang Nhat Hoang Vo +1 more
10/21/2026
cs.CL
distillation

Official code: Nhantran65/GoiBERT (4 stars, last commit 2026-10-23).

Abstract

Vietnamese pre-trained encoders have improved rapidly, but the strongest ones are large, multilingual-vocabulary models or depend on external word segmentation, which makes them costly to deploy. We present GoiBERT, a family of two compact Vietnamese encoders with 26M and 49M parameters that operate directly on raw text. GoiBERT learns from two complementary teachers. A same-tokenizer Vietnamese encoder first teaches general-purpose representations. A much larger teacher then provides task-level guidance through soft labels that are generated without ever labeling its own training data. Across eight benchmarks covering text classification, aspect-based sentiment analysis, natural language inference, and named entity recognition, GoiBERT-large achieves the highest average score among non-teacher models. It does so with fewer than half the parameters of the strongest compact baseline and twice its throughput. GoiBERT-base retains 99% of that baseline's performance at a quarter of its size. Our analysis shows that compression is nearly lossless for sentiment and classification tasks but remains costly for inference and entity recognition, which points to clear directions for future work. Our code and models are available at: https://github.com/Nhantran65/GoiBERT.git

View on arXivView PDF

Code Implementations(1)

Nhantran65/GoiBERTOfficial100%

GoiBERT: Compact Vietnamese Language Models via Two-Stage Knowledge Distillation

42Sep 20, 2026yesterday

Similar Papers

Cite this paper

@article{tran2026goibert,
  title  = {GoiBERT: Compact Vietnamese Language Models via Two-Stage Knowledge Distillation},
  author = {Quang Anh Kiet Tran and Nam Anh Tran and Manh Hung Trinh and Thanh Danh Le and Khang Nhat Hoang Vo and Huynh Dai Nhan Tran},
  year   = {2026},
  eprint = {2610.30067},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.30067v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.30067.svg)](https://codeofpaper.com/paper/2610.30067)

Discussion