Exploration through Generation: Applying GFlowNets to Structured Search
Mark Phillip Matovic

TL;DR
This paper demonstrates that GFlowNets can be trained to solve classical combinatorial optimization problems like TSP, MST, and shortest path, matching optimal solutions and offering scalable alternatives to traditional algorithms.
Contribution
It introduces the application of GFlowNets to structured graph search problems, showing they can learn to generate optimal solutions efficiently.
Findings
GFlowNets successfully find optimal solutions for TSP, MST, and shortest path.
Generated solutions match classical algorithms like Dijkstra and Kruskal.
Training convergence time increases with problem size.
Abstract
This work applies Generative Flow Networks (GFlowNets) to three graph optimization problems: the Traveling Salesperson Problem, Minimum Spanning Tree, and Shortest Path. GFlowNets are generative models that learn to sample solutions proportionally to a reward function. The models are trained using the Trajectory Balance loss to build solutions sequentially, selecting edges for spanning trees, nodes for paths, and cities for tours. Experiments on benchmark instances of varying sizes show that GFlowNets learn to find optimal solutions. For each problem type, multiple graph configurations with different numbers of nodes were tested. The generated solutions match those from classical algorithms (Dijkstra for shortest path, Kruskal for spanning trees, and exact solvers for TSP). Training convergence depends on problem complexity, with the number of episodes required for loss stabilization…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
