SlideShare a Scribd company logo
1 of 29
Download to read offline
Benchmarking Parity Games
FSEN 2014
Jeroen Keiren
Open University of the Netherlands & VU University Amsterdam
24 April 2015
1 / 19
Where are parity games used?
Model Checking
Equivalence Checking
Satis๏ฌability/Validity of modal logic
Synthesis
2 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
Winner?
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
Winner?
Optimal strategies?
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
Winner?
Optimal strategies?
3 / 19
Parity Games
V A set of vertices.
โ†’ โŠ† V ร— V An edge relation.
โ„ฆ : V โ†’ N A priority mapping.
, Two players (even, odd).
(V , V ) A partition of V .
0
s
0
t
0
u
0
w
1
v
=even
=odd
Winner?
Optimal strategies?
3 / 19
Winning Parity Games
Memoryless determinacy
Partition (W , W ) of V
Player has memoryless winning strategy from W , for
โˆˆ { , }
4 / 19
Solving Parity Games
Solving a parity game:
Determine partition (W , W )
Complexity:
Problem is in NP โˆฉ co-NP
Is it in P?
5 / 19
Solving Parity Games
Solving a parity game:
Determine partition (W , W )
Complexity:
Problem is in NP โˆฉ co-NP
Is it in P? Open!
5 / 19
Why benchmark?
Complexity + applications โ‡’ active research
Algorithms for:
solving
simplifying
reducing
parity games
How to compare new algorithms to existing ones?
6 / 19
Existing practice
Only theoretical analysis (big-O)
Class of games that meets upper bound
Random games
(Very) small set of games
Results from di๏ฌ€erent papers not comparable
7 / 19
Requirements on Benchmarks
Cover broad range of games:
Di๏ฌ€erent problems
Di๏ฌ€erent structural properties
Games from the literature
8 / 19
Contributions
Set of parity games
List of structural properties
Analysis of games w.r.t. these properties
9 / 19
Set of parity games
Model checking:
Communication protocols (C)ABP, BRP, SWP
Cache coherence protocol
Two-player board games
Industrial IEEE-1394 link-layer, truck lift
Elevator, Hanoi towers
Equivalence checking: strong-, weak-, branching
bisimulation of communication protocols
Validity/satis๏ฌability of LTL, CTL, CTL*, PDL and
ยต-calculus (using MLSolver)
Random games (using PGSolver)
Hard cases (using PGSolver)
10 / 19
Structural properties
Some properties known to a๏ฌ€ect complexity of solving:
Number of vertices and edges (โ€œsizeโ€)
Number of priorities
Width measures (tree-width, DAG-width, etc.)
SCCs
New: alternation depth (inspired by modal equation
systems)
And some more. . .
11 / 19
Alternation depth
Describe complexity more accurately
Similar to ideas in [Emerson & Lee 1986] for ยต-calculus
Three steps (let C โˆˆ sccs(G))
1. Nesting depth of v in C is #alternations between even
and odd priorities on paths of descending priorities in C
2. Nesting depth of C is max{nestingdepth(v) | v โˆˆ C}
3. Alternation depth of of a parity game is the maximal
nesting depth of its SCCs
12 / 19
Analysis of games w.r.t. structural properties
Vertices vs. edges
101
102
103
104
105
106
107
101
102
103
104
105
106
107
108
Vertices
Edges
modelchecking
equivalence
mlsolver
specialcases
random
13 / 19
Analysis of games w.r.t. structural properties
Alternation depth
101
102
103
104
105
106
107
100
101
102
103
104
Vertices
Alternationdepth
modelchecking
equivalence
mlsolver
specialcases
random
14 / 19
Analysis of games w.r.t. structural properties
Diameter
101
102
103
104
100
101
102
103
104
BFS Height
Diameter
modelchecking
equivalence
mlsolver
specialcases
random
15 / 19
Applications
Used to assess parity game reductions in [Cranen, K &
Willemse 2011,2012]
Subset of generation process used for benchmarks in [K,
Wesselink & Willemse, 2014]
Con๏ฌrmed observation from [Friedmann & Lange 2009]:
recursive algorithm beats sophisticated algorithms
(unpublished)
16 / 19
Summary
I presented:
A set of parity games
Structural properties of parity games
An analysis of the games w.r.t. these properties
17 / 19
Open issues
Use structural properties to optimise/design algorithms
Perform large-scale comparison of di๏ฌ€erent algorithms
Extend set of games with other encodings/more examples
Design algorithms for computing more complex structural
properties
18 / 19
Please contribute your own games!
jeroenkeiren.nl
github.com/jkeiren/paritygame-generator
19 / 19

More Related Content

Similar to Benchmarking parity games (9)

CAGT-IST Student Presentations
CAGT-IST Student Presentations CAGT-IST Student Presentations
CAGT-IST Student Presentations
ย 
Babelfy: Entity Linking meets Word Sense Disambiguation.
Babelfy: Entity Linking meets Word Sense Disambiguation.Babelfy: Entity Linking meets Word Sense Disambiguation.
Babelfy: Entity Linking meets Word Sense Disambiguation.
ย 
Babelfy: Entity Linking meets Word Sense Disambiguation
Babelfy: Entity Linking meets Word Sense DisambiguationBabelfy: Entity Linking meets Word Sense Disambiguation
Babelfy: Entity Linking meets Word Sense Disambiguation
ย 
lec 09-graphs-bfs-dfs.ppt
lec 09-graphs-bfs-dfs.pptlec 09-graphs-bfs-dfs.ppt
lec 09-graphs-bfs-dfs.ppt
ย 
lect1207
lect1207lect1207
lect1207
ย 
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeksBeginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
Beginning direct3d gameprogrammingmath06_transformations_20161019_jintaeks
ย 
Cost allocation in vertex weighted Steiner tree games
Cost allocation in vertex weighted Steiner tree gamesCost allocation in vertex weighted Steiner tree games
Cost allocation in vertex weighted Steiner tree games
ย 
Bmb12e ppt 1_2
Bmb12e ppt 1_2Bmb12e ppt 1_2
Bmb12e ppt 1_2
ย 
ML-CheatSheet (1).pdf
ML-CheatSheet (1).pdfML-CheatSheet (1).pdf
ML-CheatSheet (1).pdf
ย 

Recently uploaded

Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
RohitNehra6
ย 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service ๐Ÿชก
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service  ๐ŸชกCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service  ๐Ÿชก
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service ๐Ÿชก
anilsa9823
ย 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
Sรฉrgio Sacani
ย 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sรฉrgio Sacani
ย 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Sรฉrgio Sacani
ย 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
ย 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Sรฉrgio Sacani
ย 

Recently uploaded (20)

Lucknow ๐Ÿ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow ๐Ÿ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow ๐Ÿ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow ๐Ÿ’‹ Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
ย 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
ย 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
ย 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
ย 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
ย 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service ๐Ÿชก
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service  ๐ŸชกCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service  ๐Ÿชก
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kesar Bagh Lucknow best Night Fun service ๐Ÿชก
ย 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
ย 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
ย 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
ย 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
ย 
Hire ๐Ÿ’• 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire ๐Ÿ’• 9907093804 Hooghly Call Girls Service Call Girls AgencyHire ๐Ÿ’• 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire ๐Ÿ’• 9907093804 Hooghly Call Girls Service Call Girls Agency
ย 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
ย 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
ย 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
ย 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
ย 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
ย 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
ย 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
ย 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
ย 

Benchmarking parity games

  • 1. Benchmarking Parity Games FSEN 2014 Jeroen Keiren Open University of the Netherlands & VU University Amsterdam 24 April 2015 1 / 19
  • 2. Where are parity games used? Model Checking Equivalence Checking Satis๏ฌability/Validity of modal logic Synthesis 2 / 19
  • 3. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 4. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 5. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 6. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 7. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 8. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd 3 / 19
  • 9. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd Winner? 3 / 19
  • 10. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd Winner? Optimal strategies? 3 / 19
  • 11. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd Winner? Optimal strategies? 3 / 19
  • 12. Parity Games V A set of vertices. โ†’ โŠ† V ร— V An edge relation. โ„ฆ : V โ†’ N A priority mapping. , Two players (even, odd). (V , V ) A partition of V . 0 s 0 t 0 u 0 w 1 v =even =odd Winner? Optimal strategies? 3 / 19
  • 13. Winning Parity Games Memoryless determinacy Partition (W , W ) of V Player has memoryless winning strategy from W , for โˆˆ { , } 4 / 19
  • 14. Solving Parity Games Solving a parity game: Determine partition (W , W ) Complexity: Problem is in NP โˆฉ co-NP Is it in P? 5 / 19
  • 15. Solving Parity Games Solving a parity game: Determine partition (W , W ) Complexity: Problem is in NP โˆฉ co-NP Is it in P? Open! 5 / 19
  • 16. Why benchmark? Complexity + applications โ‡’ active research Algorithms for: solving simplifying reducing parity games How to compare new algorithms to existing ones? 6 / 19
  • 17. Existing practice Only theoretical analysis (big-O) Class of games that meets upper bound Random games (Very) small set of games Results from di๏ฌ€erent papers not comparable 7 / 19
  • 18. Requirements on Benchmarks Cover broad range of games: Di๏ฌ€erent problems Di๏ฌ€erent structural properties Games from the literature 8 / 19
  • 19. Contributions Set of parity games List of structural properties Analysis of games w.r.t. these properties 9 / 19
  • 20. Set of parity games Model checking: Communication protocols (C)ABP, BRP, SWP Cache coherence protocol Two-player board games Industrial IEEE-1394 link-layer, truck lift Elevator, Hanoi towers Equivalence checking: strong-, weak-, branching bisimulation of communication protocols Validity/satis๏ฌability of LTL, CTL, CTL*, PDL and ยต-calculus (using MLSolver) Random games (using PGSolver) Hard cases (using PGSolver) 10 / 19
  • 21. Structural properties Some properties known to a๏ฌ€ect complexity of solving: Number of vertices and edges (โ€œsizeโ€) Number of priorities Width measures (tree-width, DAG-width, etc.) SCCs New: alternation depth (inspired by modal equation systems) And some more. . . 11 / 19
  • 22. Alternation depth Describe complexity more accurately Similar to ideas in [Emerson & Lee 1986] for ยต-calculus Three steps (let C โˆˆ sccs(G)) 1. Nesting depth of v in C is #alternations between even and odd priorities on paths of descending priorities in C 2. Nesting depth of C is max{nestingdepth(v) | v โˆˆ C} 3. Alternation depth of of a parity game is the maximal nesting depth of its SCCs 12 / 19
  • 23. Analysis of games w.r.t. structural properties Vertices vs. edges 101 102 103 104 105 106 107 101 102 103 104 105 106 107 108 Vertices Edges modelchecking equivalence mlsolver specialcases random 13 / 19
  • 24. Analysis of games w.r.t. structural properties Alternation depth 101 102 103 104 105 106 107 100 101 102 103 104 Vertices Alternationdepth modelchecking equivalence mlsolver specialcases random 14 / 19
  • 25. Analysis of games w.r.t. structural properties Diameter 101 102 103 104 100 101 102 103 104 BFS Height Diameter modelchecking equivalence mlsolver specialcases random 15 / 19
  • 26. Applications Used to assess parity game reductions in [Cranen, K & Willemse 2011,2012] Subset of generation process used for benchmarks in [K, Wesselink & Willemse, 2014] Con๏ฌrmed observation from [Friedmann & Lange 2009]: recursive algorithm beats sophisticated algorithms (unpublished) 16 / 19
  • 27. Summary I presented: A set of parity games Structural properties of parity games An analysis of the games w.r.t. these properties 17 / 19
  • 28. Open issues Use structural properties to optimise/design algorithms Perform large-scale comparison of di๏ฌ€erent algorithms Extend set of games with other encodings/more examples Design algorithms for computing more complex structural properties 18 / 19
  • 29. Please contribute your own games! jeroenkeiren.nl github.com/jkeiren/paritygame-generator 19 / 19