DiBS: Diffusion-Informed Branch Selection
Sudoku is a representative constraint satisfaction problem that requires global structural reasoning under strict discrete constraints. Learning-based solvers capture global patterns in Sudoku. Complete symbolic solvers provide exact answers, and costly wrong branches can lead to long-tail runtimes. We introduce DiBS, which uses diffusion-informed global guidance to order values inside a complete constraint solver. The model ranks legal values for the variable selected by the solver. The solver propagates constraints, validates solutions, and backtracks exhaustively as needed. DiBS aligns the guidance with the solver's actual objective by learning counterfactual search costs from its propagated domains and action-conditioned search footprints, and a compact one-pass model serves batched online queries. We prove a prediction-error bound for the resulting action choice and identify the exact regime in which the wrong-subtree saving identity holds. The action cost includes adaptive search after the first choice, and the runtime evaluation includes the cost of guidance.