Explainable AI

· Thomas Wood
Explainable AI

Find Top NLP Talent!

Looking for experts in Natural Language Processing? Post your job openings with us and find your ideal candidate today!

Post a Job

Explainable AI, or XAI, refers to a collection of ways we can analyse machine learning models. It is the opposite of the so-called ‘black box’, a machine learning model whose decisions can’t be understood or explained. Here’s a short video we have made about explainable AI.

When a new technology emerges onto the business landscape, it is often met by a degree of distrust, confusion, and fear. It is a fundamental part of human nature to be wary of things that we don’t understand. In the past, people have been sceptical of everything from fax machines and touch-tone phones to email and flash drives. 

The sudden increase in the use of artificial intelligence and machine learning in the past 5-10 years is no different. The AI revolution has given many people a feeling of trepidation about what it is, what it does, how it works, and how likely it is to replace them. Perhaps explainable AI can alleviate these fears.

The fear of AI-driven job replacement might be the most worrisome concept for some people. They point to historical indicators where technological breakthroughs were good for the industry, but a death knell to a subset of its employees, such as robots building cars in the automotive industry. Even the moniker ‘AI’ can carry a certain fear of becoming outdated for some people, particularly anyone who’s ever read Isaac Asimov’s I, Robot or watched any classic science fiction such as the Terminator movies, 2001: A Space Odyssey or the TV series Battlestar Galactica.

To properly use any sort of tool or technology, we must understand it to the point of trusting it to do its job to help us do ours. Mega-corporations like Amazon, Google, and Facebook have been using AI for years, but even most of their employees are not completely familiar with how their processes work. 

This brings us to the necessity for explainable AI, often abbreviated to XAI. This is AI that the average person can understand and engage with in order to better use its applications correctly and efficiently. Like teachers with a room full of new students, we don’t just want to know the answer, we want to know how it was reached. Showing your work is essential.

Fast Data Science - London

Need a business solution?

NLP, ML and data science leader since 2016 - get in touch for an NLP consulting session.

We need an explanation of how AI is reaching its conclusions and recommendations. Not only does this enhance our trust of said technology, but it lets us improve on it as we can analyse the facts that lead an AI system to make a specific decision or prediction; how it defines confidence in its predictions; what sort of errors can cause it to make erroneous decisions; and so on.

Breaking Down Explainable AI

The goal of XAI is to understand how machine learning works, and specifically the steps and models involved in making decisions or recommendations. Machine learning at its heart is the ability of powerful computer processors to scan in large amounts of data and analyse it to detect different patterns. This is particularly useful because the speed at which the computer can analyse data greatly outstrips that of a person or even an entire team of data engineers. Machine learning allows for patterns that might take weeks, months, years, or a lifetime for humans to pick up on. But since this process is going on inside a computer and at speeds that are difficult for human minds to handle, it can be intimidating, to say the least. 

The two main goals of XAI are transparency and traceability. In essence, it is the process of holding the system accountable for how it is working and what its results are.

For a real-world metaphor, it would be the equivalent of trusting your local government to make all decisions behind closed doors and with no outside influence or the ability to attend council meetings. Thus, when local governments meet, the public is invited to attend and minutes of the meeting are made available for consumption. Ditto the government’s budget - what its revenues are and its expenditures month by month. Considering the number of processes where AI is now placed in a position of importance - military, financial, public safety - introducing XAI only makes sense to prevent catastrophic errors from occurring. 

Not everything will need the same level of transparency. For instance, Amazon has used its product recommendation algorithm for nearly a decade, with considerable improvements, of course. However, there are few security threats or potential critical errors involved in the process that recommends you a cosy sweater if you have just bought Harry Styles’ latest album. While the average Amazon worker could likely benefit from the knowledge of how the algorithm ties one time to the other, it is not essential for most job titles. 

Without explainable AI, many machine learning models appear as a 'black box'

Without explainable AI, many machine learning models appear as a ‘black box’

But for companies that turn AI analysis into actionable decisions for their future, it’s natural to know what’s going on behind the curtain. AI is often described as a ‘black box’ technology, by which we mean that information goes in and information comes out without any real explanation of what happened to it when it was “inside”. Now that it is being used in more and more industries by more and more people, it can no longer merely just be a thing, it has to be a tool that allows humans to more easily understand its decision process and be able to make course corrections. Because even now, AI is no longer being used solely for decisions like which stocks to recommend and how much of a product to order for next season. It is being used to help make diagnoses and therapy recommendations for medical patients, it’s being used by barristers to do research for cases, and in other arenas where there are ethical or legal considerations that must be explored and met. 


Today's AI is only the tip of the iceberg when it comes to what machine learning could do in the next decade.

Today’s AI is only the tip of the iceberg when it comes to what machine learning could do in the next decade.

AI is not going away. Today’s commercial applications of machine learning are only the tip of the iceberg when it comes to how AI, decades in the making, will continue to take a larger role in just about every industry imaginable.

Already, academic, technological, and other fields are doing deeper dives into the uses of other AI subsets such as artificial neural networks, deep learning, robotics, and natural language processing that will require oversight and XAI factors of their own in order to keep humans firmly in charge of the transparency and traceability of these powerful tools.


Unlock Your Future in NLP!

Dive into the world of Natural Language Processing! Explore cutting-edge NLP roles that match your skills and passions.

Explore NLP Jobs

Fast Data Science webinar on AI and NLP in pharmaceuticals
Data science

Fast Data Science webinar on AI and NLP in pharmaceuticals

On 29 May, Thomas Wood presented a webinar on how AI and Natural Language Processing (NLP) can transform clinical trials in the pharmaceutical industry.

AI in business and industry
Ai and societyData science

AI in business and industry

AI in business and industry Artificial intelligence (AI) is a hot topic in business, but many companies are unsure how to leverage it effectively.

Clinical trial cost modelling with NLP and AI
Data scienceDeep learning

Clinical trial cost modelling with NLP and AI

Modelling risk and cost in clinical trials with NLP Fast Data Science’s Clinical Trial Risk Tool Clinical trials are a vital part of bringing new drugs to market, but planning and running them can be a complex and expensive process.

What we can do for you

Transform Unstructured Data into Actionable Insights

Contact us