Enter an algorithm and click Check Equivalence to see results.
Linnaeus is a tool for detecting equivalence between iterative optimization algorithms. Many algorithms that appear different on the surface — different names, different papers, different update rules — turn out to compute exactly the same iterates. Linnaeus finds these hidden equivalences automatically.
Every iterative oracle-based algorithm can be expressed as a linear dynamical system in feedback with a nonlinearity (the oracle). Linnaeus parses your algorithm's update equations, computes a transfer function , and compares it against a library of known methods:
Enter one update equation per line. Use [k], [k+1], [k-1], [k+2], etc. for time indices (k is a reserved symbol for iterate indices). Use * for explicit multiplication.
# Nesterov's Accelerated Method
y[k] = x[k] + beta * (x[k] - x[k-1])
x[k+1] = y[k] - alpha * grad_f(y[k])
# Douglas-Rachford Splitting
x1[k+1] = prox_f(x3[k])
x2[k+1] = prox_g(2 * x1[k+1] - x3[k])
x3[k+1] = x3[k] + x2[k+1] - x1[k+1]
# EXTRA (distributed)
x[k+1] = 2*W*x[k] - W*x[k-1] - alpha*(grad_f(x[k]) - grad_f(x[k-1]))
# Standard Average Consensus
x[k+1] = W*x[k]
| Syntax | Description |
|---|---|
grad_f(x), grad_g(x), grad_h(x) | Gradient of , , or |
prox_f(x), prox_g(x), prox_h(x) | Proximal operator of , , or |
prox_fstar(x), prox_gstar(x), prox_hstar(x) | Proximal operator of the conjugate , , or |
P(x) or P_C(x) | Projection onto convex set (renders as ) |
L | Graph Laplacian (linear oracle, eigenvalue ) |
W | Mixing matrix (linear oracle, ) |
Linnaeus is based on the paper “Algebraic characterization of equivalence between oracle-based iterative algorithms” by Laurent Lessard and Madeleine Udell (arXiv:2501.04972, 2025). The name honors Carl Linnaeus, the father of biological taxonomy, reflecting the tool's goal of classifying algorithms.