Learning Shortest Paths with Generative Flow Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Morozov, Nikita, Maksimov, Ian, Tiapkin, Daniil, Samsonov, Sergey
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910037890301952
author Morozov, Nikita
Maksimov, Ian
Tiapkin, Daniil
Samsonov, Sergey
author_facet Morozov, Nikita
Maksimov, Ian
Tiapkin, Daniil
Samsonov, Sergey
contents In this paper, we present a novel learning framework for finding shortest paths in graphs utilizing Generative Flow Networks (GFlowNets). First, we examine theoretical properties of GFlowNets in non-acyclic environments in relation to shortest paths. We prove that, if the total flow is minimized, forward and backward policies traverse the environment graph exclusively along shortest paths between the initial and terminal states. Building on this result, we show that the pathfinding problem in an arbitrary graph can be solved by training a non-acyclic GFlowNet with flow regularization. We experimentally demonstrate the performance of our method in pathfinding in permutation environments and in solving Rubik's Cubes. For the latter problem, our approach shows competitive results with state-of-the-art machine learning approaches designed specifically for this task in terms of the solution length, while requiring smaller search budget at test-time.
format Preprint
id arxiv_https___arxiv_org_abs_2603_01786
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Learning Shortest Paths with Generative Flow Networks
Morozov, Nikita
Maksimov, Ian
Tiapkin, Daniil
Samsonov, Sergey
Machine Learning
Artificial Intelligence
In this paper, we present a novel learning framework for finding shortest paths in graphs utilizing Generative Flow Networks (GFlowNets). First, we examine theoretical properties of GFlowNets in non-acyclic environments in relation to shortest paths. We prove that, if the total flow is minimized, forward and backward policies traverse the environment graph exclusively along shortest paths between the initial and terminal states. Building on this result, we show that the pathfinding problem in an arbitrary graph can be solved by training a non-acyclic GFlowNet with flow regularization. We experimentally demonstrate the performance of our method in pathfinding in permutation environments and in solving Rubik's Cubes. For the latter problem, our approach shows competitive results with state-of-the-art machine learning approaches designed specifically for this task in terms of the solution length, while requiring smaller search budget at test-time.
title Learning Shortest Paths with Generative Flow Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2603.01786