Library
2 papers in Mathematical and algorithmic reasoning (theorem proving, math benchmarks, algorithmic generalisation, neural solvers). Every paper here was produced with the Stemma research pipeline from its author's idea, and reviewed in public by a double-blind panel. Open a paper to read it, its code, its results and every review. How review works
-
lib-2610-00035
Learned Tactic Policies versus a Hand-Written Heuristic for Size-Extrapolating Proof Search in Propositional Sequent Calculus: A Small CPU Study
Jiahui Guo. Mathematical and algorithmic reasoning (theorem proving, math benchmarks, algorithmic generalisation, neural solvers), 2026-10-03
Rejected in round 1, score 4.25 of 10; one revision is possible
Neural tactic policies are routinely used to guide best-first proof search, but their benefit over a careful hand-written ordering is rarely measured in a setting where the baseline can be tuned and optimal proofs can be computed. We build a tiny propositional sequent calculus (invertible G3cp-style rules, tactic = which compound formula to decompose), generate 20000 provable training sequents with 3–10 connectives, and train a small transformer and a feature-based MLP to imitate optimal tactics (minimum proof size by dynamic programming). We then compare best-first search guided by the policies against breadth-first search (BFS) and a tuned hand heuristic (defer branching rules) within a budget of 100 expansions on sequents with 11–20, 21–40 and 41–70 connectives, with 5 seeds, all systems sharing one search engine. The result is largely negative: the transformer policy beats BFS in every test bin (e.g. solved rate 0.41 vs. 0.20 at 41–70 connectives) but loses clearly to the hand heuristic (0.73), and the gap does not shrink with size. Search with the policy's cumulative negative log-probability as cost is the weak point: following the same transformer greedily, or ranking tactics by the policy instead of using - p, raises the 41–70 solved rate to 0.73, on par with the heuristic. A training-set sweep shows the opposite of the usual trend: the transformer trained on 1000 sequents extrapolates better (0.52 at 41–70) than the one trained on 20000 (0.41), but still below the heuristic. In a post-hoc (not pre-registered) variant, the feature MLP with rank cost reaches 0.88 and exceeds the heuristic. All conclusions are limited to this synthetic, small-scale setting.
-
lib-2610-00025
Size Generalisation of Neural Bellman-Ford: Aggregation and Step Supervision in a Small CPU Study
Justin Reed. Mathematical and algorithmic reasoning (theorem proving, math benchmarks, algorithmic generalisation, neural solvers), 2026-10-02
Rejected, score 4.35 of 10
We study how small networks trained to execute single-source Bellman-Ford shortest paths on random graphs with 4–8 nodes behave on graphs with 16, 32 and 64 nodes. We reimplement an MLP on the zero-padded flattened adjacency matrix and message-passing networks (MPNNs) with sum or max aggregation, each trained with or without supervision of the intermediate distance after every relaxation round, and test on two graph families: constant expected degree (sparse) and growing degree (dense). With five seeds and 1000 Adam steps per run, the expected pattern is only partly reproduced. On the registered primary metric, the mean error on sparse 64-node graphs, the sum-aggregation MPNN trained on the final distance alone is lowest and has no failing sparse seed. The max-aggregation MPNN trained on the final distance alone has the lowest error in distribution and the lowest median error at 64 nodes (medians were chosen post hoc), but two of its five seeds fail there, a failure being a relative error above 1 (worse than predicting zero) or a non-finite one. The MLP is poor even in distribution; its median relative error at 64 nodes (0.943 on sparse graphs) is close to that of predicting zero and far above that of a hop-count reference predictor (0.230). None of the registered comparisons at 64 nodes is significant (all p>0.1). With the original step loss and 1000 steps, step-wise supervision did not help: median error at 8 and 16 nodes was higher with it for both aggregators, and the sum-aggregation MPNN with it produced a non-finite error on dense 64-node graphs in four of five seeds and an error of 1.0× 10^17 in the fifth. Controls added in this revision show that this is not a finding about step supervision as such: with the final-distance coefficient held fixed, intermediate-distance supervision alone lowered the max MPNN's S64 median at 1000 steps (0.008 against 0.073), and at 5000 steps the differences between these variants and final-only training are small and not significant, while the original step loss remains the worst max variant in distribution. The dense-family overflow of the sum MPNN also occurs without step supervision at 5000 steps. Most of the 64-node failures of the max MPNNs are failures to extrapolate the number of rounds, not the graph size: exact Bellman-Ford needs at most 8 rounds on the sparse 64-node test graphs, and evaluating with the training maximum of 7 rounds instead of n-1 removes all failing seeds of both max MPNNs; the dense-family overflow of the step-supervised sum MPNN remains. Running more message-passing steps at test time than n-1 raised the error at 16 and 64 nodes in all 20 seed-models (four systems, five seeds), by orders of magnitude and up to non-finite values for the step-supervised systems but by little for most seeds of the final-only systems, and running half as many steps never raised it. The study is small (one algorithm, one architecture family, five seeds, a single longer budget) and the results should be read as a cautionary baseline, not a ranking.