Who Wrote This? Identifying Machine vs Human-Generated Text in Hausa

Babangida Sani, Aakansha Soy, Sukairaj Hafiz Imam, Ahmad Mustapha, Lukman Jibril Aliyu +3 more
3/17/2025
cs.CL

No official code found. Best implementation: TheBangis/hausa_corpus (0 stars, last commit 2025-05-13).

Abstract

The advancement of large language models (LLMs) has allowed them to be proficient in various tasks, including content generation. However, their unregulated usage can lead to malicious activities such as plagiarism and generating and spreading fake news, especially for low-resource languages. Most existing machine-generated text detectors are trained on high-resource languages like English, French, etc. In this study, we developed the first large-scale detector that can distinguish between human- and machine-generated content in Hausa. We scrapped seven Hausa-language media outlets for the human-generated text and the Gemini-2.0 flash model to automatically generate the corresponding Hausa-language articles based on the human-generated article headlines. We fine-tuned four pre-trained Afri-centric models (AfriTeVa, AfriBERTa, AfroXLMR, and AfroXLMR-76L) on the resulting dataset and assessed their performance using accuracy and F1-score metrics. AfroXLMR achieved the highest performance with an accuracy of 99.23% and an F1 score of 99.21%, demonstrating its effectiveness for Hausa text detection. Our dataset is made publicly available to enable further research.

View on arXivView PDF

Code Implementations(1)

00Feb 8, 20251 years ago

Similar Papers

Cite this paper

@article{sani2025wrote,
  title  = {Who Wrote This? Identifying Machine vs Human-Generated Text in Hausa},
  author = {Babangida Sani and Aakansha Soy and Sukairaj Hafiz Imam and Ahmad Mustapha and Lukman Jibril Aliyu and Idris Abdulmumin and Ibrahim Said Ahmad and Shamsuddeen Hassan Muhammad},
  year   = {2025},
  eprint = {2503.13101},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13101v1}
}

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/2503.13101.svg)](https://codeofpaper.com/paper/2503.13101)

Discussion