cs.LGFeb 19, 2026

RLGT: A reinforcement learning framework for extremal graph theory

Authors: Ivan Damnjanović, Uroš Milivojević, Irena Đorđević, Dragan Stevanović

Organizations: Faculty of Electronic Engineering, University of Niš, Aleksandra Medvedeva 4, Niš, 18104, Serbia · Faculty of Mathematics, Natural Sciences and Information Technologies, University of Primorska, Glagoljaška 8, Koper, 6000, Slovenia · College of Integrative Studies, Abdullah Al Salem University, Firdous Street, Block 3, Khaldiya, 72303, Kuwait

Abstract

Reinforcement learning (RL) is a subfield of machine learning that focuses on developing models that can autonomously learn optimal decision-making strategies over time. In a recent pioneering paper, Wagner demonstrated how the Deep Cross-Entropy RL method can be applied to tackle various problems from extremal graph theory by reformulating them as combinatorial optimization problems. Subsequently, many researchers became interested in refining and extending the framework introduced by Wagner, thereby creating various RL environments specialized for graph theory. Moreover, a number of problems from extremal graph theory were solved through the use of RL. In particular, several inequalities concerning the Laplacian spectral radius of graphs were refuted, new lower bounds were obtained for certain Ramsey numbers, and contributions were made to the Turán-type extremal problem in which the forbidden structures are cycles of length three and four. Here, we present Reinforcement Learning for Graph Theory (RLGT), a novel RL framework that systematizes the previous work and provides support for both undirected and directed graphs, with or without loops, and with an arbitrary number of edge colors. The framework efficiently represents graphs and aims to facilitate future RL-based research in extremal graph theory through optimized computational performance and a clean and modular design.

Figures & tables

Explore similar work

CardsList
  1. Projecting Latent RL Actions: Towards Generalizable and Scalable Graph Combinatorial Optimization

    May 19, 2026Franco Terranova, Guillermo Bernardez, Albert Cabellos-Aparicio +2Latent Action LearningCombinatorial Optimization

  2. Deep Reinforcement Learning for Minimum Zero-Forcing Sets

    Jun 16, 2026Steve Halley, Maurício GruppiReinforcement LearningCombinatorial Optimization

  3. Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning

    Sep 23, 2025Alex Schutz, Victor-Alexandru Darvariu, Efimia Panagiotaki +2Graph Neural NetworksReinforcement Learning