AI and Society (week 4)
After 3 weeks of Andrew Ng’s new course (AI for everyone), you have gained a good understanding of what is AI, how to develop AI projects by driving Machine Learning models (and Deep Learning in particular) and steps to start using AI in your company (as well as in an association or public organization) to turn it into an AI business. In this week 4 (last week of the course), you will learn and reflect on the impacts of AI beyond the hype and on the impacts of AI on society.
This article is part of the “Deep Learning in Practice” series (also available in French and Portuguese).
List of articles “AI for everyone”
- AI for everyone (week 1)
- Building AI projects (week 2)
- Building AI in your company (week 3)
- AI and Society (week 4)
Introduction
Now that you have a general knowledge of AI thanks to week 1 of Andrew Ng’s new course (AI for everyone), that you know how to train a Machine Learning model through the week 2, and that you have acquired a methodology to use AI in your business to turn it into an AI business through week 3, you will learn and think about the impacts of AI beyond the hype and about impacts of AI on society in this week 4!
Indeed, based on his experience in the use of AI in the business world, Andrew Ng guides us in this week 4 in understanding the limitations of AI (bias, adversarial attacks, DeepFakes …) and its impacts on our daily lives (economic development, jobs …), especially in developing countries, as well as the ethical issues raised by the use of AI.
Andrew Ng emphasizes the importance of this last part of the course because any AI model developed by a small or large company can have a significant impact on a larger or smaller group of people.
The content of this MOOC is free and here are the key elements of the week 4.
Credit: all images in this article come from the Andrew Ng MOOC, AI for everyone.
Tips for a trainer
This week 4’s content contains all the essentials to understand the impacts of AI on our society.
The trainer must present the course content in a non-technical way based on studies and concrete cases. This method of teaching will help participants (especially those with no technical knowledge) to become interested in the course content.
Key points of the week 4
. A realistic view of AI . Discrimination / Bias . Adversarial attacks on AI . Adverse uses of AI . AI and developing economies . AI and jobs . Conclusion
A realistic vision of AI
AI is changing our society but we must not be too optimistic in the arrival of a super intelligence (GAI: General Artificial Intelligence) that dominates humanity (it does not will not happen before perhaps tens or hundreds of years), nor too pessimistic with the idea that since the AI can not solve everything the investment in AI will stop (we see that the “simple” Supervised Learning models for predicting a B output from an input A data are already profoundly modifying industries).
This is the reality of AI: despite its limitations (see below), it can already do a lot.
- With little data, the performance of an AI is low and even with a lot of data, it is sometimes impossible to automate a process with an AI model with a high confidence rate. For example, it will be difficult to automate all the processes of a call center, especially natural language processing processes such as understanding an email and automatically create the text of the response to be made.
- There is also the problem of the black box (explainability), the inability to explain why an AI model gives this or that prediction. This problem is the subject of important researches and solutions begin to appear as for example the possibility to visualize the zone of an image from which the model built its prediction (ie, its diagnosis if it is a radiology image).
However, if an AI team from the corporate world gives a sufficient explanation of how their model works, their deployment will generally be accepted (and especially if the performance of the AI model is high). Of course, this approach concerns models with no direct consequences on vital elements such as health or road safety. In fact, this logic very often applies to human reasoning that sometimes has a hard time explaining a phenomenon precisely (what is your definition of a mug?) But that does not come to prevent the deployment of a solution.
There are other limitations of AI that we need to be concerned about:
- bias in AI models on gender or ethnicity when training data contains this kind of bias,
- the adversarial attacks on AI models that are particularly impacting on the activities of a company or the economy of a country.
Discrimination / Bias
Why does an AI model develop gender and ethnic biases? The origin of the problem comes from the training data which contain these biases themselves. Take the example of the research done by Microsoft on a model driven from texts found on the Internet. We can see in the following slide that the model learns to represent relations between words in the form of vectors. Thus, the same vector that links the words “Man” and “Woman” connects the words “Computer programmer” and “Homemaker”, which means that another vector connects the words “Man” and “Computer programmer”… and by therefore “Woman” and “Homemaker” (…).
As AI models are increasingly used, the fact that they contain biases is problematic. For example, AI recruiting software could discriminate women on executive jobs, an AI facial recognition application might work better on light-skinned faces than dark-skinned ones if the training images were unbalanced in terms of classes and AI software for responding to a loan request could be biased against ethnic parameters.
Moreover, given the importance of search engines, we must be careful that their search results do not reinforce stereotypes, ie their AI models are not biased.
The AI community has already started to fight biases in AI models. A technical solution is to modify the values learned for certain words, which modifies the associated vectors. Another solution is to correct bias in the training data. In addition, the more open the model is and the more transparent the audit process, the more people can detect — and possibly correct — biases. As a continuation of this idea, the more diverse the AI team is, the less biased the AI models will be.
Adversarial attacks on AI
There is a major and still unresolved problem concerning ML models and especially those using Deep Learning: they are sensitive to adversarial attacks, ie deliberate actions to fool a model.
For example, it is possible by changing the values of a few pixels of an image to fool a classifier while visually we (humans) can not detect the changes. The explanation is as follows: a model of ML “sees” an image as a series of numbers that represent the brightness of the RGB grid (Red, Green, Blue). These numbers at the input A of the model will then go through a series of mathematical transformations (ie, calculations via functions learned during the training) to deliver a prediction at output B. By modifying the value of a few pixels, the result of the mathematical operations can be modified enough to give a false probability of the class of the image.
It is also possible to modify a photo before it is evaluated at the entrance of a model of ML with sufficient visual information to fool the model on the nature of the photo while we (humans) will continue to see and detect the main information of the photo. This is called physical attacks.
For example, a pair of glasses can modify the result of a facial recognition model (Carnegie Mellon University research) as stickers on a road sign (Michigan University research) or a sticker placed next to a banana (search for Google AI). This added visual information actually hides important information for decision-making by the model and/or introduces new information that will fool the model.
