arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.21886cs.AI
收藏

通过生成进行探索:将GFlowNets应用于结构化搜索

Exploration through Generation: Applying GFlowNets to Structured Search

Mark Phillip Matovic

AI总结:

本研究将GFlowNets生成模型应用于旅行商、最小生成树和最短路径等图优化问题,通过轨迹平衡损失训练实现按奖励采样,实验证明生成解与经典算法最优解一致,并具备计算可扩展性优势。

摘要:

本文工作将生成流网络(GFlowNets)应用于三个图优化问题:旅行商问题、最小生成树和最短路径。GFlowNets是一种生成模型,学习按奖励函数的比例采样解决方案。模型使用轨迹平衡损失进行训练,以顺序构建解决方案,为生成树选择边,为路径选择节点,为巡回路线选择城市。在不同规模的基准实例上的实验表明,GFlowNets能够学习找到最优解。对于每种问题类型,测试了具有不同节点数量的多种图配置。生成的解决方案与经典算法(最短路径的Dijkstra算法、生成树的Kruskal算法以及TSP的精确求解器)的结果相匹配。训练收敛取决于问题复杂度,随着图规模增大,损失稳定所需的回合数增加。一旦训练收敛,生成的解决方案在测试实例上与经典算法已知的最优解相匹配。这项工作表明,生成模型可以通过学习策略解决组合优化问题。这种基于学习方法的主要优势在于计算可扩展性:虽然经典算法对每个实例具有固定复杂度,但GFlowNets通过训练摊销计算。在充足的计算资源下,该框架有可能扩展到经典精确方法变得不可行的更大问题实例。

英文摘要:

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 increasing as graph size grows. Once training converges, the generated solutions match known optima from classical algorithms across the tested instances. This work demonstrates that generative models can solve combinatorial optimization problems through learned policies. The main advantage of this learning-based approach is computational scalability: while classical algorithms have fixed complexity per instance, GFlowNets amortize computation through training. With sufficient computational resources, the framework could potentially scale to larger problem instances where classical exact methods become infeasible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑