← Back to Articles

Explainable Artificial Intelligence (XAI): Why AI Must Learn to Justify Itself — and What It Means for Nigeria

A

ASUP JSPICT Member

8 October 2026

Imagine a doctor using an AI system to diagnose a patient with cancer. The system says: "This patient has a 91% probability of malignancy." The doctor asks: "Why?" The system says nothing. It cannot explain itself. It simply produces a number from a black box of millions of mathematical parameters, and the doctor — and the patient — must either trust it blindly or ignore it entirely.

This is not a hypothetical scenario. It is the current reality of most deployed artificial intelligence systems in the world today. And it is precisely the problem that Explainable Artificial Intelligence — known as XAI — is designed to solve.

For researchers, academics, and technologists in Nigeria, XAI represents one of the most important and accessible frontiers in AI research today. It requires no quantum computer. It requires no multi-million dollar infrastructure. It requires intellectual rigour, domain knowledge, and a commitment to understanding how AI systems make decisions. These are assets every academic in this chapter already possesses.

What Is Explainable AI?

Artificial intelligence systems — particularly those built on deep learning and neural networks — are extraordinarily powerful. They can identify tumours in medical scans with greater accuracy than experienced radiologists. They can predict loan defaults, detect fraudulent transactions, and translate between languages in real time. But they achieve these feats through processes that are fundamentally opaque, even to their creators.

A deep neural network may contain billions of parameters — mathematical weights adjusted during training — that interact in complex, non-linear ways. When such a network makes a prediction, there is no single rule or logical step that a human can point to and say: "That is why the system decided this." The decision emerges from the collective interaction of billions of computations. This is what researchers call the black box problem.

Explainable AI is the field of methods, techniques, and frameworks designed to make AI decision-making transparent, interpretable, and accountable. XAI does not necessarily mean making AI systems simpler — it means building the capacity to understand, audit, and explain what complex AI systems are doing and why.

The field encompasses several distinct approaches. Some methods are intrinsically interpretable — decision trees, linear regression, and rule-based systems that are transparent by design. Others are post-hoc explanation methods applied to black-box models after they have been trained. Among the most widely used post-hoc techniques are LIME (Local Interpretable Model-agnostic Explanations), which explains individual predictions by approximating the complex model locally with a simpler one, and SHAP (SHapley Additive exPlanations), which uses game theory to assign each input feature a contribution score for a given prediction.

Why XAI Matters Now More Than Ever

The urgency of XAI is not academic — it is ethical, legal, and economic.

In 2018, the European Union's General Data Protection Regulation (GDPR) introduced what is commonly interpreted as a right to explanation — the right of individuals to receive meaningful information about the logic behind automated decisions that significantly affect them. In 2024, the EU AI Act came into force, the world's first comprehensive legal framework for artificial intelligence, explicitly requiring transparency and explainability for high-risk AI applications. These developments are reshaping how AI systems can be legally deployed in healthcare, finance, employment, and public services.

In the United States, the National Institute of Standards and Technology (NIST) published its AI Risk Management Framework, placing explainability as a core pillar of trustworthy AI. Major technology companies — IBM, Google, Microsoft, and Amazon — have all invested heavily in XAI toolkits and frameworks.

The practical stakes are high. When an AI system denies someone a loan, recommends a prison sentence, or flags a patient for a rare disease, the decision must be auditable. It must be possible for a human expert to review the reasoning, identify errors, correct biases, and take responsibility. Without explainability, AI systems cannot be trusted in high-stakes environments — and they should not be.

The Bias Problem and Why Africa Cannot Afford to Ignore It

One of the most important motivations for XAI is the detection and correction of algorithmic bias. AI systems learn from historical data, and if that data reflects historical inequalities — racial bias in criminal sentencing records, gender bias in hiring decisions, geographic bias in credit scoring — the AI system will learn and perpetuate those biases.

For Africa and Nigeria specifically, this is not a theoretical concern. Most large AI models are trained predominantly on data from North America and Europe. When these models are applied to Nigerian contexts — medical diagnosis, credit assessment, agricultural recommendations — they may perform poorly or produce systematically biased outcomes for Nigerian users, without anyone being able to identify why.

XAI provides the tools to interrogate these systems. By examining which features a model uses to make decisions, researchers can identify when a model is relying on proxies for protected characteristics such as ethnicity, gender, or geographic location. This capacity for algorithmic auditing is essential for any country that intends to deploy AI in public services.

XAI in Healthcare: The Most Urgent Application

Healthcare is the domain where XAI matters most urgently, and it is a domain where Nigerian academic researchers have both a critical need and a unique opportunity.

AI systems are increasingly being used for medical image analysis, disease prediction, drug interaction detection, and patient risk stratification. In each of these applications, the stakes of an unexplained error are not financial — they are human lives.

A physician who receives an AI recommendation must be able to evaluate it critically. If an AI system tells a doctor that a chest X-ray shows early-stage tuberculosis, the physician needs to know which features of the image drove that conclusion. Was it a specific opacity in the upper lobe? A particular density pattern? Or was the model picking up on an artefact in the image that happens to correlate with TB in the training data but has no actual clinical significance?

XAI methods like Grad-CAM (Gradient-weighted Class Activation Mapping) can generate visual heat maps overlaid on medical images, highlighting which regions of the image most influenced the model's decision. This gives clinicians a window into the model's reasoning and enables them to exercise informed clinical judgement rather than blind algorithmic compliance.

For researchers at polytechnics like ours with interests in medical informatics, this is a fertile area for both fundamental research and applied collaboration with healthcare institutions.

XAI Research Opportunities for Nigerian Academics

The global XAI research landscape is growing rapidly, and Nigerian academics are significantly underrepresented in it. This is simultaneously a gap and an opportunity. Several research directions are particularly accessible and impactful.

Bias auditing of AI systems in Nigerian contexts is urgently needed. Researchers can take publicly available AI models and systematically evaluate their performance and explainability on Nigerian-specific datasets — medical records, agricultural data, financial transactions — and publish findings on where these models fail and why.

Culturally appropriate explanations are an underexplored area. XAI explanations designed for North American or European users may not translate effectively across different educational, linguistic, and cultural contexts. Research into how to design XAI interfaces and explanations that are accessible and meaningful to Nigerian end users — farmers, patients, small business owners — is both original and impactful.

XAI for local language AI systems is another frontier. As natural language processing systems for Hausa, Yoruba, Igbo, and other Nigerian languages are developed, the need for explainability within these systems becomes equally important. Why did the Hausa language translation model produce this output? Which words most influenced the sentiment classification?

Finally, XAI applications in Nigerian agriculture present enormous potential. Predictive models for crop yield, disease detection, and climate adaptation are being deployed across the continent. Explainable versions of these models — ones that tell a farmer not just what to do but why — are far more likely to be adopted and trusted.

Tools Every Researcher Can Use Today

The barrier to entry for XAI research is lower than many academics realise. The following tools are free, open-source, and extensively documented.

SHAP is a Python library that provides consistent, theoretically grounded explanations for any machine learning model. It can be installed with a single command and works with models built in scikit-learn, XGBoost, LightGBM, and deep learning frameworks. LIME is similarly accessible and particularly useful for explaining individual predictions from text and image classifiers. IBM's AI Explainability 360 toolkit provides a comprehensive suite of XAI algorithms with detailed documentation and tutorials. Google's What-If Tool offers an interactive visual interface for exploring model behaviour and fairness without writing code.

Any lecturer with a laptop, a Python installation, and a willingness to learn can begin conducting XAI research this week.

A Call to Action

As members of ASUP JSPICT Kazaure Chapter, we carry a dual responsibility — to advocate for the welfare of academic staff and to advance the quality and relevance of academic work in our institution. XAI sits at the intersection of both.

I invite every member of this chapter to consider XAI as a research direction. Your domain knowledge — whether in engineering, business, health sciences, environmental studies, or information technology — is an asset in this field. XAI research is fundamentally interdisciplinary. It requires people who understand both the technical systems and the human contexts in which they are deployed.

Publish in Nigerian journals. Present at local and national conferences. Collaborate with colleagues across departments. And where possible, aim higher — the top XAI venues, including the IEEE Transactions on Neural Networks and Learning Systems, the ACM FAccT conference, and the journal Artificial Intelligence, are looking for precisely the kind of grounded, contextual, application-focused research that Nigerian academics are well-positioned to produce.

Conclusion

Explainable AI is not a luxury — it is a prerequisite for trustworthy artificial intelligence. As AI systems become more deeply embedded in the decisions that shape human lives, the demand for transparency, accountability, and interpretability will only grow. Nigeria cannot afford to be a passive recipient of AI systems built elsewhere, optimised for other contexts, and opaque in their reasoning.

The academics in this chapter have the knowledge, the creativity, and the institutional mandate to contribute to this global conversation. XAI is a field where Nigerian voices are needed, where original contributions are possible with modest resources, and where the impact of good research extends directly into healthcare, agriculture, finance, and public policy.

The black box must be opened. Let us be among those who open it.

Muhammad Sanusi Nasir is a Lecturer III in the Department of Information Technology, Jigawa State Polytechnic for Information and Communication Technology (JSPICT), Kazaure. He serves as the Publicity Officer of the ASUP JSPICT Kazaure Chapter. His research interests include information security, explainable artificial intelligence (XAI), and emerging technologies in healthcare and medicine.

Published on the ASUP JSPICT Kazaure Chapter official website - www.asupjspict.org.ng

Are you a staff member?

Share your knowledge — write an article for the chapter.

Sign In to Write