BooleanIQ / Learn

AI from the ground up / GLOSSARY

Words, in plain words.

AI
In plain words: AI is a machine that works out, from what it is given, how to produce its answer. Lesson 101: What AI is, and what it is not
API
No person is in between here. One program is getting another program to do a job. This door is called an API. So the difference is simple. A chat app is for you: you open it and type yourself. And an API is the way to the same model, for programs. Lesson 601: Chat app or API: how products are built on models
Account
A register. In which, under your name, is written what you ordered and when. Every single time. In an AI app, that name in the register is your account. The same email or phone number you signed in with. What you typed went to the company's computers. Saved chats stay with your account. Temporary chats do not appear in history. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
App
And on a phone, a program you work through buttons and a screen is usually called an app. The program's face, so to speak. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Chatbot
An AI you talk to by typing is called a chatbot. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Class imbalance
Lots of examples of one kind, very few of the other. This is called class imbalance. Lesson 306: 99% accurate and useless: how a model is measured
Classification
Looking at a case and saying which group it goes in is called classification. Lesson 304: Yes or no: how spam filters and loan models decide
Cloud
These far-away computers, used over the internet for as much as you need, are what people call the cloud. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Context
Part two: your side of the story. Who you are, what this is for, and what has happened so far. This is what's called context. Lesson 201: A prompt is a brief: the five parts
Data
Data means recorded examples. Something happened, and somebody wrote it down. Lesson 301: Data: what AI eats
Deep learning
So deep learning is still machine learning, only with many layers, learning the steps from examples, from simple to hard. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Expert system
Take an expert's knowledge, a doctor's for example, and fill it into a great many hand-written rules. A program like that is called an expert system. Lesson 105: Seventy years in ten minutes: from Turing to ChatGPT
Few-shot
This has a name. Here a shot means a sample. No sample is zero-shot. One sample is one-shot. A few samples is few-shot. The model itself does not change. The samples live only in this prompt, so in a new chat, paste them in again. Lesson 202: Show, don't tell: examples and context in a prompt
First draft
Whatever comes back is a first draft: a rough first try. Not the final word, and not a failure. Lesson 203: Never accept the first answer
Format
Part four: format. That is, how the answer should look. How long, in which language, and in what form: an email, a table, or a short message. Lesson 201: A prompt is a brief: the five parts
General AI
The argument is about whether an AI could learn and do a wide range of jobs, with understanding equal to a person's. AI like that is called general AI. Many people see it as AI's final goal. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Generative AI
AI that makes new things, writing, pictures, sound or video, is called generative AI. Generative means making. It makes things like the examples it learned from, but new. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Generative AI
Making what was not there. That is the artist's job. AI that does this job of making is called generative AI. Generative simply means making. And not only pictures. Writing, spoken voices, music, video, and computer code too. Lesson 106: Generative AI: the machine that makes new things
Ghostwriter
Keep one picture in mind. A ghostwriter. A writer who writes under someone else's name. Lesson 251: Writing with AI without sounding like AI
Hallucination
So an answer that comes with full confidence, sounds right, and is wrong, has a name. It is called hallucination: something the machine makes up that seems true but is not. Lesson 110: Why AI says wrong things with full confidence
Inference
Running a model that has finished learning on a new case is called inference. Lesson 103: How a machine learns from examples
Internet
The internet is not magic. It is a mesh of cables, towers and machines that pass things along, connecting computers all over the world. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Interviewer
This chair is called the interviewer: the one who keeps asking until the problem is clear. Lesson 204: AI as a thinking partner
Jagged frontier
Take people's score on each test and set it at the same height. That is one straight line. Now the line for AI. It is not straight; it is jagged. Above people in places, below them in others. Up: the olympiad maths. Down: reading a clock. And which jobs are up and which are down is not always what our hunch would say. Researchers call this uneven line the jagged frontier. Frontier means a border. It means two jobs that feel equally hard to us: in one, AI can make the work better, and in the other, worse. Lesson 109: What AI can do today, and what it cannot
Label
The right answer a machine learns from is called the label. Here the label is the price. Lesson 301: Data: what AI eats
Language model
A machine like that is called a language model: a trained machine that guesses the next bit of language. Lesson 107: The one idea behind ChatGPT: predict the next word
Linear regression
Guessing a number from a straight line is called linear regression. A heavy name for a ruler's job. Lesson 303: Prediction with a line: how a machine guesses a price
Logistic regression
How is the score made? Two parts. A weight for each column, and a curve shaped like an S. A weight is how hard a column pulls the score. Each column's number is multiplied by its weight, and all are added up. Then the total goes through that S curve. However big or small the total, it lands between zero and one. This method is called logistic regression. Regression, because it really does output a number, the probability of selling. The group is picked later, by the red line. Lesson 304: Yes or no: how spam filters and loan models decide
Loss
For each phone, see what the line said, and what was really asked. The gap between them is a miss. Some dots sit above the line, some below. Above or below, every miss counts. Each miss is multiplied by itself. So double the miss means four times the penalty. Then we take the average over all phones. So it is not a total; it is a miss per phone. This one number says how wrong the line is overall. It is called the loss. Lesson 303: Prediction with a line: how a machine guesses a price
Machine learning
Learning from examples instead of from rules someone wrote. That is called machine learning. Put precisely, a program learns when experience makes it better at a task. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Machine learning
So nobody wrote the rule for telling faces apart. People chose the examples and the goal; the machine found the rule. This way of learning a rule from examples is called machine learning. Lesson 101: What AI is, and what it is not
Machine learning
Two: learning from data and experience, instead of from written rules, is called machine learning. Lesson 103: How a machine learns from examples
Model
And in the data centre, the thing that writes your answer is called the model. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Model
And the thing inside a chatbot that writes the answer is called a model. Lesson 202: Show, don't tell: examples and context in a prompt
Model
The set numbers that remain after training are what is called the model. Lesson 103: How a machine learns from examples
Model
The thing inside a chatbot that writes the answer is called a model. It learned this one job by reading a vast amount of text: which word fits next. Lesson 201: A prompt is a brief: the five parts
Narrow AI
AI like this is called narrow AI: AI for one task, or a set of tasks. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Neural network
So deep learning is still machine learning, only with many layers, learning the steps from examples, from simple to hard. This web of layers is called a neural network. The name comes from the brain, but as a rule it is not a copy of one. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Ordinary software
A program whose every step a person wrote is what people call ordinary software. A person wrote the rule; the machine only ran it. Lesson 101: What AI is, and what it is not
Pattern
A pattern is something that shows up again and again across the examples. Lesson 102: AI, machine learning, deep learning, generative AI: four words, one picture
Precision
For the machine it is the same question: of the payments it called fraud, how many really were. This is called precision. Lesson 306: 99% accurate and useless: how a model is measured
Prediction
A prediction is a model's output for an input; the ones that matter are for inputs unseen in training, future or not. Lesson 303: Prediction with a line: how a machine guesses a price
Prediction
So twenty five minutes is not a measurement. It is a guess. A guess like this is called a prediction. Lesson 104: The AI you already use every day
Program
A phone is really a small computer. And for a job like the calculator, a person writes out every step for the computer. You press two plus two, the written steps inside run, and four comes out. A list of written steps like that is called a program. Lesson 100: Where AI lives: your phone, the app, the internet, the cloud
Program
It wrote a small program. A program is a set of instructions for a computer: open this file, add up each item, draw the chart. Lesson 253: Numbers: spreadsheets and data with AI
Prompt
Two things first. What you type and send to an AI is called a prompt. A good prompt tells the whole job, and it can include an example. Lesson 202: Show, don't tell: examples and context in a prompt
Prompt
What you type to an AI is called a prompt. And many people believe: a good picture needs some secret prompt. Lesson 254: Pictures: making and editing images
Prompt
What you write and send is called a prompt. Lesson 108: Your first real conversation with a chatbot
Recall
For the machine: of all the real frauds, how many were caught. This is called recall. Lesson 306: 99% accurate and useless: how a model is measured
Recommendation system
No person picked them by hand. An AI that chooses what to show each person is called a recommendation system. Lesson 104: The AI you already use every day
Reinforcement learning
Act, get a reward or penalty, improve. Finding out by trying which actions bring the most reward is called reinforcement learning. Lesson 302: Three ways to learn: with answers, without answers, by reward
Self-supervised learning
When the data supplies its own answers, it is called self-supervised learning. No teacher, and yet learning from answers. Lesson 302: Three ways to learn: with answers, without answers, by reward
Structured data
Data laid out in rows and columns, like the phone table, is called structured data. Like a bank statement, or a school marksheet. Lesson 301: Data: what AI eats
Supervised learning
Learning from examples that carry the right answers is called supervised learning. The name, because behind every answer stands a kind of teacher. Each example holds inputs and the correct output, and the machine seeks a rule that also fits new cases of that kind. Lesson 302: Three ways to learn: with answers, without answers, by reward
Sycophancy
Telling you what you want to hear, going along with whatever you say: that's flattery, and the technical word is sycophancy. Lesson 203: Never accept the first answer
System prompt
The first is instructions. With every question the product sends the model a hidden note. The note says: you are this society's assistant, answer only from the rule book, and say plainly what you do not know. Whatever is written and sent to a model is called a prompt. And this hidden note has a name: the system prompt. Lesson 601: Chat app or API: how products are built on models
Temporary chat
Second: a chat that is not added to your list, and, as long as you do not save it, does not go into training either. This is called a temporary chat. One app calls it incognito. What do you think: once you close a temporary chat, is it gone? No. One company can keep a copy for up to thirty days, for safety reasons. Lesson 111: What you should never type into an AI app
Threshold
In the real machine, the needle? Its score. And the red line? The cut-off called the threshold. Lesson 304: Yes or no: how spam filters and loan models decide
Token
It counts pieces. A model breaks words into small tiles to read them, like the tiles of a word game. Each tile is called a token. Lesson 601: Chat app or API: how products are built on models
Token
It cuts the text into small pieces. One piece is a whole word, another part of a word, another just a mark, like a comma. Think of them as tiles, like tiles laid in a row on a floor. Each tile carries one piece. For example, the English word unwatched, meaning not yet seen. It can become three tiles. These pieces are called tokens. What the machine really guesses is not the next word but the next token. Lesson 107: The one idea behind ChatGPT: predict the next word
Training
Teaching a machine by showing it examples like these is called training. Lesson 103: How a machine learns from examples
Training
Teaching a model by showing it examples is called training. Lesson 111: What you should never type into an AI app
Training data
The examples a model learns from are called training data. Data just means a pile of information; here, photos and their answers. Lesson 103: How a machine learns from examples
Unsupervised learning
Finding groups and patterns in data with no answers is called unsupervised learning. No teacher, and no answer key. Lesson 302: Three ways to learn: with answers, without answers, by reward