Skip to main content

SemViQA: A Semantic Question Answering System for Vietnamese Fact-Checking

Project description

SemViQA: A Semantic Question Answering System for Vietnamese Information Fact-Checking

Authors:

Nam V. Nguyen, Dien X. Tran, Thanh T. Tran, Anh T. Hoang, Tai V. Duong, Di T. Le, Phuc-Lu Le

📌 About🔍 Checkpoints🚀 Quick Start🏋️‍♂️ Training🧪 Pipeline📖 Citation


📌 About

Misinformation is a growing problem, exacerbated by the increasing use of Large Language Models (LLMs) like GPT and Gemini. This issue is even more critical for low-resource languages like Vietnamese, where existing fact-checking methods struggle with semantic ambiguity, homonyms, and complex linguistic structures.

To address these challenges, we introduce SemViQA, a novel Vietnamese fact-checking framework integrating:

  • Semantic-based Evidence Retrieval (SER): Combines TF-IDF with a Question Answering Token Classifier (QATC) to enhance retrieval precision while reducing inference time.
  • Two-step Verdict Classification (TVC): Uses hierarchical classification optimized with Cross-Entropy and Focal Loss, improving claim verification across three categories:
    • Supported
    • Refuted
    • Not Enough Information (NEI) 🤷‍♂️

🏆 Achievements

  • 1st place in the UIT Data Science Challenge 🏅
  • State-of-the-art performance on:
    • ISE-DSC0178.97% strict accuracy
    • ViWikiFC80.82% strict accuracy
  • SemViQA Faster: 7x speed improvement over the standard model 🚀

These results establish SemViQA as a benchmark for Vietnamese fact verification, advancing efforts to combat misinformation and ensure information integrity.


🔍 Checkpoints

We are making our SemViQA experiment checkpoints publicly available to support the Vietnamese fact-checking research community. By sharing these models, we aim to:

  • Facilitate reproducibility: Allow researchers and developers to validate and build upon our results.
  • Save computational resources: Enable fine-tuning or transfer learning on top of pre-trained and fine-tuned models instead of training from scratch.
  • Encourage further improvements: Provide a strong baseline for future advancements in Vietnamese misinformation detection.
Method Model ViWikiFC ISE-DSC01
TC InfoXLMlarge Link Link
XLM-Rlarge Link Link
Ernie-Mlarge Link Link
BC InfoXLMlarge Link Link
XLM-Rlarge Link Link
Ernie-Mlarge Link Link
QATC InfoXLMlarge Link Link
ViMRClarge Link Link
QA origin InfoXLMlarge Link Link
ViMRClarge Link Link

🚀 Quick Start

📥 Installation

1️⃣ Clone this repository

git clone https://github.com/DAVID-NGUYEN-S16/SemViQA.git
cd SemViQA

2️⃣ Set up Python environment

We recommend using Python 3.11 in a virtual environment (venv) or Anaconda.

Using venv:

python -m venv semviqa_env
source semviqa_env/bin/activate  # On MacOS/Linux
semviqa_env\Scripts\activate      # On Windows

Using Anaconda:

conda create -n semviqa_env python=3.11 -y
conda activate semviqa_env

3️⃣ Install dependencies

pip install --upgrade pip
pip install transformers==4.42.3
pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118
pip install -r requirements.txt

🏋️‍♂️ Training

Train different components of SemViQA using the provided scripts:

1️⃣ Three-Class Classification Training

bash scripts/tc.sh

2️⃣ Binary Classification Training

bash scripts/bc.sh

3️⃣ QATC Model Training

bash scripts/qatc.sh

🧪 Pipeline

Use the trained models to predict test data:

bash scripts/pipeline.sh

Acknowledgment

Our development is based on our previous works:

SemViQA is the final version we have developed for verifying fact-checking in Vietnamese, achieving state-of-the-art (SOTA) performance compared to any other system for Vietnamese.

📖 Citation

If you use SemViQA in your research, please cite our work:

@misc{nguyen2025semviqasemanticquestionanswering,
      title={SemViQA: A Semantic Question Answering System for Vietnamese Information Fact-Checking}, 
      author={Nam V. Nguyen and Dien X. Tran and Thanh T. Tran and Anh T. Hoang and Tai V. Duong and Di T. Le and Phuc-Lu Le},
      year={2025},
      eprint={2503.00955},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2503.00955}, 
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semviqa-1.0.4.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semviqa-1.0.4-py2.py3-none-any.whl (24.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file semviqa-1.0.4.tar.gz.

File metadata

  • Download URL: semviqa-1.0.4.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for semviqa-1.0.4.tar.gz
Algorithm Hash digest
SHA256 343364b9f50d92e322525650face6604749922bf87dfcc0818c9787ec90b90cc
MD5 704e5350a7ce05dc654687dc98378190
BLAKE2b-256 410a6bf7ce5b2f4e5cecb7474ac5b08f7e8b009dab584e05d93fbad1d8a6df20

See more details on using hashes here.

File details

Details for the file semviqa-1.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: semviqa-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for semviqa-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d53cb75305eebbd14ac973c4914f8b8bf6fdfc726a6428fab4cac9279cd0efa
MD5 6b2823185520526b69bab4a3983abe35
BLAKE2b-256 dcad3a69f41da0950ee23c087254bec9e2b2a8ab7a3a50af0aa9611c4b6455d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page