Skip to content

Dual-BERT adversarial learning for Hausa user-generated text normalization

Sep 2026 · Frontiers in Artificial Intelligence · Vol 9 · 0 citations · 37 references
Medicine

Abstract

Text normalization (TN) is a crucial preprocessing task in Natural Language Processing (NLP) that enables the conversion of noisy, informal texts into standardized forms suitable for downstream applications, such as machine translation, speech recognition, text-to-speech systems, sentiment analysis, and information retrieval. User-Generated Content (UGC) from social media and messaging platforms often contains irregularities such as abbreviations, phonetic spellings, code-switching, and orthographic inconsistencies. These irregularities have significant implications, especially for low-resourced languages like Hausa, which have limited annotated corpora and computational resources. Existing rule-based and statistical methods struggle in their performance with Hausa text because of spelling variations, code-mixing, abbreviations, and contextual ambiguities. In contrast, neural networks like transformers require a large dataset for efficient training; however, the lack of specialized resources like a parallel corpus further worsens the inefficiency of current models in handling Hausa UGC. To address these gaps, two corpora were developed: a Hausa UGC corpus collected from Twitter and WhatsApp, and a standard Hausa corpus consisting of 27,847 sentences each. The UGC corpus was analyzed to identify Out-of-Vocabulary (OOV) words, their features, and usage patterns. A Dual-BERT Adversarial Network model was then designed and trained to map non-standard Hausa words into their canonical forms accurately. The developed model integrates dual-BERT within an adversarial learning framework, enabling it to capture both the semantic and contextual relationships between informal and standard text. One BERT processes noisy, user-generated Hausa input, while the other learns from standard Hausa sentences, allowing the system to model bidirectional correspondences between the two linguistic forms. Their representations are fused and refined through a generator-discriminator architecture, where the generator produces normalized outputs and the discriminator enforces contextual correctness by distinguishing genuine standard text from generated ones. This adversarial dual-BERT design enhances robustness, contextual awareness, and generalization, making the model highly effective for transforming inconsistent Hausa UGC into standardized text suitable for downstream NLP applications. Experimental results demonstrate that the proposed model achieved an Exact Match Accuracy of 83.99%, BLEU score of 0.7534, WER of 12.02%, and CER of 7.03%, outperforming the evaluated baseline models across all reported metrics. Qualitative analysis further shows that the model effectively normalizes abbreviations, phonetic spellings, character elongations, and many Hausa-English code-mixed expressions, while insertion and deletion errors remain comparatively more challenging. The primary contributions of this work are (i) the construction of a manually annotated parallel corpus for Hausa user-generated text normalization, (ii) the development of a Dual-BERT adversarial framework for context-aware normalization in a low-resource setting, and (iii) a comprehensive evaluation demonstrating the effectiveness of the proposed approach for improving the quality of Hausa user-generated text and supporting downstream NLP applications.

Read PDF

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Conference Open access Dec 2013

Affordable and Energy-Efficient Cloud Computing Clusters: The Bolzano Raspberry Pi Cloud Cluster Experiment

The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.

P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al. · 110 citations · ⚡7
#computer vision Book Open access Mar 2017

On the Unhappiness of Software Developers

The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 84 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.