AI Basics

What is AI?

Rules written by people, or rules learned from data

Scroll

Rules written by people, or rules learned from data

Artificial intelligence is an umbrella term for software that does things we would call intelligent if a person did them: recognizing a face, translating a sentence, choosing a move in a game. The term describes what a system does, not how it does it.

There are two broad ways to build one. You can write the rules yourself — if the subject line says free money, mark it as spam — or you can collect examples and let the system find the rules. The first is predictable and brittle: it fails on the first case nobody thought to write down. The second copes with cases nobody anticipated, and cannot fully explain itself.

When people say AI today they almost always mean the second kind, and usually one family of it: large models trained on huge amounts of data. Everything that follows is about that family. Keep the older meaning in mind anyway, because plenty of systems sold as AI are still mostly hand-written rules.

Foundations
TWO WAYS TO MAKE A MACHINE DECIDE rules written by a person if 'free money' in subject: mark as spam if sender in contacts: mark as not spam fails on the first case nobody wrote down rules learned from examples finds its own boundary; you supply the examples Both count as AI. Today the word almost always means the right-hand one: systems that learn their behavior from data instead of being told it.
Hand-written rules on the left, a boundary learned from labeled examples on the right.