Byte Explains · AI Fundamentals · About 7 minutes

What Is Artificial Intelligence?

Understand how AI learns from examples—and why getting the right answer doesn’t always mean it has learned the right lesson.

Published

The 30-Second Brief

Artificial intelligence, or AI, is a broad field concerned with building computer systems that perform tasks such as recognising images, working with language, making recommendations and solving problems. These systems take inputs and produce outputs—for example, a prediction, a decision or a piece of content. ¹

Many familiar AI systems learn patterns from data. That approach is called machine learning, and it is part of AI—not the whole field. Generative AI focuses on producing content such as text, images and audio. ²

The useful question is: what is this particular system doing, and what would make its result worth trusting?

So, what exactly is AI?

You do not have to open a chatbot to encounter AI. An email service can classify a message as spam; a navigation service can estimate a journey time; a streaming service can recommend something to watch. These are different tasks, even when they share underlying techniques. ²

AI is not one product, and it does not need a robot body. Some AI uses learned patterns; other approaches reason using explicitly represented knowledge and rules. Both belong to the wider field. ³

That distinction matters: “AI learns from examples” is a useful explanation of machine learning, but an incomplete definition of AI.

AI and traditional software: what changes?

Imagine a calculator. You enter 5 + 5, and its programmed instructions return 10. Its developer does not need to teach addition by showing it thousands of completed sums.

Now consider spam detection. A hand-written rule might block messages containing a particular phrase. A learning-based filter instead uses examples to identify patterns associated with spam. ²

Explicit rules and machine learning
Approach Where the behaviour comes from
Explicit rules A developer specifies the conditions and actions.
Machine learning A training process finds patterns in data, within a system designed by people.

Both run as software. The difference is how the behaviour is built. This does not mean every automated rule is AI, or that AI systems have no programmed rules. ³

How does learning from examples work?

Take supervised learning, where training examples include the answer the system is meant to predict. A simplified sequence is:

  1. Provide examples and labels. For an image classifier, the labels might be “dog” and “not dog”.
  2. Train a model. The training process adjusts the mathematical model using differences between its predictions and those labels.
  3. Evaluate on unseen examples. Check whether its predictions work beyond the pictures used for training.
  4. Use the trained model. Give it a new picture and obtain a prediction. This use stage is called inference. ⁴

Other learning methods use different forms of feedback. This sequence explains our example, not every AI system.

1 · Training
Labelled examples
Dog · grassDog · indoorsNot dog · grassNot dog · indoors
Dog / not dogBoth classes: varied indoor and outdoor backgrounds
TrainingPredict → compare with labels → adjust ↻Repeat within training
Trained modelLearned numerical relationships
Separate evaluation: check on unseen examples.
Held-out images + trained model → compare predictions with held-out labels. These images were not used for training.
2 · Inference
New image + trained modelNew input has no answer label
Use the modelApply what was learned
Predictiondog / not dog
Labelled examples are used to train a model, which is checked on unseen examples. A new image is then supplied to the trained model to produce a prediction; this use stage is inference.

Byte’s Reality Check

“If a chatbot changes its answer after I explain something, have I just trained it?”

Not necessarily. Instructions and examples can change a response without changing the model’s learned parameters. Some systems do update over time, but a different answer alone does not show that retraining happened. ⁵ ³

Recognising a dog: the useful analogy—and its limit

Byte’s Real-Life Analogy

“How would you explain a dog to someone who has never seen one—write rules for every ear, tail and patch of fur?”

Showing varied examples gives you a more useful starting point. That helps explain learning from examples, with one important catch: a computer does not learn the way a person does.

Here is how the analogy maps to our supervised-learning example:

How the dog analogy maps to supervised learning
In the analogy In the AI system
Pictures shown to the learner Training images
“Dog” or “not dog” attached to each picture Labels
Practice with feedback The training process
A new picture to identify Input supplied to the trained model
The proposed answer A predicted category

This mapping explains the teaching setup. It does not describe a human mind inside a computer. The model works with numerical representations and learned relationships. ⁴

It may also pick up a clue we did not intend. A pattern that works in familiar conditions can fail when those conditions change—a problem known as shortcut learning. ⁶

Try It with Byte

“It spotted the dog. Job done—or did the grass give it away?”

Imagine a fictional training collection: every dog is on grass, and every “not dog” picture is indoors. Two hypothetical classifiers fit those examples: A uses animal features; B uses only the background. Both correctly label a new dog-on-grass picture. What would you show them next?

1 · Fictional training examples
Label: dogGrass background
Label: not dogIndoors; no dog
2 · Both get this right: a new dog on grass
A: animal featuresOutline: dog · Prediction: Dog
B: grass means dogOutline: grass · Prediction: Dog

Stipulated rules—not measured attention maps.

3 · What would you show next?
Dog on a sofa
Empty lawnGrass; no dog
Illustrative example—not results from a tested model.

Two hypothetical rules agree that a dog on grass is a dog: A uses animal features and B uses grass. A dog on a sofa or an empty lawn separates these rules. The following table gives their different predictions.

Worked answers: distinguishing the two rules
Next picture A: correctly uses animal features in this example B: uses “grass means dog”
Dog on a sofa Dog Not dog
Empty lawn Not dog Dog

Answer: either picture tells the two rules apart. Another dog-on-grass picture cannot: both rules give the same answer.

This is a reasoning exercise, not the output of a model we tested. Real systems may use a mixture of clues. The useful habit is to ask which example would reveal a mistaken shortcut, rather than collecting only examples on which the system succeeds. One revealing case can expose a problem; it cannot establish overall reliability. ⁶

Where do you already use AI?

The same habit—identify the task, then question the result—works beyond image recognition.

Everyday AI and useful questions
Everyday setting What an AI component may produce A useful question to ask
Navigation An estimated journey time What could have changed since the estimate?
Email A spam classification Could an important message have been filtered out?
Shopping A product recommendation Does it meet my actual requirements?
Banking A flag for a potentially unusual transaction How can a genuine transaction be checked?

These are possible applications, not claims that every service uses the same technology. The questions are starting points for examining the results. ² ⁷

Different AI capabilities

Four useful ways to describe what AI does are:

  • Prediction: estimating an outcome or assigning a category.
  • Vision: extracting information from images or video.
  • Language: working with text or speech, such as translation.
  • Generation: producing text, images, audio, video or code.

These capabilities overlap. A system that describes a photograph can involve vision, language and generation together. The labels help describe a task; they are not four separate boxes into which every product must fit. ²

What AI can do—and what it cannot guarantee

AI can help with the tasks above without guaranteeing that its output is correct or appropriate for your situation.

With generative AI, a fluent explanation can contain false claims or invented references. This is commonly called hallucination, or confabulation in NIST’s terminology. The confident presentation is part of the problem: it can make an unsupported answer seem reliable. ⁸

For a factual answer, open the cited source and check whether it actually supports the claim. For a classification or prediction, ask how the system was evaluated and whether those conditions resemble your use. Different outputs need different checks.

A quick myth check: AI is not a single chatbot, automation does not automatically mean AI, and a convincing response is not evidence of human-like understanding. Judge the specific task and the evidence behind the result.

Key takeaways

  1. AI is the broad field; machine learning is one approach within it.
  2. Training builds or adjusts a model; inference uses it.
  3. A correct answer does not reveal which clue produced it.
  4. Check the output in a way that matches the task.

Next time a product says “powered by AI”, ask: What goes in? What comes out? What would convince me that it works for my situation?

Where to go next

Continue your learning:

Or return to the Evergreen AI knowledge hub.