Predicting Winning Regions in Parity Games via Graph Neural Networks
2025-05-02
0
0
633.68KB
4 页
10玖币
侵权投诉
Predicting Winning Regions in Parity Games via
Graph Neural Networks
Tobias Hecking∗
German Aerospace Center (DLR)
Institute for Software Technology
Cologne, Germany
tobias.hecking@dlr.de
Swathy Muthukrishnan∗
University of Stuttgart
Stuttgart, Germany
swathy.muthukrishnan.24@gmail.com
Alexander Weinert∗
German Aerospace Center (DLR)
Institute for Software Technology
Cologne, Germany
alexander.weinert@dlr.de
Abstract
Solving parity games is a major building block for numerous
applications in reactive program verication and synthesis.
While they can be solved eciently in practice, no known
approach has a polynomial worst-case runtime complexity.
We present a incomplete polynomial-time approach to de-
termining the winning regions of parity games via graph
neural networks.
Our evaluation on 900 randomly generated parity games
shows that this approach is eective and ecient in prac-
tice. It correctly determines the winning regions of
∼
60% of
the games in our data set and only incurs minor errors in
the remaining ones. We believe that this approach can be
extended to eciently solve parity games as well.
ACM Reference Format:
Tobias Hecking, Swathy Muthukrishnan, and Alexander Weinert.
2023. Predicting Winning Regions in Parity Games via Graph Neural
Networks. In Proceedings of First International Workshop on Deep
Learning-aided Verication (DAV ’23). ACM, New York, NY, USA,
4pages. hps://doi.org/XXXXXXX.XXXXXXX
1 Introduction
Parity games are innite arena-based games between Player 0
and Player 1that capture all
𝜔
-regular languages. They are
the canonical model for specications of reactive systems,
where Player 0and Player 1represent the system and its
environment, respectively. Solving them is a major building
block for reactive program verication and synthesis. [
3
,
16
]
Solving comprises determining the winning regions of both
players as well as a winning strategy for both players.
∗
Authors are listed in alphabetical order and have contributed equally to
this work
Permission to make digital or hard copies of all or part of this work for
personal or classroom use is granted without fee provided that copies are not
made or distributed for prot or commercial advantage and that copies bear
this notice and the full citation on the rst page. Copyrights for components
of this work owned by others than ACM must be honored. Abstracting with
credit is permitted. To copy otherwise, or republish, to post on servers or to
redistribute to lists, requires prior specic permission and/or a fee. Request
permissions from permissions@acm.org.
DAV ’23, July 18, 2023, Paris, France
©2023 Association for Computing Machinery.
ACM ISBN 978-1-4503-XXXX-X/18/06. . . $15.00
hps://doi.org/XXXXXXX.XXXXXXX
The problem of solving parity games is known to be in
UP∩coUP
[
9
] and to be solvable in quasi-polynomial time [
2
].
There exist parity game solvers that are ecient in prac-
tice [
4
,
15
,
17
], all of which suer from a non-polynomial
worst-case runtime complexity.
Here, we trade completeness for eciency in determining
the winning regions. Classically, parity games are solved by
building a correct-by-construction strategy, which yields the
winning regions as a by-product. We instead train graph neu-
ral networks (GNNs) [
1
] to determine the winning regions.
Applying the trained GNN to a parity game
G
then yields a
prediction of the winning region of G.
In a preliminary evaluation we constructed two GNNs and
trained these on 2 100 randomly generated parity games. We
then predicted the winning region of another 900 randomly
generated parity games using these GNNs. This approach
yields correct winning regions in 537 (433) cases, as well as
regions that dier by one vertices from the correct result in
245 (279) cases.
2 Preliminaries
We write
R
and
R𝑘,𝑙
to denote the real numbers and the set
of
𝑘×𝑙
-matrices over the reals, respectively. Moreover, given
a set
𝑆
, we write
𝑆𝑛
to denote the
𝑛
-ary cartesian power of
𝑆
.
Parity Games. An arena
A=(𝑉 ,𝑉0,𝑉1, 𝐸)
comprises
a nite set of vertices
𝑉
, a partition
(𝑉0, 𝑉1)
of
𝑉
, as well
as a set of edges
𝐸⊆𝑉×𝑉
with
∀𝑣∈𝑉 . ({𝑣}×𝑉) ∩
𝐸≠∅
. We call
𝑉𝑖
the vertices of Player
𝑖
. A play
𝜌=
𝑣0𝑣1𝑣2···
of
A
is an innite path through
(𝑉 , 𝐸)
. A par-
ity game
(A,Parity(Ω))
comprises an arena
A
with vertex
set
𝑉
and a coloring
Ω:𝑉→N
. The play
𝜌
is winning for
Player 𝑖if (max {Ω(𝑣𝑖) | 𝑖∈N})mod 2 =𝑖.
A strategy
𝜎:𝑉𝑖→𝑉
for Player
𝑖
is a mapping with
∀𝑣∈𝑉𝑖.(𝑣, 𝜎 (𝑣)) ∈ 𝐸
. A play
𝜌=𝑣0𝑣1𝑣2···
is consistent
with
𝜎
if
∀𝑗∈N. 𝑣𝑗∈𝑉𝑖⇒𝑣𝑗+1=𝜎(𝑣𝑗)
. We say that
Player
𝑖
wins
G
from vertex
𝑣∈𝑉
if she has a strategy
𝜎
such that all plays starting in
𝑣
and consistent with
𝜎
are
winning for her. The winning region
𝑊𝑖(G)
of Player
𝑖
in
G
is the set of all vertices from which Player 𝑖wins G.
Neural Network Layers. A
𝑘, 𝑙
-neural network layer is a
function
ℎ:R𝑘→R𝑙
. In this work we use the linear layer
ℎ𝐴,𝑏 (𝑥)=𝑥𝐴𝑇+𝑏
, where
𝐴∈R𝑙×𝑘
and
𝑏∈R1×𝑙
, the rectied
arXiv:2210.09924v2 [cs.GT] 27 Jul 2023
摘要:
展开>>
收起<<
PredictingWinningRegionsinParityGamesviaGraphNeuralNetworksTobiasHecking∗GermanAerospaceCenter(DLR)InstituteforSoftwareTechnologyCologne,Germanytobias.hecking@dlr.deSwathyMuthukrishnan∗UniversityofStuttgartStuttgart,Germanyswathy.muthukrishnan.24@gmail.comAlexanderWeinert∗GermanAerospaceCenter(DLR)I...
声明:本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。玖贝云文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知玖贝云文库,我们立即给予删除!
相关推荐
-
公司营销部领导述职述廉报告VIP免费
2024-12-03 4 -
100套述职述廉述法述学框架提纲VIP免费
2024-12-03 3 -
20220106政府党组班子党史学习教育专题民主生活会“五个带头”对照检查材料VIP免费
2024-12-03 3 -
20220106县纪委监委领导班子党史学习教育专题民主生活会对照检查材料VIP免费
2024-12-03 6 -
A文秘笔杆子工作资料汇编手册(近70000字)VIP免费
2024-12-03 3 -
20220106县领导班子党史学习教育专题民主生活会对照检查材料VIP免费
2024-12-03 4 -
经济开发区党工委书记管委会主任述学述职述廉述法报告VIP免费
2024-12-03 34 -
20220106政府领导专题民主生活会五个方面对照检查材料VIP免费
2024-12-03 11 -
派出所教导员述职述廉报告6篇VIP免费
2024-12-03 8 -
民主生活会对县委班子及其成员批评意见清单VIP免费
2024-12-03 50
分类:图书资源
价格:10玖币
属性:4 页
大小:633.68KB
格式:PDF
时间:2025-05-02


渝公网安备50010702506394