A Learning Algorithm for Threshold Boolean Networks with Prescribed Fixed Points
Authors: Gonzalo A. Ruz
Organizations: Facultad de Ingeniería y Ciencias, Universidad Adolfo Ibáñez, Santiago, Chile · Millennium Nucleus for Social Data Science (SODAS), Santiago, Chile · Millennium Nucleus in Data Science for Plant Resilience (PhytoLearning), Santiago, Chile · Center of Applied Ecology and Sustainability (CAPES), Santiago, Chile
We present a learning algorithm for inferring threshold Boolean networks (TBNs) with a prescribed set of fixed points. The proposed method employs a custom differentiable loss function that jointly enforces fixed point preservation, penalizes spurious attractors, encourages binary outputs, and promotes sparsity through L1 regularization. Applied to the FOS-GRN model of Arabidopsis thaliana, the approach achieved perfect reconstruction (i.e., all 10 desired fixed points and no spurious ones) in 5 out of 30 independent runs, recovering on average 8.53 ± 0.90 correct fixed points with no spurious attractors. In contrast, standard methods such as the Perceptron and Logistic Regression recovered up to 10 fixed points but introduced between 8 and 31 spurious ones. An additional analysis varying the sparsity coefficient (λ) confirmed that the method's performance and the structural properties of the inferred networks remain robust within a practical range (up to 0.01) of regularization strengths. Overall, the results demonstrate the effectiveness and stability of the proposed algorithm in capturing meaningful network dynamics under prescribed dynamical constraints.
Figures & tables
INF1
INF2
INF3
INF4
SEP
PET1
PET2
STM1
STM2
CAR
AG
0
0
0
0
0
0
0
1
1
1
AP1
0
0
0
0
1
1
1
0
0
0
AP2
0
0
0
0
1
1
1
1
1
1
AP3
0
0
0
0
0
1
1
1
1
0
EMF1
1
1
1
1
0
0
0
0
0
0
FT
0
0
0
0
1
1
1
1
1
1
Table 1: FOS-GRN fixed points . The first row shows the names given to the attractors.
Method
Success / Runs
Fixed Points ( xˉ± sd)
Matched ( xˉ± sd)
Spurious ( xˉ± sd)
Time (s)
Custom Loss
5/30
8.53 ± 0.90
8.53 ± 0.90
0.00 ± 0.00
19.68 ± 0.84
Perceptron
0/30
26.50 ± 5.72
9.83 ± 0.38
16.67 ± 5.65
0.0045 ± 0.0026
Logistic Regression (L2)
0/30
18.00 ± 0.00
10.00 ± 0.00
8.00 ± 0.00
0.0118 ± 0.0069
Logistic Regression (L1)
0/30
38.47 ± 20.39
7.47 ± 1.04
31.00 ± 20.37
0.0047 ± 0.0042
Table 2: Experimental results . Comparison of TBN learning methods over 30 independent runs. A run is considered successful when it recovers exactly the 10 desired fixed points and no spurious fixed points.
Figure 1: A TBN successfully inferred by the proposed approach. Edge labels indicate weights; solid edges denote activation ( w>0 ) and dashed edges denote inhibition ( w<0 ); edge thickness is proportional to ∣w∣ .
Figure 2: The state transition graph of the TBN of Fig. 1 . The fixed points are represented by nodes with a self-loop.
Figure 3: Effect of L1 regularization on model performance. Number of successful networks (out of 30 runs) as a function of the L1 regularization coefficient ( λℓ1 ).
We develop a method for training neural networks on Boolean data in which the values at all nodes are strictly ±1, and the resulting models are typically equivalent to networks whose nonzero weights are also ±1. The method replaces loss minimization with a nonconvex constraint formulation. Each node implements a Boolean threshold function (BTF), and training is expressed through a divide-and-concur decomposition into two complementary constraints: one enforces local BTF consistency between inputs, weights, and output; the other imposes architectural concurrence, equating neuron outputs with downstream inputs and enforcing weight equality across training-data instantiations of the network. The reflect-reflect-relax (RRR) projection algorithm is used to reconcile these constraints. Each BTF constraint includes a lower bound on the margin. When this bound is sufficiently large, the learned representations are provably sparse and equivalent to networks composed of simple logical gates with ±1 weights. Across a range of tasks -- including multiplier-circuit discovery, binary autoencoding, logic-network inference, and cellular automata learning -- the method achieves exact solutions or strong generalization in regimes where standard gradient-based methods struggle. These results demonstrate that projection-based constraint satisfaction provides a viable and conceptually distinct foundation for learning in discrete neural systems, with implications for interpretability and efficient inference.
Veit Elser, Manish Krishan Lal
Department of Physics, Cornell · Mathematics, Independent Researcher, India
Gene regulatory network modeling often requires balancing predictive accuracy and mechanistic interpretability. In this work, we compare continuous surrogate models and a discrete mechanistic model on the same Arabidopsis thaliana induced systemic resistance (ISR) dataset, using both the raw continuous gene-expression measurements and their sign-binarized representation. The study considers eight defense-related genes measured over nine time points and evaluates two continuous predictors, Random Forest (RF) regression and a Multi-Layer Perceptron (MLP), against a threshold Boolean network (TBN). The models are assessed using rolling-origin one-step prediction, recursive multi-step rollout, and interpretability analysis. RF achieved the best average one-step numerical performance in the continuous domain, with an MAE of 1.910 and an RMSE of 2.836, compared with 2.089 and 3.106 for the MLP. In the binary domain, the TBN obtained the best average one-step qualitative performance, with a binary accuracy of 0.550 and a Hamming distance of 3.600, compared with 0.500 and 4.000 for RF, and 0.495 and 4.040 for the MLP. In recursive rollout, the TBN exactly reproduced the observed binarized trajectory, while the MLP also showed near-perfect fidelity, with a trajectory binary accuracy of 0.986, and RF accumulated substantially larger deviation, with a trajectory binary accuracy of 0.708. These results highlight that local numerical accuracy and global qualitative dynamical fidelity are not necessarily aligned, and suggest that continuous surrogates and threshold Boolean networks should be viewed as complementary tools for modeling biological regulation.
Gonzalo A. Ruz
Facultad de Ingenier´ıa y Ciencias, Universidad Adolfo Ib´a˜nez · Millennium Nucleus for Social Data Science (SODAS) · Millennium Nucleus in Data Science for Plant Resilience (PhytoLearning) +1
We study the problem of learning accurate and cognitively simple binary classifiers that are directly interpretable as Boolean rules. We propose mixed integer linear programming (MILP) formulations for training sparse disjunctive normal form (DNF) networks, viewed as small networks with a conjunctive hidden layer and a disjunctive output layer. Contrary to previous work that uses MILP for inductive rule learning, we start with a fixed network structure, for which we then find optimal weights. A regularized objective explicitly trades off misclassification costs against sparsity, yielding globally optimized rule sets. Our main technical contribution is an enhanced formulation that substantially reduces the number of integer decision variables and eliminates redundant constraints, while preserving exact Boolean semantics for all feasible solutions. Furthermore, we develop a combined approach based on initialization and dropout to break symmetries in the weights between rules, mitigating redundancy, and encouraging more diverse and stable rule representations. Experiments on synthetic benchmarks and UCI datasets show that the advanced formulation improves computational efficiency and achieves competitive or superior accuracy compared to established interpretable baselines, including SAT-based DNF learning and well-known rule- and tree-based learners. Overall, our approach provides a principled optimization framework for learning compact Boolean rule sets with explicit control over accuracy and sparsity trade-offs.
Thomas Pammer, Johannes Fürnkranz, Markus Sinnl
Institute for Application-Oriented Knowledge Processing (FAW), Johannes Kepler University Linz, Austria · LIT AI Lab, Johannes Kepler University Linz, Austria · Institute of Business Analytics & Technology Transformation/JKU Business School, Johannes Kepler University Linz, Austria