Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ViCLSR: A Supervised Contrastive Learning Framework with Natural Language Inference for Natural Language Understanding Tasks

About

High-quality text representations are crucial for natural language understanding (NLU), but low-resource languages like Vietnamese face challenges due to limited annotated data. While pre-trained models like PhoBERT and CafeBERT perform well, their effectiveness is constrained by data scarcity. Contrastive learning (CL) has recently emerged as a promising approach for improving sentence representations, enabling models to effectively distinguish between semantically similar and dissimilar sentences. We propose ViCLSR (Vietnamese Contrastive Learning for Sentence Representations), a novel supervised contrastive learning framework specifically designed to optimize sentence embeddings for Vietnamese, leveraging existing natural language inference (NLI) datasets. Additionally, we propose a process to adapt existing Vietnamese datasets for supervised learning, ensuring compatibility with CL methods. Our experiments demonstrate that ViCLSR significantly outperforms the powerful monolingual pre-trained model PhoBERT on five benchmark NLU datasets such as ViNLI (+6.97% F1), ViWikiFC (+4.97% F1), ViFactCheck (+9.02% F1), UIT-ViCTSD (+5.36% F1), and ViMMRC2.0 (+4.33% Accuracy). ViCLSR shows that supervised contrastive learning can effectively address resource limitations in Vietnamese NLU tasks and improve sentence representation learning for low-resource languages. Furthermore, we conduct an in-depth analysis of the experimental results to uncover the factors contributing to the superior performance of contrastive learning models. ViCLSR is released for research purposes in advancing natural language processing tasks.

Tin Van Huynh, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen• 2026

Related benchmarks

TaskDatasetResultRank
Multiple-choice reading comprehensionViMMRC 2.0
Accuracy59.06
29
Natural Language InferenceViNLI
Accuracy82.86
17
Information RetrievalViWikiFC
Top-1 Accuracy83.05
12
Constructive Speech DetectionUIT-ViCTSD
Accuracy83.4
8
Fact CheckingViWikiFC
Accuracy86.56
8
Fact CheckingViFactCheck
F1 Score88.78
8
Showing 6 of 6 rows

Other info

Follow for update