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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Grötschla, Florian, Mathys, Joël, Raun, Christoffer, Wattenhofer, Roger
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913474180808704
author Grötschla, Florian
Mathys, Joël
Raun, Christoffer
Wattenhofer, Roger
author_facet Grötschla, Florian
Mathys, Joël
Raun, Christoffer
Wattenhofer, Roger
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_11042
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphs
Grötschla, Florian
Mathys, Joël
Raun, Christoffer
Wattenhofer, Roger
Artificial Intelligence
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.
title GraphFSA: A Finite State Automaton Framework for Algorithmic Learning on Graphs
topic Artificial Intelligence
url https://arxiv.org/abs/2408.11042