When GNNs Met a Word Equations Solver: Learning to Rank Equations (Extended Technical Report)

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Abdulla, Parosh Aziz, Atig, Mohamed Faouzi, Cailler, Julie, Liang, Chencheng, Rümmer, Philipp
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908428225478656
author Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Cailler, Julie
Liang, Chencheng
Rümmer, Philipp
author_facet Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Cailler, Julie
Liang, Chencheng
Rümmer, Philipp
contents Nielsen transformation is a standard approach for solving word equations: by repeatedly splitting equations and applying simplification steps, equations are rewritten until a solution is reached. When solving a conjunction of word equations in this way, the performance of the solver will depend considerably on the order in which equations are processed. In this work, the use of Graph Neural Networks (GNNs) for ranking word equations before and during the solving process is explored. For this, a novel graph-based representation for word equations is presented, preserving global information across conjuncts, enabling the GNN to have a holistic view during ranking. To handle the variable number of conjuncts, three approaches to adapt a multi-classification task to the problem of ranking equations are proposed. The training of the GNN is done with the help of minimum unsatisfiable subsets (MUSes) of word equations. The experimental results show that, compared to state-of-the-art string solvers, the new framework solves more problems in benchmarks where each variable appears at most once in each equation.
format Preprint
id arxiv_https___arxiv_org_abs_2506_23784
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle When GNNs Met a Word Equations Solver: Learning to Rank Equations (Extended Technical Report)
Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Cailler, Julie
Liang, Chencheng
Rümmer, Philipp
Artificial Intelligence
Machine Learning
Nielsen transformation is a standard approach for solving word equations: by repeatedly splitting equations and applying simplification steps, equations are rewritten until a solution is reached. When solving a conjunction of word equations in this way, the performance of the solver will depend considerably on the order in which equations are processed. In this work, the use of Graph Neural Networks (GNNs) for ranking word equations before and during the solving process is explored. For this, a novel graph-based representation for word equations is presented, preserving global information across conjuncts, enabling the GNN to have a holistic view during ranking. To handle the variable number of conjuncts, three approaches to adapt a multi-classification task to the problem of ranking equations are proposed. The training of the GNN is done with the help of minimum unsatisfiable subsets (MUSes) of word equations. The experimental results show that, compared to state-of-the-art string solvers, the new framework solves more problems in benchmarks where each variable appears at most once in each equation.
title When GNNs Met a Word Equations Solver: Learning to Rank Equations (Extended Technical Report)
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2506.23784