How Does AI Work? Basics to Know

Written by Coursera Staff • Updated on

What goes on behind the scenes of artificial intelligence as we know it? Learn more about how AI-driven systems and products work.

[Featured Image] A machine learning engineer works at a computer, developing an artificial intelligence application.

Artificial intelligence (AI) enables machines to learn from data and recognize patterns in it, to perform tasks more efficiently and effectively. It powers services like Netflix’s algorithm that recommends TV shows and movies based on your preferences.

But what goes on behind the scenes? How does AI actually work? Read on to learn more about the basics of artificial intelligence. 

What is artificial intelligence (AI)?

Artificial intelligence (AI) is the theory and discipline of programming computer systems to learn from and spot patterns in data sets. These algorithms and models perform human tasks, like recognizing speech or images and making decisions. AI relies on machine learning and neural networks, as well as more complicated concepts like deep learning and natural language processing. 

AI is a complex technology with hundreds, if not thousands, of possibilities for creating solutions for businesses across industries. It powers algorithms that make our lives easier or better, it can generate transcripts of Zoom calls and more. With generative AI, we can create prompts to request content needs from processors like ChatGPT. 

Read more: What Is Artificial Intelligence? Definition, Uses, and Types

How does AI work?

We’ll go through five steps that illustrate how AI works: inputs, processing, outcomes, adjustments, and assessments.

Input

Data is first collected from various sources in the form of text, audio, videos, and more. It is sorted into categories, such as those that can be read by the algorithms and those that cannot. You would then create the protocol and criteria for which data will be processed and used for specific outcomes.

Processing

Once data is gathered and inputted, the next step is to allow AI to decide what to do with the data. The AI sorts and deciphers the data using patterns it has been programmed to learn until it recognizes similar patterns in the data that is being filtered into the system. 

Outcomes

After the processing step, the AI can use those patterns to predict outcomes in customer behavior and market trends. In this step, the AI is programmed to decide whether specific data is a “pass” or “fail”—in other words, does it match previous patterns? That determines outcomes that can be used to make decisions.

Adjustments

When data sets are considered a “fail”, AI learns from that mistake, and the process is repeated again under different conditions. It may be that the algorithm’s rules must be adjusted to suit the data set in question or that the algorithm needs slight alteration. In this step, you might return to the outcomes step to better align with the current data set’s conditions.

Assessments

The final step for AI completing an assigned task is assessment. Here, the AI technology synthesizes insights gained from the data set to make predictions based on the outcomes and adjustments. Feedback generated from the adjustments can be incorporated into the algorithm before moving forward.

The basic process of creating AI

In order to create AI, you need to: define the problem, determine the outcomes, organize the data set, choose the appropriate technology, and then test solutions. If the intended solution does not work, you can continue experimenting to reach the desired outcome.

Placeholder

Four main types of AI

While learning in AI can fall under categories of “narrow intelligence,” “artificial general intelligence,” and “super intelligence,” each classification demonstrates AI’s capabilities as it evolves–much of which has not yet been seen. In fact, artificial general intelligence is still to come. Here are the four main types of AI in their current form.

  1. Reactive machines: AI systems that have no memory and are task-specific. An input always delivers the same output.

  2. Limited memory machines: This algorithm imitates how our brains’ neurons work together, so it gets smarter as it collects more data to train on.

  3. Theory of mind: This type of AI does not yet exist, but it has the potential to understand how other entities have thoughts and emotions, allowing the AI to behave differently in relation to those around them.

  4. Self-awareness: This type of AI also does not yet exist, but it goes beyond the theory of mind to understand that they exist as an entity, realize their state of being, and predict others’ feelings.

Read more: 4 Types of AI: Getting to Know Artificial Intelligence

Disciplines that make up AI

It can be confusing to differentiate between AI and machine learning and between all of the subfields within artificial intelligence. Here’s a brief look at some of those disciplines:

  • Machine learning: Machine learning is a subset of AI that incorporates computer science, mathematics, and coding. Machine learning focuses on developing algorithms that help machines learn from data and predict trends without human assistance.

  • Deep learning: Deep learning is a discipline of AI that imitates the human brain by learning from how it structures and processes information to make decisions. This subset of machine learning can learn from unstructured data without supervision, instead of being programmed to perform a specific task.

  • Neural networks: A neural network is a deep learning technique designed to resemble the human brain’s structure. Neural networks perform calculations and create outputs on large data sets.

  • Natural language processing: Natural language processing (NLP) is AI that enables computers to understand spoken and written human language. NLP enables text and speech recognition on devices.

  • Computer vision: Computer vision is an interdisciplinary field that focuses on how computers can gain understanding from images and videos. In AI, computer vision enables automating activities that the human visual system typically performs.

Read more: Artificial Intelligence (AI) Terms: A to Z Glossary

Learn AI for your career 

Anyone can learn AI, and learning AI can be beneficial whether or not you are directly involved in developing AI. To discover how AI works behind the scenes, consider enrolling in DeepLearning.AI’s AI For Everyone to learn the basics in 10 hours.

Keep reading

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.