AI Base

AI Fundamentals glossary

110 key terms, each in one sentence, with the lesson that teaches it.

ABCDEFGHIJKLMNOPQRSTUVWXYZ

A

Accuracy
the share of all cases handled correctly.
Measuring Performance
Action
carrying out the choice and changing the world.
PDA Loop
Actuator
a channel through which the agent acts: a motor, a screen, an outgoing message.
Agents and Environments
Admissible heuristic
one that never overestimates the true remaining cost.
Heuristics and A-star Search
Adversarial example
an input altered slightly, often invisibly, to make a model err.
Where AI Goes Wrong
Agent
anything that perceives its environment through sensors and acts on it through actuators to pursue a goal.
Agents and Environments
AI effect
the habit of no longer calling a technique AI once it has become routine.
What Counts as AI
AI winter
a period of sharply reduced funding and interest after a wave of over-promising.
A Short History of AI
Artificial general intelligence (AGI)
a hypothetical system flexible across most intellectual tasks a person can do. There is no agreed definition or test.
Narrow, General and Super AI
Artificial intelligence (AI)
the field, and the systems, aimed at machines that sense, decide and act towards goals.
What Counts as AI

B

Backpropagation
the method for training multi-layer networks by passing the error backwards through them.
A Short History of AI
Base rate
how common the thing you are looking for is.
Measuring Performance
Bias (in data)
a lopsided or unrepresentative sample that skews what a model learns.
Where AI Goes Wrong
Branching factor
the number of actions available from a typical state.
Search
Breadth-first search
exploring the nearest states first, in rings.
Search
Brittle
working only in the situations it was written for, and failing badly outside them.
Rules vs Learning
Brittleness
failing badly outside the situations the rules cover.
Expert Systems and Their Limits

C

Classification
predicting which category an example belongs to.
Types of Tasks
Closed loop
a system that checks the results of its actions and adjusts, unlike an open loop that acts blindly.
PDA Loop
Clustering
grouping similar examples when no labels are given.
Types of Tasks
Confusion matrix
the table of hits, misses, false alarms and correct ignores.
Measuring Performance
Converged
no longer improving noticeably, so training can stop.
Training vs Inference

D

Data
recorded information about the world.
Data as Raw Material
Decision
choosing an action based on that understanding and the goal.
PDA Loop
Deep learning
machine learning with neural networks that have many layers.
AI, ML, DL and Generative AI
Deployment
putting a trained system into real use.
Anatomy of an AI System
Depth-first search
following one route as deep as possible before backing up.
Search
Deterministic or stochastic
whether outcomes are fixed by the state and action, or involve chance.
Kinds of Environments
Distribution shift
new data differing from the data a model was trained on.
Where AI Goes Wrong

E

Effect
what changes after an action.
Planning
Embedding
a list of numbers, usually learned by a model, that represents something such as a word.
State and Representation
Environment
everything outside the agent that it senses and affects.
Agents and Environments
Episodic or sequential
whether decisions stand alone or shape later options.
Kinds of Environments
Error (loss)
a number measuring how far predictions are from the true answers.
A Model Is a Function
Expected value
the average result when each possible outcome is weighted by its chance.
Goals, Utility and Rationality
Expert system
a rule-based program that captures a specialist's knowledge.
A Short History of AI

F

Fact
a statement taken to be true.
Logic and Knowledge Representation
Feature
one measurable fact about an example.
Features and Labels
Feature engineering
choosing and shaping features by hand to give a model useful information.
Features and Labels
Feature vector
the list of an example's features.
Features and Labels
Feedback
the effect of an action coming back as the next perception.
PDA Loop
Feedback loop
a system's outputs changing the data it later learns from.
Where AI Goes Wrong
Forward chaining
applying rules repeatedly to known facts until nothing new appears.
Logic and Knowledge Representation
Frontier
the states discovered but not yet explored.
Search
Fully or partly observable
whether the agent can see everything relevant.
Kinds of Environments

G

Generative AI
models that create new content such as text, images, audio or code.
AI, ML, DL and Generative AI
Goal
what the agent is trying to achieve.
Goals, Utility and Rationality
Goal test
the check that says a state is a solution.
Search
Gradient descent
repeatedly nudging parameters in the direction that lowers the loss.
Training vs Inference
Greedy best-first search
a search that follows the heuristic alone.
Heuristics and A-star Search

H

Hallucination
a fluent output that is confidently wrong or invented.
Where AI Goes Wrong
Heuristic
a cheap, informed estimate of how far a state is from the goal.
Heuristics and A-star Search

I

Inference
using a trained, frozen model to make predictions on new inputs.
Training vs Inference
deriving new facts from known facts and rules.
Logic and Knowledge Representation
Inference engine
the general machinery that applies the rules to a case.
Expert Systems and Their Limits

K

Knowledge acquisition bottleneck
the difficulty of getting experts' skill into explicit rules.
Expert Systems and Their Limits
Knowledge base
the collection of rules and facts written by people.
Expert Systems and Their Limits
Knowledge graph
facts stored as things linked by relations.
Logic and Knowledge Representation

L

Label
the correct answer attached to a training example, such as “spam”.
Rules vs Learning
the answer the model is asked to predict.
Features and Labels
Loss
the number that training tries to make small.
Training vs Inference

M

Machine learning
methods in which a system learns patterns from data instead of following hand-written rules.
AI, ML, DL and Generative AI
Manhattan distance
the steps needed on a grid if nothing blocked the way: |Δrow| + |Δcolumn|.
Heuristics and A-star Search
Metric
a number that summarises how well a system does its job.
Anatomy of an AI System
Misspecified goal
an objective that differs from what its designers actually wanted.
Goals, Utility and Rationality
Model
a function that turns inputs into a prediction.
A Model Is a Function
Multi-agent
an environment in which other agents also act, cooperating or competing.
Kinds of Environments

N

Narrow AI
a system built for one task or a tight family of tasks.
Narrow, General and Super AI
Neural network
a model built from many simple connected units whose connection strengths are learned.
AI, ML, DL and Generative AI
Noise
random errors or variation in data that hides the true pattern.
Generalization

O

Ontology
a structured description of categories and how they relate.
Logic and Knowledge Representation
Overfitting
fitting the quirks and noise of the training data, so new data goes badly.
Generalization

P

Parameter
an adjustable number inside a model, set by learning.
A Model Is a Function
Percept
what the sensors report at one moment.
Agents and Environments
Perception
turning raw signals into an understanding of the situation.
PDA Loop
Perceptron
an early learning model: a single artificial neuron that classifies its inputs.
A Short History of AI
Pipeline
the chain of steps from raw data to a decision and an action.
Anatomy of an AI System
Plan
a sequence of actions that reaches a goal.
Planning
Precision
the share of the system's alarms that are real.
Measuring Performance
Precondition
what must be true before an action is allowed.
Planning
Prediction
the output the model produces for an input.
A Model Is a Function

R

Rational
choosing the action with the best expected result given what is known, not necessarily the best in hindsight.
Goals, Utility and Rationality
Rational agent
an agent that chooses the action expected to best achieve its goal, given what it knows.
What Counts as AI
Recall
the share of real cases the system catches.
Measuring Performance
Regression
predicting a number.
Types of Tasks
Reinforcement learning
learning which actions to take from feedback about their results.
Types of Tasks
Replanning
making a new plan when the world does not go as expected.
Planning
Representation
the form in which the state is written: numbers, a table, a graph or learned vectors.
State and Representation
Rule
an if-then statement saying what follows from what.
Logic and Knowledge Representation
Rule-based system
one whose behaviour is set by hand-written if-then rules.
Rules vs Learning

S

Sensor
a channel through which the agent receives information: a camera, a microphone, a data feed.
Agents and Environments
State
the agent's summary of the situation, holding every fact its decision depends on.
State and Representation
State explosion
the way the number of possible states multiplies with each extra fact.
State and Representation
State space
all the states a problem can be in, joined by actions.
Search
Static or dynamic
whether the world waits for the agent or keeps changing.
Kinds of Environments
STRIPS
an early planning language that described actions by their preconditions and effects.
Planning
Structured data
data in neat rows and columns, like a spreadsheet.
Data as Raw Material
Superintelligence
a hypothetical system far better than the best humans at nearly everything.
Narrow, General and Super AI
Supervised learning
learning from examples that come with correct answers.
Types of Tasks
System
a goal, data, a model or rule, a perceive–decide–act loop and a measure of success working together.
Anatomy of an AI System

T

Test set
examples held back to judge the finished model.
Generalization
Time series
measurements recorded in order over time.
Data as Raw Material
Token
a chunk of text, such as a word or word piece, converted into a number.
Data as Raw Material
Training
adjusting a model's parameters using examples.
Training vs Inference
Training data
the examples a system learns from.
Rules vs Learning
Training set
the examples a model learns from.
Generalization
Transformer
a neural network architecture built on attention, introduced in 2017.
A Short History of AI
Turing test
Turing's imitation game, in which a judge tries to tell a machine from a person by conversation alone.
What Counts as AI

U

Underfitting
being too simple to capture the real pattern.
Generalization
Uneven ability
being excellent at one task and weak at a similar-looking one.
Narrow, General and Super AI
Unstructured data
free-form data such as text, images and audio.
Data as Raw Material
Utility
a number scoring how good an outcome is for the agent.
Goals, Utility and Rationality