[Paper Review] Improving Large-scale Language Models and Resources for Filipino
This paper introduces TLUnified, a large-scale, diverse pretraining corpus for Filipino, and fine-tunes RoBERTa-based language models on it. The new models achieve significant performance gains—averaging 4.47% higher test accuracy—across three benchmark tasks (hate speech detection, dengue symptom classification, and NLI), outperforming prior Filipino models like BERT and ELECTRA.
In this paper, we improve on existing language resources for the low-resource Filipino language in two ways. First, we outline the construction of the TLUnified dataset, a large-scale pretraining corpus that serves as an improvement over smaller existing pretraining datasets for the language in terms of scale and topic variety. Second, we pretrain new Transformer language models following the RoBERTa pretraining technique to supplant existing models trained with small corpora. Our new RoBERTa models show significant improvements over existing Filipino models in three benchmark datasets with an average gain of 4.47% test accuracy across the three classification tasks of varying difficulty.
Motivation & Objective
- Address the scarcity of large-scale, diverse pretraining data for low-resource Filipino by creating a new, expansive corpus.
- Improve the performance of Filipino language models by training RoBERTa-based architectures on a larger and more varied dataset than previously available.
- Supersede existing Filipino models (e.g., BERT and ELECTRA) by demonstrating superior accuracy on downstream classification tasks.
- Enhance the robustness and generalization of Filipino NLP models through improved data quality and topic diversity in pretraining.
- Provide open-source, state-of-the-art RoBERTa models for Filipino to support future research and applications.
Proposed method
- Constructed TLUnified by aggregating multiple multilingual bitexts (e.g., Bible-UEdin, ParaCrawl, TED2020), OSCAR’s Filipino subset, and a 60% subset of the NewsPH news corpus.
- Applied five filtering steps: non-Latin character filter (>15% non-Latin), length filter (4–150 tokens), punctuation filter (excessive punctuation), average word length filter (ratio 3–18), and HTML/URL filter.
- Performed deduplication and trained a BPE tokenizer with 32,000 subwords and 100% character coverage, preserving case sensitivity.
- Pretrained RoBERTa-base and RoBERTa-large models using the RoBERTa pretraining objective (masked language modeling) with hyperparameters aligned to the original RoBERTa paper.
- Fine-tuned the models on three benchmark datasets: Hatespeech (multi-label), Dengue (multi-label), and NewsPH-NLI Medium (natural language inference), using sequence lengths of 128–256 tokens.
- Added special tokens ([LINK], [MENTION], [HASHTAG]) to the vocabulary for the Hatespeech and Dengue tasks, initializing their embeddings via averaging subword vectors.
Experimental results
Research questions
- RQ1Can a larger and more diverse pretraining corpus significantly improve the performance of Filipino language models compared to smaller, topic-narrow datasets?
- RQ2Does training RoBERTa-based models on the new TLUnified corpus lead to measurable gains in downstream classification tasks for Filipino?
- RQ3How do the performance gains of the new RoBERTa models compare to existing state-of-the-art models like BERT and ELECTRA for Filipino?
- RQ4To what extent does model size (base vs. large) contribute to performance improvements when pretraining data is still limited?
- RQ5Does the inclusion of diverse, high-quality, and filtered multilingual bitexts and news data enhance the robustness of Filipino NLP models?
Key findings
- The RoBERTa Large model achieved a 4.07% absolute improvement in test accuracy over the best prior model (BERT Base) on the Hatespeech detection task.
- The RoBERTa Large model achieved a 5.3% test accuracy gain over BERT Base on the Dengue symptom classification task, the largest improvement among all benchmarks.
- The RoBERTa Large model achieved a 4.04% test accuracy gain over ELECTRA Base on the NewsPH-NLI Medium natural language inference task.
- The RoBERTa Base model outperformed both BERT Base and ELECTRA Base across all three tasks, with gains of +3.9% on Hatespeech, +4.4% on Dengue, and +3.95% on NLI.
- The performance gap between RoBERTa Base and RoBERTa Large was minimal—only +0.17% on Hatespeech, +0.9% on Dengue, and +0.09% on NLI—suggesting that the current TLUnified corpus may not yet fully exploit the capacity of larger models.
- The average test accuracy improvement across all three tasks was 4.47%, demonstrating consistent and significant gains from the improved pretraining data and RoBERTa fine-tuning strategy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.