Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 2

Goals of AI: An Overview

Recommended resources

Hello! Welcome back to your second lesson on the fundamentals of Artificial Intelligence.

In our first lesson, we established a crucial distinction: while traditional software follows explicit rules given by a programmer, AI systems learn their own rules by analyzing data. This ability to learn is what allows AI to tackle incredibly complex problems.

Today, we'll build on that foundation by exploring the question: what exactly are we trying to achieve when we build an AI? If the goal is to create "intelligence," what does that mean in practice? This lesson addresses exactly that by breaking down the broad concept of intelligence into four primary goals that drive the field of AI: reasoning, learning, perception, and action. Understanding these four pillars is essential for grasping how AI systems operate and what they are capable of.

The Cycle of Intelligence: The AI Agent

A helpful way to think about AI is through the concept of an AI agent. An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators. You, as a human, are a biological agent. A self-driving car is an artificial agent.

These agents often operate in a continuous loop, which provides a great framework for understanding the four main goals of AI.

The Four-Step Methodology of Agentic AI
This diagram illustrates the four core processes of an intelligent agent working in a cycle: Perception, Reasoning, Action, and Learning.

As you can see, these four components are not just a list; they are interconnected parts of a dynamic process. An agent perceives the world, reasons about what it perceives, takes an action, and then learns from the outcome of that action, which in turn influences future perception and reasoning.

Let's start with a foundational reading that introduces each of these components.

Learn the Core Components of AI Agents - SmythOS

The article 'Learn the Core Components of AI Agents' from SmythOS provides a clear and concise overview of the four goals we'll be discussing.

Please read the section titled 'Core Components of AI Agents' and the subsections for Perception, Reasoning, Action, and Learning. This will give you a solid definition for each term before we dive deeper.

Now that you have a general overview, let's explore each of these four goals in more detail, using different examples to bring them to life.


1. Perception: Sensing the World

Perception is the agent's ability to gather and interpret information from its environment. It's the AI's equivalent of our human senses. Without a way to take in data about the world, an agent is blind and deaf; it has no information to act upon.

  • For a human: This involves sight, sound, touch, smell, and taste.
  • For an AI agent: This involves:
    • Sensors: Cameras, microphones, LiDAR (Light Detection and Ranging), and temperature sensors in physical robots or self-driving cars.
    • Digital Data: Text from a user's message, data from a financial market API, or pixels in an image file for software agents.

Let's watch a short clip that illustrates the most basic form of perception and action.

5 Types of AI Agents: Autonomous Functions & Real-World Applications

This clip from IBM Technology describes a 'simple reflex agent'. Notice how it uses 'sensors' to gather 'percepts' (perceived inputs) from its environment, which is the first step in any intelligent action.

Watch from 00:51 to 02:12. Pay attention to the diagram showing how information flows from the 'environment' through 'sensors' to the agent.

The thermostat is a simple but perfect example. Its "perception" is the measurement of the room's temperature via a sensor. This raw data is the necessary first step before any decision can be made. For a more complex agent like a self-driving car, perception involves fusing data from dozens of sensors to build a complete picture of its surroundings.

Given your interest in neuroscience, you might find it interesting to see how this engineering concept parallels the biological brain.

Neural Brain: A Neuroscience-Inspired Framework
This diagram conceptualizes the human brain's functions. Notice the 'Sensing of Human Brain' quadrant, which includes vision, hearing, touch, and attention. This is the biological equivalent of an AI's perception component.

2. Reasoning: Thinking and Planning

Once an agent perceives the world, it needs to reason about that information to make a decision. Reasoning is the "brain" of the operation, where raw data is turned into a plan or a conclusion.

Reasoning in AI can take many forms, from simple rule-following to complex strategic planning.

  • Simple Reasoning: If the perceived temperature is below 19°C, then turn on the heat. This is a rule-based approach.
  • Complex Reasoning: Figuring out the sequence of moves required to solve a Rubik's cube, or planning a route to a destination while avoiding traffic.

A classic way to visualize AI reasoning is through goal trees. An agent has a main goal, which it breaks down into smaller and smaller sub-goals until it has a series of simple, executable steps.

Let's watch a fascinating demonstration of this in action.

3. Reasoning: Goal Trees and Rule-Based Expert Systems

In this classic MIT lecture, Professor Patrick Winston demonstrates a program from the early days of AI that can reason about how to stack blocks. This is a powerful illustration of how an AI can plan its actions.

Watch from 07:03 to 14:19. Focus on how the program breaks down a high-level goal (e.g., 'put B1 on B2') into a hierarchy of sub-goals (clear top of B1, get rid of BX, etc.). This hierarchy is the 'goal tree' and represents the program's reasoning process.

As you saw, by keeping a record of this goal tree, the program can answer "why" questions by moving up the tree to a higher-level goal, and "how" questions by moving down the tree to the specific sub-goals it executed. This is a fundamental form of AI reasoning: structured problem-solving.

More advanced agents use more sophisticated reasoning. Let's briefly see how this can evolve.

5 Types of AI Agents: Autonomous Functions & Real-World Applications

Returning to the IBM video, let's look at agents that have more advanced reasoning capabilities than the simple reflex agent.

Watch from 02:52 to 05:35. Notice the difference between a 'model-based' agent, which has an internal memory of the world, and a 'goal-based' agent, which actively thinks about what actions will help it achieve its goals.

These examples show that reasoning isn't just one thing; it's a spectrum of capabilities, from reacting to stimuli to simulating future outcomes to achieve a goal.


3. Action: Affecting the World

Perception and reasoning are internal processes. For an agent to be useful, it must be able to take action to affect its environment. An action is the output of the reasoning process.

  • For a human: This could be speaking, walking, or picking up an object.
  • For an AI agent: This is accomplished through actuators:
    • Physical: Electric motors in a robot's arm, the steering and braking systems in a self-driving car.
    • Digital: Sending a message in a chat application, executing a trade on the stock market, or displaying a recommended movie on a streaming service.

In the block-stacking video, the 'actions' were grasping, moving, and ungrasping blocks. In the thermostat example, the 'action' is turning the heat on or off. Action is the step that makes the AI an active participant in its environment, rather than a passive observer.


4. Learning: Getting Smarter Over Time

This brings us back to the core concept from our last lesson. Learning is the ability to improve performance through experience. It's what makes an AI system truly "intelligent" rather than just a complex, static program. Learning allows an agent to adapt to new situations and become more effective at achieving its goals.

There are three main ways AI agents learn, which we will cover in much more detail later in the course:

  • Supervised Learning: Learning from labeled examples (like we saw with the even/odd numbers).
  • Unsupervised Learning: Finding hidden patterns in unlabeled data on its own.
  • Reinforcement Learning: Learning through trial and error, guided by a system of rewards and punishments. This is very similar to how many animals (including humans) learn new behaviors.

Let's watch a final clip that explains the components of a learning agent.

5 Types of AI Agents: Autonomous Functions & Real-World Applications

The last type of agent in the IBM video is the 'learning agent'. This is the most powerful type and completes our cycle.

Watch from 06:55 to 08:23. Pay attention to the roles of the 'critic' (which evaluates performance), the 'learning element' (which updates the strategy), and the 'problem generator' (which encourages exploration).

The AI chess bot is a fantastic example. It plays a game (Perception, Reasoning, Action), the critic sees that it lost, and the learning element adjusts the bot's internal strategy so it's less likely to make the same mistake in the future. After thousands of games, its performance drastically improves.


The Big Picture: Moravec's Paradox

It's tempting to think that the goals of AI are to perfectly replicate human intelligence. However, one of the most interesting ideas in AI is that artificial and biological intelligence have very different strengths and weaknesses. This is known as Moravec's Paradox.

The paradox, summarized by AI researcher Hans Moravec, states: "It is comparatively easy to make computers exhibit adult level performance on intelligence tests or playing checkers, and difficult or impossible to give them the skills of a one-year-old when it comes to perception and mobility."

In other words:

  • Tasks that are hard for humans (e.g., complex logical reasoning, arithmetic, memorizing huge amounts of data) are often easy for AI.
  • Tasks that are easy for humans (e.g., perception like recognizing a face, or action like walking and picking up a cup) are often extremely difficult for AI.

Our brains have evolved over millions of years to be incredibly efficient at perception and movement. The "higher" cognitive functions are a more recent addition. For computers, the opposite is true. Calculation is their native language, while understanding the messy, unpredictable physical world is a huge challenge. This is a key insight for understanding why AI excels in certain areas and struggles in others.


Conclusion

In this lesson, we deconstructed the complex idea of "intelligence" into four concrete goals for AI.

Here are the key takeaways:

  • AI systems can be conceptualized as agents that operate within an environment.
  • The four primary goals of AI are Perception, Reasoning, Action, and Learning.
  • Perception is about sensing the environment (e.g., through cameras or data feeds).
  • Reasoning is about processing that information to make a decision (e.g., through rule-following or planning).
  • Action is about affecting the environment based on that decision (e.g., moving a robot arm or sending a message).
  • Learning is about improving performance over time based on feedback from actions.
  • Moravec's Paradox highlights that AI's strengths (e.g., in reasoning and calculation) are often humanity's weaknesses, and vice-versa (e.g., in perception and action).

These four goals are the building blocks of virtually every AI system you will encounter, from a simple smart thermostat to the most advanced language models.

Preview of the next lesson: We now know what AI is and the goals it strives for. But not all AI is created equal. In our next lesson, we will discuss the different levels of AI that are often mentioned in media and research: narrow AI, general AI, and superintelligence. We'll define each one and understand where today's technology currently stands.