UA
Nicolas Sabouret

Understanding Artificial Intelligence

Technology & the Future
Back to Categories

Understanding Artificial Intelligence

by Nicolas Sabouret

A Straightforward Explanation of AI and Its Possibilities

Published: June 19, 2023
4.2 (603 ratings)

Book Summary

This is a comprehensive summary of Understanding Artificial Intelligence by Nicolas Sabouret. The book explores a straightforward explanation of ai and its possibilities.

what’s in it for me? gain an understanding of ai and why it isn’t so intelligent after all.#

Introduction

nicolas sabouret.
understanding artificial intelligence.
a straightforward explanation of ai and its possibilities.
these days, everyone seems to be talking about ai.
but what is it?
what are its limitations?
should we be scared of what it might be capable of?
the reality is that humans have always been inventors.
in prehistoric times, we created harpoons for hunting.
when agriculture came along, we created pickaxes, sickles, carts, and even tools to create tools.
and then came machines.
and some people were afraid of their rapid development.
but those machines, too, were only tools.
and now there's ai.
and things are moving up a notch.
well, forget what you've seen in science fiction.
ai won't replace or enslave us.
it doesn't have free will.
ai is just a tool.
but what we must do is learn how to harness ai for good and not misuse it.
in this chapter to understanding artificial intelligence by nicolas sabouret, you'll find out what ai is, why solutions provided by ai may not actually be the perfect ones but will still be good enough for most purposes, and where the future of ai might be heading.

what exactly is ai?#

what exactly is ai?
so let's clear something up right from the get-go.
computers are machines.
ai doesn't make them intelligent.
they still do no more than what we tell them to do.
computers have come a long way, though.
at first, they were just simple calculators dealing with numbers and math.
then they progressed from only numbers to dealing with words, then images, and then sound.
nowadays, we even have computers in our smartphones, for example, that can listen to our requests and convert them into actions.
they're capable of all that thanks to algorithms.
a simple algorithm that you used at school was the process you used to add large numbers together.
you can also think of an algorithm as being like a recipe.
just as a cook knows how to follow a recipe, a computer follows the instructions in the algorithm to give you the required result.
in the early 19th century, charles babbage was the first to produce a machine capable of following algorithms.
and by 1936, alan turing had shown that computers can, in theory at least, follow any algorithm, however complicated it might be.
so where does that leave ai now?
for starters, we probably should be using the term ai programs rather than ai.
all ai does is apply an algorithm written by a human to give responses that appear to be intelligent.
programmers also use ai to write programs using a technique known as machine learning.
this is a bit of a misnomer and causes some confusion as actually the way ai produces new programs is dependent on the quality of the data it receives.
so as has always been the case, the old adage garbage in, garbage out holds true.

so is ai really intelligent?#

so is ai really intelligent?
that's a very good question.
but to answer it, we first need to understand what intelligence is.
and that isn't as easy as you might think.
is it the opposite of ignorance?
consider this.
if you were asked when the city of istanbul was founded, would you know?
most likely not.
but does that make you unintelligent?
and would you define wikipedia as being intelligent because it can tell you the answer?
it's the 7th century bce, by the way.
what about the ability to do complicated math?
can you give the answer to 24,357 times 527, for example?
you probably can, given time, but a simple calculator can do it much faster.
is that calculator more intelligent than you?
in reality, neither the calculator nor wikipedia is intelligent.
computers may be capable of dealing with tasks associated with calculation and memory, but they're not intelligent by human standards.
after all, humans can reason based on past experience, make decisions in situations too complex to describe accurately to a computer, learn new skills, have ideas, and communicate using complex and abstract ideas.
so how can we assess the intelligence of a computer?
well, remember turing?
he came up with what is known as the turing test.
here's how it works.
a human is in one room and a computer with ai in the other.
you can communicate with both using a keyboard and a screen for each, but you don't know which is connected to the human and which to the ai.
a delay is built in to ensure you can't tell which is which from speed, but only from the responses themselves.
the test is to determine how close the ai can answer in a manner that resembles human intelligence.
since 2006, there's been an annual competition to determine the chatbot which comes closest to fooling the judges.
the judges, though, are very adept at getting the chatbots to respond incorrectly, some needing only five questions to identify the ai correctly.
but the turing test is, in any case, flawed.
if we want to test the intelligence of an ai program, we should really test its performance in the task it has been developed to perform — playing chess, for example, not whether it can have a philosophical discussion about chess.
we should remember that in creating ai, we're not trying to create an artificial human.
it was edsger dijkstra, a computer scientist, who summed up the difference between human intelligence and ai rather neatly when he said, "...the question of whether machines can think is about as relevant as the question of whether submarines can swim.
machines don't think.
we might think they're intelligent, but they're not." what is an ai algorithm?

what is an ai algorithm?#

so now that you know that ai isn't intelligent in the same way as a human is, let's take a look at what ai algorithms are.
you might be surprised to learn that they're nothing special.
they're just like the cooking recipe we mentioned earlier — a step-by-step approach to solving a task.
but it's taken some time and years of research to develop them.
and there's no standardized approach, either, which means that there are many different ai algorithms.
but they do have some common elements — to overcome the limitations in memory and processing capacity of computers.
to put this in perspective, a personal computer created in the 2010s can do billions of additions per second.
and that number has kept increasing.
but if you need 10 billion steps, you'll have to wait some seconds to get your result.
if you need a trillion, you might have to wait 15 minutes.
and for 100 trillion, you'll need a day.
that 100 trillion might seem like a lot, but the number of transactions needed can climb quickly.
for example, imagine the head of a school who needs to schedule students, classes, and teachers.
if the school has just 10 rooms with 15 classes for each hour, there are around 3,000 possibilities.
for each 8-hour day, that means 6 billion, billion, billion possibilities.
that's 6 with 27 zeros.
considering each one of these with a computer, even one that processes a billion operations per second will take far too long.
these computational limits are very important to ai, and are known as complexity.
we need to distinguish between the complexity of algorithms and the complexity of the problems the algorithms are solving.
the complexity of an algorithm depends on how big the problem is and how much data is needed.
the complexity of the problem itself is the minimum number of operations needed to solve it.
the latter is often a theoretical number, and other, less elegant algorithms with higher complexities are often found while looking for the best solution.
all a bit complicated?
well, let's cut a long story short.
some problems have a theoretical complexity that's so high that, assuming we could even write the best algorithms to solve them, the number of operations they'd require far exceeds what even a computer of the future could manage, even if it were millions of times faster.
so when it comes to ai, the algorithms deployed are sometimes less than perfect.
a face recognition algorithm will sometimes make a mistake, or a chess algorithm will make the wrong move, for example.
but often they give us the best possible solution in a reasonable amount of time.

how does ai come up with a solution?#

how does ai come up with a solution?
there are many ai methods that can be used to solve problems.
as we've already established, they're not intelligent, and they don't always provide the best solution to the problem being addressed.
sabaret provides many examples of these methods, but here, let's examine a first principles ai method called exploration.
imagine you're in alexanderplatz on a trip to berlin and you want to visit museum island.
you can follow the route on the map and make a note of the street names and where you need to turn.
you build the route using your intelligence.
most of us can do that, but some might find themselves hopelessly lost.
thankfully, these days, we have gps to help us.
but how exactly does that work?
well, gps determines your position on earth by referencing 28 satellites and the time it takes for each of these to send you a signal.
with this information and a map of where you are, gps can calculate a route for you.
it does this using your current position, your final destination, and all points in between, by creating a graph of all the points you might pass through en route.
this might sound simple, but it's a more complicated process for a computer.
it has to consider all possible neighboring points as it progresses, storing in memory the others as it goes.
an alternative is to spiral out from the starting point.
neither method is particularly efficient.
so when the area that the computer has to consider becomes too great, it becomes almost impossible to solve the problem in a reasonable time.
this is where heuristics come into play.
a heuristic algorithm is created that approximates the solution.
in this case, it would be something like, go in roughly the right direction and stay roughly on the right path.
if we consider our recipe analogy, instead of weighing an ounce of butter, we'd probably just cut what looks like an ounce off of our 8-ounce block.
it's not precise, but it's near enough.
so the route you're given to get from alexanderplatz to museum island might not actually be the best, but it'll be good enough to get the job done.

where is the future of ai heading?#

where is the future of ai heading?
you might be wondering if we'll ever build a machine that's truly intelligent.
one that learns as a child does, is aware of the world around it, can feel emotions, and with which we can build a future.
it's a difficult question to answer.
but although some researchers believe so, sabaret says that there's no current evidence to suggest that it'll be possible.
back in the 1970s, john searle coined the term strong ai to mean ai that imitates the human brain perfectly.
now we also use the term weak ai for ais that have a specific purpose only, such as winning at go.
they are, of course, anything but weak as they far outsmart your average human.
but turning back to strong ai, we can further subdivide this into general ai and artificial consciousness.
general ai means creating a machine capable of resolving many problems over a wide range, such as getting a university degree, passing the turing test, and making coffee in an unfamiliar kitchen.
artificial consciousness is something else.
such a machine would be conscious of the world around it, and, yes, even of the fact that it was a machine.
but the jury is still out on how to define consciousness for a machine and what tests it would need to pass to be conscious.
are either of these on the horizon?
the honest answer is, who knows?
there's no doubt that ai is changing the world, and machines will become more and more impressive.
the rate of progress makes it difficult to know exactly what will come next.
ai can already beat humans at go and poker, but not at complex video games, for example.
and although it may be able to process medical information quicker than a human, it can't use that information to diagnose what's wrong with a patient.
and the human factor necessary for some tasks, like hiring people, saburay argues, is nigh on impossible to capture in any ai system, and humans would easily be able to use antagonist data to fool these systems.
so should we be concerned that ai could end up enslaving humanity, as we see in some sci-fi movies?
right now, no.
weak ai has been created for specific tasks.
it can't imagine things, and it can't create.
perhaps strong ai will exist one day, but we're nowhere close to creating artificial consciousness.
the biggest worry right now is the misuse of ai.
for example, in a world where social media feeds have become the main source of information for some age groups, a totalitarian dictatorship could theoretically take control of what we're allowed to know.
overnight.
and although self-driving cars won't attack their drivers unless programmed specifically to do so, there's always the possibility that such technology could, one day, be used to create a machine that can identify and eliminate its target subject.
ai is already being used to commit crimes of a much lower order.
to hack cyber security protocols, for example.
so it's clear that ai can be misused.
but it's not going to do that spontaneously.
it has to be programmed to do so.
but whatever the future holds, there's one thing that we can be certain of.
ai has brought humanity toward a better understanding of itself.
we've first had to understand how a human does a task to find a way to do it better.
perhaps, as saburay posits, understanding ourselves better is ai's greatest gift to humanity.

final summary#

Conclusion

in this chapter to understanding ai by nicolas saburay, you've learned that although we may think that machines and ai are intelligent, in fact, they're not.
they're only capable of doing what we program them to do.
you've seen that by using heuristics, ai can provide a solution to a given difficult problem within an acceptable time frame.
that solution may not be perfect, but it will usually be a good enough solution.
and finally, you discovered that creating a machine that has consciousness isn't currently on the horizon.
but in the wrong hands, ai can be used for the wrong purposes.
one thing ai isn't going to do, though, is rise up and rebel against us.
thanks so much for listening.
please leave us a rating or a comment.
we always appreciate your feedback.
see you in the next chapter!