Graph-Augmented Transformers for Hausa Sentiment Analysis: When Does Graph Structure Help?
- Authors
-
-
Hafsa K. AHMAD
Author
-
- Keywords:
- Low-resource languages, sentiment analysis, graph attention networks, transformer models, hybrid architectures, African languages
- Abstract
-
Hausa is still under-represented within natural language processing (NLP) research, despite having one of the largest speaker populations on the African continent. This study asks whether graph-augmented transformer architectures deliver measurable gains for sentiment analysis under those conditions. A hybrid model was developed and evaluated that combines a pre-trained transformer encoder with a Graph Attention Network (GAT) built over a document-word corpus graph, whose node features are obtained from Term Frequency–Inverse Document Frequency (TF-IDF) representations and fused via a learned scalar attention gate. Through systematic experiments across three transformer backbones, namely AfriBERTa (Hausa-inclusive pretraining), XLM-RoBERTa (general multilingual), and mDeBERTa-v3 (general multilingual), across four labeled data regimes (10%, 25%, 50%, 100%), the results show that the value of graph augmentation depends critically on the transformer’s language-specific pretraining. When paired with AfriBERTa, the hybrid offers no significant benefit (ΔF1 = −0.003), as language-specific pretraining already captures sufficient lexical and structural information. When paired with XLM-RoBERTa, the hybrid achieves a consistent gain of +0.017 Macro F1, with the advantage growing with data availability. The findings further demonstrate that TF-IDF node feature initialization is essential for enabling genuine transformer-GAT fusion, and that random initialization causes the attention gate to collapse to transformer-only behavior. These results suggest that for Hausa and other comparable low-resource languages, a well-adapted language-specific model is often enough, and that graph augmentation becomes truly useful as a complementary technique when only general multilingual transformers are available. Taken together, these findings offer concrete guidance for researchers developing NLP systems for Hausa and similar low-resource languages.
- References
- Downloads
- Published
- 14-08-2026
- Section
- Articles
- License
-
Copyright (c) 2026 Hafsa K. AHMAD (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
How to Cite
Similar Articles
- Olusiji A. ADEYANJU, Joseph O. OLAIDE, Machine Learning Models for Predicting Flow Rate for Niger Delta Oil Wells , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Suleiman ZUBAIR, Hassan T. ABDULAZEEZ, Bala A. SALIHU, Gambo MOHAMMED, A Low-Cost, Offline-Capable Wireless Soil Moisture Monitoring System for Smallholder Farmers: Design, Validation, and Agronomic Impact , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Mohammed A. GANA, Zaka A. MSHELIA, Isuwa S. AJI, Alhaji GUJJA, Lawan A.M. KOLO, Investigation and Comparative Analysis of Natural Moulding Sands from Five Deposits in Maiduguri, Nigeria , FUDMA Journal of Engineering and Technology: Vol. 1 No. 2 (2025): December 2025
- Muhammad M. HAMIDU, Mathew KATAMBI, Omar FARUQ, Techno-Economic and Environmental Assessment of a Solar PV-Based Microgrid for Residential Electrification in Gwange I, Maiduguri Using HOMER Pro , FUDMA Journal of Engineering and Technology: Vol. 1 No. 2 (2025): December 2025
- James AUDU, Abdulraman A. SALAWU, Muriana R. AREMU, Abdullahi A. ALHAJI, Lawal S. SIUS, Characterisation of Pumice-Kaolin Refractory Bricks for High Temperature Industrial Applications , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Folakemi B. OYEYEMI, Usman A. ABDURRAHMAN, Detecting and Mitigating Cybersecurity Threats in Nigerian Commercial Banks Using Machine Learning: A Case Study of Selected Institutions , FUDMA Journal of Engineering and Technology: Vol. 2 No. 2 (2026): December 2026
- Sarafa ISHOLA, Olusegun S. OLAOYE, Adeyinka A. ADEGBOLA, Isaac A. OLUREMI, Oluseye O. AGBEDE, Drying Kinetics and Combustion Characteristics of Carbonized Cashew Nut Shell Briquettes Under Open Sun, Passive and Active Solar Drying , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Ibrahim BALA, Solomon M. DAUDA, Audu A. BALAMI, Peter A. IDAH, Design Analysis of a Kenaf Decorticating Machine , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Bala ABDULLAHI, Bala G. ABDURRAHMAN, Yusuf ALHASAN, Saidu B. ABUBAKAR, Bashir I. KUNYA, Raya K. ALDADAH, Saad MAHMOUD, Ahmed REZK, Effects of Truncating the Height of Compound Parabolic Collector on its Geometry, Optical and Thermal Performances , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Ameh RICHARD, Sani B. MUHAMMAD, Terver AUSE, Umar SHEHU, Assessment of the Suitability of Wusasa Clay for Refractory Bricks Production , FUDMA Journal of Engineering and Technology: Vol. 2 No. 2 (2026): December 2026
You may also start an advanced similarity search for this article.
