English

GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphs

Artificial Intelligence 2024-08-21 v1

Abstract

Many graph algorithms can be viewed as sets of rules that are iteratively applied, with the number of iterations dependent on the size and complexity of the input graph. Existing machine learning architectures often struggle to represent these algorithmic decisions as discrete state transitions. Therefore, we propose a novel framework: GraphFSA (Graph Finite State Automaton). GraphFSA is designed to learn a finite state automaton that runs on each node of a given graph. We test GraphFSA on cellular automata problems, showcasing its abilities in a straightforward algorithmic setting. For a comprehensive empirical evaluation of our framework, we create a diverse range of synthetic problems. As our main application, we then focus on learning more elaborate graph algorithms. Our findings suggest that GraphFSA exhibits strong generalization and extrapolation abilities, presenting an alternative approach to represent these algorithms.

Keywords

Cite

@article{arxiv.2408.11042,
  title  = {GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphs},
  author = {Florian Grötschla and Joël Mathys and Christoffer Raun and Roger Wattenhofer},
  journal= {arXiv preprint arXiv:2408.11042},
  year   = {2024}
}

Comments

Published as a conference paper at ECAI 2024

R2 v1 2026-06-28T18:18:29.776Z