Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Formal Analysis and Algorithms
for Extracting Underlying Objectives
of Test-Based Problems
Wojciech Ja´skowski Krzysztof KrawiecInstitute of Computing Science, Poznan University of Technology, Poland
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Outline
ProblemBackground & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Test-Based Problem
I G = (S,T ,G) that consists of:
I set S ofsolutions (a.k.a. candidate solutions), I set T oftests,
I interaction function G : S× T → R.
I The codomain of g is a binary set{0,1}.
I If G(s, t) = 1, we say that solution s solves test t; I If G(s, t) = 0, we say that s fails test t.
I G is a game; G is a payoff matrix I Goal: find the best solution in S
Chess
I S — the set of all first player strategies I T — the set of all second player strategies I G(s, t) — does s win against t?
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Test-Based Problem
I G = (S,T ,G) that consists of:
I set S ofsolutions (a.k.a. candidate solutions), I set T oftests,
I interaction function G : S× T → R.
I The codomain of g is a binary set{0,1}.
I If G(s, t) = 1, we say that solution s solves test t; I If G(s, t) = 0, we say that s fails test t.
I G is a game; G is a payoff matrix I Goal: find the best solution in S
Chess
I S — the set of all first player strategies
I T — the set of all second player strategies
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Example: Density Classification Task
0 1 1 0 1 0 0 1 0
1 0 1 1 0 0 0 0 0
2r + 1 n
Density Classification Task I S — set of all CA rules
I T — set of all initial configurations
I G(s, t) — does s converge to the majority from the initial configuration t?
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coevolution
I Idea:I Evolve thepopulation of solutions and the population of tests in parallel
I Tests are evolvedagainst solutions and vice versa
(evaluation function)
I Expects gradual increase of difficulty of tests and
competence of solutions
I (Sometimes) Successful
I Problem: does not always make progress: I Pathologies: cycling, stalling, etc.
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Pareto-Coevolution
I [Partial] Answer: Pareto-coevolution
I Treatsevery test as an objective
I Formulates the problem as amultiobjective optimization
I Solution a isbetter than b when a dominates b, I i.e., it is better/not worse on all tests from T
I There exist algorithms that guarantee progress (e.g. IPCA, LAPCA) t1 t2 s1 s2 s3
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Objectives
I A huge number of objectives
I We have to search a|T |-dimensional space.
I Q: Is it possible to reduce the number of objectives?
I Some tests examine the same skill/aspect of a solution but with different intensity
I Such tests could be grouped and put on acommon
axis
I ordered with increasing difficulty
I Axis =underlying objective,
teasytmediumthard
Example
Possible underlying objectives in chess
I How well the player (1) controls the center of the board, (2) uses knights, (3) plays endgames, etc.
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Objectives
I A huge number of objectives
I We have to search a|T |-dimensional space.
I Q: Is it possible to reduce the number of objectives?
I Some tests examine the same skill/aspect of a solution but with different intensity
I Such tests could be grouped and put on acommon axis
I ordered with increasing difficulty
I Axis =underlying objective, teasytmediumthard
Example
Possible underlying objectives in chess
I How well the player (1) controls the center of the board, (2) uses knights, (3) plays endgames, etc.
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Objectives
I A huge number of objectives
I We have to search a|T |-dimensional space.
I Q: Is it possible to reduce the number of objectives?
I Some tests examine the same skill/aspect of a solution but with different intensity
I Such tests could be grouped and put on acommon axis
I ordered with increasing difficulty
I Axis =underlying objective, teasytmediumthard
Example
Possible underlying objectives in chess
I How well the player (1) controls the center of the board, (2) uses knights, (3) plays endgames, etc.
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Objectives
MotivationI Motivations forextracting the underlying objectives: I Faster (co)evolutionary algorithms (fewer objectives) I Can learn something about the game:
I What are thetrue, underlying objectives of the
game?
I What is thenumber of underlying objectives of a
game?
I Thedimension is an inherent property of a game Research questions here:
I How to extract the underlying objectives?
Wojciech Ja´skowski, Krzysztof Krawiec
Problem
Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Objectives
MotivationI Motivations forextracting the underlying objectives: I Faster (co)evolutionary algorithms (fewer objectives) I Can learn something about the game:
I What are thetrue, underlying objectives of the
game?
I What is thenumber of underlying objectives of a
game?
I Thedimension is an inherent property of a game
Research questions here:
I How to extract the underlying objectives?
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Underlying Structure of a Game
I Set of underlying objectives = the underlying structure of a problem = acoordinate system.
I Two definitions proposed so far: I Bucci et al. (2004)
I de Jong & Bucci (2008)
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Formal Definition DefinitionI s1is (weakly) dominated by s2(s1≤ s2), if for all
tests G(s1, t)≤ G(s2, t)
I t1is (weakly) dominated by t2(t1≤ t2), if for all
solutions G(s, t1)≥ G(s,t2)
I (S,≤) is a poset if we assume that
s1∼ s2 ⇐⇒ s1=s2((T,≤), analogously).
Definition
Thecoordinate system C for a gameG is a set of axes
(Ai), where:
I each axis Ai⊆ T ,
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Formal Definition DefinitionI s1is (weakly) dominated by s2(s1≤ s2), if for all
tests G(s1, t)≤ G(s2, t)
I t1is (weakly) dominated by t2(t1≤ t2), if for all
solutions G(s, t1)≥ G(s,t2)
I (S,≤) is a poset if we assume that
s1∼ s2 ⇐⇒ s1=s2((T,≤), analogously).
Definition
Thecoordinate system C for a gameG is a set of axes (Ai), where:
I each axis Ai⊆ T ,
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Position Function DefinitionPosition function pi:S→ Ai assigns a test from Ai to
solution s∈ S:
pi(s) = max{t ∈ Ai|G(s,t) = 1},
where the maximum is taken with respect to relation<. A property of an axis
if Ai={t1< t2<··· < tki} is an axis and pi(s) = tj: G(s, t) 1 . . . 1 0 . . . 0 Ai t1< . . . < tj < tj+1< . . . < tki
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Position Function DefinitionPosition function pi:S→ Ai assigns a test from Ai to
solution s∈ S:
pi(s) = max{t ∈ Ai|G(s,t) = 1},
where the maximum is taken with respect to relation<.
A property of an axis
if Ai={t1< t2<··· < tki} is an axis and pi(s) = tj:
G(s, t) 1 . . . 1 0 . . . 0
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Game Dimension DefinitionThe coordinate system C iscorrect for a game
G = (S,T ,G) iff the dominance relation is preserved for all s1, s2∈ S, i.e.
s1≤ s2 ⇐⇒ ∀ipi(s1)≤ pi(s2)
Definition
A correct coordinate system C is aminimum coordinate system for G if it has a minimum number of axes.
Definition
Thedimension of a game G, dimB(G) is the size of the
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Game Dimension DefinitionThe coordinate system C iscorrect for a game
G = (S,T ,G) iff the dominance relation is preserved for all s1, s2∈ S, i.e.
s1≤ s2 ⇐⇒ ∀ipi(s1)≤ pi(s2)
Definition
A correct coordinate system C is aminimum coordinate system for G if it has a minimum number of axes.
Definition
Thedimension of a game G, dimB(G) is the size of the
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation
Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System
Game Dimension DefinitionThe coordinate system C iscorrect for a game
G = (S,T ,G) iff the dominance relation is preserved for all s1, s2∈ S, i.e.
s1≤ s2 ⇐⇒ ∀ipi(s1)≤ pi(s2)
Definition
A correct coordinate system C is aminimum coordinate system for G if it has a minimum number of axes.
Definition
Thedimension of a game G, dimB(G) is the size of the
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Coordinate System for Nim [1,3]
Example
I Nim [1,3]: two piles: 1 stone and 3 stones
I Total:
I 6 unique strategies for the first player (solutions) I 9 unique strategies for the second player (tests)
I The payoff matrix:
t1 t2 t3 t4 t5 t6 t7 t8 t9 s1 1 1 1 1 1 1 s2 s3 1 1 1 1 1 1 1 1 1 s4 1 1 1 1 1 1 s5 1 1 1 s6 1 1 1
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Minimal Coordinate System for Nim [1,3]
t1 t2 t3 t4 t5 t6 t7 t8 t9 s1 1 1 1 1 1 1 s2 s3 1 1 1 1 1 1 1 1 1 s4 1 1 1 1 1 1 s5 1 1 1 s6 1 1 1 I s1< s3
I s1solves t4and t9, but
not t8nor t2 t9 t8 t2 t4 s1 s2 s3 s4 s5 s6 Observation:
I Not all tests have to appear in the minimal coordinate system
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Minimal Coordinate System for Nim [1,3]
t1 t2 t3 t4 t5 t6 t7 t8 t9 s1 1 1 1 1 1 1 s2 s3 1 1 1 1 1 1 1 1 1 s4 1 1 1 1 1 1 s5 1 1 1 s6 1 1 1 I s1< s3
I s1solves t4and t9, but
not t8nor t2 t9 t8 t2 t4 s1 s2 s3 s4 s5 s6 Observation:
I Not all tests have to appear in the minimal coordinate system
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Minimal Coordinate System for Nim [1,3]
Example summary
I Before: 6 solutions and 9 tests/objectives
I After: 2 underlying objectives/axes and only 4 tests
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Outline
Theoretical Results
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Theorem: repeated tests
Theorem
If a test lies on two different axes, it can be removed from one of the axes and the coordinate system will remain correct.
Corollary
To find the dimension of a game, consider only such a coordinate systems C that every test from T appears on atmost one axis in C
t9 t8 t2 t4 s1 s2 s3 s4 s5 s6
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Theorem: redundant tests
Definition
We will say that test t orders solution s1before
solution s2, written s1<t s2, if:
I G(s1, t) = 0 (s1fails t)
I G(s2, t) = 1 (s2solves t)
Theorem
Let C be a correct coordinate system forG = (S,T ,G). LetS
D =S
C\ {u}. D is a correct coordinate system iff all ordered pairs ‘covered’ in C are also covered in D, i.e.,
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Theorem: redundant tests
Definition
We will say that test t orders solution s1before
solution s2, written s1<t s2, if:
I G(s1, t) = 0 (s1fails t)
I G(s2, t) = 1 (s2solves t)
Theorem
Let C be a correct coordinate system forG = (S,T ,G). LetS
D =S
C\ {u}. D is a correct coordinate system iff all ordered pairs ‘covered’ in C are also covered in D, i.e.,
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Example: redundant tests
t1 t2 t3 t4 t5 t6 t7 t8 t9 s1 1 1 1 1 1 1 s2 s3 1 1 1 1 1 1 1 1 1 s4 1 1 1 1 1 1 s5 1 1 1 s6 1 1 1 I s2<t3s3, but also s2<t4s3 t9 t8 t2 t4 s1 s2 s3 s4 s5 s6
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Theorem: Game Dimension and Poset Width
t0 t1 t2 t4 t5 t6 t3 t7 Theorem
Let C = (Ai)i∈I be a minimal coordinate system for game
G . Then
dimB(G ) = width(
[ C,≤)
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Theorem: Game Dimension and Poset Width
t0 t1 t2 t4 t5 t6 t3 t7 Theorem
Let C = (Ai)i∈I be a minimal coordinate system for game
G . Then
dimB(G ) = width(
[
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Algorithms
I Heuristic proposed by Bucci et. al (2004)
I Does not guarantee finding the minimal coordinate
system.
I Here, an exact algorithm:
I Exponential, but much faster than a trivial one I Founded on theorems proved in our paper
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Exact Algorithm
procedure EXACT(S, T , g) U ← AllMinimalSubsets(T )return such U∈ U that minimizes ChainPartition(U,≤) end procedure
I ALLMINIMALSUBSETS:
I Returns all minimal correct subsets of T I Exponential
I CHAINPARTITION:
I Returns a set of chains C I O(n3)
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Decision Problem
Q: How hard it is to compute dimension for a given game?
Game Dimension Problem
Given a gameG = (S,T ,G), where S and T are finite and a positive integer n, does it exist a correct coordinate systemC for game G of size n or less?
Theorem
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Decision Problem
Q: How hard it is to compute dimension for a given game?
Game Dimension Problem
Given a gameG = (S,T ,G), where S and T are finite and a positive integer n, does it exist a correct coordinate systemC for game G of size n or less?
Theorem
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Proof outline
Set Covering Problem
Given a universeU = (ui), a familyR = (Rj)of subsets
ofU , a cover is a subfamily V ⊆ R of sets whose union isU . Given U and R and an integer m, the question is whether there exists a cover of size m or less.
Example LetU ={1,2,3,4}, u = 4 r = 3, R1={1,2}, R2={1,3}, R3={1,3,4}. Then, e.g.,V = {R1, R3}
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Proof outline
Set Covering Problem
Given a universeU = (ui), a familyR = (Rj)of subsets
ofU , a cover is a subfamily V ⊆ R of sets whose union isU . Given U and R and an integer m, the question is whether there exists a cover of size m or less.
Example LetU ={1,2,3,4}, u = 4 r = 3, R1={1,2}, R2={1,3}, R3={1,3,4}. Then, e.g.,V = {R1, R3}
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Transformation
Proof.Given an instance I2∈ Dπ2, we construct I1∈ Dπ1 :
1. n = m + u + r
2. S ={s0} ∪ A ∪ B ∪ C ∪ D, where
A = (ai)i=1...u, B = (bi)i=1...r, C = (ci)i=1...u, and
D = (di)i=1...r are such sets that|S| = 1 + 2r + 2u.
3. T = X∪ Y ∪ Z , where
X = (xi)i=1...r, Y = (yi)i=1...u, and Z = (zi)i=1...r, are
such sets that|T | = 2r + u
4. G is defined as follows: G(s0, yi) G(ai, xj) ⇐⇒ ui ∈ Rj G(ai, yj) ⇐⇒ i 6= j and G(bi, zj) ⇐⇒ i 6= j G(bi, xj) ⇐⇒ i = j and G(ci, yj) ⇐⇒ i = j and G(di, zj) ⇐⇒ i = j
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Transformation Example
LetU ={1,2,3,4}, R1={1,2}, R2={1,3}, R3={1,3,4} x1 x2 x3 y1 y2 y3 y4 z1 z2 z3 s0 1 1 1 1 a1 1 1 1 1 1 1 a2 1 1 1 1 a3 1 1 1 1 1 a4 1 1 1 1 b1 1 1 1 b2 1 1 1 b3 1 1 1 c1 1 c2 1 c3 1 c4 1 d1 1 d2 1 d3 1Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Corollary
CorollaryFinding a minimal coordinate system for a game is NP-hard
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
“Our” Greedy Heuristics
I Based on the greedy heuristics for the Set Covering Problem.
1. Greedily find a minimal set of tests that “cover” all pairs of solutions.
2. Construct the poset and return its width.
I Approximation ratio of H(s)≤ lns + 1, where s is the size of the largest set inR
I Best possible approximation algorithm working in
polynomial-time (for SCP).
I It should to be also a very good solution for our problem.
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Outline
Computational Experiments
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Heuristics vs. Exact on a Random Payoff
Matrix
I A random game (n× n payoff matrix, n = 2...360)
0 5 10 15 20 25 30 value 0 50 100 150 200 250 300 350 problem size SmartExactWithTimeout1.0 SmartExact GreedyHeuristics BucciHeuristics y(x) = 4.48 * log(x) - 2.43
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Compare-on-one Game
SetupI Artificial numbers game
I Strategies represented as real-number vectors s[1..d] and t[1..d]:
I d — thea priori dimension of the game.
I Interaction function: g(s, t) =
(
1 if s[m]≥ t[m] 0 otherwise
I where m = arg maxit[i]
Compare-on-one Game
Results
I Randomly generated n solution and n test strategies;
I Results for d = 2 and d = 3
0 1 2 3 value 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 problem size dimB(G) (exact) width(T, ≤) dim(S, ≤) 0 1 2 3 value 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 problem size dimB(G) (exact) width(T, ≤) dim(S, ≤) Observations:
I Computeddimension converges to the d — a priori dimension of a game
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Compare-on-all
The interaction function:G(s, t) ⇐⇒ ∀is[i]≥ t[i] 0 2 4 6 8 value 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 problem size dimB(G) (exact) width(T, ≤) dim(S, ≤)
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Tic Tac Toe
0 5 10 15 20 25 30 value 0 20 40 60 80 100 problem size TTT win (heuristic) TTT win (exact)
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Summary
I Each test-based-problem has: I a dimension, and
I an inherent structure in the form of underlying
objectives.
I The dimension of a game is (usually) much smaller than the number of strategies.
I The knowledge of the structure could help: I investigate essential properties of the game, and I (potentially) design better coevolutionary algorithms.
I Further work:
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
An Infinite Game Can Have Infinite
Dimension
Do there exist highly-dimensional games? Yes.
Example Consider a gameG (n) = (S,T ,G): S = (si)i=1...n T = (tj)j=1...n G(si, tj) ⇐⇒ i = j I The dimension ofG (n) is n.
I For each n there exists a game with dimension n.
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Infinite Game Can Have Finite Dimension
Do all inifinite games have infinite dimension? No.
Example
Consider aG (n) = (S,T ,G) S = (si)
T = (tj) G(si, tj) ⇐⇒ i ≥ j
The dimension of this game is 1, because A1= (t1< t2< . . . ) and p1(si) =ti.
Corollary
When a game is finite, it always has a dimension; when a game is infinite, it can either have or not have a
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Infinite Game Can Have Finite Dimension
Do all inifinite games have infinite dimension? No.
Example
Consider aG (n) = (S,T ,G) S = (si)
T = (tj) G(si, tj) ⇐⇒ i ≥ j
The dimension of this game is 1, because A1= (t1< t2< . . . ) and p1(si) =ti.
Corollary
When a game is finite, it always has a dimension; when a game is infinite, it can either have or not have a
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Lower and Upper Bound
Theorem
For every gameG = (S,T ,G)
Underlying Objectives
Wojciech Ja´skowski, Krzysztof Krawiec
Problem Background & Motivation Coordinate System Example Theoretical Results Theorems Algorithms Computational Complexity Computational Experiments Random Game Compare-on-one Game Summary
Formally
I The compare-on-one coordinate system for d = 2.
I Tests solved by an exemplary test s1marked in
yellow.
t[1, 0] t[2, 0] t[3, 0] t[0, 1]
t[0, 2]