A*
A* (pronounced "A-star") is a best-first graph search algorithm that finds a least-cost path from a start node to a goal node.
Explore Algorithms through related topics and the articles other pages reference most.
The Algorithms articles that other AI Wiki pages link to most.
Articles that also belong to these categories. Counts cover all of Algorithms.
Showing 1-60 of 62 articles
A* (pronounced "A-star") is a best-first graph search algorithm that finds a least-cost path from a start node to a goal node.
Actor-critic methods are a family of reinforcement learning algorithms that learn two things at once: a parameterized policy, called the actor, which chooses actions, and a value function, called the critic
AlphaDev is an artificial intelligence system built by Google DeepMind that used deep reinforcement learning to discover faster algorithms for common computing tasks, most notably small-scale sorting and…
Alternating least squares (ALS) is an iterative method for fitting a product of two or more factor matrices to data by holding all but one factor fixed, solving the resulting linear least squares problem for…
Approximate nearest-neighbor search (ANN or ANNS) finds points close to a query while allowing some error relative to an exact nearest-neighbor result. It is a family of search methods, not a single algorithm.
BM25, also called Okapi BM25 or Best Match 25, is a probabilistic ranking function used by search engines and information retrieval systems to estimate how relevant a document is to a given query.
C4.5 is a decision tree learning algorithm and software system written by J. Ross Quinlan and documented in his book C4.5: Programs for Machine Learning, published by Morgan Kaufmann in 1993.
The CART algorithm (Classification And Regression Trees) is a non-parametric supervised learning method that builds a binary decision tree from labelled training data, using Gini impurity to split…
CatBoost is an open-source gradient boosted decision trees library developed by Yandex and released to the public on July 18, 2017.
A conditional random field (CRF) is a discriminative probabilistic model for structured prediction, used most often to assign a label to every position in an input sequence.
A directed acyclic graph (DAG) is a directed graph that contains no directed cycle: no path that follows the edges in their direction ever returns to the vertex it started from.
DiskANN is a graph-based approximate nearest-neighbor search (ANNS) system developed at Microsoft Research India that keeps most of its index on a solid-state drive (SSD) instead of in main memory.
Dynamic programming (DP) is an algorithmic technique that solves a complex problem by breaking it into simpler overlapping subproblems, solving each subproblem once, and storing the result so it is never…
Eigenvalues and eigenvectors describe the directions that a square matrix leaves unchanged apart from scaling: a nonzero vector…
The exponential time hypothesis (ETH) is a conjecture in computational complexity theory about how fast the 3-SAT problem can be solved.
Extra Trees (short for extremely randomized trees, also written Extra-Trees or ET) is a tree-based ensemble learning method for supervised classification and regression that grows many unpruned decision trees…
Feature selection is the process of choosing a subset of the most relevant input variables (features) from a larger candidate pool for use in a machine learning model, with the goal of finding the smallest set…
FixMatch is a semi-supervised learning algorithm for image classification that trains a model on a small set of labeled images together with a larger pool of unlabeled ones by combining two older ideas…
Flash Attention 3 (FA3, styled FlashAttention-3) is the third generation of the FlashAttention algorithm
Flash-Decoding is an inference-time variant of the FlashAttention algorithm that targets the decoding (autoregressive generation) phase of large language model inference
GSQ-RCO is a model-compression workflow that combines Gumbel-Softmax Quantization (GSQ) with Riemannian Constrained Optimization (RCO).
A genetic algorithm (GA) is a search and optimization method that imitates natural selection: it keeps a population of candidate solutions encoded as strings, scores each one with a fitness function, and…
Hierarchical Navigable Small World (HNSW) is an approximate nearest-neighbor search algorithm that indexes high-dimensional vectors in a multi-layer proximity graph and answers similarity queries in expected…
The Hadamard transform (also called the Walsh-Hadamard transform, and in some texts the Walsh transform) is a linear transform that multiplies a vector of length $n = 2^m$ by a Hadamard matrix, a square matrix…
Hierarchical softmax (often abbreviated H-softmax or HSM) is a technique for computing a probability distribution over a very large set of output classes, such as the words of a vocabulary, by arranging the…
The ID3 algorithm is a method for building a decision tree classifier from labelled examples, developed by J. Ross Quinlan
The Kalman filter is a recursive algorithm that estimates the hidden state of a dynamic system from a sequence of noisy measurements.
The kernel trick is a technique in machine learning for turning an algorithm that is linear in its inputs into a nonlinear one: every inner product between two data points is replaced by a kernel function $k(x
LightGBM (short for Light Gradient-Boosting Machine) is a free and open-source gradient boosting framework that trains ensembles of decision trees on tabular data, originally developed at Microsoft Research by…
Linear programming (LP) is the mathematical problem of finding the best value of a linear objective function over a set of variables that must satisfy a finite system of linear equations and inequalities
Lion (EvoLved Sign Momentum) is a stochastic optimizer for training deep neural networks, introduced by researchers at Google in the February 2023 paper "Symbolic Discovery of Optimization Algorithms" by…
Lookahead Decoding is a parallel decoding algorithm for accelerating inference in large language models, introduced in November 2023 by Yichao Fu, Peter Bailis, Ion Stoica, and Hao Zhang from the Hao AI Lab at…
Markov Chain Monte Carlo (MCMC) is a class of algorithms for drawing samples from a probability distribution by constructing a Markov chain whose stationary distribution equals the target distribution.
Matrix multiplication combines an M by K matrix A with a K by N matrix B to produce an M by N matrix C
Monte Carlo Tree Search (MCTS) is a heuristic search algorithm for sequential decision-making that finds strong actions by running many simulated playthroughs of a problem and aggregating their outcomes into a…
Motion planning is the computational problem of finding a sequence of valid configurations or controls that moves a robot (or another articulated or dynamical system) from a start state to a goal state while…
A multi-armed bandit is a sequential decision problem in which a learner repeatedly picks one action from a fixed set, receives a random reward for that action only, and tries to accumulate as much reward as…
A Nash equilibrium is a combination of strategies, one for each player in a game, such that no player can raise their own payoff by changing strategy alone while everyone else keeps theirs unchanged.
Non-maximum suppression (NMS) is a post-processing algorithm that removes redundant, overlapping detections so that each object in an image is reported once.
Non-negative matrix factorization (NMF, also written NNMF or nonnegative matrix factorization) is a family of methods that approximate a matrix with no negative entries as the product of two smaller matrices…
PageRank is a link-analysis algorithm that scores the importance of every page in a hyperlinked collection from the structure of the links between pages
A particle filter is a simulation-based method for estimating the changing, unobserved state of a system from a sequence of noisy observations.
Policy iteration is a dynamic programming algorithm for finding an optimal policy in a Markov decision process (MDP) whose transition probabilities and rewards are known.
A probabilistic graphical model (PGM) is a mathematical representation in which a graph expresses the factorization and conditional-independence structure of a probability distribution.
Quantum computing is a model of computation that stores and manipulates information in quantum mechanical systems, using superposition, entanglement, and interference to solve certain problems with far fewer…
Rebalancer is a resource-allocation library developed at Meta for assigning objects to containers under constraints and optimization goals.
SIFT (Scale-Invariant Feature Transform) is an algorithm for detecting distinctive local points in an image and describing the patch around each one with a 128-number vector, so that the same physical point…
SMOTE (Synthetic Minority Over-sampling Technique) is a data preprocessing algorithm that fixes class imbalance by creating new synthetic minority-class examples through interpolation between existing minority…
ScaNN (Scalable Nearest Neighbors) is an open-source library from Google Research for vector similarity search at scale, built around a quantization method called anisotropic vector quantization.
The Shapley value is a rule from cooperative game theory for dividing the payoff of a group among its members.
Simulated annealing is a probabilistic method for finding a good approximate solution to a global optimization problem, especially one with many local optima that trap ordinary hill-climbing methods.
Simultaneous Localization and Mapping (SLAM) is the computational problem of building a map of an unknown environment while at the same time estimating the position of a sensor, vehicle, or agent moving…
Sketching is a family of techniques in computer science, machine learning, and database systems that use small probabilistic data structures, called sketches
Soft Actor-Critic (SAC) is an off-policy, maximum-entropy deep reinforcement learning algorithm that trains a stochastic actor-critic to maximize expected reward plus the entropy of its own policy, so the…
TF-IDF (term frequency-inverse document frequency) is a numerical statistic that measures how important a word is to a single document within a larger collection or corpus, computed as the product of two…
Temporal-difference (TD) learning is a class of model-free reinforcement learning methods that learn value-function estimates by bootstrapping: updating each estimate of how good a state is toward a target…
Top-k sampling is a decoding strategy for autoregressive language models that restricts each generation step to the k most probable next tokens.
Trust Region Policy Optimization (TRPO) is a policy gradient algorithm for reinforcement learning that improves a stochastic policy by maximizing a surrogate objective while keeping the average KL divergence…
Twin Delayed Deep Deterministic Policy Gradient (TD3) is an off-policy actor-critic reinforcement learning algorithm for continuous action spaces, introduced by Scott Fujimoto, Herke van Hoof, and David Meger…
Vector quantization (VQ) is a form of quantization that maps a whole block of values, treated as a vector, to the nearest of a finite set of representative vectors called a codebook, so that the block can be…