Semialgebraic Neural Networks: From roots to representations
S. David Mis, Matti Lassas, Maarten V. de Hoop

TL;DR
Semialgebraic Neural Networks (SANNs) are a novel architecture capable of representing any bounded semialgebraic function, including discontinuous ones, by encoding their graphs and executing a homotopy continuation method, with applications demonstrated.
Contribution
Introduces SANNs, a neural network architecture that can exactly represent semialgebraic functions, including discontinuous ones, using a homotopy continuation approach.
Findings
SANNs can represent any bounded semialgebraic function.
SANNs can handle discontinuous functions by executing continuation on each component.
Networks can be trained with traditional deep-learning techniques.
Abstract
Many numerical algorithms in scientific computing -- particularly in areas like numerical linear algebra, PDE simulation, and inverse problems -- produce outputs that can be represented by semialgebraic functions; that is, the graph of the computed function can be described by finitely many polynomial equalities and inequalities. In this work, we introduce Semialgebraic Neural Networks (SANNs), a neural network architecture capable of representing any bounded semialgebraic function, and computing such functions up to the accuracy of a numerical ODE solver chosen by the programmer. Conceptually, we encode the graph of the learned function as the kernel of a piecewise polynomial selected from a class of functions whose roots can be evaluated using a particular homotopy continuation method. We show by construction that the SANN architecture is able to execute this continuation method, thus…
Peer Reviews
Decision·ICLR 2025 Poster
The article introduces an interesting original idea that can be potentially used for many problems laying on the intersection of scientific computing and machine learning. Authors provide many details, examples and clarifications that help the reader with little background in semialgebraic approximation to better understand theory authors develop. Theoretical results seem to indicate that the proposed class of models represents a rather general set of functions. I also find particularly stimulat
The article is theoretical, so the weak side is, naturally, a discussion of practical matters: computational complexity, how networks should be trained, how it compares with different related models, and questions alike. I put some of these questions in the section below, but overall I do not find this is a significant disadvantage, given that the goal of authors is to provide a certain "universal approximation" result for novel architecture they propose.
1. The theoretical contributions of this paper seem strong. Capacity to compute all bounded semialgebraic functions (and extension to discontinuous functions) seem to be solid theoretical guarantees. 2. The proposed method seems, in principal, easy to implement and computationally efficient. 3. The method seems, in theory, to be applicable to a large range of optimization problems.
1. The subject matter presented in this paper is quite difficult, and I believe most ML researchers are probably quite unfamiliar with these mathematics. That being said, I found the exposition to be quite hard to read. Here are some more precise points/considerations I believe would improve the readability * Given this paper is presented to a machine learning (ML) conference, there should be more emphasis on the underlying learning problem. It might be interesting to motivate your architect
- Building a neural network based on semialgebraic geometry is very refreshing and definitely new class of ML models. - Using (the idea of neural)ODE as a computational graph of SANN also makes a quite sense assuming polynomial homology continuation method is used. - Visualization of the homotopy continuation method is really helpful to foster the readers’ understanding. - Appendix covers exhuastive theoretical contents of the paper. Some applications are also discussed.
**Theoretical aspect:** In general, the paper assumes readers to be very familiar with semialgebraic geometry, which is (at least at this point in time) not a main stream of ML communities. I would presume the paper would be very hard to follow especially for those who are not familiar with this topic. I strongly encourage the authors to revise the paper so that the contents of the paper could be more accessible to even those unfamiliar with this topic. The followings are some concerns I found:
Videos
Taxonomy
TopicsNeural Networks and Applications
