Frequently asked questions
Short answers to questions that readers new to Algebraic Machine Learning (AML) often ask. Each answer points to the page that supports it.
Is AML a neural network?
No. An AML model is a set of atoms, and each atom is a set of constants. The model is computed by an algebraic procedure that replaces atoms with other atoms. AML “does not use optimization or search”.1 See Atomized semilattices and Sparse Crossing.
One combination with a statistical method has been reported: a logistic regression trained on the output of an AML model. See MNIST and other image datasets. How the authors see AML in relation to neural and statistical methods is set out on AML and statistical machine learning.
Does it need a GPU?
No GPU is mentioned in the published experiments or in the README of the engine. The Open-AML-Engine is a Python package with a C extension, and its README states that it has been tested on Linux. The only published timing, for Hamiltonian cycles, was measured on a regular desktop computer.2 See Open-AML-Engine.
What does “no validation set” mean?
It means that no validation data is needed to determine hyperparameters or to stop training before overfitting.3 Three reasons are given: the model grows as it learns, so no architecture has to be chosen; the four hyperparameters of the algorithm are fixed and not tuned for each dataset; and the theoretical analysis and the experiments show no overfitting.4 See Why subsets of the freest model generalize.
It does not mean that accuracy cannot be watched during training. The demonstration notebooks do plot accuracy on held-out data as training proceeds. See Tutorials.
Is it slow?
Three things are known about cost.
- The freest model of a task is usually too large to calculate, which is why Sparse Crossing computes only subsets of it. See Sparse Crossing.
- On Hamiltonian cycles a batch takes about 0.5 to 5 seconds on a regular desktop computer, and the method is much slower than a state-of-the-art heuristic, although it needs few attempts. See Hamiltonian cycles and Sudoku.
- For the larger image datasets, the intensity resolution of the images was reduced to speed up computation. No training times have been published for the image datasets. See MNIST and other image datasets.
An independent implementation by another group reports its own memory and time figures for MNIST. See Independent coverage.
Can I use it?
Yes. The Open-AML-Engine is open source, under the GNU General Public License, version 3. Three demonstration notebooks show it at work, and a browser playground lets you build small atomized semilattices by hand. See Open-AML-Engine, Tutorials and Playground.
How is it different from symbolic AI?
The authors place AML between the two traditions. They write that its mathematics “are closer to those of symbolic systems, yet it can learn from high-dimensional data like a connectionist system”, and that it also differs from neurosymbolic approaches.3 In AML the user supplies axioms that describe data, goals or prior knowledge, and the atoms of the model are computed from them. See Encoding a task and, for the authors’ view at more length, AML and statistical machine learning.
References
- Martin-Maroto, Abderrahaman, Méndez and de Polavieja (2025), Algebraic Machine Learning: Learning as computing an algebraic decomposition of a task, arXiv:2502.19944.
- Open-AML-Engine repository: README and licence file, at commit
3bd70d7.