atlas

Research map / Label-efficient and robust learning / Self-supervised and contrastive

Self-Supervised Transformers as Iterative Solution Improvers for Constraint Satisfaction

ICML 2025 · Label-efficient and robust learning › Self-supervised and contrastive · approach: Self-supervision in supervised pipelines · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ConsFormer, a Transformer trained with a self-supervised differentiable constraint-violation loss to improve random CSP assignments in a single step, then applied iteratively at test time.

Problem

Solving constraint satisfaction problems (CSPs) quickly with learned heuristics, avoiding the need for feasible-solution labels in supervised learning and the large budgets and hand-designed rewards of reinforcement learning.

Approach

A single-step Transformer is trained self-supervised on differentiable continuous penalties approximating discrete CSP constraints, using stochastic variable subset selection and APE/RPE encodings of variable indices and constraint graph; at test time it is iterated like local search so that more iterations solve harder out-of-distribution instances.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase test-time refinement from 2k to 10k iterationsConsFormer · Sudoku harder OODsolve rate: 65.88 -> 77.74Helped
Use stochastic subset updates instead of updating all variables at every step (ablation)ConsFormer · Sudoku and Graph Coloring in-distributioninstances solvedHelped
Use relative variable relations with RPE (ablation)ConsFormer · Graph Coloringinstances solvedHelped
Use 2D APE instead of 1D APE (ablation)ConsFormer · Sudokuinstances solvedHelped
Remove both APE and RPE (ablation)ConsFormer · Sudoku and Graph Coloringinstances solved: 99.90% -> 0.00%; 78.00% -> 1.58%Hurt
Replace Gumbel-Softmax with temperature-controlled Softmax (ablation)ConsFormer · Sudoku and Graph Coloringinstances solved: 77.74 vs 85.67; 78.16 vs 77.33Mixed
Use Gumbel-Softmax instead of temperature-controlled Softmax (ablation)ConsFormer · MAXCUTabsolute gap to best known values: 24.44 vs 123.11Helped
Add multi-start candidate pool, increasing pool size from 1 to 100 (ablation)ConsFormer · Graph-Coloring-5 harder OODinstances solved: 47.33% to 55.67%Helped
Add multi-start candidate pool, increasing pool size from 1 to 50 (ablation)ConsFormer · Graph-Coloring-10 harder OODinstances solved: 11.92% to 15.00%Helped

Surprising findings

Limitations

Experimental setup

Datasets: SATNet Sudoku dataset RRN Sudoku dataset Randomly generated graph coloring instances (Erdos-Renyi, Barabasi-Albert, random geometric) Nurse rostering generated instances Random graphs for MAXCUT training

Benchmarks: SATNet Sudoku RRN Sudoku (harder OOD) Graph Coloring k=5 and k=10 Nurse Scheduling GSET MAXCUT

Metrics: % instances solved average relative gap to best known cut

Baselines: OR-Tools ANYCSP RRN SATNet Greedy SDP RUNCSP ECO-DQN ECORD

Builds on: Transformer Gumbel-Softmax constraint-based local search ANYCSP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy