potentialpaper

Algebraic Machine Learning: learning as computing subsets of the subdirect decomposition from Abstract Algebra

Fernando Martin-Maroto, Nabil Abderrahaman-Elena, David Méndez, Gonzalo G. de Polavieja

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. This paper introduces an algebraic learning framework that builds generalizing models by subdirect decomposition rather than numerical optimization.

Abstract. We propose a machine-learning framework based on the principle that learning can be achieved through algebraic decomposition rather than numerical optimization. A learning task is encoded as axioms of an algebra, and learning proceeds by computing a subdirect decomposition of the algebra into subdirectly irreducible components. We show that suitable subsets of these components form models that generalize to unseen data because they approximate the underlying rule in the training data. The method has no dataset-specific hyperparameters to tune and shows no evidence of classical overfitting in our experiments, so we run it without a validation dataset. We compare against multilayer perceptrons as generic parametric baselines without task-specific inductive biases. Across 24 classification datasets, the algebraic method is applied only once to each training set without hyperparameter tuning, whereas the multi-layer perceptrons are selected from many configurations using validation data or cross-validation. Nevertheless, the resulting test accuracies are statistically indistinguishable. Moreover, adding a statistical readout on top of the algebraic representation, using untuned logistic regression, improves over the best multilayer perceptrons selected by validation or cross-validation. More broadly, because task axioms may encode examples, formal knowledge, or both, this approach provides a common algebraic framework and the same algorithm for data-driven problems such as classification, formally specified problems such as computing Hamiltonian cycles from specifications, and mixed settings combining data with formal constraints.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Algebraic Machine Learning (AML) is a nonstandard learning paradigm in which examples and formal knowledge are encoded as algebraic constraints, and models satisfying these constraints are constructed combinatorially rather than through numerical optimization. Earlier AML work used training data to construct algebraic models satisfying the corresponding constraints. This paper adds an idealized rule-recovery result characterizing what such a model recovers when it is constructed from the full set of logical consequences of an unknown underlying rule. It also develops a more principled heuristic for deciding which parts of the learned model to retain throughout training, based on their observed behavior on positive and negative training examples. The paper further substantially broadens the empirical evaluation relative to previous work.

Initial concerns centered on whether there was sufficient novelty beyond prior AML work, the scope of the theoretical claims, and the empirical and computational support. The authors engaged substantively with these concerns during rebuttal, and the overall assessment turned positive. While the paper builds closely on the existing framework, the new theoretical and empirical contributions form a coherent and meaningful proof of concept for a distinct learning paradigm. The paper is therefore recommended for acceptance. The authors are encouraged to reflect the discussion in the final version, to delineate more clearly the contribution relative to prior AML work, and to correct the two bibliographic errors identified during the citation check.

Final justification

See final meta-review.

The paper could also be considered for a spotlight to improve visibility of less conventional learning paradigms.

Area Chair 3Fz5 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Algebraic Machine Learning (AML) is a nonstandard learning paradigm in which examples and formal knowledge are encoded as algebraic constraints, and models satisfying these constraints are constructed combinatorially rather than through numerical optimization. Earlier AML work used training data to construct algebraic models satisfying the corresponding constraints. This paper adds an idealized rule-recovery result characterizing what such a model recovers when it is constructed from the full set of logical consequences of an unknown underlying rule. It also develops a more principled heuristic for deciding which parts of the learned model to retain throughout training, based on their observed behavior on positive and negative training examples. The paper further substantially broadens the empirical evaluation relative to previous work.

Initial concerns centered on whether there was sufficient novelty beyond prior AML work, the scope of the theoretical claims, and the empirical and computational support. The authors engaged substantively with these concerns during rebuttal, and the overall assessment turned positive. While the paper builds closely on the existing framework, the new theoretical and empirical contributions form a coherent and meaningful proof of concept for a distinct learning paradigm. The paper is therefore recommended for acceptance. The authors are encouraged to reflect the discussion in the final version, to delineate more clearly the contribution relative to prior AML work, and to correct the two bibliographic errors identified during the citation check.

Final justification

See final meta-review.

The paper could also be considered for a spotlight to improve visibility of less conventional learning paradigms.

1 comment
Authors · CommentOpenReview ↗

Response to Meta Review

We thank the AC for the positive assessment and the requests. We address each concern:

1. NOVELTY AND SIGNIFICANCE BEYOND PRIOR WORK

Reference [7] introduced AML, Full Crossing and an initial Sparse Crossing algorithm demonstrated on binarized two-class MNIST. References [8,9] developed the mathematics of atomized semilattices and its connection to the subdirect representation. Prior work did not show how this mathematical work in [8.9] explains or improves AML. Our new contributions are (order as in ms Contributions):

  1. Formulation: Learning is identified with selecting specific components of the subdirect decomposition.
  2. What is learned in AML: Thm. 23 (Line 182; App. B) shows that, with sufficient data, the freest model recovers the rule underlying the data.
  3. Why it generalizes: Sec. 3.6 and App. C give a finite-data probabilistic analysis of which subdirect components have low test error.
  4. How it is computed: Sec. 3.7 and App. D develop the new Sparse Crossing algorithm as finding those components.
  5. Empirical validation: on 24 datasets.

To better distinguish our work, Related Work will read:

Algebraic Machine Learning. Algebraic Machine Learning (AML) was introduced in [7], including Full Crossing and an initial version of the Sparse Crossing algorithm evaluated on binarized two-class MNIST [30]. References [8,9] developed the mathematics of atomized semilattices and its connection to the subdirect product. However, this earlier work did not show how the mathematics of [8,9] could be used to understand and extend AML. Here, we establish that connection by interpreting learning as the selection of components in a subdirect decomposition. This gives a formal account of what AML learns and why it generalizes, and gives a new Sparse Crossing algorithm with a theory of how it identifies generalizing components. This extends AML to multiclass problems with numerical and categorical variables.

And Sec. 1, Contribution 4 as "We develop a theoretical formulation of Sparse Crossing, extending the initial algorithm introduced in [7], as a method for identifying low test error components of the subdirect decomposition.”

2. SCOPE OF THE THEORETICAL CLAIMS

a. Rule recovery (Sec. 3.5, Thm. 23 ). The theorem is neutral to label noise: with sufficient data, the freest model recovers the rule represented by the supplied dataset, including mislabels. We will state this explicitly in Sec. 3.5.

b. Finite-data analysis (Sec. 3.6, Eqs. 8–9, App. C). The text already states that the analysis assumes approximate independence of atom-level errors and matched train-test distributions (Lines 209–210). Limitation 3 also states that it does not characterize correlated errors, label noise, or distribution shift (Lines 354–355). We will clarify Limitation 3.

c. Empirical scope. Claims of no observed overfitting and no need for validation are empirical and limited to the tested settings (Lines 269–272). We will give it in Limitations. For hyperparameters, see 3c.

3. EMPIRICAL AND COMPUTATIONAL SCOPE

a. Computational feasibility. The implementation follows the theory and is unoptimized (Lines 356–358). Appendix E4 will report wall-clock time, peak RAM, and atom count over 5–6 sample sizes. Runtime is sublinear to nearly linear, atom count roughly linear, and memory nearly constant or linear depending on the case; complexity also depends on the dataset.

b. Noise tolerance. Mislabels enlarge atoms’ upper segments and reduce discriminability, so Sparse Crossing tends to reject them. On MNIST, the union model obtains 94.4% accuracy at 20% label noise versus 79.95% of a noise-sensitive learner, and 89.12% at 40% label noise versus 62.4% for a noise-sensitive learner. Also, with 0/10/20/100 randomly flipped training pixels, accuracy is 90.24/89.45/88.79/85.27%.

c. Model reduction and algorithmic choices. Model reduction makes the model smaller enabling logistic-regression readout. Varying delta, gamma, and kappa over 0.03–0.6, 1.3–1.7, and 0.05–0.5, respectively (code values: 0.1, 1.5, and 0.1), changes accuracy by <0.5%.

d. Task encoding. Order-axiom ablations show their importance: FashionMNIST-1000, 79.72% in 5:15:40 with order axioms versus 69.99% in 6:13:34 without; Sylvine, 93.76% in 1:18:25 versus 53.99% in 6:35:08. Encoding can therefore inject useful prior knowledge.

e. AML versus logistic readout. We add logistic regression on raw encoded inputs for all datasets in Tables S2,S3. Accuracy is always lower with logistic regression only, Examples: MNIST, 92.54% LR / 97.63% AML / 98.26% AML+LR; OrganCMNIST, 64.19/81.28/86.70%.

REVISIONS

Concern Revised location in ms
1 Secc 1 Contribution 4, Sec 2 (Related work. AML)
2a Sec 3.5
2b Limitation 3 rewritten for clarity
2c Already in Lines 269–272: also add to Limitations
3a App E4
3b Sec 4.1
3c Sec 3.7 and App E4
3d Sec 4.2
3e Sec 4.1; Tables S2–S3
Reviewer GT6LOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes to extend existing Algebraic Machine Learning (AML) methods by synthesising with a subdirect representation theorem of Birkhoff to develop a new learning task. The basic setup is that a learning task is encoded as algebraic axioms over a semilattice. Using contrastive examples (duples), the learning problem becomes one of constructing/selecting subdirect components denoted atoms. They posit that using this approach a minimally-constrained (or 'freest') model can be constructed such that a hidden rule's atoms can be identified when sufficient examples of the logical consequences constituting the rule(s) are identified. They introduce a range of methods to support this programme and undertake limited empirical comparison against MLPs (and regression) on certain image, tabular data tasks.

Strengths and weaknesses

Strengths:

The approach is to be commended for its relative novelty: extending the relatively nascent AML literature via decomposition theorems is an interesting approach. Being able to in effect join the dots between framing data in algebraic fashion in order to bring to bear the benefits of algebraic methods (formal correctness etc) is appealling. I also think it's an important element of research programs relevant to modern ML given the challenges faced by scaling strategies. I am always interested in novel ways that formal mathematical methods, especially algebraic methods, may be applied usefully to machine learning problems, so I commend the authors for their efforts to push the dial on this.

The theoretical edifice hangs together well in a coherent fashion. The hidden rule recovery results is defensible. I particularly liked the exposition in Figure 1 that gave a relatively intuitive example that helped anchor my review of the paper. As I note below, I think as a theory paper this was relatively decent but I'm just not sure whether the limitations of a conference proceedings really do justice to the novel ideas themselves. For example, introducing a noise model (say analogous to what we see in theoretical ML) would be of use, but that would be well outside the capacity for a single Neurips paper.

Weaknesses:

My first sense was whether Neurips is really the right sort of venue for this type of paper. The entire paper with appendices is 75 pages in length. Any considered treatment of the theory itself would require deeper engagement with the detailed exposition in the appendices. The work has merit as part of a theoretical research programme towards novel and non-numerical techniques for constructing and framing learning problems. But as a contribution to Neurips, the empirical and numerical comparisons appeared relatively shallow. The main work that those comparisons are doing is trying to establish the extended AML method as comparatively performant against vanilla MLP and mixed MLP/regression tasks. That is the right way to start off a research programme, but the experiments seem superficial. I would keep this as a pure theory paper - which albeit has a higher bar for Neurips but would be more self-contained; or park this paper in a theory venue and then build a much more developed set of rigorous experiments.

Specifically I would want to see how this method performs at scale, both because this is where numerical (and classical neural network etc) methods really earn their keep; and also because it is not clear to me that the problems of neural network (or other numerical-based) learning would not re-emerge if the extended AML technique were truly scaled to the massive dataset scales at which modern neural network models perform well. As it stands the main result of the paper doesn't exhibit much of a signicant outperformance on MLPs and it seems the baseline testing was minimal - this is consistent with something like an early 'proof of concept' set of sanity check experiments (as one often does when looking to validate early theoretical results) rather than a detailed empirical programme. Moreover the scaling point kept bugging me in the sense that I felt like given the toy task resulted in thousands of atoms before reducing, it wasn't clear how this method would go (i.e. is it even feasible to run) with much larger datasets.

My second comment here would be that it is unclear to me the extent to which underyling data - beyond very narrow, specific (or contrived), confines actually exhibit the sort of algebraic structure that would lend itself to extended AML methods being a plausible alternative. Certainly for structured data where there is underyling structure imposed (such as certain image data), there may be a case for AML. But in much of science - such as physics - the underyling algebraic generating functions are inferred from data in a much more coarse-grained way. So it wasn't clear to me how the AML techniques would handle noisy, inconsistent, incomplete or otherwise imperfect data.

To this end it wasn't clear to me what the difference was - or whether there was conflation - between fitting and learning. If I have understood correctly, the algebra is constructed from the data itself under a consistency condition, but the condition here is consistency in labelling the data in a way that respects algebraic properties, but it is not clear how/why a labelling is necessary or sufficient (or unique). And then it is further unclear how the confounding effects of noise (or choice of encoding) affect this extraction of algebraic structure. How exactly is noise (or error) distinguished? This would in turn affect the claims about generalisation - because if the algebra cannot reliably distinguish noise it is unclear how it actually generalises per se.

Questions
  1. In the AML and logistic regression example, can we disambiguate (or run some ablations to distinguish between) improvements from the purported AML features versus just running regression on the raw encoded inputs? Some basic experiments and summary statistics/analysis over multiple randomised AML runs per dataset would be useful.

  2. From what I understand, any consistent labeling can be embedded, what prevents the method from encoding label noise as algebraic structure? Can you add a noise model, or report performance under controlled label-noise injection?

  3. Can you run even some basic experiments that look to scale to understand how resource costs (wall-clock, memory etc) varies as we scale in constants, positive/negative duples etc? Essentially what early indicative scaling behaviour might you see here?

  4. On baselines, could you expand beyond the existing approaches to gradient-boosted trees (or other methods) suitable for tabular data and CNNs for the images?

Limitations

The paper is fairly open about its limitations - the restrictions to semilattices, encoding dependence etc. The absence of a noise model was one limitation I'd emphasise a bit more (see my comments above). For a theory paper the reproducibility standard was good - the appendix allows for deeper dives, but I would want to ensure everything about the experiments was accessible so reviewers could eventually run their own experiments given the experiments in the paper were limited.

Final justification

The authors addressed my queries well. I have upgraded my review to borderline accept. The reason I have not awarded a higher grade is simply that I feel like this paper leans more towards a monograph of theory that tries to do to much given the austere constraints of Neurips. But I commend the authors for their contributions nonetheless.

Formatting concerns

Stylistically I thought the tone / pitch was about right, theory papers can sometimes be quite dense but this paper did a decent job of leading readers through I thought.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the comments and for the recognition that the framework is coherent and the hidden-rule recovery result defensible.

Q1. In the AML and logistic regression example, can we disambiguate (or run some ablations to distinguish between) improvements from the purported AML features versus just running regression on the raw encoded inputs? Some basic experiments and summary statistics/analysis over multiple randomised AML runs per dataset would be useful.

We are adding a logistic-regression-only column for all 24 datasets in Tables S2 and S3. Selected image results are:

Image dataset Logistic regression Accuracy Logistic regression Macro avg. F1 AML Accuracy AML Macro avg. F1 AML and logistic regression Accuracy AML and logistic regression Macro avg. F1
MNIST 92.54% 0.9243 97.63% 0.9761 98.26% 0.9825
FashionMNIST 84.33% 0.8422 87.27% 0.8715 89.47% 0.8936
CIFAR-10 40.24% 0.3965 48.56% 0.4811 53.58% 0.5306
dermaMNIST 51.72% 0.3256 73.47% 0.3300 74.21% 0.3960
organCMNIST 64.19% 0.6139 81.28% 0.8007 86.70% 0.8524

Selected tabular results are (XGBoost is selected for high F1):

Tabular dataset Logistic regression Accuracy Logistic regression Macro avg. F1 AML Accuracy AML Macro avg. F1 AML + logistic regression Accuracy AML + logistic regression Macro avg. F1
Otto Product 71.65% 0.6841 78.59% 0.7227 79.49% 0.7597
Amazon Employee Access 67.93% 0.4477 95.18% 0.6813 94.87% 0.7365
First-order theorem proving 37.75% 0.3409 60.62% 0.5021 58.17% 0.4827
Sylvine 90.83% 0.9083 93.76% 0.9376 94.54% 0.9454
Churn 78.00% 0.6913 90.20% 0.7436 91.20% 0.7917

For AML + logistic regression and the logistic regression model directly of the inputs, the HL estimator is +0.0525 (95% CI [0.0396, 0.0676]) in favor of AML. It is clear that AML offers a useful processing different to what the logistic regression can do directly from the input.

We have also tested for MNIST and fashionMNIST that running AML 10 times we get a std in accuracy of <0.2% and for AMl + logistic regression <0.1% . The mean difference between AML+logistic and logistic alone is 10.3%, a much larger value.

Q2. From what I understand, any consistent labeling can be embedded, what prevents the method from encoding label noise as algebraic structure? Can you add a noise model, or report performance under controlled label-noise injection?

We can reason about label noise with the statistical model and test it empirically. Section 3.6 (lines 226–231) says a good model selects atoms that are (a) successful in training and (b) individually discriminative of negative examples. With mislabels, some atoms acquire additional constants in their upper segment and become less discriminative, so a selection method that like Sparse Crossing favors discriminative atoms may select fewer of them. Increasing the number of atoms further raises collective discriminability. We therefore expect Sparse Crossing to be less noise-sensitive than naive expectation.

On MNIST at 20% noise the union model reaches 94.4% test accuracy versus the noise-sensitive expectation 97.5×(1−0.2×9/10)=79.9597.5 \times (1 − 0.2 \times 9/10) = 79.95%; at 40% noise, 89.12% versus 62.4%. AML resists noise more than the noise-sensitive case.

Q3. Can you run even some basic experiments that look to scale to understand how resource costs (wall-clock, memory etc) varies as we scale in constants, positive/negative duples etc? Essentially what early indicative scaling behaviour might you see here?

As stated in the Limitations (lines 356–358), the implementation stays close to the theory and is not optimized for time or memory. We however agree it is instructive to see how it empirically behaves as a function of dataset size, and will add a complete analysis in a new appendix. This will include these examples and for 5 or 6 data sizes (here showing 3 for space considerations). Note that MLPs use the GPU, AML the CPU.

Dataset Size AML time AML RAM (MB) Atoms MLP time MLP RAM (MB)
fashionMNIST 50 00:21:30 673 26,159 00:11:29 8,655
200 01:15:21 1,069 127,638 00:12:05 8,521
1000 05:15:40 2,785 727,066 00:13:15 8,648
churn 50 00:03:07 549 1,618 00:04:19 19,153
500 00:12:29 563 33,369 00:07:48 19,001
4500 01:34:32 976 157,136 00:51:51 18,645
sylvine 50 00:03:18 673 2,725 00:03:05 18,319
500 00:11:33 559 22,870 00:10:46 19,104
4611 01:20:24 776 104,749 00:56:46 18,917

Over the measured ranges, runtime is sublinear to nearly linear in sample size. FashionMNIST is closest to linear, churn and sylvine grow more slowly. Atom count is essentially linear for churn, sublinear for sylvine, mildly superlinear for fashionMNIST, indicating that representational complexity depends not only on the number of examples but on the dimensionality and structure of the dataset. Memory is almost constant on churn and sylvine and increases on fashionMNIST, though still sublinearly. In summary, AML scales approximately linearly in representational complexity and sublinearly to nearly linearly in training time, with memory almost constant on some datasets and moderately growing on others; absolute cost is also affected by dimensionality and structural complexity. Note that AML uses no validation data and is a single computation, whereas the MLP figures cover 200 or 360 configurations, so total time to a deployable model is comparable for churn and sylvine, although each individual MLP fit is much faster.

Q4. On baselines, could you expand beyond the existing approaches to gradient-boosted trees (or other methods) suitable for tabular data and CNNs for the images?

We have stated in Limitations that we did not compare against strong baselines [Lines 359-363]. The restriction follows from what the empirical section is for. We want to see whether the algebraic decomposition generalizes, for which we use a baseline that likewise carries no task-specific inductive bias. A CNN comparison would confound the property under test with the benefit of a spatial prior.

We will keep MLPs the baseline against which the paper's claim is tested, for the reason above. But we can add CNNs and XGBoost results to the experiments in tables S2 and S3, respectively, as requested. AML has no problem-specific inductive biases as yet, though we or the community may find embeddings that supply them, as happened historically with neural networks, so we expect AML to trail CNNs on images and XGBoost on tabular data. The protocol follows the MLP one (360 configurations, one selected on validation), with 2 or 3 convolutional layers of kernel size 5 or 7 ( 5, 7 or 9 for 64 × 64 images ), two fully connected layers, and a classification layer.

Some cases where AML stays within a small margin:

Dataset AML Accuracy AML F1 macro avg. AML & Logistic Regression Accuracy AML & Logistic Regression F1 macro avg. CNN Accuracy CNN F1 macro avg.
fashionMNIST 1000 79.72% 0.7960 81.89% 0.8169 81.84% 0.8173
organCMNIST 81.28% 0.8007 86.70% 0.8524 86.04% 0.8472
bloodMNIST 64x64 87.55% 0.8566 93.04% 0.9220 94.71% 0.9423
Dataset AML Accuracy AML F1 macro avg. AML & Logistic Regression Accuracy AML & Logistic Regression F1 macro avg. XGBoost Accuracy XGBoost F1 macro avg.
Satellite 99.41% 0.6985 99.22% 0.7480 99.02% 0.7197
Phoneme 91.13% 0.8879 91.50% 0.8939 91.68% 0.8964
Bank Marketing (Additional) 91.32% 0.7536 90.58% 0.7552 90.73% 0.7878
Amazon Employee Access 95.18% 0.6813 94.87% 0.7365 94.45% 0.7380

Without such biases AML is at a structural disadvantage against methods that have them, so the relevant observation is that we see empirically that it stays within a small margin on several datasets.

On whether real data must exhibit algebraic structure

AML does not require the data to possess algebraic structure that must be discovered. The semilattice is a representation language, not inferred from the data. Section 3.1 declares one constant per possible attribute value and class label. Each example becomes a term (the idempotent product of its constants) related to its label by the axiom classᵢ ≤ image_k. Any dataset with discrete or discretized attributes can be expressed this way; the data need not be lattice-like. What is learned is the set of atoms.

On code

An open-source Python/C implementation of Sparse Crossing is available (Appendix E.2), with example embeddings and three guided notebooks. We will add the code for experiments of the rebuttal process.

Summary of changes

  1. Logistic alone in Section 4.1 and Tables. Add a logistic-regression-only column to Tables S2 and S3 for all 24 datasets, with the Hodges–Lehmann comparisons.

  2. Noise injection in Section 4.1 and Appendix. Add a robustness appendix with label noise on MNIST.

  3. Scaling in 4.2 and Appendix. Add a scaling appendix reporting runtime, peak memory and atom count against training-set size.

  4. Why MLPs in 4.1. Explain better the use of MLPs to characterize AML as a system with no problem-specific inductive biases.

  5. Reference baselines in 4.2 and new Appendix. Add CNN and XGBoost columns to Tables S2 and S3, respectively.

  6. Code. Release scripts and configuration files for every reported experiment described above.

Reviewer GT6L · CommentOpenReview ↗

Thank you to the authors for their detailed response. I believe this is sufficient to upgrade my review to borderline accept. I would in addition encourage you to consider submitting an extended version of this work or the theory-heavy parts to a theory based journal as I feel like it will be of benefit to those scholarly communities.

Authors · CommentOpenReview ↗

Thank you for the thoughtful feedback and suggestion. We appreciate your time and consideration.

Reviewer 4cr9OpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes an algebraic machine learning framework in which learning is formulated as the computation and selection of components from subdirect decompositions, rather than as numerical optimization. A learning task is encoded as a set of algebraic axioms over an atomized semilattice, and predictive models are obtained by selecting subsets of subdirectly irreducible components. The paper develops theoretical arguments for why the freest atomized model can recover hidden rules under sufficient data, introduces Sparse Crossing as a practical approximation algorithm, and evaluates the approach on image, tabular, and formally specified tasks. Empirically, the method is compared mainly with tuned multilayer perceptrons across 24 classification datasets, with results suggesting comparable performance without validation-based hyperparameter selection, and improved performance when a logistic-regression readout is added.

Strengths and weaknesses

The paper offers a highly original and conceptually ambitious perspective on machine learning. Reformulating learning as algebraic decomposition rather than gradient-based optimization is unusual and potentially significant. The connection to subdirect decomposition, atomized semilattices, freest models, and component selection is intellectually interesting, and the paper attempts to provide both theoretical motivation and a practical algorithm through Sparse Crossing. I also appreciate that the authors try to position the same formalism as applicable to data-driven classification tasks, formal constraint-solving tasks such as Hamiltonian cycles, and mixed settings combining data with formal knowledge.

In terms of originality, the submission is strong. The algebraic framing is clearly distinct from standard neural, statistical, and symbolic-learning approaches. The attempt to use subdirectly irreducible components as the objects of learning is novel, and the paper gives a coherent high-level story for why certain component subsets may generalize.

However, the technical quality of the central learning claims is not yet fully convincing to me. The paper makes strong claims about generalization, absence of classical overfitting, and the lack of need for validation data. These claims seem stronger than what the current theory and experiments directly establish. The hidden-rule recovery result is interesting, but it appears to rely on idealized assumptions, and it is not fully clear how it translates into realistic finite-sample settings with noise, ambiguous labels, continuous features, or distribution shift. The probabilistic analysis of atom subsets is useful, but its independence assumptions and relation to standard statistical learning theory are not sufficiently discussed.

The empirical evaluation is broad in the number of datasets, but the choice of baselines limits the strength of the conclusions. Comparing mainly against MLPs without task-specific inductive biases is reasonable for isolating a generic learner comparison, but it does not establish competitiveness against strong standard baselines for the relevant domains, such as convolutional architectures for image data or gradient-boosted tree methods for tabular data. The addition of logistic regression on top of the algebraic model also makes the final system partly statistical, and the paper should more clearly separate what is achieved by the algebraic representation alone and what is gained by the statistical readout.

Clarity is generally acceptable at the conceptual level, but the paper is demanding. The main mathematical construction is not easy to follow for readers outside universal algebra, and the practical algorithmic details of Sparse Crossing are mostly deferred to the appendix. More intuition, pseudocode in the main text, and a clearer explanation of computational complexity would make the paper easier to evaluate. In particular, the scalability of the method in terms of number of constants, number of axioms, number of atoms, and memory consumption is not sufficiently transparent.

Overall, I find the submission original and potentially important, but I am not yet convinced that the current version fully supports its strongest claims. The paper would be strengthened by tighter theoretical conditions for generalization, clearer complexity analysis, stronger robustness studies, and comparisons against more competitive domain-specific baselines.

Questions

Can the authors clarify the precise assumptions under which the hidden-rule recovery and generalization claims hold? In particular, do the results require deterministic labels, noiseless axioms, well-specified task encodings, and matching train/test distributions? The paper claims that the method shows no evidence of classical overfitting and does not require validation data. Could the authors provide a more formal or empirical justification for this claim under label noise, feature perturbations, and distribution shift? What is the computational complexity of Sparse Crossing in terms of the number of constants, task axioms, atoms, and batches? A table reporting runtime, memory consumption, final atom counts, and dataset size for the main experiments would make scalability much clearer. How sensitive is the method to the task encoding and to implementation choices such as batch size, auxiliary negative axioms, and the final subset size of the union model? An ablation study would help determine whether the reported performance is robust or depends on implicit tuning choices. Could the authors compare against stronger baselines appropriate to each data type, such as CNNs for image datasets and gradient-boosted decision trees for tabular datasets? Even if the authors intend AML to be a generic learner, such comparisons would clarify the practical significance of the method.

Limitations

The authors partially address the limitations of the proposed approach, and I appreciate the inclusion of a dedicated limitations section. However, several aspects deserve further discussion.

First, the paper should more explicitly state the assumptions behind the generalization analysis and explain how violations of these assumptions would affect the method. This is especially important for label noise, correlated atom errors, distribution shift, and imperfect task encodings.

Second, the claim that validation data is unnecessary should be qualified. The current experiments suggest that validation may not be needed in the reported settings, but it is not clear whether this is a general property of the method or a property of the selected datasets and encodings.

Third, the practical scalability of the approach remains underexplained. Since the method may generate large numbers of atoms and relies on subset selection from algebraic structures, the paper should include more detailed runtime and memory analysis.

Finally, the empirical limitations should be stated more strongly. The comparison to MLPs is useful but incomplete, because it does not test against strong domain-specific methods. Broader comparisons would help establish whether AML is primarily a new theoretical framework, a practical general-purpose learner, or both.

Formatting concerns

No major formatting or anonymity issues were obvious from the rendered pages.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a constructive review, and for the recognition that the manuscript offers a highly original and conceptually ambitious perspective on machine learning.

Q1. Precise assumptions for hidden-rule recovery and generalization.

The hidden-rule result (lines 180–189) is a theorem with no assumption of label-noise absence. It states that training on Q, given sufficient Q, explicitly yields the underlying rule P, where P being the rule of Q means that Q is the set of logical consequences of P. Thus, it characterizes what AML learns: an explicit rule for the supplied training data. If Q contains mislabels, the recovered P is the rule underlying those mislabelled data and encodes their noise. The theorem is therefore neutral regarding label noise.

Finite-sample generalization is addressed more directly by the statistical model in Section 3.6, Eqs. (8)–(9). Lines 352–355 already state as a limitation that this analysis does not characterize label noise or distribution shift. Its purpose is to identify when a subset of the atomic model has low error and to derive conditions for Sparse Crossing and reduction of the union model.

The statistical model nevertheless suggests how noise affects learning in AML. Section 3.6 (lines 226–231) states that a good model selects atoms that are successful in training and individually discriminate negative examples. Mislabels add constants to some atoms’ upper segments, reducing their discriminability of negative examples. Sparse Crossing selection of discriminant atoms may therefore avoid many such noise atoms. More atoms in the model also increase collective discriminability. We consequently expect Sparse Crossing to be less noise-sensitive than a naive expectation.

On MNIST with label noise of 20%, the union model obtains 94.4% test accuracy, versus the noise-sensitive expectation (97.5×(1−0.2×9/10)=79.95(97.5\times(1-0.2\times9/10)=79.95%); at 40% noise, it obtains 89.15% versus 62.4%. Note the resistance to noise is at the algebraic level, no logistic regression involved.

Q2. Justification for the no-overfitting and no-validation claims.

The claim is empirical (lines 269–272). Appendix C.2 and Figure S6C provide the strongest evidence: on MNIST, learning continues without overfitting after 490 presentations of the training set (900 batches), while error remains flat for atom-subset sizes above 30K.

We agree the claim should be stated as an empirical observation in the settings tested. Label noise can be found in Q1. For feature perturbation we binarized MNIST, trained on 1,000 examples, and flipped randomly chosen pixels at test time, with a relatively slow drop in accuracy:

Pixels flipped 0 1 5 10 20 50 100
Accuracy 90.24% 89.97% 89.77% 89.45% 88.79% 87.75% 85.27%

Q3. Computational complexity; runtime, memory, atom counts and dataset size.

As stated in the Limitations (lines 356–358), the implementation follows the theory closely and is not optimized for time or memory. We will add a new appendix analyzing five or six sizes per dataset (3 shown here for space). Note that MLPs use the GPU, AML the CPU.

Dataset Size AML time AML RAM (MB) Atoms MLP time MLP RAM (MB)
fashionMNIST 50 00:21:30 673 26,159 00:11:29 8,655
200 01:15:21 1,069 127,638 00:12:05 8,521
1000 05:15:40 2,785 727,066 00:13:15 8,648
churn 50 00:03:07 549 1,618 00:04:19 19,153
500 00:12:29 563 33,369 00:07:48 19,001
4500 01:34:32 976 157,136 00:51:51 18,645
sylvine 50 00:03:18 673 2,725 00:03:05 18,319
500 00:11:33 559 22,870 00:10:46 19,104
4611 01:20:24 776 104,749 00:56:46 18,917

Overall, AML scales approximately linearly in representational complexity and sublinearly to nearly linearly in training time, with memory almost constant on some datasets and moderately growing on others; absolute cost is also affected by dimensionality and structural complexity. Note that AML uses no validation data and is a single computation, whereas the MLP figures cover 360 configurations in images and 200 in tabular data, so total time to a deployable model is comparable for churn and sylvine, although each individual MLP fit is much faster.

Q4. Sensitivity to task encoding, batch size, auxiliary negative axioms, and final subset size.

Task encoding. We use the simplest encodings and agree that performance may depend on encoding (line 357). This also creates an opportunity: alternative encodings may supply useful inductive biases and improve accuracy.

Subset size. We will report accuracy as a function of subset size for several datasets. Our protocol for subset selection results typically in around 500 atom subsets, each subset discriminating all negative examples. Accuracy is usually similar from 200 to 1,000 subsets. Much smaller values cause a marked drop, while adding subsets up to the union model produces only a slow decay, typically less than one percentage point below the maximum.

Batch size. Batches are used in data-driven problems to control atom growth. Training begins with small batches whose size increases linearly (Appendix E.4).

Auxiliary negative axioms. Negative task axioms derived from the data are always informative and are all included. Separately, Sparse Crossing introduces auxiliary negative axioms from atoms learned in earlier batches to improve cross-batch consistency (Appendix D.8, Theorem 38); their proportion κ\kappa can accelerate convergence. We will add ablations of $kappa and γ\gamma, being run now.

Q5. Comparison against CNNs and gradient-boosted trees.

The Limitations already state that we did not compare against strong baselines (lines 359–363). The empirical section asks whether the algebraic decomposition generalizes, so we used an MLP baseline that, like AML, has no task-specific inductive bias. On images, a CNN comparison mixes the property under study with the benefit of a spatial prior.

We retain MLPs as the principal baseline in our study but will add CNN and XGBoost results to Tables S2 and S3. AML currently has no problem-specific inductive bias, although suitable embeddings may eventually provide one, as occurred historically with neural networks. We therefore expect AML to trail CNNs on images and XGBoost on tabular data. The protocol follows the MLP protocol: 360 configurations, with one selected on validation. CNNs use two or three convolutional layers, kernel sizes 5 or 7 (also 9 for (64\times64) images), two fully connected layers, and a classification layer. Some cases where AML stays within a small margin:

Dataset AML + LogReg Acc. AML + LogReg F1 CNN Acc. CNN F1
fashionMNIST 1000 81.89% 0.8169 81.84% 0.8173
organCMNIST 86.70% 0.8524 86.04% 0.8472
bloodMNIST 64x64 93.04% 0.9220 94.71% 0.9423
Dataset AML + LogReg Acc. AML + LogReg F1 XGBoost Acc. XGBoost F1
Satellite 99.22% 0.7480 99.02% 0.7197
Phoneme 91.50% 0.8939 91.68% 0.8964
Bank Marketing (Additional) 90.58% 0.7552 90.73% 0.7878
Amazon Employee Access 94.87% 0.7365 94.45% 0.7380

Without such biases AML is at a structural disadvantage against methods that have them, so the relevant observation is that we see empirically that it stays within a small margin on several datasets.

Readout. The reviewer asks us to distinguish the contribution of the algebraic representation from that of the statistical readout. We will add a logistic-regression-only column for all 24 datasets in Tables S2 and S3. Selected results are:

Type Dataset LogReg Acc. LogReg F1 AML Acc. AML F1 AML + LogReg Acc. AML + LogReg F1
Image MNIST 92.54% 0.9243 97.63% 0.9761 98.26% 0.9825
Image organCMNIST 64.19% 0.6139 81.28% 0.8007 86.70% 0.8524
Tabular Amazon Employee Access 67.93% 0.4477 95.18% 0.6813 94.87% 0.7365
Tabular Churn 78.00% 0.6913 90.20% 0.7436 91.20% 0.7917

Comparing AML + logistic regression with logistic regression applied directly to the inputs, the Hodges–Lehmann estimator for F1 is +0.0525 (95% CI [0.0396, 0.0676]) in favor of AML. Thus, the algebraic representation gives a contribution that logistic regression alone cannot recover from the encoded inputs alone.

Summary of changes. The revised manuscript will:

  1. Noise. State explicitly in Section 3.5 that Theorem 23 recovers the rule underlying whatever training data is supplied, and is therefore neutral with respect to mislabels rather than assuming their absence.

  2. Robustness in Section 1.1 and Appendix. Add a robustness appendix with (a) label noise on MNIST against the expectation for a noise-sensitive learner), (b) feature perturbation, reporting accuracy versus number of randomly flipped pixels, c) hyperparameters delta, kappa and gamma.

  3. No validation needed. Qualify in Limitations that the no-overfitting and no-validation claims as empirical observations in the settings tested, including the tests in 1 and 2.

  4. Scaling mention at end of Section 4.2 and Appendix. Add an appendix reporting runtime, peak memory, final atom count and accuracy versus training-set size for a subset of our datasets.

  5. Why MLPs mention in Section 4.1. Explain better in Section the use of MLPs to characterize AML as a system with no problem-specific inductive biases.

  6. Reference calculations at the end of 4.2 and Appendix. Add CNN and XGBoost columns to Tables S2 and S3.

  7. Readout mentioned in Section 4.2 and Appendix. Add a logistic-regression-only column to Tables S2 and S3, with the comparison against AML + logistic regression.

Reviewer ahCtOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

Algebraic machine learning (AML) is a symbolic learning algorithm first introduced in 2018 as an ArXiv preprint. In this paper, the authors cite the ArXiv preprint on AML as background, and introduce a re-formulated version of AML, based on the idea of subdirect decompositions of algebras. The overall approach is the construction of an algebraic structure known as a semi-lattice, where the semi-lattice encodes relations learned from the training data. Each learned relation is a (reflexive anti-symmetric transitive) comparison binary relation denoted by ≤\leq. Prior to training, a set CC of constant "primitives" is declared, where the exact constant "primitives" to be used are task-specific and include possible attribute values, e.g. primitives representing the possible pixel values in an image. All possible products of primitives in CC form the set of elements in a semi-lattice AA.

At the start of training, there are no relations among the elements in AA beyond the "trivial" relations already induced by the commutativity, associativity and idempotency of AA. Now suppose we are given a datapoint (x,y)(x,y), contained in X×Y\mathcal{X} \times \mathcal{Y}, where X\mathcal{X} is the input space and L\mathcal{L} is the label space. Let the input vector xx correspond to the product pxp_x of primitives in CC, and let the label yy correspond to a primitive cyc_y. Then the datapoint (x,y)(x,y) induces the relation cy≤pxc_y \leq p_x on AA, as well as the relations cy′≰pxc_{y'} \not\leq p_x for all y′∈Y\yy' \in \mathcal{Y}\backslash\\{y\\}. After all datapoints have been processed, a subdirect decomposition of AA into irreducible components is computed, where these irreducible components correspond to what the authors call "atoms". Intuitively, these atoms encode useful algebraic information of the dataset, and classification is performed based on comparison checks w.r.t. these atoms. Such atoms are not uniquely determined, so the authors focus on what they call the "freest atomized model", and provide two algorithms, which they call "Full Crossing" and "Sparse Crossing", to compute approximations of this "freest atomized model". Using "Sparse Crossing", the authors then introduce a further reduction step to obtain their final "AML model". The authors also introduce an improved variant that combines this final AML model with logistical regression.

Strengths and weaknesses

Strengths

  1. The proposed reformulation of algebraic machine learning (AML) using subdirect decompositions is novel and interesting, and clarifies the idea of AML (as originally introduced in the 2018 ArXiv preprint), which itself is an interesting symbolic learning algorithm.

  2. An extensive theoretical foundation of AML is provided in Appendices A-D.

  3. I find it interesting that AML treats both datapoints and formal order-theoretic constraints on the data in the same unified manner as relations in a semilattice. In principle, AML could tackle hybrid tasks that require data-driven learning while abiding to certain formal constraints.

Weaknesses

  1. Although AML could, in principle, tackle hybrid tasks that require data-driven learning while abiding to certain formal constraints, the example "hybrid task" described by the authors does not show the full strength of AML, since the formal constraints are simple order relations on numerical attribute values (e.g. pixel intensity values). It would be significantly more interesting if the authors could concretely use AML for classification with logic-based constraints.

  2. Although the experiment results reveal that AML performs well on image classification, I am still unclear what the atoms (irreducible components of the subdirect decomposition) could mean in the context of image classification.

  3. The training process of AML includes a reduction step (a reduction in the size of the union model). What happens if we do not have this reduction step? No ablation study is provided. It is also unclear why this reduction step is needed.

Questions
  1. It would be great if the authors could provide an explicit example where AML can be successfully used for classification with logic-based constraints.
  2. For image classification tasks, the "feature values" are (binned) pixel intensity values across the possible pixel positions. It would be great if the authors could provide explicit visualizations of the atoms (irreducible components of the subdirect decomposition), which are supposed to represent the learned rules.
  3. An ablation study on the reduction step in AML should be provided.
  4. Further elaboration on the rationale of the reduction step in AML should be provided.
Limitations

Yes.

Final justification

The authors have addressed all of questions. Overall, this is a technically solid and very interesting paper.

After a careful re-reading of the reviewing criteria for the contribution type selected by the authors, I am keeping my recommendation of "Accept", based on the understanding that the authors would include all proposed experiment-related changes (across all rebuttals). I strongly urge the authors to include comprehensive details on the additional experiments highlighted and promised, not just the ablation study given in the rebuttal to my review, but also the additional experimental set-ups and baselines mentioned in the other rebuttals.

Formatting concerns

Nil.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a positive and constructive review and for highlighting the originality of the approach. We particularly appreciate the reviewer’s recognition that the subdirect-decomposition formulation clarifies AML, that the paper provides an extensive theoretical foundation, and that data and formal constraints can be treated within the same semilattice framework.

We agree that the paper should explain more clearly three points raised by the reviewer: the use of richer logic-based constraints in classification, the visualization of atoms in image tasks, and the role of the model-reduction step.

Q1. It would be great if the authors could provide an explicit example where AML can be successfully used for classification with logic-based constraints.

We agree that it would be useful to add examples of richer logical constraints in classification tasks. This is particularly important because we hope that we other researchers will explore alternative embeddings and identify the most effective ones for different classes of problems. Specifically, we provide two cases:

Multigrid embedding

The multigrid embedding represents an image not at a single fixed resolution, but as a collection of independently encoded resolutions linked through prior knowledge expressed as algebraic relations. For each scale in a configurable set of grid resolutions, such as 64×6464 \times 64, 32×3232 \times 32, and 16×1616 \times 16, the image is resized using an appropriate anti-aliasing method. Each resized image is then encoded as a grid, and the complete representation is formed by concatenating the resulting grid terms. Without additional prior knowledge, however, the algebra does not encode any relationship between pixels at different resolutions.

The prior knowledge associates each pixel in a lower-resolution grid with the corresponding patch in the highest-resolution grid. Color channels are handled independently. For each pixel pp, we define a pixel term T(p)T(p). For binary images, T(p)T(p) is the idempotent sum of the constants representing black and white. For grayscale images, T(p)T(p) is the idempotent sum of the constant corresponding to the greatest value in the ≥\geq chain and the constant corresponding to the least value in the ≤\leq chain.

The prior knowledge is encoded using positive duples. For each pixel pp in a grid other than the highest-resolution grid, we identify the corresponding square region in the highest-resolution grid. Let q1,…,qkq_1,\ldots,q_k denote the pixels in this high-resolution region. We then introduce the positive duples

T(p)≤⊙iT(qi).T(p) \leq \odot_i T(q_i).

This construction combines prior knowledge about both the multiresolution grid structure and the ordering of grayscale values. We are running this embedding for several image datasets and will see during this week if it is successful. The following case has been successful already.

Relating features

We consider the task of classifying missense mutations (a single DNA flip) as pathogenic or benign using phylogenetic information, multiple-sequence-alignment features, and PHACT-derived scores. The dataset contains 70,927 training examples with 406 heterogeneous features. Allele frequency (AF), which measures how often a mutation occurs in the population, is highly predictive; when included, models tend to rely on it rather than on the underlying biological features. Training with AF but omitting AF at test time gives 90.01% accuracy, while excluding AF entirely yields 92.70%.

With AML we can train with AF but also explain as prior knowledge that the features fif_i together imply AF as:

AF≤⊙ifi.AF \leq \odot_i f_i .

and then test without AF, which gives 94.71% test accuracy. The same procedure without formal knowledge gives 90.1%.

Q2. It would be great if the authors could provide explicit visualizations of the atoms (irreducible components of the subdirect decomposition), which are supposed to represent the learned rules.

We will provide a supplementary Figure with a panel of atoms from MNIST. In the submitted paper, we included an anonymized link for the code (Supplement E.2, Line 2115) which included 3 Notebooks, and at the end of the Notebook ‘AML MNIST Tutorial.ipynb’ you can find examples of atoms. But let me also argue for a second type of visualization.

In the text, we only provided the atoms of a toy example in Figure 1C. We use this example to illustrate the theorem in Section 3.5 stating that, in the limit of sufficiently large datasets, AML converges to the rule underlying the data. An example satisfies the class relation p≤example when every atom whose upper constant segment contains p also contains at least one constant present in the example. A direct way to read the rule from the atoms is therefore as an AND over atoms and an OR over the constants within each atom, that is, the rule has a conjunctive normal form.

In the toy example, the first four atoms at the top of Figure 1C encode that the four pixels in the first column must be black. The three atoms containing white-pixel constants encode that each of the remaining columns must contain at least one white pixel. The remaining atoms encode that the pixels in the last three columns may be either black or white.

Although this interpretation is intuitive in the toy example, humans generally find conjunctions of disjunctions much more difficult to interpret than disjunctions of conjunctions. For this reason, another useful analysis is to extract a minimal theory of the model, namely the valid duples involving the smallest numbers of constants. For MNIST, for example, these minimal expressions correspond to stroke- or blob-like structures characteristic of a class. Here is one example plotted with markdown

                            
                            
                            
                            
                            
                            
               ■            
          ■■ ■              
         ■                  
                            
                            
                            
                            
                            
       ■       □            
       ■     □□□ □          
              □□□□□         
                □□          
                       ■    
                       ■■   
                            
                            
                            
                            
                            
                □□          
                            
                            

Q3. An ablation study on the reduction step in AML should be provided. Further elaboration on the rationale of the reduction step in AML should be provided.

We will include in the ms a better rationale for the reduction step. The union model is already a tiny model compared to the full crossing. The reduction step is a final refinement whose main purpose is to make inference faster, and makes it computationally practical to add logistic regression as a simple statistical readout on top of the atomized model.

We will present the ablation study for all datasets. Here we give it for four datasets:

Dataset Accuracy (Union model) Accuracy (Reduced) F1 (Union model) F1 (Reduced)
FashionMNIST (1,000 examples) 77.98% 79.72% 0.7861 0.7960
CIFAR-10 (1,000 examples) 33.94% 35.86% 0.3275 0.3509
Bank Marketing 88.26% 89.22% 0.6709 0.6683
Churn 89.20% 90.20% 0.7102 0.7436

Summary. In response to the reviewer's comments, we will revise the manuscript as follows:

  1. Additional classification embeddings to be mentioned in Section 4.2. and elaborated in new Appendix, providing the additional classification embeddings (multigrid and relating features) incorporating richer forms of formal knowledge into classification problems.
  2. Visualizations of atoms mentioned in Section 4.1. and elaborated in new Appendix, providing a panel of atoms of the MNIST case and examples of the minimal theory as the one shown.
  3. Model-reduction at end of Section 3.7 and in 4.1, giving an explanation of why to use a reduced model (Section 3.7) and showing the ablation results union model/reduced model. (Section 4.1).
Reviewer xpdsOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work proposes an implementation of Algebraic Machine Learning (AML) using subdirect decomposition of abstract algebra augmented with semilattice structure. This approach (and AML in general) is very different from the currently dominating ML approaches based on functional analysis results, yet the empirical validations shown in the work demonstrates comparable performance in proof-of-concept problem settings. The validations use "Full Crossing", an algorithm to implement the theory given in this work. The practicalities, e.g. time and space complexities, or wall clock time spent, were not explicitly given. However, the theoretical analysis allows not only asymptotical convergence to truth underlying the data but also generalization-related matters such as false positive and false negative probabilities. Also, notably, this approach seems to allow not only data and task but also formal statements to be accepted as first class citizens to the machinery.

Strengths and weaknesses

This was a massively eye-opening read. I did not expect algebraic approaches to be able to provide a constructive proof for general-purpose "learning" algorithm, and I appreciate the authors for the hard work. Also, the writing was carefully done for broader audience than mathematicians or computer scientists (theory-kind), which is another big plus considering possible unfamiliarity of the subject matter to the most of the readership here.

There are plenty of theoretical analyses in this work, including the most fundamental requirement of asymptotic convergence of the proposed learning system. Also, another big issue is that this approach allows theoretical characterization of false positive and false negative probabilities in model (here, the data-generating model) agnostic manner. The simple example cases in the experiments section helps intuitive understanding of what are the outputs and the evidence of its "learning".

Frankly, I think this work in its current form deserves to go to a theoretical CS venue, even more fittingly to a high-caliber theory CS/ML journal, considering how carefully the theory builds up using most of the body and significant portion of a long appendix. In the current format, inevitably some things had to be thrown under the rug for readability within limited number of main pages. The more natural and beautiful realization of this manuscript would be the standard "book" style treatise.

The missing details on the practical side (e.g. how long does it take to complete the computation on what kind of hardware) are understandable. I expect the time/space complexity of the proposed algorithm would be quite scary to see, and possibly an efficient implementation in the current binary computers would still take quite a long time to work on a higher dimensional problems with a lot of datapoints (and no injected formalism). However, these issues, in my opinion, is to be worried in a later stage.

Questions

Q1. I am curious of the authors' thoughts on the practicality of this approach 1) in current time, and 2) in future where a different tool may be available to accelerate this approach.

Q2. What are the empirical effects of introducing (and removing) the formal knowledge in the problem setting? One of the key advantages of what this work is proposing is that formal knowledge can be also beautifully encoded along datapoints. When I was reading lines 307 and on, I got curious on the practical effects of introducing formal knowledge in the speed, performance, or other characteristics of this approach.

Limitations

yes.

Final justification

After reading the rebuttal, I bump my rating up.

I still think that this manuscript is a bit too dense contentwise for a general-audience ML conference (especially as a "General" category --- perhaps the newly created "Theory" category could have digested it better?). There could have been a better presentation of this work considering its current category. Yet, this work is something that will benefit wide range of readers by making them aware of a fundamentally different family of methods. Hence, my new rating for this work is 5.

More details (and an additional request to the authors) are in my follow-up comment.

Formatting concerns

No.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the very positive review. We particularly appreciate the reviewer’s assessment of the constructive theoretical development, the accessibility of the presentation, and the possibility of treating data, task specifications, and formal statements within a common learning framework.

We would also like to answer your questions and the stated weakness.

Q1. I am curious of the authors' thoughts on the practicality of this approach 1) in current time, and 2) in future where a different tool may be available to accelerate this approach.

At present, we view AML as a research-stage but operational learning system. Its present-day significance is that a symbolic system based on algebraic decomposition can learn directly from data, formal knowledge or hybrids. Its main advantage is that it is completely different to standard systems, potentially giving very different properties (different errors, possibilities to study the solutions, etc).

For the future, we think there are many possible avenues. With the engine provided, and more so with an acceleration tool, we think the community could test many new embeddings for specific classes of problems and find the ones that best include inductive biases, similar to what happened in NNs studying new architectures. Also, the community could find how to express in a semilattice many formal problems, as we have done for Hamiltonian cycles. At the level of new algorithms, there are clear opportunities for more efficient Sparse Crossing algorithms. One could implement inductive biases also at the level of Sparse Crossing.

We will include this in Discussion.

Q2. What are the empirical effects of introducing (and removing) the formal knowledge in the problem setting?

We thank the reviewer for highlighting this question. The effect depends on whether the formal relations provide information beyond what is already present in the data encoding. For binary images of MNIST (images in two colors, no gray levels), removing the ordering axioms should have no effect because each pixel has only two represented states. There is no intermediate intensity structure for the order axioms to express.

The situation is different for grayscale images and numerical tabular variables. Without ordering axioms, AML treats distinct numerical values as unrelated symbolic constants. Information learned for one value therefore does not automatically constrain nearby larger or smaller values. This is especially important when values appearing at test time are absent in the training data. With the increasing and decreasing order chains introduced in lines 307–316, the model can use the known ordinal relationship between values rather than treating every value as an unrelated category.

Following the reviewer’s suggestion, we will add a controlled ablation comparing with and without numerical-order axioms:

For FashionMNIST with 1,000 training examples, removing the ordering relations increased training time from 5:15:40 to 6:13:34, while the fewest-misses F1 score decreased from 79.72% to 69.99%. The effect was even more pronounced for the tabular datasets, where numerical values appearing in the test set are more commonly absent from the training set: In the Sylvine dataset, which contains 20 numerical features and no categorical features, training time increased from 1:18:25 to 6:35:08, while accuracy decreased from 93.76% to 53.99%. Because the majority class accounts for 51.46% of the test examples, this result is only slightly above the majority-class baseline. For the Churn dataset, which contains 20 numerical and 4 categorical features, training time increased from 1:36:14 to 2:46:02, while accuracy decreased from 90.20% to 85.80%. Here, the majority class represents 84.4% of the test set, so the performance without ordering relations is again only marginally better than the majority-class baseline. Overall, these results indicate that explicit numerical-order knowledge can substantially improve both the computational efficiency and predictive performance of AML for datasets dominated by numerical features.

Computation: The reviewer mentions in Weaknesses: 'The missing details on the practical side (e.g. how long does it take to complete the computation on what kind of hardware) are understandable.'

We agree that these details would help readers assess the present computational scope of AML. We will therefore add an empirical scaling analysis reporting wall-clock time, peak memory usage, and the number of atoms as the number of training duples increases. All reported values were produced in systems running an AMD Ryzen 5950X with an NVIDIA RTX 5090 GPU (MLPs use the GPU, AML the CPU). Here are some cases:

FashionMNIST

Size AML run-time AML RAM (MB) Atoms MLPs run-time MLPs RAM (MB)
50 00:21:30 673 26,159 00:11:29 8,655
100 00:39:32 825 54,713 00:11:51 8,535
200 01:15:21 1,069 127,638 00:12:05 8,521
500 02:37:35 1,537 351,129 00:12:42 8,690
1000 05:15:40 2,785 727,066 00:13:15 8,648

MLP figures: validation over 360 models.

Churn

Size AML run-time AML RAM (MB) Atoms MLPs run-time MLPs RAM (MB)
50 00:03:07 549 1,618 00:04:19 19,153
100 00:04:06 673 5,043 00:02:22 18,970
200 00:05:55 550 11,027 00:04:07 19,338
500 00:12:29 563 33,369 00:07:48 19,001
1000 00:22:09 768 55,011 00:14:01 19,500
4500 01:34:32 976 157,136 00:51:51 18,645

MLP figures: cross-validation over 200 models.

Sylvine

Size AML run-time AML RAM (MB) Atoms MLPs run-time MLPs RAM (MB)
50 00:03:18 673 2,725 00:03:05 18,319
100 00:04:14 553 4,009 00:04:25 18,907
200 00:06:20 569 10,846 00:07:01 19,469
500 00:11:33 559 22,870 00:10:46 19,104
1000 00:19:20 586 37,633 00:17:16 19,069
4611 01:20:24 776 104,749 00:56:46 18,917

MLP figures: cross-validation over 200 models.

Thus, over the measured ranges, runtime is sublinear to nearly linear in sample size. FashionMNIST is closest to linear scaling, whereas Churn and Sylvine exhibit slower growth.

For Churn, atom count is essentially linear in size. Sylvine shows sublinear growth, while FashionMNIST shows mildly superlinear growth. This suggests that AML’s representational complexity is influenced not only by the number of examples but also by the dimensionality and structure of the dataset.

AML has almost constant memory consumption on Churn and Sylvine, but noticeably increasing memory requirements on FashionMNIST. Even there, memory growth remains sublinear in the measured range.

In summary, across these three datasets, AML scales approximately linearly in representational complexity and sublinearly to nearly linearly in training time. Memory consumption remains almost constant for Churn and Sylvine, while FashionMNIST exhibits moderate sublinear memory growth. These results indicate that AML scales favorably with the number of training examples, although its absolute computational cost and memory requirements are also affected by dataset dimensionality and structural complexity. AML uses no validation data and is one computation, whereas the MLP result covers 200 configurations. Total time to a deployable model is therefore comparable in churn and sylvine, although each individual MLP fit is much faster.

Summary: In response to the reviewer's comments, we will revise the manuscript as follows:

  1. Expand the Discussion on the practicality of AML, clarifying its current status as a research-stage but operational framework and outlining future directions for improving efficiency, including optimized Sparse Crossing algorithms, acceleration tools, problem-specific embeddings, and inductive biases.

  2. Add the controlled ablation study of formal knowledge at the end of Section 4.2., comparing otherwise identical settings with and without numerical-order axioms. This shows that explicit numerical-order knowledge can substantially improve both the computational efficiency and predictive performance of AML, particularly for datasets dominated by numerical features.

  3. Add the computational-scaling analysis at the end of Section 4.2 and Appendix reporting wall-clock training time, peak RAM usage, and the number of atoms as the training-set size increases on FashionMNIST, Churn, and Sylvine. The results presented in this rebuttal will be incorporated into the manuscript together with the relevant hardware and implementation details. This will include the interpretation of the scaling results, including the observed sublinear-to-nearly-linear runtime growth, approximately linear growth in representational complexity, and dataset-dependent memory behavior.

Reviewer xpds · CommentOpenReview ↗

Dear authors,

I appreciate your efforts to address my concerns/curiosities --- they are mostly addressed. Despite the current empirical shortcomings (due to lack of hardware support and software optimizations), AML in its current implementation actually runs, and shows a nice scaling behavior.

What are the distinguishing factor for the three datasets to show different scaling behaviors for AML? What properties of a dataset would make AML a better fit to handle it than NNs (and vice versa --- datasets with which AML will have a hard time)? This will help broader readership of researchers become aware of AML, especially from the perspective of whether this new family of methods will be a promising alternative for their applications in future.

I am bumping my rating. I hope the abovementioned last request for additional work will also be reflected in the final version.

Authors · CommentOpenReview ↗

Thank you for the feedback and valuable questions for the final ms. We appreciate your time and consideration.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…