MarginFlow turns SIS proposal design into GFlowNet learning, matching 99.8% effective samples zero-shot

Tsinghua · hf · 2026-09-30

Tsinghua's MarginFlow proves the ideal sequential importance sampling proposal for counting/uniformly sampling binary matrices with fixed margins is exactly a GFlowNet policy with unit reward, turning proposal design into a learning problem amortized across margins via a set transformer. Trained on 1904 margins, it matches or beats the best of 31 analytic proposals on 1187/1190 zero-shot margins (median effective sample fraction 99.8%), and on the 56 hardest margins lifts the median from 10.3% to 94.1%.

Original post →

More from Research

Research channel →