Free | No tracking | Every fact with a source|German and English

AI course / Module 1: Basics

Lesson 1/12 What is AI, anyway?

Machine learning, neural networks, and the difference between training and use — without any math. · 5 min.

Artificial intelligence is everywhere right now. In your phone, in search engines, in the office. But what is actually behind it? In this first lesson, we’ll clear up the basic terms. No math, promise.

AI is not magic, but pattern recognition

Today, when people say “AI” (artificial intelligence), they almost always mean programs that have learned from examples. A classic program follows fixed rules written by a human: “If A, then B.” An AI, by contrast, gets lots of examples and figures out the rules on its own.

Imagine you want to explain to a child what a cat is. You could write a list: four legs, fur, pointy ears, whiskers. But then a dog with pointy ears comes along. Or a hairless cat without fur. The list is never quite right. It works much better to show the child a hundred cats. At some point, it recognizes cats without being able to say exactly why.

That’s exactly how modern AI works. It finds patterns in data that would be too complex for a hand-written list of rules.

Machine Learning: learning from examples

The technical term for this is Machine Learning. A program improves by seeing examples and learning from its mistakes. A few everyday examples:

  • Your email program filters out spam because it has “seen” millions of spam emails.
  • Your phone recognizes faces in photos and groups them by person.
  • Streaming services suggest movies to you because similar people liked them.

None of these systems knows a fixed rule like “spam contains the word winner.” It has learned which features often appear together.

Neural networks: lots of tiny adjustment knobs

Most current AI systems are neural networks. The name comes from the brain, but the comparison is imperfect. A neural network is more like a giant mixing board with millions or billions of tiny controls.

Each control contributes a little to how an input is processed. The input flows through many layers one after another. Each layer recognizes more abstract patterns. In images, for example: first edges, then shapes, then eyes and ears, and finally “cat.”

These controls are called parameters or weights. If you later read that a model has “8 billion parameters,” that’s what is meant. More parameters roughly mean the model can store more knowledge and finer relationships. But it also needs more memory. More on that in module 2.

Tip: You can look up unfamiliar terms in the Glossary at any time.

Training and using: two completely different things

Very important for your home lab is the difference between training and using.

Training is the learning process. The network gets an example, makes a prediction, and compares it with the correct answer. Then all the controls are adjusted a tiny bit so the error becomes smaller. This repeats an unimaginable number of times. Large models are trained with huge amounts of data on thousands of special graphics cards, often for weeks. That costs a lot of money and electricity. You don’t do that at home.

Using (technical term: inference) means: the finished model gets an input and produces a result. The controls stay fixed. The model does not learn anything new while being used. And that is something you can do on a normal PC with a good graphics card.

An everyday comparison: training is like studying for many years. Using is like the doctor who gives you a diagnosis in five minutes. You can’t redo the degree, but you can use the appointment.

Important: If a chatbot seems to “remember” something in a conversation, it has not learned anything new. It is only seeing the current conversation history again. More on that in the next lesson.

What your home lab can do — and what it can’t

At home, you use models that are already trained. Many of them are freely available and can be downloaded. People talk about “open models” or “open-weight models”: the weights, meaning the positions of the controls, are public. You can find an overview under Models.

With that, you can for example:

  • chat with a language model, have it summarize texts, or translate them,
  • generate images from a text description,
  • search your own documents and ask questions about them,
  • turn speech into text.

What you won’t do: train a large model from scratch. What is absolutely possible, though: adapt an existing model a little with little effort. You’ll learn about that in lesson 12. You can find an overview of typical use cases under Applications.

Generative AI: creating something new instead of just recognizing it

Older AI systems mainly sorted and recognized: spam or not, cat or dog. The current wave is called generative AI. It creates something new: text, images, music, videos, code.

The principle behind it is the same. A model that has seen lots of text knows the patterns of language so well that it can write plausible text itself. An image model knows the patterns of photos so well that it can paint new images. We’ll look at how that works in detail in the next two lessons.

The key points in brief

  • Modern AI learns patterns from many examples instead of following fixed rules.
  • Neural networks consist of billions of adjustable controls, the parameters.
  • Training is expensive and happens in data centers. Using the model (inference) also works on your own PC.
  • A model does not learn while being used. It only “remembers” what is in the current conversation.
  • Generative AI creates new content like text and images.

Short quiz

1. What’s the difference between machine learning and a classic program?
2. What happens to a model while you use it at home (inference)?
3. What are the “parameters” of a neural network?