PhoPunct: A Large-Scale Benchmark of Transformer Architectures for Vietnamese Punctuation Restoration

Khoa D. Nguyen, Thai Bao Huynh, Binh T. NguyenarXiv 2026

TL;DR

The authors present PhoPunct, a large-scale benchmark for Vietnamese punctuation restoration using 22.1 million labeled tokens. Their most surprising finding: under a fixed optimization budget, adding complex recurrent (Bi-LSTM) or structured-prediction (CRF) layers to a Transformer backbone rarely improves performance over a simple linear classifier.

What Problem Does This Paper Address?

Punctuation restoration is a critical post-processing step for Automatic Speech Recognition (ASR), turning a "stream of words" into readable text. While modern systems typically use pretrained Transformers (like BERT) with additional layers on top, research in Vietnamese has been limited by small datasets and inconsistent evaluation.

Specifically, it was unclear if the gains reported from adding Bi-LSTM or CRF layers were due to the architecture itself or simply because those models were tuned more extensively. This paper introduces a controlled "matched grid" to isolate the effect of the prediction head from the Transformer backbone.

Methods

The researchers evaluated 17 different architectures using a "matched grid" approach. They selected four base-sized Transformer backbones representing different pretraining paradigms:

  • mBERT: Multilingual BERT (general reference).
  • XLM-R: A large-scale multilingual model.
  • vELECTRA: A monolingual Vietnamese model using a discriminative objective.
  • ViBERT: A monolingual Vietnamese model pretrained specifically on news.

Each backbone was paired with four types of prediction heads: Plain (linear layer), Bi-LSTM, CRF, and Bi-LSTM–CRF.

Figure 3: Matched prediction-head framework (dashed boxes denote optional components). Each backbone pro- duces one contextual representation per word through first-subword gathering. The Plain, Bi-LSTM, CRF, and Bi-LSTM–CRF configurations use the same classifier- module parameterization across the four base-sized backbones; PhoBERT-large supplies the backbone for PhoPunct.

Crucially, all models were trained under a fixed optimization budget: the same number of epochs, the same learning rate for all parameters, and no architecture-specific tuning. They also introduced PhoPunct, a high-capacity model combining PhoBERT-large with a Bi-LSTM–CRF head.

Datasets

The study uses the News and Novels corpora, totaling 22.1 million labeled tokens (19.9M News, 2.2M Novels).

  • News: Standardized, formal Vietnamese journalistic text.
  • Novels: Literary prose featuring more dialogue, fragments, and varied sentence boundaries.

The authors highlight a massive class imbalance in these datasets. For instance, the "no punctuation" (O) class outnumbers rare marks like semicolons by several orders of magnitude.

Figure 2: Punctuation-label counts by domain over the complete train, validation, and test splits. Counts are displayed on a logarithmic scale.

Key Insights and Ideas

  • The "Negative Result" on Complexity: In 7 out of 8 matched comparisons, the "Plain" Transformer classifier matched or outperformed the more complex Bi-LSTM–CRF version. This suggests that the bidirectional context provided by the Transformer backbone is often sufficient, and adding more layers just increases the optimization burden without adding new information.
  • Optimization vs. Architecture: The authors argue that newly initialized layers (like a Bi-LSTM) might require different learning rates or longer training schedules than the pretrained backbone. When forced to share a "gentle" fine-tuning budget, these complex heads remain undertrained.
  • Domain Sensitivity: Performance is significantly lower on Novels than on News across all models. The colloquial nature of dialogue and quotations in novels makes boundary prediction much harder than in formal news text.
  • Backbone Dominance: The choice of backbone (e.g., XLM-R vs. mBERT) had a much larger impact on the final Macro F1 score than the choice of the prediction head.

Key Results

The benchmark shows that there is no single "best" architecture for all domains:

  • News: The proposed PhoPunct model (PhoBERT-large backbone) achieved the highest score with a 61.35 Macro F1.
  • Novels: XLM-R with a CRF head performed best (50.18 Macro F1), actually beating the larger PhoPunct model (48.97).
The heatmap shows that while XLM-R is generally the strongest base backbone, the gains from adding a CRF or Bi-LSTM are marginal or even negative under a fixed budget.

Limitations and Future Work

  • Optimization Constraints: The "fixed budget" protocol, while scientifically rigorous for isolating variables, might disadvantage heads that could perform better if tuned separately (e.g., using a higher learning rate for the head than the backbone).
  • Data Gaps: The benchmark lacks "noisy" data like social media or conversational ASR transcripts, which are common real-world use cases.
  • Rare Class Stability: Some marks, like the semicolon in the Novels test set (only 6 instances), are too rare to draw stable conclusions about model performance.
  • Future Directions: The authors suggest exploring separate learning rates for heads and backbones and extending the benchmark to more diverse Vietnamese linguistic domains.

Summary updated

Abstract

Vietnamese punctuation restoration is often evaluated on relatively small benchmarks, limiting conclusions about how architectural choices scale with data volume. We present a controlled benchmark on News and Novels corpora containing 22.1 million labeled tokens (19.9M News and 2.2M Novels). We evaluate 17 architectures formed from four pretrained Transformer backbones and optional bidirectional long short-term memory (Bi-LSTM) and conditional random field (CRF) layers, together with a PhoBERT-large-Bi-LSTM-CRF model, PhoPunct. Every model is trained for eight epochs with the same learning rate and without architecture-specific tuning. Under this fixed budget, adding Bi-LSTM and CRF layers does not reliably improve macro F1: in seven of eight matched domain-backbone comparisons, a plain Transformer classifier matches or outperforms its Bi-LSTM-CRF counterpart. PhoPunct obtains the best News result (61.35), whereas XLM-R with a CRF obtains the best Novels result (50.18), exceeding PhoPunct (48.97). These results show that the value of recurrent and structured-prediction heads depends on their optimization regime and motivate explicit separation between architectural improvements and improvements due to architecture-specific tuning. Our source code is available at: https://github.com/aisia-research-lab/PhoPunct
BibTeX
@misc{nguyen2026phopunct,
  author = {Khoa D. Nguyen and Thai Bao Huynh and Binh T. Nguyen},
  title = {{PhoPunct: A Large-Scale Benchmark of Transformer Architectures for Vietnamese Punctuation Restoration}},
  year = {2026},
  eprint = {2611.09107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.09107},
}
Figure