Skip to content

Glossary

Every term used on this site, in one sentence. Terms link to the lesson where they're explained.

10-armed testbed: the standard benchmark from Sutton & Barto, made of many random 10-armed bandits with \(q_*(a) \sim \mathcal{N}(0,1)\) and unit-variance reward noise, used to compare exploration methods. (Multi-armed bandits)

1-D convolution: convolution over a sequence such as an ECG, where the window slides only along time. (Convolutional Tsetlin machines)

A2C (advantage actor-critic): an actor-critic algorithm that collects short rollouts from several parallel environments and takes one gradient step per batch on an advantage-weighted policy loss plus a value loss and an entropy bonus. (Actor-critic)

Accumulation (u): the number of documents ORed together into one training example of a Tsetlin machine autoencoder, which makes rare context words appear more often. (Autoencoders & embeddings)

Action (\(a\)): a choice the agent makes at one time step, such as moving left or pressing a button. (What is RL?)

Action preference (h(s, a)): the raw score a policy network gives each action; a softmax turns these scores into probabilities. (Policy gradients)

Actor-critic: a family of RL methods that pairs a policy (the actor) with a learned value function (the critic), whose TD error tells the actor whether an action was better or worse than expected. (Actor-critic)

Adaptive threshold: an image Booleanization that marks a pixel True when it is brighter than the (Gaussian-)weighted mean of its neighbourhood minus a constant C, so it follows local contrast rather than one global level. (Language & images)

Advantage (A^π(s,a) = Q^π(s,a) − V^π(s)): how much better an action is than the policy's average behaviour in that state; G_t − V(s_t) is a sample estimate of it. (Policy gradients)

Agent: in reinforcement learning, the learner and decision-maker that observes states, takes actions and receives rewards. (What is RL?)

AlphaZero: A game-playing agent that guides Monte Carlo Tree Search with a policy-and-value network and trains that network by self-play on the search's results. (Model-based RL & planning)

Aspect-based sentiment analysis: classifying the sentiment towards one named aspect of a text (the price, the service) rather than the whole text; Tsetlin machines handle it by adding features for where sentiment words sit relative to the aspect word. (Language & images)

Backup (backup diagram): computing a state's value from the rewards and values one step ahead, drawn as a tree of action branches then outcome branches. (MDPs & Bellman equations)

Balanced sampling (q): building each autoencoder example around a fair coin flip, so the hidden word is present in half of its examples however rare it is. (Autoencoders & embeddings)

Baseline (b(s)): a value subtracted from the return in a policy-gradient update; it does not depend on the action, so the update stays unbiased while its variance drops. (Policy gradients)

Batch gradient descent: gradient descent where each step uses the gradient computed from all training examples. (Gradient Descent)

Behaviour cloning (BC): imitation learning done as plain supervised learning, mapping each recorded state to the expert's action. (Offline RL & imitation)

Behaviour policy: the policy that actually chooses the agent's actions and so generates its experience, e.g. ε-greedy. (Q-learning & SARSA)

Bellman expectation equation: \(V^\pi(s) = \sum_a \pi(a \mid s) \sum_{s',r} p(s', r \mid s, a)\,[r + \gamma V^\pi(s')]\); the value of a state equals the expected one-step reward plus the discounted value of the next state. (MDPs & Bellman equations)

Bellman optimality equation: the Bellman equation with the average over actions replaced by a max, \(V^*(s) = \max_a \sum_{s',r} p(s', r \mid s, a)\,[r + \gamma V^*(s')]\), satisfied only by the optimal values. (MDPs & Bellman equations)

Bellman residual: the gap between a value estimate and the right-hand side of its Bellman equation; it is zero for the true values. (MDPs & Bellman equations)

Boltzmann distribution: the rule that a pattern with energy \(E\) appears with probability proportional to \(e^{-E/T}\) at temperature \(T\); a softmax is the same formula. (The Ising model)

Boltzmann machine: an Ising-like network with learned weights and hidden units, trained so that its Boltzmann distribution matches the data. (The Ising model)

Boolean feature (\(x_k\)): a property of an object that is either True (1) or False (0), such as "has wings" or "tumour ≥ 20 mm"; the only kind of input a Tsetlin machine reads. (What is a Tsetlin machine?)

Booleanisation: turning raw data into Boolean features, for example one feature per category value or one per threshold on a number. (What is a Tsetlin machine?)

Bootstrapping: updating an estimate toward a target that contains another estimate, such as \(V(s')\): "learning a guess from a guess". (Monte Carlo & TD learning)

Bradley–Terry model: A model of pairwise choices where the probability that A beats B is σ(r_A − r_B), so only score differences matter. (RLHF & DPO)

Clause sharing: letting all classes use one shared pool of rules, each rule voting for or against every class through its own signed weight. (Weighted clauses & sharing)

Clipped objective (\(L^{\text{CLIP}}\)): PPO's policy objective \(\min(r_t \hat{A}_t, \text{clip}(r_t, 1-\varepsilon, 1+\varepsilon)\hat{A}_t)\), which gives no extra credit for moving an action's probability ratio outside \([1-\varepsilon, 1+\varepsilon]\). (Actor-critic)

Coalesced Tsetlin machine (CoTM): a multi-class or multi-output Tsetlin machine with a single pool of rules and a signed integer weight \(w_{ij}\) for every class and rule, learned together with the rules. (Weighted clauses & sharing)

Colour thermometer: thermometer encoding applied to each colour channel of every pixel, so a rule can require a colour range with one AND. (Language & images)

Composite vote sum: the sum of the normalised vote sums of all Tsetlin machines in a composite; its sign decides the class (argmax per class for multi-class) and its size is the composite's confidence. (Confidence & composites)

Compounding errors: in imitation learning, small mistakes lead the learner to unfamiliar states where it makes more mistakes, so the error can grow like \(\varepsilon T^2\) instead of \(\varepsilon T\). (Offline RL & imitation)

Confidence (|v|): how sure a Tsetlin machine is about a prediction, measured by the size of its vote sum (for multi-class, the largest class vote sum). (Confidence & composites)

Conservative Q-Learning (CQL): an offline RL method that adds a loss term pushing Q-values down on all actions and up on the dataset's actions, so unseen actions are never overestimated. (Offline RL & imitation)

Contextual bandit: a bandit where the agent sees a context (such as a user profile) before choosing, and the best arm depends on that context. (Multi-armed bandits)

Convex function: a bowl-shaped function with a single minimum; gradient descent with a suitable learning rate is guaranteed to find it.

Convolution window: a small rectangle, such as 3×3 pixels, placed at every position of an image so that a rule sees one piece of the image at a time. (Convolutional Tsetlin machines)

Convolutional Tsetlin machine: a Tsetlin machine whose rules are matched against every window patch of the input and fire if they match anywhere, so one rule recognises a pattern wherever it appears. (Convolutional Tsetlin machines)

Cosine similarity (cos(e_k, e_l)): the dot product of two vectors divided by their lengths; 1 means same direction, 0 means no overlap. (Autoencoders & embeddings)

Coupling (\(J\)): how strongly two neighbouring spins prefer to agree (\(J > 0\)) or disagree (\(J < 0\)); the Ising model's version of a weight. (The Ising model)

Coverage: the fraction of a class's examples that a rule matches. (Recognize, Erase & Reject feedback)

Coverage/accuracy trade-off: answering only cases whose confidence reaches a threshold raises accuracy on the answered cases but leaves more cases to refer to a human. (Confidence & composites)

Credit assignment problem: working out which of many earlier actions deserve the credit (or blame) for a reward that arrives later. (What is RL?)

Critical temperature (\(T_c\)): the temperature at which a phase transition happens; \(2/\ln(1+\sqrt{2}) \approx 2.269\) for the 2-D Ising model. (The Ising model)

Curse of dimensionality: the number of states grows exponentially with the number of variables describing a state, so sweeping over all of them quickly becomes impossible. (Dynamic programming)

DAgger (Dataset Aggregation): imitation learning that runs the learner, has the expert label the states the learner visits, adds them to the dataset and retrains. (Offline RL & imitation)

Deadly triad: Function approximation, bootstrapping and off-policy data together, a combination that can make value learning diverge. (Deep Q-Networks)

Decision-time planning: planning focused on the current state at the moment an action must be chosen, for example by growing a search tree, rather than improving values for all states in the background. (Model-based RL & planning)

Deep clause (nested rule): a graph Tsetlin machine rule split into one part per layer, where the later parts test messages sent by other rules, so rules are built from rules. (Hierarchical & graph TMs)

Deep Q-Network (DQN): Q-learning with a neural network as the Q-function, made stable with an experience replay buffer and a target network. (Deep Q-Networks)

Direct Preference Optimization (DPO): trains a policy directly on preference pairs with the loss −log σ(β log π_θ(y_w)/π_ref(y_w) − β log π_θ(y_l)/π_ref(y_l)), with no reward model or RL loop. (RLHF & DPO)

Discount factor (\(\gamma\)): a number between 0 and 1 that makes rewards further in the future count for less in the return. (What is RL?)

Distribution shift: when the states a policy meets at test time differ from the states it was trained on, for example because its own actions lead it elsewhere. (Offline RL & imitation)

Distributional hypothesis: words that occur in the same contexts tend to have similar meanings, the idea behind every word embedding. (Autoencoders & embeddings)

Divergence: when the learning rate is too large and each update overshoots further, so the loss grows instead of shrinking. (Gradient Descent)

Double DQN: A DQN variant whose target picks the next action with the online network but scores it with the target network, removing most of the overestimation bias. (Deep Q-Networks)

Dueling network: A Q-network whose last layer splits into a state-value stream V(s) and an advantage stream A(s, a) that are recombined into Q(s, a). (Deep Q-Networks)

Dynamic programming (DP): computing optimal policies from a known model p(s′, r | s, a) by turning the Bellman equations into update rules applied to every state. (Dynamic programming)

Dynamics function (\(p(s', r \mid s, a)\)): the probability of landing in state \(s'\) with reward \(r\) after taking action \(a\) in state \(s\); the "rules of the game" of an MDP. (MDPs & Bellman equations)

Dyna-Q: Q-learning plus a learned model: after every real step it makes n extra Q-learning updates on transitions imagined by the model. (Model-based RL & planning)

Edge type: a label on a graph edge (for example "bond", "left", "right") that is attached to every message sent along it, so a rule can tell which kind of neighbour sent it. (Hierarchical & graph TMs)

Energy (of a pattern) (\(E(s)\)): one number per pattern that is low for preferred patterns; in the Ising model \(E = -J\sum s_i s_j - h\sum s_i\). (The Ising model)

Energy-based model: a model that assigns every pattern an energy and treats low-energy patterns as likely, usually through the Boltzmann distribution. (The Ising model)

Entropy bonus: a term added to the loss that rewards the policy for keeping its action probabilities spread out, so it keeps exploring. (Actor-critic)

Environment: everything outside the agent; it responds to each action with a new state and a reward. (What is RL?)

Episode: one run of agent–environment interaction, from a starting state to a terminal state (e.g. one game). (What is RL?)

Epoch: one full pass over the entire training dataset.

External field (\(h\)): a term that makes every spin prefer one direction, like a bias on a neuron. (The Ising model)

ε-greedy (epsilon-greedy): a policy that usually takes the best-known action but, with small probability ε, takes a random one to explore. (What is RL?)

Erase Feedback (Type Ib): when a rule fails to match an example of its own class, every literal is forgotten one step with probability equal to the Forget Value. (Recognize, Erase & Reject feedback)

Expected SARSA: A variant of SARSA whose TD target averages Q(s′, a′) over the policy's action probabilities instead of using one sampled next action, which gives less noisy updates. (Q-learning & SARSA)

Experience replay (replay buffer): storing past transitions (s, a, r, s′) in a buffer and training on random mini-batches from it, which decorrelates the data and reuses experience. (Deep Q-Networks)

Exploration vs. exploitation: the trade-off between trying new actions to learn more (explore) and choosing the best-known action to collect reward (exploit). (What is RL?)

Extrapolation error: in offline RL, the error from bootstrapping on Q-values of actions that never appear in the data; the max picks them when they are too high, causing overestimation. (Offline RL & imitation)

First-visit Monte Carlo: A Monte Carlo method that uses only the return after the first visit to a state in each episode. (Monte Carlo & TD learning)

Forget Value (1/s): the probability that a forgetting step (a decrement) actually happens; it also acts as the frequency threshold a literal must beat to stay in a rule. (Recognize, Erase & Reject feedback)

Frequent pattern: a combination of literals that is True for most examples of a class, found by Recognize and Erase Feedback. (Recognize, Erase & Reject feedback)

Function approximation: representing a value function or policy with a parameterised function, such as a neural network, instead of a table, so it can generalise to unseen states. (Deep Q-Networks)

Gaussian policy (a ~ N(μ_θ(s), σ²)): a policy for continuous actions whose network outputs the mean (and often the spread) of a normal distribution that actions are sampled from. (Policy gradients)

Generalized Advantage Estimation (GAE) (\(\lambda\)): an advantage estimate that blends multi-step TD errors, \(\hat{A}_t = \sum_k (\gamma\lambda)^k \delta_{t+k}\), trading bias (\(\lambda=0\)) against variance (\(\lambda=1\)). (Actor-critic)

Generalized policy iteration (GPI): the general pattern of interleaving policy evaluation and policy improvement, which almost every RL method follows. (Dynamic programming)

Gradient (\(\nabla L\)): the list of slopes of the loss with respect to each parameter; it points in the direction of steepest increase. (Gradient Descent)

Gradient descent: an algorithm that repeatedly moves parameters a small step opposite to the gradient, to reduce the loss. (Gradient Descent)

Graph Tsetlin machine (GraphTM): a Tsetlin machine whose input is a graph of nodes with properties and typed edges, and whose rules match at nodes and pass messages to neighbouring nodes. (Hierarchical & graph TMs)

Greedy action: the action with the highest current value estimate, \(\arg\max_a Q_t(a)\); choosing it is exploiting. (Multi-armed bandits)

Greedy policy (\(\pi^*(s) = \arg\max_a Q^*(s,a)\)): a policy that always picks the action with the highest action-value; greedy with respect to \(Q^*\) is optimal. (MDPs & Bellman equations)

Histogram of oriented gradients (HOG): an image descriptor that counts edge directions in small cells; thresholded, it gives Boolean features about local edge orientation. (Language & images)

Hopfield network: an Ising-like network whose pairwise weights are chosen so that stored patterns are energy minima, which lets it recall a memory from a damaged copy. (The Ising model)

Hypervector: a fixed-length bit vector in which each symbol gets a few random bit positions, used by the graph Tsetlin machine code to store many node properties and messages compactly. (Hierarchical & graph TMs)

Image patch (patch features \(x_{i,j}\)): the pixels inside the convolution window at one position; their truth values are the patch features, which mean the same thing at every position. (Convolutional Tsetlin machines)

Imitation learning: learning a policy from an expert's demonstrations (states and actions) instead of from rewards. (Offline RL & imitation)

Implicit Q-Learning (IQL): an offline RL method that never queries unseen actions; it learns values only on dataset actions and extracts a policy by advantage-weighted behaviour cloning. (Offline RL & imitation)

Inbox: the set of messages a node has received from its neighbours in one round, which gives it new Boolean features of the form "a neighbour sent R_k". (Hierarchical & graph TMs)

Incremental update: updating an estimate one sample at a time as new estimate = old estimate + step size × (target − old estimate). (Multi-armed bandits)

Integer-weighted Tsetlin machine (IWTM): a weighted Tsetlin machine whose weights are whole numbers that go up by 1 on Recognize Feedback and down by 1 on Reject Feedback, never below 0. (Weighted clauses & sharing)

Interpretability: the property of a model whose reasoning a person can read and check directly, as with a Tsetlin machine's AND-rules; it does not by itself make the model accurate. (What is a Tsetlin machine?)

Interval rule: a rule over thermometer-coded literals, which fires for one range of an input such as "2 ≤ dose < 5". (Regression)

Ising model (Lenz–Ising model): a grid of spins that are each up or down, where neighbours prefer to agree and temperature adds random flips. (The Ising model)

Iterative policy evaluation: computing V^π by repeatedly applying the Bellman expectation equation as an assignment until the values stop changing. (Dynamic programming)

KL penalty (β): A term −β·KL(π‖π_ref) added to the RLHF objective that keeps the fine-tuned policy close to the reference model. (RLHF & DPO)

Learning rate (\(\eta\)): the number that controls how big each gradient-descent step is. (Gradient Descent)

Literal (\(x_k\), \(\lnot x_k\)): a Boolean feature or its negation; with \(o\) features there are \(2o\) literals, and exactly half are True for any object. (What is a Tsetlin machine?)

Literal game: the two literals of a rule seen as players that each choose Memorized or Forgotten without communicating; each one's feedback depends on the other's choice. (Recognize, Erase & Reject feedback)

Log-derivative trick (∇π = π ∇ln π): the identity that turns the gradient of an expectation into an expectation you can estimate by sampling, so the environment's unknown dynamics drop out. (Policy gradients)

Logical word embedding (E = clip(W, 0, T)): a word represented by its positive weights on a pool of readable AND-rules learned by a Tsetlin machine autoencoder. (Autoencoders & embeddings)

Loss (loss function): a single number that measures how wrong a model's predictions are; training tries to make it small. (Gradient Descent)

Magnetisation (\(m\)): the average of all spins, from \(-1\) (all down) to \(+1\) (all up). (The Ising model)

Markov chain: a random process whose next state depends only on the current state, like a literal's memory position moving one step per training example. (The Tsetlin automaton)

Markov chain Monte Carlo (MCMC): sampling from a distribution by taking many small random steps whose long-run visits follow that distribution; Metropolis is the classic example. (The Ising model)

Markov decision process (MDP): the formal model of an RL problem: states, actions, dynamics \(p(s', r \mid s, a)\) and a discount \(\gamma\). (MDPs & Bellman equations)

Markov property: the next state and reward depend only on the current state and action, not on the earlier history. (MDPs & Bellman equations)

Markov random field: a probability model in which each variable interacts directly only with its neighbours, such as pixels in an image. (The Ising model)

Masking (x_k := 1): hiding the word to be predicted, so that it counts as True in every rule and its memory is frozen during feedback. (Autoencoders & embeddings)

Match map: the grid of True/False results of one rule at every window position, the Boolean version of a CNN feature map, which the OR collapses to one bit. (Convolutional Tsetlin machines)

Maximum-entropy RL (\(\alpha\)): an objective that maximises reward plus the policy's entropy weighted by a temperature \(\alpha\), as used by SAC. (Actor-critic)

Mean absolute error (MAE): the average absolute distance between predictions and targets, the error measure used for regression Tsetlin machines. (Regression)

Mean squared error (MSE): a loss that averages the squared differences between predictions and true values.

Memorize Value ((s−1)/s): the probability that a memorizing step (an increment) under Recognize Feedback actually happens; usually Memorize Value + Forget Value = 1. (Recognize, Erase & Reject feedback)

Memorized / Forgotten: the upper and lower halves of a literal's memory; only Memorized literals take part in the rule's AND. (The Tsetlin automaton)

Memory depth (D): the number of memory positions per literal (the book's Chapter 1 uses 10), equal to the 2N states of a Tsetlin automaton; deeper memory gives sharper, more decisive but slower-changing outcomes. (The Tsetlin automaton)

Message passing: in a graph Tsetlin machine, a node sends a rule's name to its neighbours wherever that rule's parts so far match, and the next layer's rule parts read these messages. (Hierarchical & graph TMs)

Metropolis algorithm: a sampling method that proposes a small change and accepts it always if the energy does not rise, and with probability \(e^{-\Delta E/T}\) if it does. (The Ising model)

Mini-batch: a small random subset of the training data used to estimate the gradient for one step.

Model (of the environment) (\(\hat p(s', r \mid s, a)\)): the agent's own prediction of what happens after taking action \(a\) in state \(s\): the next state and the reward, or their probabilities. (Model-based RL & planning)

Model-based RL: reinforcement learning that uses a model of the environment, given or learned, to plan with imagined experience instead of relying only on real experience. (Model-based RL & planning)

Model-free: describes methods that learn values or policies straight from experience, without knowing or learning the transition probabilities \(p(s', r \mid s, a)\). (Monte Carlo & TD learning)

Monte Carlo prediction: estimating \(V^\pi(s)\) by averaging the complete returns actually observed after visiting \(s\). (Monte Carlo & TD learning)

Monte Carlo Tree Search (MCTS): A planning method that grows a search tree from the current state, one simulation at a time (selection, expansion, simulation, backup), and then plays the most-visited move. (Model-based RL & planning)

Multi-armed bandit (k-armed bandit): the simplest RL problem, with one unchanging state where the agent repeatedly picks one of k actions ("arms"), each paying a random reward from its own hidden distribution. (Multi-armed bandits)

Multi-class Tsetlin machine: one team of rules (for and against) per class; the class whose team has the highest vote sum wins. (Classification by voting)

Multi-layer Tsetlin machine: a stack of Tsetlin machines in which the rule outputs of one layer are the Boolean inputs of the next, trained layer by layer. (Hierarchical & graph TMs)

MuZero: an AlphaZero-style agent that is not given the rules; it learns a model in a hidden state space and runs MCTS inside it. (Model-based RL & planning)

Negated word literal (\(\lnot x_w\)): the literal "the text does NOT contain word w", True for almost every word in a short text and therefore very common in learned text rules. (Language & images)

Node property (symbol): a Boolean feature of one node of an input graph, such as the element of an atom or the letter at a position. (Hierarchical & graph TMs)

Normalised vote sum: a machine's vote sum divided by the difference between the highest and lowest vote sums it produces on the data, so that machines of different sizes speak on one scale. (Confidence & composites)

n-step TD: A TD method that adds up \(n\) real rewards and then bootstraps from \(V(s_{t+n})\); it sits between TD(0) (\(n=1\)) and Monte Carlo (\(n\) = to the end). (Monte Carlo & TD learning)

Offline RL (batch RL): reinforcement learning from a fixed, previously logged dataset of \((s, a, r, s')\) with no interaction with the environment during training. (Offline RL & imitation)

Off-policy learning: learning the values of one policy (the target policy, e.g. greedy) from experience generated by a different behaviour policy (e.g. ε-greedy). (Q-learning & SARSA)

On-policy learning: learning the values of the same policy that is generating the experience, exploration included. (Q-learning & SARSA)

Optimal value functions (\(V^*\), \(Q^*\)): the highest value any policy can reach from each state (or state-action pair). (MDPs & Bellman equations)

Optimistic initial values: starting every value estimate far too high, so that even a greedy agent tries every action until reality lowers its estimates. (Multi-armed bandits)

Overestimation bias: the upward bias that comes from taking a max over noisy value estimates, as in the Q-learning target. (Deep Q-Networks)

Parameterised policy (π_θ(a | s)): a policy given by a function with adjustable weights θ (usually a neural network) that outputs action probabilities. (Policy gradients)

Parameters (weights): the adjustable numbers inside a model that training changes.

Partially observable MDP (POMDP): a problem where the agent's observation misses information needed to predict the future, so it is not Markov. (MDPs & Bellman equations)

Partition function (\(Z\)): the sum of \(e^{-E/T}\) over all patterns, which turns Boltzmann weights into probabilities and is usually too large to compute. (The Ising model)

Pessimism (offline RL): the principle of distrusting values for actions the data doesn't support, by constraining or penalising them (BCQ, CQL, IQL). (Offline RL & imitation)

Phase transition: a sudden change in the overall behaviour of a system at a particular temperature, such as the Ising model losing its magnetisation. (The Ising model)

Planning: computing or improving a policy from experience imagined with a model, without acting in the real environment. (Model-based RL & planning)

Policy (\(\pi\)): the agent's strategy, a rule that gives the action (or a probability for each action) in every state. (What is RL?)

Policy gradient theorem (∇_θ J = E[Σ_t G_t ∇_θ ln π_θ(a_t | s_t)]): the result that the gradient of expected return can be estimated from sampled episodes, without a model of the environment. (Policy gradients)

Policy improvement theorem: acting greedily with respect to V^π gives a policy at least as good as π in every state. (Dynamic programming)

Policy iteration: alternating full policy evaluation and greedy improvement until the policy stops changing, at which point it is optimal. (Dynamic programming)

Policy objective (J(θ)): the expected return of the policy with weights θ, which policy-gradient methods maximise by gradient ascent. (Policy gradients)

Policy-based method: an RL method that learns the policy directly instead of deriving it from learned values. (Policy gradients)

Position encoding: adding each patch's window coordinates as extra Boolean features, so a rule can restrict its pattern to a rectangular region. (Convolutional Tsetlin machines)

PPO (Proximal Policy Optimization): an on-policy actor-critic algorithm that runs several epochs of minibatch updates per batch while a clipped objective keeps each policy change small; it is the RL step in classic RLHF. (Actor-critic)

Precision (of a rule): among the examples a rule matches, the fraction that really belong to its class. (Recognize, Erase & Reject feedback)

Precision of a rule (\(q\)): the share of the examples a rule fires on that belong to the class it votes for. (Weighted clauses & sharing)

Prioritised experience replay: sampling replay transitions in proportion to their TD error, with importance weights to correct the bias this introduces. (Deep Q-Networks)

Probability ratio (\(r_t(\theta)\)): how much more or less likely the new policy is to take the logged action than the policy that collected the data, \(\pi_\theta(a_t \mid s_t)/\pi_{\text{old}}(a_t \mid s_t)\). (Actor-critic)

PUCT: alphaZero's selection rule \(Q(s,a) + c\,P(s,a)\sqrt{N(s)}/(1+N(s,a))\), which adds the network's move prior to a UCB-style exploration bonus. (Model-based RL & planning)

Q-learning: A model-free TD control method that updates Q(s, a) towards r + γ max_a′ Q(s′, a′), so it learns the optimal greedy values Q* while behaving ε-greedily. (Q-learning & SARSA)

Q-network (Q(s, a; θ)): A neural network that takes a state and outputs one Q-value per action. (Deep Q-Networks)

Q-value / action-value (\(Q^\pi(s,a)\)): the expected return from taking action \(a\) in state \(s\) and following policy \(\pi\) afterwards. (What is RL?)

Random matching patch: in convolutional learning, Recognize and Reject Feedback use the literals of one patch picked at random among those the rule matched. (Convolutional Tsetlin machines)

Random walk: a position that moves up or down one step at a time at random; the memory position of a literal under training is one. (The Tsetlin automaton)

Receptive field (depth \(D\)): the part of the graph that can influence whether a rule matches at a node; with \(D\) layers it reaches \(D-1\) edges away. (Hierarchical & graph TMs)

Recognize Feedback (Type Ia): when a rule matches an example of its own class, True literals are memorized (Memorize Value) and False literals forgotten (Forget Value). (Recognize, Erase & Reject feedback)

Reference policy (π_ref): the frozen starting model (usually the SFT model) that the KL penalty and DPO's log-ratios measure the policy against. (RLHF & DPO)

Regression feedback probability (\(|v-\tau|/T\)): the probability that each rule gets feedback in a regression Tsetlin machine, proportional to the size of the error in votes. (Regression)

Regression Tsetlin machine: a Tsetlin machine whose rules all add one vote and whose vote sum is scaled to a numeric output. (Regression)

Regret: the total expected reward lost by not always choosing the best action, \(\sum_t \big(q_*(a^*) - q_*(a_t)\big)\). (Multi-armed bandits)

REINFORCE: the basic Monte Carlo policy-gradient algorithm: play an episode, then raise the log-probability of each action in proportion to the return that followed it. (Policy gradients)

Reinforcement learning from human feedback (RLHF): aligning a model by learning a reward from human comparisons and then optimising the model against it with RL (typically PPO). (RLHF & DPO)

Reinforcement learning (RL): learning to act by trial and error, using rewards instead of correct answers, to maximise total future reward. (What is RL?)

Reject Feedback (Type II): when a rule matches an example of another class, every Forgotten literal that is False for that example moves one step towards memorized, always, so the rule stops matching it. (Recognize, Erase & Reject feedback)

Reliability diagram: a plot of how often the positive class really occurs at each confidence level (here, each vote sum), used to check whether confidence can be read as a probability. (Confidence & composites)

Resolution (\(T\)): in a regression Tsetlin machine, the number of votes that covers the whole target range; it sets the output step \((y_{\max}-y_{\min})/T\). (Regression)

Resource allocation: the effect of the Voting Margin that sends feedback mostly to examples not yet won by T votes, so idle rules move to sub-patterns no rule covers yet. (Classification by voting)

Resting weight (\(T(2q-1)\)): the value an integer rule weight drifts towards, set by the rule's precision \(q\) and the Voting Margin \(T\); a rule right half the time or less sinks to 0. (Weighted clauses & sharing)

Return (\(G_t\)): the (discounted) sum of all rewards from time step \(t\) until the end of the episode; the quantity an RL agent tries to maximise. (What is RL?)

Reward (\(r\)): the number the environment sends back after each action, saying how good the immediate outcome was. (What is RL?)

Reward hacking (reward over-optimisation): when a policy exploits errors in a learned or proxy reward, so its score rises while true quality falls (Goodhart's law). (RLHF & DPO)

Reward model (r_φ): A network trained on human preference pairs to output a scalar score for a reply, used as the reward during RL fine-tuning. (RLHF & DPO)

Rule (clause) (\(C_j\)): "if condition then class", where the condition is an AND of literals; it matches an object only if every literal is True. (What is a Tsetlin machine?)

Rule weight (\(w_j\)): the number of votes a rule casts when it fires; an integer weight reads as a number of identical copies. (Weighted clauses & sharing)

Rules for / against a class (positive / negative polarity clauses): rules whose True condition adds +1 or −1 to the vote sum. (Classification by voting)

SAC (Soft Actor-Critic): an off-policy actor-critic for continuous actions that uses a replay buffer, a maximum-entropy objective with an (auto-tuned) temperature, and twin Q critics. (Actor-critic)

Sample average: estimating an action's value as the mean of the rewards it has given so far. (Multi-armed bandits)

SARSA: an on-policy TD control method that updates Q(s, a) towards r + γ Q(s′, a′) using the next action it really takes; named after the quintuple (s, a, r, s′, a′). (Q-learning & SARSA)

Self-play: training an agent on games it plays against itself, so that it produces its own training data. (Model-based RL & planning)

Self-supervised learning: learning from unlabelled data by predicting a hidden part of the input from the rest, so the data supplies its own targets. (Autoencoders & embeddings)

Semi-gradient: an update that treats the bootstrapped target as a constant and does not differentiate through it. (Deep Q-Networks)

Set of words (binary bag of words): a text Booleanization with one feature per vocabulary word, True if the word occurs in the document; word order and counts are dropped. (Language & images)

Softmax policy: a policy that turns action preferences into probabilities with π(a|s) = e^{h(s,a)} / Σ_b e^{h(s,b)}. (Policy gradients)

Specificity (s): the papers' single knob, with Forget Value 1/s; a larger s gives longer, more specific rules. (Recognize, Erase & Reject feedback)

Spin (\(s_i\)): one two-state unit of the Ising model, \(+1\) (up) or \(-1\) (down). (The Ising model)

Staircase output: the piecewise-constant prediction of a regression Tsetlin machine, a sum of interval rules. (Regression)

State (\(s\)): a description of the situation the agent is in at a given time step. (What is RL?)

Stationary distribution (π): the long-run share of time a Markov chain spends in each state, unchanged by one more step (π = πM); it gives a literal's exact probability of being Memorized. (The Tsetlin automaton)

Step size (α): how far an incremental update moves the estimate towards the new target; 1/n gives the exact average, and a constant α tracks a changing world. (Multi-armed bandits)

Stochastic gradient descent (SGD): gradient descent that estimates the gradient from one random example (or a mini-batch) per step. (Gradient Descent)

Sub-optimal configuration (local optimum): a set of rules that no single rule can improve by changing alone, such as two copies of "x1 AND x2" for x1 OR x2. (Classification by voting)

Sub-pattern: one kind of example inside a class, described by a single AND-rule; a class with several needs several rules. (Classification by voting)

Supervised fine-tuning (SFT): fine-tuning a pre-trained language model on human-written demonstration answers with the ordinary next-token loss. (RLHF & DPO)

Sweep: one pass of updates over every state of an MDP. (Dynamic programming)

Sweep (Monte Carlo): as many attempted spin flips as there are spins, the usual unit of time in an Ising simulation. (The Ising model)

Target in votes (\(\tau\)): a numeric target rewritten as a number of votes, \(\tau = (y-y_{\min})/(y_{\max}-y_{\min})\,T\). (Regression)

Target network (θ⁻): A periodically synced, frozen copy of the Q-network used only to compute TD targets, so the regression labels hold still. (Deep Q-Networks)

Target policy: the policy whose values an agent is learning about, i.e. the one its TD target assumes will be followed from the next state on. (Q-learning & SARSA)

TD control: using temporal-difference updates of action values Q(s, a) to learn a good policy directly from experience, without a model. (Q-learning & SARSA)

TD error (\(\delta_t\)): the one-step surprise \(r_{t+1} + \gamma V(s_{t+1}) - V(s_t)\), which drives every TD update. (Monte Carlo & TD learning)

TD target: the value \(r_{t+1} + \gamma V(s_{t+1})\) that TD(0) moves \(V(s_t)\) toward. (Monte Carlo & TD learning)

Temperature (\(T\)): the amount of randomness in the Boltzmann distribution; low \(T\) concentrates probability on low-energy patterns, high \(T\) spreads it evenly. (The Ising model)

Temporal-difference (TD) learning (TD(0)): learning values after every step by moving \(V(s)\) toward \(r + \gamma V(s')\); it samples like Monte Carlo and bootstraps like DP. (Monte Carlo & TD learning)

Thermometer encoding: booleanising a number with features "value ≥ \(t_1\)", "value ≥ \(t_2\)", …, so larger values switch on more bits. (What is a Tsetlin machine?)

Thompson sampling: exploring by drawing one sample from your belief about each action's value and taking the action with the highest sample. (Multi-armed bandits)

Tipping point (p* = 1/(s+1)): how often a literal must be True in its class to be Memorized more often than not, when only that class is seen; set by the Forget Value 1/s. (The Tsetlin automaton)

TM composite: several independently trained Tsetlin machines combined plug-and-play by adding their normalised vote sums (research term: TMComposites). (Confidence & composites)

TM specialist: a Tsetlin machine trained on one particular Booleanization (view) of the data, meant to be combined with others in a TM composite. (Language & images)

Trustworthiness (of confidence): confidence that matches performance: the more confident cases are more often correct, as measured on held-out data. (Confidence & composites)

Tsetlin automaton: M. L. Tsetlin's learning automaton whose whole memory is one integer among 2N states: a reward moves it deeper into its current action, a penalty toward the centre, where it switches action. (The Tsetlin automaton)

Tsetlin machine: an interpretable machine-learning model in which many AND-rules over Boolean literals vote for or against a class, each rule learning its literals with Tsetlin-automaton memory. (What is a Tsetlin machine?)

Tsetlin machine autoencoder (TM-AE): a Tsetlin machine with one output per input word, a shared pool of rules and signed integer weights, trained to predict each masked word from the others. (Autoencoders & embeddings)

Twin Q critics: two Q-networks whose minimum is used in the target, to counter the overestimation of learned Q-values (from TD3, used in SAC). (Actor-critic)

UCT (Upper Confidence bounds applied to Trees): MCTS's selection rule \(W/N + c\sqrt{\ln N_{\text{parent}}/N}\), the UCB bandit rule applied at every node of the tree. (Model-based RL & planning)

Upper Confidence Bound (UCB): choosing \(\arg\max_a [Q_t(a) + c\sqrt{\ln t / N_t(a)}]\), i.e. adding a bonus to actions that have been tried rarely ("optimism in the face of uncertainty"). (Multi-armed bandits)

Value function (\(V^\pi(s)\)): the expected return when starting in state \(s\) and following policy \(\pi\). (What is RL?)

Value iteration: repeatedly applying the Bellman optimality equation as an update, V(s) ← max_a Σ p·[r + γV(s′)], then acting greedily on the result. (Dynamic programming)

Vocabulary: the list of words that become features in a set-of-words representation, usually chosen by frequency and by how unevenly a word is spread over the classes (for example a χ² score); words outside it are invisible to the rules. (Language & images)

Vote sum (v): votes from firing rules for a class minus votes from firing rules against it; its sign is the prediction. (Classification by voting)

Voting Margin (T; threshold): during training, each rule gets feedback with probability (T − v)/2T, where v is measured for the example's own class and clipped to [−T, T]; examples already won by T votes give no feedback. (Classification by voting)

Weight matrix (\(W\)): in a coalesced machine, the class × rule table of signed weights; positive means the rule votes for that class, negative means against. (Weighted clauses & sharing)

Weighted vote sum (\(v=\sum w_j C_j\)): the vote sum in which each firing rule adds its weight instead of 1, and is subtracted when it votes against. (Weighted clauses & sharing)