cs.NEApr 19, 2026

Monotone but Exciting: On Evolving Monotone Boolean Functions with High Nonlinearity

Authors: Claude CarletMarko ČupićMarko ÐurasevicDomagoj JakobovicLuca MariotStjepan Picek

Abstract

Monotone Boolean functions are a structurally important class of Boolean functions, but their restricted form imposes strong limitations on achievable nonlinearity. In this paper, we investigate whether evolutionary computation can evolve monotone Boolean functions with high nonlinearity, both in the balanced and imbalanced settings. We consider three solution encodings: the standard truth table representation, a balanced truth table encoding that preserves Hamming weight, and a symbolic tree-based genetic programming representation. To guide the search toward monotone increasing functions, we introduce a non-monotonicity penalty and combine it with fitness functions targeting balancedness and nonlinearity. Experimental results are reported for dimensions from n=5n=5 to n=14n=14. The results show that evolutionary search can discover monotone Boolean functions with nonlinearities clearly exceeding those of majority functions, and in several cases approaching the best currently known values for monotone functions. At the same time, the experiments reveal substantial differences between encodings: the balanced truth table encoding performs poorly for larger dimensions, while the standard truth table and genetic programming encodings remain competitive, with genetic programming becoming especially relevant in the largest tested dimensions.

Explore similar work

Jun 15, 2026cs.CC

Polynomial-Time Mistake-Bounded Language Generation

In this note, we introduce a polynomial-time version of the mistake-bounded language generation (MBLG) framework due to Kleinberg, Peale, and Reingold (2026). We observe that the family of parities of variables, and the family of conjunctions of literals, are polynomial-time MBLG. Our main result states that the family of monotone Boolean functions with polynomially-many maxterms is polynomial-time MBLG. This family includes all monotone Boolean functions, computable by polynomial-size decision trees. Our technique can be presented as a new combinatorial game about writing numbers on a board.
Héctor Jimenez, Alexander Kozachinskiy, Vicente Opazo
Jun 16, 2026cs.LG

Monotonic Kolmogorov-Arnold Networks: A Theoretical and Empirical Study of Monotonicity as an Inductive Bias

Monotonicity has been a long-running architectural inductive bias for neural networks, motivated by tabular, scientific, and economic settings where outputs are known to respond monotonically to certain inputs. Existing approaches are MLP- or flow-based and lack per-edge functional transparency; the only Kolmogorov--Arnold Network (KAN) variant with monotonicity, MonoKAN, enforces the constraint only on a restricted parameter subset and requires a projection-style training procedure. We close this gap with \textbf{MKAN}, a KAN with hard monotonicity guaranteed for \emph{all} parameter values via exponential reparameterization of B-spline coefficients, positive edge weights, and a monotone base activation. Training reduces to standard unconstrained gradient descent. Our headline theoretical contribution is a \emph{representation-cost} theorem: any CK,K>0C^K, K >0 feature extractor inducing a ball-shaped semantic-neighborhood partition admits a monotone realization of the equivalent neighborhood structure at N=N+k2NN' = N^* + k \le 2N^*, where kk is the number of non-monotone coordinates of the original. The bound is architecture-agnostic and gives a principled sizing rule for monotone encoders. Empirically, MKAN is competitive with state-of-the-art monotone NNs on the SMM/ICML-2024 benchmark while being the only method that combines hard unconstrained monotonicity with KAN's per-edge functional transparency; the 2N2N^* prediction is validated in a self-supervised feature-size sweep on four real datasets, and on a controlled monotone-generative dataset MKAN recovers ground-truth factors with substantially higher Spearman alignment than KAN, MLP, and linear baselines.
Mikhail Krasnov, Blaž Bertalanič, Carolina Fortuna
May 2, 2026cs.LG

The Banach-Butterfly Invariant: Influence-Adaptive Walsh Geometry for Ternary Polynomial Threshold Functions

We introduce the Banach-Butterfly Invariant (BBT), an influence-adaptive Banach geometry on the Walsh-Hadamard butterfly factorization. For a Boolean function f:{1,+1}n{1,+1}f:\{-1,+1\}^n\to\{-1,+1\} with coordinate influences Inf(f)\mathrm{Inf}_\ell(f), BBT assigns exponent p=1+Inf(f)p_\ell = 1+\mathrm{Inf}_\ell(f) to butterfly layer \ell, yielding the contraction invariant μ(f)=2Inf/(1+Inf)μ(f)=\prod_\ell 2^{-\mathrm{Inf}_\ell/(1+\mathrm{Inf}_\ell)}. We prove a Jensen lower bound log2μ(f)I(f)/(1+I(f)/n)\log_2μ(f) \ge -I(f)/(1+I(f)/n) and that μμ is strictly Schur-convex in the influence vector (modulo permutation), giving scaling classes μ2n/2μ\sim 2^{-n/2} (parity), 2Θ(n)2^{-Θ(\sqrt{n})} (majority), 21/22^{-1/2} (dictators). log2μ\log_2μ is rational but not polynomial in the Fourier coefficients while μμ is algebraic, and μμ separates functions with identical total influence (122 pairs at n=3n=3). Using the certified n4n \le 4 ternary Walsh-threshold universe from a companion synthesis manuscript as a finite testbed, we compute exact MILP minimum-support certificates for all 65,536 Boolean functions at n=4n=4 (mean 6.42, max 9, all-odd by a parity argument) and on 10,000 of the 616,126 NPN-canonical representatives we enumerate at n=5n=5 (matching OEIS A000370). Conditional Spearman ρ(μ,supp)ρ(μ,|\mathrm{supp}|) at fixed total influence is +0.571+0.571 in the largest stratum at n=4n=4 but reverses to 0.38-0.38 at n=5n=5 under both function-uniform and NPN-canonical sampling: μμ is a valid Schur-convex concentration invariant, not a universal monotone predictor of minimum support across nn. A companion application paper validates a real-valued WHT activation-energy proxy inspired by this theory on five pretrained LLMs at W2A16, cutting wikitext-2 perplexity by 15-58% versus vanilla auto-round; the transfer from Boolean theory to the real-valued proxy is qualitative, not formal.
Gorgi Pavlov