4.3.3 Some Studies in Machine Learning Using the Game of Checkers 545
were assigned equal weights. During the first 14 games polynomial was negative, changes were made to the co-
Alpha was assigned the White side, with Beta con- efficients associated with positively contributing terms.
strained as to its first move (two cycles of the seven No changes were made to coefficients associated with
different initial moves). Thereafter, Alpha was assigned terms which happened to. be zero. For the negative delta
Black and White alternately. During this time a total case, changes were made to the coefficients of all con-
of 29 different terms was dis·carded and replaced, the tributing terms, just as before.
majority of these on two different- occasions. A second defect seemed to be connected with the
Certain other figures obtained during these 2S games too frequent introduction of new terms into the scoring
~Ire of interest. At frequent intervals the program lists polynomial and the tendency for these new terms to
the 12 leading terms in Alpha's scoring polynomial with assume dominant positions on the basis.·of insufficient
their correlation coefficients and a running count of the evidence. This was remedied by the simple expedient
number of times these coefficients have been altered. of decreasing the rate of introduction of new terms
Based on these samplings, one observes that at least 20 from one every eight moves to one every 32 moves.
different terms were assigned the largest coefficient at The third defect had to do with the complete exclusion
some time or other, some of these alternating with other from consideration of many of the board positions
terms a number of times, and two even reappearing at encountereq during play by reason of the minimum
the top of the list with their signs reversed. While these limit on delta. This resulted in the misassignment of
variations were more violent at the start of the series credit to those board positions which permitted spec-
of games and decreased as time went on, their presence tacular moves when the credit rightfully belonged to
indicated that the learning procedure was still not com- earlier board positions which. had permitted the neces-
pletely stable. During the first seven games there were sary groundlaying moves. Although no precise way has
at least 14 changes in occupancy at the top of the list yet been devised to insu,e the corr:ect assignment of
involving 10 different terms. Alpha won three of these credit, a very simple expedient was found to be most
gamcs and lost four. The quality of the play was ex- effective in minimizing the adverse effects of earlier
trcmely poor. During the next seven games there were assignments. This expedient was to allow the span of
at least eight changes made in the top listing involving remembered moves, over which delta is computed, to
live different terms. Alpha lost the first of these games increase until delta exceeded the arbitrary minimum
and won the next six. Quality of play improved steadily value, and then to apply the corrections to the coeffi-
hut the machine still played rather badly. During Games cients as dictated by the terms in the retained poly-
15 through 11 there were eight changes in the top listing nomial for this earlier board position. In this case, the
involving five terms; Alpha winning five g;,mes and difficulty which was mentioned in the section on In-
losing two. Some fairly good amateur players who stabilities in connection with an arbitrary increase in
played the machine during this period agreed that it span, does not occur after each correction, since no
lI'as "triek~' but beatable". During Games 22 through 28 changes are made in the coefficients of the scoring
there \\'ere at least four changes involving three terms. polynomial as long as delta is below the minimum value.
Alpha \\'on two games and lost five. The program ap- Of course, whenever delta does exceed the minimum
peared to be approaching a quality of play which caused value the program must then recompute the initial scor-
it to he described as "a better-than-average player". A ing polynomial for the then current board position and
detailed ~Inalysis of these results indicated that the learn- so restart the procedure with a span of a single remem-
ing procedure did work and that the rate of learning bered move-pair. This over-all procedure rectifies the
\\as surprisingly high, but that the learning was quite defect of assigning credit to a board position that lies
erratic and none too stable. too far along the move chain, but it introduces the
possibility of assigning credit to' a board position that • Second series oj tests is not far enough along.
Some of the more obvious reasons for this erratic As a partial expedient to compensate for this newly
hehavior in the first series of tests have been identified. introduced danger, a change was made in the initial
The program was modified in several respects to i~ board evaluatio·n. Instead of evaluating the initial board
prOve the situation, and additional tests were made. Four positions directly, as was done before, a standard but
l\f these modifications are important enough to justify a rudimentary tree-search (terminated after the first non-
uetaileu explanation. jump move) was used. Errors due to impending jump
In the first place, the program was frequently fooled situations were eliminated by this procedure, and be-
hy bad play on the part of its opponent. A simple solu- cause of the greater accuracy of the evaluation it was
tion was to chan!!e the correlation coefficients less dras- possible to reouee the minimum delta limit by a small
tically when delta was positive than when delta was amount.
negative. The procedure finally adopted for the positive F.inally, to avoid the danger of having Beta adopt
delta case was to make corrections to selected terms in Alpha's polynomial as a result of a chance win on
the polynomial only. When the scoring polynomial was Alpha's part (or perhaps a situation in which Alpha
Positive. changes were made to coefficients associated had allowed its polynomial to degenerate after an early
lVith the negatively contributing terms, and when the or midgame advantage had been gained), it was decided
Some studies in machine learning using the game of Checkers · PDF
kaynak: jeo.kompas.com