A fact whose truth value can change over time, such as a plane being at an airport
2
New cards
Ground atomic fluent
A single predicate applied only to constants, with no variables and no functions
3
New cards
Database semantics
Interpreting a state the way a database does, using the closed-world and unique names assumptions
4
New cards
Closed-world assumption
Any fluent not mentioned in a state is assumed to be false
5
New cards
Unique names assumption
Different constant names always refer to different objects
6
New cards
Frame problem
The problem of having to state everything an action does not change, which PDDL avoids by listing only what changes
7
New cards
Action schema
A template for a family of actions with variables, a precondition and an effect
8
New cards
Ground action
An action schema with every variable replaced by a constant
9
New cards
Precondition
The literals that must be true in a state before an action can be applied
10
New cards
Effect
The literals describing what becomes true or false after an action is applied
11
New cards
Applicable action
An action whose positive preconditions are all in the state and whose negative preconditions are all absent from it
12
New cards
RESULT(s, a)
The new state from applying action a in state s, found by removing the delete list and then adding the add list
13
New cards
Delete list
The fluents an action makes false, which are the negative literals in its effect
14
New cards
Add list
The fluents an action makes true, which are the positive literals in its effect
15
New cards
Planning domain
The set of action schemas that describe what actions are possible
16
New cards
Goal
A conjunction of literals that must hold at the end, where any variables are existentially quantified
17
New cards
Solution (planning)
A sequence of actions that, applied in order from the initial state, ends in a state satisfying the goal
18
New cards
Forward (progression) state-space search
Searching from the initial state by applying applicable actions until a goal state is reached
19
New cards
Branching factor
The number of actions applicable in a state, which is very large in planning problems
20
New cards
Backward (regression) search
Searching from the goal back toward the initial state using only relevant actions
21
New cards
Relevant action
An action whose effect achieves at least one goal literal and undoes none of them
22
New cards
Unification
Finding a substitution of variables that makes two expressions identical, used to match action effects to goals
23
New cards
Standardizing apart
Renaming the variables in an action schema so they cannot clash with variables already in the goal
24
New cards
Planning as Boolean satisfiability
Translating a planning problem into a propositional sentence and using a SAT solver to find a plan
25
New cards
Propositionalizing actions
Replacing each action schema with all of its ground actions, each tagged with a time step
26
New cards
Successor-state axiom
An axiom saying a fluent is true at the next step exactly when an action made it true or it was already true and no action made it false
27
New cards
Admissible heuristic
A heuristic that never overestimates the true cost to reach the goal, which lets A* find optimal plans
28
New cards
Relaxed problem
An easier version of a problem with some constraints removed, whose exact solution cost is used as a heuristic
29
New cards
Ignore-preconditions heuristic
A relaxation that drops all preconditions so every action is always applicable, turning the heuristic into a set-cover problem
30
New cards
Ignore-delete-lists heuristic
A relaxation that drops all negative effects so nothing is ever undone and progress toward the goal is monotone
31
New cards
Factored representation
A state described as a collection of variables or facts instead of a single black box
32
New cards
Induction
Reasoning from specific examples to a general rule, which can be wrong unlike deduction
33
New cards
Supervised learning
Learning a function from input and output pairs where every example has its correct answer
34
New cards
Unsupervised learning
Learning patterns in data that has no labels
35
New cards
Clustering
Unsupervised learning that groups similar examples together
36
New cards
Classification
A learning problem whose output is one of a finite set of classes
37
New cards
Regression (learning)
A learning problem whose output is a real number
38
New cards
Label
The correct output attached to a training example
39
New cards
Ground truth
The true correct answers that the model is trying to predict
40
New cards
Hypothesis
A function produced by the learner to approximate the true target function
41
New cards
Hypothesis space
The set of all hypotheses a learner is allowed to consider
42
New cards
Model
The learned function, used almost interchangeably with hypothesis
43
New cards
Generalization
How well a model performs on new data it has not seen
44
New cards
Training set
The data used to fit the model's parameters
45
New cards
Validation set
Held-out data used to choose hyperparameters, compare models and decide when to stop training
46
New cards
Test set
Held-out data used once at the end to estimate how well the final model generalizes
47
New cards
Hyperparameter
A setting chosen before learning rather than learned from data, such as tree depth, learning rate or number of hidden units
48
New cards
Bias (learning)
The tendency of a model to systematically miss the true function, usually because the hypothesis space is too restricted
49
New cards
Variance
How much a learned model changes when the training data changes
50
New cards
Underfitting
A model too simple to capture the pattern, giving high error on both training and test data
51
New cards
Overfitting
A model that fits the training data including its noise too closely and performs much worse on new data
52
New cards
K-fold cross-validation
Splitting data into k parts, training on k minus 1 parts and testing on the remaining one, rotating k times and averaging the results
53
New cards
Entropy
A measure of impurity or uncertainty in a set of examples, which is 0 for a pure set and highest when classes are evenly mixed
54
New cards
Information gain
The entropy of a node minus the weighted average entropy of its children after splitting on an attribute
55
New cards
Decision tree pruning
Replacing subtrees with leaves after the tree is built to make it simpler and reduce overfitting
56
New cards
Early stopping
Stopping tree growth or network training before the training data is fit perfectly, usually when validation error starts to rise
57
New cards
Regression tree
A decision tree for numeric outputs whose leaves hold numbers or linear functions instead of classes
58
New cards
Linear regression
Finding the weights of a linear function that minimize squared error on the data
59
New cards
Weight space
The space of all possible weight vectors, where each point is one hypothesis
60
New cards
Convex loss function
A bowl-shaped loss with a single global minimum and no other local minima
61
New cards
Gradient descent
Repeatedly moving the weights a small step opposite the gradient to reduce the loss
62
New cards
Learning rate
The step size in gradient descent, where too large overshoots or diverges and too small converges slowly
63
New cards
Linear separability
When some single straight line or hyperplane can perfectly separate the classes
64
New cards
Perceptron learning rule
Adjust each weight by the learning rate times the error times the input, so weights move toward correct answers
65
New cards
Multi-layer perceptron (MLP)
A neural network with an input layer, one or more hidden layers and an output layer
66
New cards
Feedforward network
A network whose connections only go forward from input to output, with no cycles
67
New cards
Hidden layer
An intermediate layer that learns new features or representations of the input
68
New cards
Fully connected
Every unit in one layer is connected to every unit in the next layer
69
New cards
Bias (neuron)
An extra learnable weight on a constant input of 1 that shifts a neuron's activation threshold
70
New cards
Activation function
The nonlinear function a neuron applies to its weighted sum
71
New cards
Sigmoid (logistic) function
A smooth S-shaped activation that squashes any input to a value between 0 and 1
72
New cards
ReLU
Rectified linear unit, an activation that outputs the input if it is positive and 0 otherwise
73
New cards
Softmax
An output activation that turns a vector of scores into probabilities that sum to 1, used for multi-class classification
74
New cards
Backpropagation
The algorithm that computes every weight's gradient by passing the output error backward through the network with the chain rule
75
New cards
Epoch
One complete pass through the entire training set
76
New cards
Weight initialization
Choosing starting weights, usually small random values, so hidden units can learn different things
77
New cards
Universal approximation theorem
A network with one hidden layer, enough hidden units and a nonlinear activation can approximate any continuous function as closely as desired
78
New cards
Classical planning
Finding a sequence of actions that takes an agent from an initial state to a goal in a world that is fully observable, deterministic, static and discrete
79
New cards
PDDL
Planning Domain Definition Language, a factored language for writing planning problems as states, action schemas, an initial state and a goal
80
New cards
State (in PDDL)
A conjunction of ground atomic fluents describing the world at one moment, with no negations allowed
81
New cards
Initial state
The fully ground starting state of a planning problem
82
New cards
Machine learning
The field of AI building agents whose performance on a task improves with experience
83
New cards
Attribute vector
A factored representation of an example as a list of attribute values, also called features
84
New cards
Decision tree
A tree that classifies an example by testing one attribute at each internal node and giving a class at each leaf
85
New cards
Linear function
A function that is a weighted sum of its inputs plus a constant
86
New cards
Weight
A learned number that sets how strongly an input affects the output
87
New cards
Neuron
A unit that computes a weighted sum of its inputs plus a bias and passes the result through an activation function
88
New cards
Input layer
The layer that holds the raw input features and does no computation
89
New cards
Output layer
The final layer that produces the network's prediction
90
New cards
Loss function
A function measuring how wrong a model's predictions are, which training tries to minimize