• 検索結果がありません。

Randomized complexity of AND-OR game trees

N/A
N/A
Protected

Academic year: 2021

シェア "Randomized complexity of AND-OR game trees "

Copied!
29
0
0

読み込み中.... (全文を見る)

全文

(1)

修 士 学 位 論 文

題 名

Rarldo斑izedco搬plexityofAND‑ORgarnetrees

ラ ン ダ ム 性 を 持 っ たAND‑ORゲ ー ム 木 の コ ス ト期 待 値(英 文)

指 導 教 授 鈴 木 登 志 雄 准 教 授

平 成23年1.月7日 提 出

首都大学東京大 学院

理 工 学 研 究 科 数 理 情 報 科 学 専 攻 学修番号09878318

中 村 亮 太

(2)

学 位 論 文 要 旨(修 士(理 学))

RandomizedcomplexityofAND‑ORgametrees

ラ ン ダ ム 性 を 持 っ たAND‑ORゲ ー ム 木 の コ ス ト期 待 値(英 文) 中村 亮 太09878318

首 都 大 学 東 京 大 学 院 理 工 学研 究 科 数 理 情 報 科 学 専 攻 平 成23年1月7日

ラ ンダ ム な真 理 値 割 り当て を与 え られ たAND‑OR木 の ゲ ー ム均衡 点 は 固有 分 布 と呼 ばれ る。Liu・Tanaka(2007)は 分 布 が 固 有 分布 で あ るた め の必 要 十 分 条 件 を与 え 、 固 有 分 布 の一 意性 を示 した 。 しか し、 ア ル ゴ リズ ム の形 に少 し制 限 を 与 え る と固 有 分 布 の 一 意性 が成 り立 た な い こ とが わ か っ た 。 す な わ ち、 問 い合 わ せ 履 歴 の途 中経 過 に よ らず 問 い 合 わ せ る葉 の順 番 を変 え な い ア ル ゴ リズ ム (FIXな アル ゴ リズ ム と呼 ぼ う)だ け を考 え る とき、固有 分 布 一 意 性 は破 れ る。

本 稿 で は 、 葉 の置 換 につ い て 閉 じた アル ゴ リズ ム族 に 関 す る 固有 分布 の一 意 性 につ い て考 察 す る。 と くに 、FIXで な い アル ゴ リズ ム だ け を考 え る と き、 固 有 分 布 一 意 性 が成 り立 っ こ と を示 す 。

(3)

Randomized complexity of AND-OR game trees

Department of Mathematics and Information Sciences, Tokyo Metropolitan University

Ryota Nakamura [email protected]

January 7, 2011

Abstract

We study random truth assignments on leaves of an AND-OR tree, and computational cost given by the number of scanned leaves. Liu and Tanaka (2007) give a necessary and sufficient condition for a random assignment being an equilibrium, and by means of the condition, they show the uniqueness of equilibrium. Thus they call the equilibrium "eigen-distribution". However, Suzuki shows that the uniqueness fails, provided that we put a certain restriction to types of algorithm for scanning leaves. To be more precise, we restrict ourselves to algorithms that do not change the scanning order of leaves during a computation, regardless of query history. Let us call them "FIX-type algorithms". Under this setting, the uniqueness of eigen-distribution fails. In this paper, we investigate the operation of exchanging two child-nodes or child-leaves of a given node of an AND-OR tree, and investigate families of algorithms closed under such operations.

And we ask when such a family has the uniqueness of eigen-distribution. We show that this is the case for the family of all "non-FIX type" algorithms.

1 Introduction

A two-person zero-sum game has an equilibrium, provided that mixed strategies are allowed. This is the Min-Max theorem of von Neumann. Its application to decision trees is known as Yao's principle.

Yao's principle for an AND-OR tree is as follows. Suppose that an algorithm makes queries to truth values of leaves and that the algorithm computes truth value of the root. The algorithm decides the scanning order of leaves. Computational cost is defined as to be the number of queried leaves. When player I chooses a mixed strategy of algorithms and player II chooses a simple strategy of a truth

1

(4)

assignment to leaves, the Min-Max value is specified, and we call it randomized complexity. On the other hand, when player I chooses a mixed strategy of truth assignments and player II chooses a simple strategy of an algorithm, the Max-Min value is specified, and we call it distributional complexity.

Then, Yao's principle says that randomized complexity equals to distributional complexity (see [4, 3]

for details). Therefore we have max min = mm max. A distribution achieving the Min-Max value is called the eigen-distribution by Liu and Tanaka [2]. They characterize eigen-distribution in detail. In particular, they show the following.

Assertion 2 [2, p76,Theorem 9] For any tree n, the E'-distribution is the unique eigen-distribution

among all the distributions.

Liu and Tanaka define the concept of 1-set (0-set) as the set of all assignments such that the root has value 1 (0, respectively) and cost is forced to be high in a certain sense. They define E'- distribution (E°-distribution) as a distribution on the 1-set (0-set) such that all the deterministic algorithm has the same cost.

However, Suzuki shows that the uniqueness fails with respect to a certain family of algorithms [3]. Let be a family of all algorithms that do not change the scanning order of leaves during a computation, regardless of the query history. The subscript k denotes the number of an AND-OR layer in a given tree. When we restrict ourselves to algorithms in All the uniqueness of eigen-distribution fails. The key to the proof is that the uniqueness of E'-distribution fails with respect to the above family of algorithms.

We investigate the operation of exchanging two child-nodes or child-leaves of a given node of an AND-OR tree, and investigate families of algorithms closed under such operations. And we ask when such a family has the uniqueness of eigen-distribution. In particular, we prove the following, where Ak — Akiis denotes the complement of

Theorem 7 (Main theorem) Let i E {0, 1}. Suppose that d is E'-distribution with respect to Ac — Aliceix, in other words, suppose that d is a distribution on the i-set such that for all A e Ak —

the average complexity C(A, d) is the same. Then, d is the uniform distribution on the i-set.

The construction of this paper is as follows. We introduce definitions and notation in § 2, previous

(5)

results in § 3. We are mainly interested in algorithm families closed under substitution. In § 4, we study structure of such families, and show that the family of alpha-beta pruning algorithms is a disjoint union of many such closed families. We prove the main theorem in § 5. We briefly discuss algorithm families without closure property in § 6. The study is a joint work with Toshio Suzuki. In particular, sub-section 3.2 is a summary of Suzuki [3].

2 Definition

2.1 Game tree We adopt notation of [2].

Definition 1 Figure 1 shows the binary AND-OR tree of 1-round which we denote by T. And, Figure 2 shows the binary AND-OR tree of 2-round which we denote by T. In general, for an integer k > 2, we define the tree n of k-round by replacing each leaf of with the tree T.

Figure 1: Tree Tl.

V

V A

V A

V V

V A

V

Figure 2: Tree T.

Algorithm In this paper, we restrict ourselves to a-13 pruning algorithms [1]. We will review

the concept of ct-i3 pruning algorithm later.

3

(6)

Definition 2 We assign a number to each leaf of a game tree. To the leaves in Figure 2, in the order from left to write, we assign 1, 2, 3, 4, • • • sequentially. To be more precise, the rule is described as follows: two leaves with a common parent node are assigned number 2n + 1 and 2n + 2 for some non-negative integer n; if two nodes have a common parent then for one node v of the two, it holds that the minimum number assigned to descendants of v is exactly 1 + the maximum number assigned to descendants of the other node. We denote algorithms by a permutation of leaves showing the order of scanning. For example, the algorithm that scans the leaves from left to right, which is called the algorithm of "fundamental form" in this paper, is denoted by "1234". In addition, the expression

"if(0)1234 else 1(2)43" means the following process: In the default setting , the scanning order is 1234;

in the case where the first leaf is 1 (in this case, its brother node is not scanned), the scanning order is changed to 1243, where (2) denotes that the leaf of number 2 is skipped. We say the algorithm

"if(0)1234 else 1(2)43" makes a flip. In general, by "flip" we mean that a given algorithm changes its scanning order depending query history.

2.2 Cost of computation

In this paper, cost, or computational complexity denotes the number of leaves queried by an algorithm during the computation deciding the root value. All other operations such as boolean operations of two values are considered to be of cost zero.

Definition 3 [2, p74] Let k be a positive integer. Let AD be a deterministic algorithm and w an assignment to the leaves of tree T. By C(AD, w), we denote the number of leaves queried by AD during its computation on 71 under the truth assignment w. Let W be the set of all truth assignments, and d a probability distribution on W. Then pwd denotes the probability of d having value w. The average complexity C(AD, d) of AD with respect to d is defined as follows.

C (AD, d)=Epc!,C(A-D,W).

wEW

Definition 4 [2, p75] Let D be the set of all probability distributions (on W defined above), and AD (Ti') the set of all deterministic algorithms computing T. We define the distributional complexity P(71) as follows.

P(n) = max min C (AD , d).

dED ADEAD(n)

(7)

If a distribution 8 E D achieves P(T2 ), it is called the eigen-distribution.

min C(AD, S) = P(T~

AD E.AD (Tz )

2.3 Alpha-beta pruning algorithm

The a-/3 pruning algorithm is a special type of depth-first algorithm, and is known as efficient one among many game tree algorithms. We show two examples.

Example 1 We consider the deterministic algorithm 1234, that is, the algorithm searches leaves from left to right. We assume that the truth assignment to the leaves is as shown in Figure 3. The algorithm reads 0 first. And it moves to the right leaf and reads 0. As a result, the node V above them has value 0. Then, regardless of the values of two remaining leaves, we know that the root (A) has value 0.

Hence, the computation ends. Thus, we may skip scanning the remaining two nodes. Such a skipping is called a-cut. The number of scanned leaves is two. Hence, the cost is 2.

0

0 0 a-cut

Figure 3: An example of a-cut.

Example 2 In the same way as Example 1, we consider the deterministic algorithm 1234. Assume that the truth assignment to the leaves is as shown in Figure 4. The algorithm reads 1 first. Then, regardless of the value of the brother node, we know that the parent node V has value 1. Thus, we may skip scanning the brother node. Such a skipping is called /3-cut. In this example, the cost is 3.

5

(8)

CD 0 I 13-cut

Figure 4: An example of /3-cut.

2.4 Algorithm family

Definition 5 Let k be a positive integer. We consider deterministic algorithms for T. We define classes Alj'eix and Ak of such algorithms as follows.

Ak = {A : A is an ce-,3 pruning algorithm for n},

= {A E Ak : A has a fixed order of scanning leaves}.

By definition, it is clear that Mix C Ak . We investigate the algorithm family Ak in this paper.

2.5 Substitution of nodes and closure property

Definition 6 In this paper, substitution (of nodes) denotes the operation of exchanging two nodes (internal nodes or leaves) of a common parent node. In the case of leaves then it is called substitution of leaves.

Definition 7 For each /3 C Ak, let cl(0) be the transitive closure of /3 with respect to substitution.

More precisely, as follows.

{A : 3B E /3 : a finite product of substitutions such that A = crB}.

In the case of 0=c1(13), we say "/3 has the closure property" or ",(3 is closed under the substitution

of leaves and nodes".

(9)

2.6 Reverse assigning technique

Liu and Tanaka introduce the concept of 1-set and 0-set as a set of assignments with root values 1 and 0 respectively. Roughly speaking, it is a set of assignments which requires much cost. The method forming these set is called Reverse Assigning Technique, and is abbreviated to RAT.

Methodology 8 (Reverse Assigning Technique: RAT) [2, p75-76,Methodology 6] The 1-set (0-set, respectively) of a tree T2 is defined as follows.

(1) Assign a 1 (respectively, 0) to the root of tree II.

(2) From the root to the leaves, assign 0 or 1 to each child nodes of every internal node as follows:

• for the nodes labeled A with value 1, assign is to both its child nodes;

• for the nodes labeled V with value 0, assign Os to both its child nodes;

• for the nodes labeled A with value 0, assign at random 0 to one child node and 1 to the other;

• for the nodes labeled V with value 1, assign at random 1 to one child node and 0 to the other.

(3) Form the 1-set (0-set, respectively) by collecting all the possible assignments.

We give examples of construction of 1-set and 0-set by RAT.

Example 3 We form an 1-set for a tree T2 (see Figure 5). First, we assign a 1 to the root of the tree T1. Since the root A is labeled with value 1, we assign is to all its child nodes. For each V node, since

it is labeled with 1, we assign at random 1 to one child node and 0 to the other. Hence, the 1-set for

tree 71 is {1010, 1001, 0110, 0101 } .

1 (0

0 I)

1 (0

0 I)

Figure 5 : The formation of the 1-set.

Example 4 We form a 0-set for a tree 711

T. Since the root A is labeled with value 0,

(see Figure 6). First, we assign 0 to the root of the tree we assign at random 0 to one child of the root and 0 to

7

(10)

the other. Since one of V node is labeled with 1, we assign at random a 1 one of its child node and 0 to the other child node. The other V node is labeled with 0, therefore we assign Os to both its child

nodes. Hence, the 0-set for tree 711 is {1000, 0100, 0010, 0001}.

00

A

0 v 7A 1 -/- y ..„. 0 VI

--- ,.:

C

--). (....,

1 0 0 00010

(01)0000(0 1)

Figure 6: The formation of the 0-set.

Definition 9 [2, p.76] By E'-distribution (respectively, E°-distribution), we denote the distribution on the assignments of 1-set (respectively, 0-set) such that all the deterministic algorithms have the

same complexity.

3 Previous results

In this section, we review relevant previous results.

3.1 Results of Liu and Tanaka

Assertion 1 [2, p76,Theorem 8] For any tree 71, we have, in the El-distribution(or E°-distribution), the probability of each assignment of 1-set(or 0-set) is equal to 40k11)/3 •

Assertion 2 [2, p76,Theorem 9] For any tree n, the E1-distribution is the unique eigen-distribution among all the distributions.

3.2 Results of Suzuki

This sub-section is a summary of Suzuki[3].

The case where k = 1 and root = 1

(11)

Let k = 1. Table 1 shows the values of C(AD,w) in the case where w is an element of the 1-set.

Al A2 A3 A4 A5 A6 A7 A8

1234 4312 3421 2143 3412 1243 2134 4321

W1 W2 W3 W4

1010 1001 0110 0101

2 3 3 4

3 2 4 3

3 4 2 3

4 3 3 2

2 3 3 4

3 2 4 3

3 4 2 3

4 3 3 2 Table 1 : C(AD , w) for k =1(wEthe 1-set).

Definition 10 Suppose that e is a real distribution on the 1-set such that the prob

number such that 0 < E < 1/2. By d(e), we denote the abilities of w1, w2, w3, w4 are r, 1/2-6, 1/2—c, e, respectively.

Assertion 3 [Suzuki,Theorem 1] There are uncountably many (the cardinality of the continuum) E1- distributions with respect to Alf that are not the uniform distribution on the 1-set. Hence, Assertion

1 fails (under this interpretation) with respect to A fZx .

Proof. Suppose that c is a real number such that 0 < 6 < 1/2. Let j E {1, 2, • • • , 8}. By Table 1, it holds that

3 E E

C (Ai ,d(c)) =

Therefore, for every e such that 0 < E < 1/2 {1, 2, • • • , 8}, the value C(Ai, d) is equal.

1/4.

Note that d(1/4) is the El-distribution (for

E(2 + 4) + (1/2 — e)(3 + 3) = 3, or

(3.1) E(3 + 3) + (1/2 — s)(2 + 4) = 3.

d(e) is a distribution on the 1-set such that for each qual. (e) is not the uniform distribution on the 1-set unless

Ell

ion (for k = 1) discussed in [2].

Eigen-distribution for k = 1

Assertion 2 suggests that, in the case where k = 1, d(1/4) is the unique eigen-distribution.

this part, we show that d(1/4) is not the unique eigen-distribution under the interpretation that algorithm does not change the priority of searching leaves throughout a computation.

The following Lemma 1 is implicitly shown in [2, p.76]. We explicitly prove it.

Lemma 1 Let k = 1. Suppose that d is a distribution on W.

(1) If mini<<8 C(Ai, d) > 3 then d is a distribution on the 1-set.

(2) If d is a distribution on the 1-set then min1<1<8C(Ai, d) < 3.

9

In

an

(12)

(3) "d is eigen with respect to Ab " if and only if "d is a distribution on the 1-set and mini<j<8 C(Ai,d) = 3".

Proof. For each i such that 1 <i < 16, let pi denote Prob[d =

(1) Tables 2, 3 show the values of C(AD, w) in the case where co is not an element of the 1-set.

Al A2 A3 A4 A5 A6 A7 A8

1234 4312 3421 2143 3412 1243 2134 4321

W5 W6 W7 Wg

1000 0100 0010 0001

3 4 2 2

2 2 4 3

2 2 3 4

4 3 2 2

2 2 3 4

3 4 2 2

4 3 2 2

2 2 4 3

Table 2: C(AD,w) for k = 1 (w E the 0-set).

Al A2 A3 A4 A5 A6 A7 A8

1234 4312 3421 2143 3412 1243 2134 4321

Wg W10 W11 W12

1110 1101 1011 0111

2 3 2 3

2 3 3 2

3 2 2 3

3 2 3 2

2 3 2 3

3 2 2 3

2 3 3 2

3 2 3 2

W13 W14

1100 0011

3 2

2 3

2 3

3 2

2 3

3 2

3 2

2 3

W15 W16

1111 0000

2 2

2 2

2 2

2 2

2 2

2 2

2 2

2 2

Table 3: C (A D , w) for k = 1 (w Ø the 1-set U the 0-set).

Suppose that mini<j<8 C(Ai, d) > 3. Since C(.41, d) > 3, by Tables 1, 2 and 3, we get the following;

2231 +3p2 +33 + 4234 + 3p5 + 4/36 + 2p7 + 2p8 + 2p9 + 3pio + 2pii + 3/312 + 3p13 + 2/314 + 22315 + 2/316 > 3.

Since pi +P2 + • • • +P16 = 1,

P1 +.137 +P8 +P9 + Pll +14 +P15 +P16 5_ P4 + P6.(3.2)

For each j E {2, , 8}, we get similar inequalities. By using these inequalities, it is shown that 5 < Vi < 16 pi = 0. Hence, d is a distribution on the 1-set.

(2) Suppose that d is a distribution on the 1-set. Assume for a contradiction that we have

min1<j<8 C(Ai,d) > 3.

(13)

Since C(Ai, d) = 2231+3232 +3P3 +44 > 3, we have pi < P4. Since C(A4, d) = 4Pi+3p2+3p3-1-2p4 >

3 we have pi > p4, a contradiction.

(3) Note that mini<i<8 C(Ai, d(1/4)) = 3. By this fact and the above (1) and (2), the equivalence holds.LI

The following is a remark to Assertion 2.

Assertion 4 [Suzuki,Corollary 1] (to Assertion 3 and Lemma 1) There are uncountably many (the cardinality of the continuum) eigen-distributions with respect to Alfix.

Proof. Suppose that e is a real number such that 0 < E < 1/2. Then, for each j E {1, 2, • • • , 8}, it holds that C(A3, d(e)) = 3, and hence d(e) is an eigen-distribution.

The case where k 1 and root = 0

In this part, we discuss a special case where the statement of Assertion 1 holds.

Proposition 2 Let k = 1. Suppose that d is an E°-distribution with respect to Alfix. Then, d is the uniform distribution on the 0-set. Hence, d is the E°-distribution of [s].

Proof. For each i e {5, 6, 7, 8}, let pi = Prob[d = wi]. Then we have 2p5 2/36 + 2/37 + 2/38 = 1.

Hence, we get the following;

C (Ai , d) =- E Cleaf=r (Ai,d) =-

r=-0

2 + p5 + 2P6

2 + 2p7 +p8

2 + P7 + 2Ps

2 + 2p5 + P6

if j E {1,6}, if j E {2,8}, if j E {3,5}, if j E {4,7}.

(3.3)

Since d is an E°-distribution, the right-hand side of (3.3) does not depend on i. Thus it holds that P5 - P6 =- P7 = P8 = 1/4.0

Now, the following assertion in [2] is justified.

Proposition 3 [2, p.76] Let k = 1. Let E° denote the (unique) E°-distribution for k = 1. If a distribution d on W is such that Prob[root = 0] = 1 and that d is not E°, then it holds that

min C (AD, d) < min C (AD, E°) = 2.75.(3.4)

ADEADADEAD

11

(14)

Proof. (sketch) The 0 value of root is achieved in the case where i E (the 0-set) U {con, w14, w16} •

By using Tables 2 and 3, we can show the proposition.^

Eigen-distribution for k > 2

Assertion 4 holds without assumption of k = 1.

Assertion5 [Suzuki,Theorem 2] Consider the case where an algorithm does not change the priority of searching leaves throughout a computation. Under this interpretation, for every positive integer k, there are uncountably many (the cardinality of the continuum) eigen-distributions.

Proof. (sketch) By means of Lemma 1 and Proposition 3, we can show the following (*).

(*) Suppose n is a positive integer. Then, for every E1-distribution d1 for k = 1, there is an eigen-distribution do for k = n such that the first round (the subtree consisting of the root, its child nodes and their child nodes) of dm is d1.

By Assertion 4, the current theorem holds.^

4 Algorithm family closed under substitution

We investigate algorithm families closed under substitution. In this section, we discuss the case where an algorithm family contains the fundamental form. The case where an algorithm family does not include the fundamental form but has closure property will be discussed in §5.The case where an algorithm family does not have closure property will be discussed in §6.

First, we investigate Afix and Ak (k > 1). In the case of k = 1, we get the following.

A f ix = { 1234, 4312, 3421, 2143, 3412, 1243, 2134, 4321}

= cl({1234})

Al = {1234, 4312, 3421, 2143, 3412, 1243, 2134, 4321,

if (0) 1234 elsel(2)43, i f (0) 4312 else4(3)21, if (0) 3421 else3(4)12, if (0) 2143 else2(1)34, if (0) 3412 else3(4)21, i f (0) 1243 elsel(2)34, i f (0) 2134 else2(1)43, i f (0) 4321 else4(3)12}

= cl({1234, if (0)1234 elsel(2)43})

= cl({1234}) U cl({if (0)1234 elsel(2)43}) (disjoint union)

Thus, in the case of k = 1, minimal algorithm families of closure property are A f ix and its

(15)

complement only, and Al is a disjoint union of the two. Hence, the following holds for k = 1.

Theorem 4 Suppose that /3 is a subset of Al that includes the fundamental form (in other words, 1234 E ,8 C ), and suppose that /3 is closed under substitution. Then, /3 is either Alfix or Al.

We ask whether the same holds for the case of k > 2.

Hypothesis 5 Suppose that is a subset of Ak that contains the fundamental form, and suppose that 13 is closed under substitution. Then, 15 is either Alf. ix or Ak .

The case of k = 2 has huge number of algorithms. As a preliminary work, we consider the case

where two trees of the form T1. are connected by a V node (see Figure 7). We denote the resulting tree by TP5.

0

(A (A

Figure 7 : Tree Tj-.5

In the case of k = 1, the number of leaves is just 4. And, we can have "the flip of scanning order"

at most once, which happens only after 0-cut. However, in the case of k = 1.5, the number of leaves is 8, and "the flip" has three possible patterns; one is after a-cut, and the others are after 0-cut. Thus, we have more complicated algorithms than the case of k = 1. Now, we partition (Aifi5x and) Al-.5 into disjoint components, where each component corresponds to a pattern of occurrences of a-cut and /3-cut.

AL5

= cl(A(12345678

=-

cl(A(12345678;

Ucl(A(12345678;

Ucl(A(12345678;

Ucl(A(12345678;

; 5678; —; —; 5678)) 5678; —; —; 5678))

5678; —; —; if (0)5678 el se5 (6)87)) if (0)5678 else5 {087; —; —; 5678))

if (0)5678 else5 (6) 87; —; —; if (0)5678 else5 (6)87))

13

(16)

Ucl(A(12345678; i f (0)8765 else8(7)56; —; —; i f (0)8765 else8(7)56)) (disjoint union)

Each A(x) denotes a deterministic algorithm that generates a subset of ,A1.5. The meaning of a string x in A(x) is as follows. In the following, assume A(x) is of the form A(Abase; Aa; fi; f2; AQ)•

Abase E Af x • • • When neither a-cut nor /3-cut happens, the algorithm moves as same as a

deterministic algorithm Abase. Here, Abase has a fixed order of scanning leaves, and Abase obeys this order in any input.

Aa E Al • • • When a-cut happens, a deterministic algorithm Aa determines the order of

scanning the leaves in the other subtree of the form T2 .

f1, f2 E {-F-, —} • • • f1 is a flag designating we have "the flip of scanning order" in the case that 0-cut happens at the first leaf. If we have the flip fi = +. Otherwise, f 1 = —.

f2 is a flag designating the scanning order in the case that /3-cut happens the fifth leaf. If flip is done, f2 = +. Else if flip is not done, f2 = —.

Afi E Al • • • A deterministic algorithm that shows the order by which leaves of the next tree T2 is turned over after 13-cut happens at the first leaf, the second and third

leaf assign 0.

Theorem 6 (1) Hypothesis 5 fails in the case of k = 1.5. To be more precise, there are 22'°_l many /3 of the following properties: /3 is a subset of Al', 13 containing the fundamental form (in other words, 12345678 E 13 C A1.5) and 13 is closed under substitution. Here, 2210-1 includes Alfa and A1.5 as well.

(2) Hypothesis 5 fails for every integer k > 2.

(proof) (1) As above, A1.5 is a disjoint union of 210 components and each component is closed

under substitution.

(2) For simplicity, we show the case of k = 2. For each subset B of A1•5, let B' be the set of all

algorithms A for k = 2 satisfying the following: There exist algorithms B, C E B such that A first

computes the left child of the root by B, and if it is 1 then A computes the right child of the root by

C. Then B' is a subset of A2. If B contains the fundamental form of k = 1.5 then B' contains the

(17)

fundamental form of k = 2. And, if B is closed under substitution then so is B'. In addition, if B1 and B2 are disjoint then so are B and B. Therefore, by (1), Hypothesis 5 fails for k = 2. The general case of k > 3 is shown in the same way.

5 Main theorem

In this section we discuss the case where an algorithm family does not contain the fundamental form but is closed under substitution. For k = 1, we consider the class of all algorithms that flip whenever 0-cut happens.

Define A9, A10, • • • , A,5 and A16 as follows.

A9 : if(0) 1234 elsel(2)43

A10 : if(0) 4312 else4(3)21 : if(0) 3421 else3(4)12

Al2 : if(0) 2143 else2(1)34 A13 : if(0) 3412 else3(4)21 Al4 : if(0) 1243 elsel(2)34

A15 : if(0) 2134 else2(1)43

A16 : if(0) 4321 else4(3)12

Then, we examine whether El-distribution is unique with respect to Al —

The 1-set for k = 1 is {1010, 1001, 0110, 0101}. Let (4)1=1010, w2=1001, w3=0110 and w4=0101.

For each i E {1, 2, 3, 4}, let pi denote the probability of a given distribution on 1-set having value wi

4 (then, Epi = 1).

i=1

We calculate the costs of A9,• • • ,A16 on each assignment. The following Table 4 shows the results.

A9 A10 A11 Al2 A13 A14 A15 A16

W1 1010 3 3 2 4 3 2 3 4

W2 1001 2 3 4 3 3 3 4 2

W3 0110 3 4 3 2 2 4 3 3

W4 0101 4 2 3 3 4 3 2 3

Table 4:

By the definition of E' -

C(AD,w) for k = 1 (w E the 1-set, AD

distribution, we get th e fo

15

is not fix type)

llowing equations on the expected value of costs.

(18)

3P1 + 2P2 + 3p3 + 4P4

=3/31 + 3P2 + 4P3 + 2P4

=2pi 4p2 + 3P3 + 3P4

=4/3i + 3P2 + 2P3 + 3P4

=3/31 + 3P2 + 2P3 + 4P4

=2pi 3p2 4p3 + 3P4

=3P1 + 4P2 + 3P3 + 2P4

=4P1 2P2 3P3 + 3P4

Pi +p3 2p4

=Pi + P2 + 2P3

=2P2 +P3 + P4

=2P1 +P2 +4

=P1 + P2 + 2P4

=P2 + 2P3 + P4

=Pi +2p2 +P3

=2p1 +3 +P4

Therefore, it holds that pi = P2 = P3 = P4.

Hence, El-distribution is the uniform distribution on the 1-set. The expected cost is 3.

Next, we ask whether E°-distribution is unique with respect to Alf/ip.

The 0-set for k = 1 is {1000,0100,0010,0001}. Suppose that w5=1000, w6=0100, w7=0010 and w8=0001. For each j E {5, 6, 7,8}, let pi denote the probability of a given distribution on the 0-set

8 having value wi (then, E pi = 1).

i=5

We calculate the costs of A9,• • • ,A16 on each assignment. The following Table 5 shows the results.

A9 A10 A11 Al2 A13 A14 A15 A16

W5 1000 3 2 2 4 2 3 4 2

W6 0100 4 2 2 3 2 4 3 2

W7 0010 2 4 3 2 3 2 2 4

0001 2 3 4 2 4 2 2 3

Table 5: C(AD, w) for k = 1 (u) E the 0-set, AD is not fix type)

(19)

By the definition of E° - 3P5 4P6 2P7 2P8

=2135 + 2P6 + 4P7 + 3P8

=2p5 2P6 + 3P7 + 4P8

=4P6 + 3P6 + 2P7 + 2P8

=2p5 + 2P6 + 3P7 + 4P8

—35 + 4P6 + 2P7 + 2P8

—4/35 + 3P6 + 2P7 + 2P8

=-2p5 + 2P6 + 4P7 + 3P8

distribution, we get the following equations on the expected value of costs.

p5 2p

—2p7 +P8 -P7 + 2P8

=2P6 + P6

=P7 + 2P8

=P5 + 2P6 -2/35 +p6 -2/37 + P8

Hence, it holds that p5 = p6 = p7 = p8.

11 H ence, the E0-distribution is unique. The expected cost is

Therefore, the Es-distribution for k = 1 (i E {0, 1}) is unique and that the E'-distribution is the

eigen-distribution.

The above result is extended as follows.

Theorem 7 (Main theorem) Let i E {0, 1}. Suppose that d is Ei-distribution with respect to Ak — Ak in other words,suppose that d is a distribution on the i-set such that for all A E AkAk f

the average complexity C(A, d) is the same. Then, d is the uniform distribution on the i-set.

(proof) Induction on k, the round of a tree. The case of k = 1 is already shown.

Suppose that theorem is shown for the case of k n. We investigate the case of k n + 1.

17

(20)

Let I, II, III and IV be names of the nodes shown in the Figure 8. For a given distribution d on the

truth assignments, let qj E {0, 1}) be prob[ the node I= j in d]. Let the (i-set) (i E {0, 1}) be the i-set for tree T. For each m E {I, II, III, IV}, we consider the subtree isomorphic to 73 whose root is m. The projection of d to the leaves of the subtree makes a distribution on these leaves. We denote the resulting distribution by d in. Let (d m), be d in under the condition of m=j(j E 10, 1}), that

is,

(d1m)(u) (d1m),,=i(u) =

prob[m=j in d]

undefined

If the denominator > 0,

Otherwise.

A A A

Figure 8 : Tree 7T+1-

We show the following three claims.

Claim 1. Let i, j E {0,1}. Suppose that

qi > 0. Then, for all algorithm X of k = n, for each of the nodes II, III, IV.

d is an E'-distribution on the value of C(X, (d1I)I=j)

(i-set)n+1 and that we have is the same. The same holds

Claim 2. For each j E {0, 1}, each of the nodes II, III, IV.

(d 1)I=.3 is the uniform distribution on (j-set)n. The same holds for

Claim 3. Let i E {0, 1}. For every co E (i-set)1, let prob[w] denote the probability that the nodes I, II,

18

(21)

III and N have values the 1st, 2nd, 3rd arid 4th bit of w respectively in d. Then, for every w E (i- set) 1, the value of prob[w] is the same.

By Claims 2 and 3, we know that the theorem holds for the case of k = n + 1.

Claim 1. Let i, j E {0, 1}. Suppose that d is an E1-distribution on (i-set)n+1 and that we have qi > 0. Then, for all algorithm X of k = n, the value of C(X, (d I)I—j) is the same. The same holds for each of the nodes II, III, IV.

(proof of Claim 1) Case 1: i = 1. We investigate the following algorithm A, where X, Y, Z and W are algorithms for k = n.

A: Find the value of IV with algorithm W, then 1I[ with Z, II with Y and finally I with X.

We fix Y, Z and W . Then, we get the following.

C(A, d) = (constant) + goC(Y, (d II)II=1) + ql (C(Y, (4I)II=o) + C(X, (dII)i=1))

= (constant) + q,C(X, (d I)I=1)(5.1)

We investigate the following algorithm A'.

A': Find the value of I with algorithm X , then II with Y, III with Z and finally IV with W . We fix Y, Z and W as well as A. Then, we get the following.

C(A', d) = goC(X, (dII)I_o) + q,C(X, (d1I)I-1) + (constant)(5.2)

Case 1.1: ql > 0.

Since d is an E1-distribution with respect to An+1 — A71, the value of C(A, d) does not depend on X. By (5.1), neither does the value of C(X, (d~I)I=1)

Case 1.2: ql = 0. Then, go = 1, and hence (dII)I—o=dlI. By (5.2), the following holds.

C(A', d) = C(X, dII) + (constant).

Hence, C(X, (dlI)I—o)(=C(X, d I)) does not depend on X.

As a special sub-case of Case 1.1, consider where 0 < ql < 1. We focus on (5.2). Since

19

(22)

C(X, (dII)1=1) does not depend on X and qo 0, neither does C(X, (dII)r=o)•

Case 2: i = 0. Let s denote the probability of III = IV = 0 in d (by definition, obviously ql < s).

Observe that the following holds.

C(A, d) = s(constant) + (1 — s){(constant) + C(X, (dlI)i_o)}

= (constant) + (1 — s)C(X, (d I)i—o)(5.3)

In same way as for Case 1, the following holds.

C(A', d) = goC(X, (dII)1=0) + g1C(X, (djI)1-1) + (constant)(5.4)

In addition, define A" as follows.

A": Find the value of II with algorithm Y, then I with X, III with Z and finally IV with W . We fix Y, Z and W as well as A and A'. Then, the following holds.

C(A", d) = prob[I = 0, II = 0]{C(X, (dIl)i=o) + (constant)1+

prob[I = 0, II = 1](constant)+

prob[I = 1, II = 0]{C(X, (diI)7_1) + (constant)}

= (1 — s)C(X, (d I)i_o) + (constant) + g1C(X, (d1I)Z_1) (5.5)

Case 2.1: s < 1. By (5.3), C(X, (d I)i—o) does not depend on X. If, in addition, qi > 0, by (5.5), C(X, (d1I)i-1) does not depend on X.

Case 2.2: Otherwise. In this case, s = 1. If qi > 0, by (5.5), C(X, (d1I)Z=1) does not depend on

X.

If both qo and ql are positive, by (5.4), the second term does not depend on X and neither does C(X, (dII)i_o). If qo > 0 and qi = 0 then by (5.5), the second term is 0 and hence C(X, (dII)i—o) does not depend on X. In summary, if qo > 0 then C(X, (d I)i_o) does not depend on X.

Therefore, if qi > 0(j E {0, 1}), for all algorithm X of k = n, the value of C(X, (dlI)i=j) is the

same. The same holds for each of the nodes II, III, IV. Hence, Claim 1 holds. Q.E.D.(Claim 1)

(23)

Claim 2. For each j E {0, 1}, (d I)' is the uniform distribution on each of the nodes II, HI, N.

(proof of Claim 2)

By Claim 1 and the induction hypothesis that the theorem holds for (Claim 2)

(j-set)n. The same holds for

k = n, Claim 2 holds. Q.E.D.

Claim 3. Let i E {0,1}. For every co E (i-set)', let prob[w] denote the probability that the nodes I, II, III and IV have values the 1st, 2nd, 3rd and 4th bit of co respectively in d. Then, for every co E (i-set)1, the value of prob[w] is the same.

(proof of Claim 3) Case 1: i = 1.

For each j E {0, 1} let (5i denote the uniform distribution on (j-set)Th . Fix an algorithm Y of k = n, where Y is not fix-type (in other words, Y E An — A). Let Ci denote C(Y, 8j).

Define ,41,11.11 and AC' as follows.

•: Find the value of I with algorithm Y, then II with Y, ifi with Y, IV with Y.

•: Find the value of II with algorithm Y, then I with Y, III with Y, IV with Y.

•: Move as same as A1 provided that 13-cut does not happen at I. If 0-cut happens there, find the value of IV with Y and then HE with Y.

By Claim 2, we have the following.

C(Ai, d) =prob[1010] x 2C, + prob[0110](Co + 2C,)+

prob[1001](Co + 2C,) pro10101](2Co + 2C,)

C(ki,d) =prob[1010](Co + 2C,) + prob[0110] x 2C,+

prob[1001](2C0 + 2C,) + prob[0101](Co + 2C1)

=prob[1010](Co + 2C,) + prob[0110](Co + 2C,)+

prob[1001] x 2C1 + prob[0101](2C0 + 2C1)

21

(24)

A2 A/2

..e4T

Since C(Ai,d) — C(AC,d) = 0, we get the following.

—prob[1010] + prob[0110] — prob[1001] + prob[0101] = 0

By exchanging the role of 34 for 12,

—prob[1010] — prob[0110] + prob[1001] + prob[0101] = 0

Since C(A1, — C(AC', d) = 0, we get the following.

—prob[1010] + prob[1001] = 0

By (5.6), (5.7) and (5.8), the following holds.

prob[1010] = prob[0110] = prob[1001] prob[0101] = Case 2: Otherwise. In this case i = 0.

In the same way as the Case 1, we fix an algorithm Y of k = n, where Y is not fix-type.

Define A2, and as follows.

: Find the value of I with algorithm Y, then II with Y, DI with Y, IV with Y.

: Find the value of II with algorithm Y, then I with Y, III with Y, IV with Y.

: Find the value of ifi with algorithm Y, then IV with Y, I with Y, II with Y.

: Find the value of IV with algorithm Y, then III with Y, II with Y, I with Y.

(5.6)

(5.7)

(5.8)

(25)

By Claim 2, we have the following.

C(A2, d) =prob[1000](2C0 + C1) + prob[0100](3C0 + C1)+

prob[0010] x 2C0 + prob[0001] x 2C0

C(A2, d) =prob[1000] (3C0 + C1) + prob [0100] (2C0 + C1)+

prob[0010_ x 2C0 + prob[0001] x 2C0

C(A2i d) =prob[1000] x 2C0 + prob[0100] x 2C0+

prob[0010] (2C0 + C1) + prob [0001] (3C0 + C1)

C(A2', d) =prob[1000] x 2C0 + prob[0100] x 2C0+

prob [0010] (3C0 + C1) + prob [0001] (2C0 + C1) Since C(A2, d) — C(A2, d) = 0, we get the following.

—prob[1000] + prob[0100] = 0

Since C(A2, d) — C (AT , d) = 0, we get the following.

—prob[0010] + prob[0001] = 0

Since C(A2, d) — C(A2', d) = 0, we get the following.

prob [1000] Ci + prob [0100] (Co + C1) — prob [0010] (Co + C1) — prob [0001] C1 = 0 By (5.9), (5.10) and (5.11), the following holds.

rob1000prob[0100] rob0010prob[0001]

P[]=P'[]=PL]==41

Hence, Case 2 holds.

23

(5.9)

(5.10)

(5.11)

(26)

By Case 1 and 2, Claim 3 holds. Q.E.D.(Clairn 3)

By Claim 2 and 3, every Ei-distribution (i E {0, 1}) with respect to An+1 — A7i+xl is the uniform distribution on (i-set)+1. Hence, the theorem holds for k = n 1.

Hence, by induction, for all positive integer k, every E'-distribution (i E {0, 1}) with respect to

Ak —Akj is the uniform distribution on the i-set.

(27)

6 Appendix: algorithm family without closure property

In the previous sections we investigate algorithm families with closure property. In this section, we investigate algorithm families without closure property.

Example 1 (An example that every distribution on the 1-set is the El-distribution and eigen distri- bution is unique)

We consider L1 = {A1, A5} = {1234,3412}.

Al A5

1234 3412

W1 1010 2 2

W2 1001 3 3

W3 0110 3 3

W4 0101 4 4

By the above table, for each wi E (1-set)1(i E {1,2,3,4}), the deterministic algorithm 1234 and

3412 have the same computational complexity. Hence, we know that every distribution on the 1-set is El-distribution with respect to L1. Let pci, be the probability of a given distribution d on the 1-set having value w.

min

AD E L1 C (AD , d) = C(1234, d) =213iino 303Loi Pgi1o) + 4Pg1o1

d

=2 +Plooi +Polio + 4Po1o1

P(T) (for L1) = max min C (AD,d)

dED ADEL'

max(2 + Piio + 2goiloi) = 4

dED

In the eigen distribution 8 for L1, the following holds.

PLio=PLoi—=0,=

25

(28)

Hence, the eigen distribution is unique.

Example 2 (An example that there are uncountably many .E1--

We consider L2 = {A1, A8} = {1234,4321}.

distributions and eigen-distributions)

Al Ag

1234 4321

wi 1010 2 4

W2 1001 3 3

W3 0110 3 3

w4 0101 4 2

For a distribution d on the 1-set, we have the following.

C(1234, d) = 2 + Plooi Pgiio + 2Pg1o1 C(4321, d) = 2 + Pooi + Pg + 2poo

The necessary and sufficient condition for "d is El-distribution with respect to L2" is 14010 = P01101'

Hence, we know that there are uncountably many E'-distributions with respect to L2.

For a distribution d on the 1-set, the following holds.

min C(AD,d) = 2+ + Pgiio) + 2minfPgioi

ADEL2

Plow The necessary and sufficient condition for "d is eigen-distribution with respect to L2"is Pow =

Poioi.

Therefore, we know that there are uncountably many eigen-distributions. Moreover, we know that

"d is El -distribution" if and only if "d is eigen-distribution".

Thus, in general, the uniqueness of eigen-distribution does not hold in the case of algorithms

without closure property.

(29)

References

[1] D.E.Knuth,R.W.Moore:An analysis of alpha-beta pruning,Artificial Intelligence 6(4) (1975) 293-

326.

[2] C.G.Liu,K.Tanaka:Eigen-distribution on random assignments for game trees ,Information Process- ing Letters104(2007)73-77.

[3] T.Suzuki:Failure of the uniqueness of eigen-distribution on random assignments for game trees, Siirikaisekikenkyftsho-K-Okyiiroku,to appear,Research Institute for Mathematical Sciences,

Kyoto University.

[4] A.C.-C. Yao:Probabilistic computations:towards a unified measure of complexity, in: Proc. 18th Annual IEEE Symposium on Foundations of Computer Science(FOCS),1977,pp.222-227.

Acknowledgements

The author is grateful to his supervisor Associate Professor Toshio Suzuki for valuable discussions.

He also thanks to Yamato Goto for helpful comments in our seminar.

27

Figure 1: Tree  Tl. V V A V A V V V A V Figure  2:  Tree   T.
Figure  6:  The  formation  of  the  0-set.

参照

関連したドキュメント

Nov, this definition includ.ing the fact that new stages on fundamental configuration begin at the rows 23 imply, no matter what the starting configuration is, the new stages

Standard domino tableaux have already been considered by many authors [33], [6], [34], [8], [1], but, to the best of our knowledge, the expression of the

An example of a database state in the lextensive category of finite sets, for the EA sketch of our school data specification is provided by any database which models the

Comparing the Gauss-Jordan-based algorithm and the algorithm presented in [5], which is based on the LU factorization of the Laplacian matrix, we note that despite the fact that

Key words and phrases: Linear system, transfer function, frequency re- sponse, operational calculus, behavior, AR-model, state model, controllabil- ity,

We argue inductively for a tree node that the graph constructed by processing each of the child nodes of that node contains two root vertices and that these roots are available for

[11] Karsai J., On the asymptotic behaviour of solution of second order linear differential equations with small damping, Acta Math. 61

In [9], it was shown that under diffusive scaling, the random set of coalescing random walk paths with one walker starting from every point on the space-time lattice Z × Z converges