538 Improving the Efficiency of a Problem Solver
Th~ Chllic~ for lh~ paralllcl~rs to follow this first t~rlll program continues looking aheaLl. At a ply of 4 the
llf th~ scoring polynlllllial and thcir cocllici~nts th~n b~ program will stop and evaluate the resulting board posi-
Clllll~S a Illatter of concern. Two cours~s ar~ open- tion if conditions (I) and (3) ahove arc not met. At a ply
~ith~r the experilll~ntcr can d~cid~ what these suhse- of 5 or greater. the program stops the look-ahead when-
ljuent t~rms are to h~. or he can arrange for the program ever the next ply level docs not offer a jump. At a ply
to make the s~kction. We will discuss the first case in of I I or greater. the 'program will terminate the look-
some detail in connection with the rot~-Icarning studies aheaLl. even if the next move i,;"to he a jump, should one
am! leave for a lat~r sedion the discussion of various siLle at this time be ahead by more than two kings (to
program methods of s~lccting parameters and adjusting prevent the needless exploration of obviously losing or
their coetlicients. winning sequences), The program stops at a ply of 20
It is not satisfactory to s~lect the initial move which regardkss of all conditions (since the memory space for
kads to the hoard position with the highest score, since the look-ahead moves is then exhausted) and an adjust-
to reach this position would require the cooperation of ment in score is made to allow for the pending jump.
the opponent. Instead. an analysis must he made pro- Finally. an adjustment is made in the levels of the break
ceeding h(/ck \I"(/rd from the evaluated board positions points between the different conditions when time is
through the "tree" of possible moves, each time with saved through rotc learning (see below) and when the
consideration of the intent of the side whose move is total number of pieces on the board falls below an arbi-
being examined, assuming that the opponent would trary number. All break points are determined by single
always attempt to minimize the machine's score while data words which can be changed at any time by manual
the machine acts to maximize its score. At each branch intervention.
point, then. the corresponding hoard position is given This tying of the' ply with board conditions achieves
the score of the hoard position which would result from three desired re~ults. In the first place. it permits board
the most favorahle move. Carrying this "minimax" pro- evaluations to be· made und'cr conditions of relative sta-
cedure hack to the starting point results in the selection bility for so-called dead positions. as defined by Turing.l~
of a "best move." The score of the board position at the Secondly, it causes greater surveillance of those paths
end of the most likely chain is also brought back. and for which offer better opportunities for gaining or losing an
learning purposes this score is now assigned to the pres- advantage. Finally, since branching is usually seriously
ent board position. This process is shown in Fig. 2. The restricted by a jump situation. the total number of board
best move is executed, reported on the console lights. positions and moves to be considered is still held down
and tabulated by the printer. to a reasonable number and is more equitably distributed
The opponent is then permitted to make his move, between the various pos~ible initial moves.
which can be communicated to the machine either by As a practical maller, machine-playing time usually
means of console switches or by means of punched has heen limited to appro;.:imately 3D seconds per move.
cards. The computer verifies the legality of the oppo- Elaborate table-lookup procedures. fast sorting and
nent's move, rejecting l-I or accepting it, and the process searching procedures, and a variety of new programming
is repeated. \Vhen the program can look ahead and pre- tricks were developed, and full use was made of all of the
dict a win, this fact is reported on the printer. Similarly, resources of the IBM 704 to increase the operating speed
the program concedes when it sees that it is going to as much as possible. One can, of course, set the playing
lose. time at any desired value by adjustments of the permitted
ply; too small a ply results in a bad game and too large
• Ply lilllilatiolls a ply makes the game unduly costly in terms of machine
Playing-time considerations make it necessary to limit time.
the look-ahead distance to some fairly small value. This
• Other modes of play distance is defined as the ply (a ply of 2. consisting of
one proposed move hy the machine and the anticipated For study purposes the program was written to accom-
reply by the opponent). Th~ ply is not fixed hut depends modate several variations of this basic plan. One of these
upon the dynamics of the situation. and it varies from permits the program to play against itself. that is. to play
move to move and from branch to branch during the both sides of the game. This mode of play has been
move analysis. A great many schemes of adjusting the found to be especiaJly good during the early stages of
look-ahead distance have been tried at various times, learning.
some of them quite complicated. The most effective one. The program can also follow book games presented to
although quite detailed. is simple in concept and is as it either on cards or on magnetic tape. When operating
follows. The program always looks ahead a minimum in this mode. the program lkcides at each point in the
Llistance. which for the op~ning game and without learn- game on its ncxt move in the usual way and rcports this
ing is usually set at three moves. At this minimum ply proposeLl move. Instead of actually making this move.
the program will evaluate the boarLl position if none of the program refers to the ~torcd record of a book game
the following conditions llCCurS: (I) the next move is a and makes the book move. The program r~cords its
jump. (2) the last move was a jump. or (3) an exchange evaluation of the two moves. and it also counts and re-
olIcr is possihk. If any on~ of these conditions exists. the ports the number of possible moves which the program
-
Some studies in machine learning using the game of Checkers · PDF
kaynak: jeo.kompas.com