SearchDiff SAT reproduction (from-scratch rebuild)
Independent reproduction attempt of the Boolean-SAT claim in "Search-Augmented Masked Diffusion Models for Constrained Generation" (arXiv:2602.02727, Table 10): vanilla masked-diffusion decoding β 9.6% vs. last-step refinement β 11.4% vs. SearchDiff β 76.0% SAT accuracy at T=20 on random 3-SAT (n=7 variables, 45 clauses).
Authentication: the author repo (Tahuubinh/searchdiff @ 7a31e92) contains no symbolic-task code, data, or checkpoints (verified against the full file tree at the pinned commit), so this is a from-scratch rebuild from the paper text, not a reproduction of their assets.
Key diagnostic: with the standard clause convention, only 25.4% of random 45-clause 7-variable formulas are satisfiable (exhaustive 128-assignment oracle over the 512-formula test set). Any reported accuracy above ~25% on an unrestricted cohort is impossible; the paper's 76% therefore cannot be measured on all formulas, and its denominator is not disclosed anywhere in the paper.
Results (512 test formulas; SAT-only cohort = 130; all independently verified)
| Method (T=20) | all-formulas % | SAT-only % | paper (Table 10) |
|---|---|---|---|
| vanilla MDM | 1.24 Β± 0.40 | 4.9 Β± 1.6 | 9.6 |
| last-step refinement | 1.75 Β± 0.56 | 6.9 Β± 2.3 | 11.4 |
| SearchDiff (K=32) | 21.6 Β± 0.7 | 85.1 Β± 2.8 | 76.0 |
| no-model hill climb (budget-matched) | 11.5 Β± 0.8 | 45.1 Β± 2.9 | β |
| SearchDiff w/ random proposals | 19.7 | 77.7 | β |
T-sweep (SearchDiff, SAT-only %): 81.5 / 76.2 / 82.3 / 82.3 / 85.1 at T = 1/5/10/15/20 β T=1 already reaches 81.5% with only ~46 evaluator calls. K-sweep at T=20: 43.1 / 60.8 / 85.1 / 96.9% for K = 1/8/32/128 (K=128 β 24.6% all-formulas, vs the 25.4% satisfiability ceiling).
Findings: (1) the qualitative claim reproduces β throughout-search β« last-step β« vanilla; (2) the paper's 76% exceeds the 25.4% satisfiable fraction of unrestricted random formulas, so Table 10's denominator must be an undisclosed satisfiable-only selection (we report both); (3) most of the gain is search compute: random-candidate proposals with identical search machinery recover 77.7% SAT-only vs 85.1% model-guided at the same budget, and search at T=1 alone matches T=20.
What is here
sat_core.pyβ seeded 3-SAT generator, exhaustive oracle, tokenizer, independent parse-and-check verifier (invalid/missing/wrong-length outputs count as failures).gen_data.pyβ builds the inventories (train 20k + val 1k SAT-only, test 512 all-types, both oracle-labelled) β Rami/searchdiff-sat-inventory.train_mdm.pyβ 6.09M-param bidirectional GPT-2-style masked-diffusion model trained on FORMULA[SEP]ASSIGNMENT with an MDLM-style absorbing diffusion (linear schedule).sample_eval.pyβ vanilla decoding, last-step search, SearchDiff (CSS + clause-based local refinement), and the controls: random-candidate search (no learned proposals) and model-free hill climbing at matched evaluator budget.mdm_sat.ptβ the trained checkpoint.