AI: What and Why

Robot

Intelligence

If a robot navigates city streets without colliding with anything, would you consider this robot intelligent? Many would agree, myself included. However, if a human performs the same task, you might hesitate to describe them as intelligent. On the other hand, when a person tackles a challenging math problem or quickly learns a new language, we are more inclined to label them as intelligent.

Some have seen intelligence as the ability to use language, form abstractions and concepts, solve problems, and acquire knowledge.

Turing Test

In the 1950s, Alan Turing, a British computer scientist, proposed a test to determine whether a machine can think. The test, known as the Turing test, involves a human evaluator who engages in a natural language conversation with two other parties: one human and one machine. If the evaluator cannot distinguish between the human and the machine, the machine is considered intelligent. This test is still used today to assess the intelligence of machines.

(Optional) Watch the video below to learn more about the Turing test:

Defining Intelligence

A widely accepted definition of intelligence is the ability to make the correct decisions. But what does it mean to make the correct decision? To answer this question, we need to delve into the concept of rationality.

Rationality

From a scientific standpoint, rationality is the quality of being grounded in reason and logic. Thus, a person or a machine is considered rational if their decisions are based on reasoning and logic, and are guided by specific goals.

Robot

Example of Rationality:

Suppose we have an agent (software, a person, or a machine) playing chess. In this context, making the move expected to maximize the chances of winning the game is the right decision. This exemplifies rationality because the agent is making a decision based on reasoning and logic, aimed at achieving a specific goal: winning the game.

Another example of rationality:

Imagine an agent operating a vehicle. Here, making choices aimed at maximizing the likelihood of reaching the destination safely, and perhaps quickly, represents the right course of action. This too embodies rationality, with decisions derived from reasoning and logic in pursuit of the specific goal of arriving safely and efficiently.

Human agents rely on sensory organs like eyes and ears, along with limbs such as hands and legs, to perceive and interact with their surroundings. In contrast, robotic agents are equipped with specialized sensors like cameras and infrared range finders, enabling them to sense their environment, while actuators such as motors enable them to move and manipulate objects.

Software agents, on the other hand, interpret inputs such as keystrokes, file contents, and network packets, using them to execute tasks like displaying information on a screen, storing data in files, or transmitting data over networks.

Artificial Intelligence (AI)

Artificial Intelligence (AI) is the field of building systems that can think and act rationally.

AI is about building computer systems that can replicate various human activities, such as walking, seeing, understanding, speaking, learning, responding, and many others.

The AI dream is to someday build machines as intelligent as humans (capable of doing multiple tasks intelligently). This is sometimes called Artificial General Intelligence or AGI.

Machine Learning

Machine learning, a subfield of AI, focuses on building systems that can learn from data or, in other words, make rational decisions based on data.

Deep Learning

Deep learning is a subset of machine learning that centers on developing machines capable of learning from data using deep neural networks.

In future lessons, we will discuss machine learning and deep learning in more detail.

Why AI Now?

The history of AI dates back to the 1950s. If you'd like a quick three-minute recap of AI's history, you can watch this video:

The question we want to address here is why AI is currently experiencing a surge in attention. There are several significant factors contributing to this phenomenon; I will highlight the two most important ones:

Data

The availability of extensive public datasets has profoundly transformed the AI landscape. These datasets, often curated and made accessible by organizations, government agencies, or academic collaborations, provide copious amounts of diverse, well-structured, and labeled data. Prominent examples include ImageNet for image recognition, the Common Crawl for natural language processing, and the Human Genome Project for genomics. Access to such extensive public datasets has enabled AI researchers to train their models on data that represents a broader spectrum of real-world scenarios, leading to substantial improvements in AI system performance and accuracy.

Hardware

Advancements in hardware technology, especially the development of high-performance graphics processing units (GPUs) and specialized AI accelerators like TPUs (Tensor Processing Units), have significantly increased the computational power available for AI tasks. AI models, particularly deep learning neural networks, demand substantial computational resources for training and inference. The enhancement in computational capabilities has empowered researchers to work with more extensive and complex models, resulting in improved AI performance.

Although GPUs and TPUs can be costly to purchase and operate, they are now widely accessible in the cloud, making them affordable for a broader audience. This accessibility has facilitated AI researchers and practitioners in experimenting with more intricate models and larger datasets without requiring substantial investments in expensive hardware.

Here is a screenshot of the Google Cloud Platform which provides access to GPUs and TPUs:

Summary:

  • AI is the field of building systems that can think and act rationally (guided by reasoning, logic, knowledge, and specific goals).

  • The term "agent" is used to describe an entity striving to achieve specific objectives. An agent can be a person, a machine, software, or a combination of these.

  • AI is getting so much attention now due to many reasons including the availability of large public datasets and the advancement of hardware technologies.

Check your understanding:

  • Explain AI to a 10-year-old.
  • List two reasons for the current surge of interest in AI.

Explore, Share, and Discuss:

Search the web and find some of the latest hardware devices that empower AI applications.

💬 Share your findings with us on Discord here.