Some studies in machine learning using the game of Checkers · PDF

kaynak: jeo.kompas.com
PDF görünümü Sayfa metni Paylaş Orijinal PDF ↗
/ 20

SAYFA 12 / 20

546 Improving the Efficiency of a Problem Solver to re4uire a majority of wins on Alpha's p;u I before game of checkers in a relatively short period 01 time. Jkta would aLlopt Alpba's scoring polynomial. As a final precautionary note, it should be stateLl that \Vith these mollifications, a new series of t,~,>ts was these experiments have not encompassed a sulliciently maLIc. In order to reduce tbe learning time, the initial large series of games to demonstrate unamhil!uouslv selection of terms was made on the hasis of tl,,; results that the learning procedure is completely stable -or th;t ohtaineLl during the carl ier tests, but no allent ion was it will necessarily lend to the best possible choice of paid to their previously assigned weights. In contrast parameters and coetlicients.' . with the earlier erratic behavior, the revised prol~ram ap- Rote learning vs. generalization peared to be extremely stahle, perhaps at the ex pense of a somewhat lower initial learning rate. The way in which Some interesting comparisons can he niade between the the character of the evaluation polynomial altered as playing style developed hy the learning-by-generalization learning progresseLl is shown in Fig. 4. program and that developed by the carl ier rotc-learning The most obvious change in behavior was in regard procedure. The program with rote learning soon learned to the relative number of games won hy Alpha ;,nd the to imitate master play during the opening moves. It was prevalence of draws. During the first 2H game'> of the always quite poor during the middle game, b~t it easily earlier series Alpha won 16 and lost 12. The eorre- learned how to avoid most of the obvious traps during sponding figures for the first 2M games of the neW series end-game play and could usually drive on toward a win were 18 won by Alpha, and four lost, with six draws. when left with a piece advantage. The program with the In all cases the names were terminated, if not finished, generalization procedure has never learned to play in in 70 moves and'"a judgment made in terms of tIll; final a conventional manner and its openings are apt to be p:>sitions. Unfortunately, these ligures arc not '>tric~ly weak. On the other hand. it soon learned to play a comparable because of the decreased frequency With good middle game: and with a piece advantage it usually which Beta adopted Alpha's polynomial during the ,ccond polishes off its -opponent' in short order. Interestingly series, both by design and hecause a programming crror enough, after 28 games it had still not learned how to immobilized the adoption procedure during part of the win an end game with two kings against one in a tests. Nevertheless, the great decrease in the nUlllhcr of double corner. losses and the prevalence of draws seemed to indicate Apparently, rote learning is of the greatest help, that the learning process was much more stable. Some either under conditions when the results of any specific typical games from this second series arc given in Ap- action are long delayed, or in those situations where pendix B. highly specialized techniques are required. Contrasting As learning proceeds, it should become harder and with this, the generalization proceG'Jre is most helpful harder for Alpha .to improve its game, and one would in situations in which the available permutations of con- expect the number of wins hy Alpha to decrease with ditions are large in number and when the consequences time. If secondary maxima in scoring space arc en- of any specific action 'are not long delayed. countered, one might even find siluations in which /\Ipha •. Procedures i/ll'oll'ing both forms of learning wins less than half of the games. With Beta at such a maximum a~y minor change ill Alpha's polynlJlllial The next obvious step is to combine the better features would result in a degradation of ils play, and' several of the rote-learning procedure with a generalization oscillations about the maximulll might occur 11l'IIlre scheme. This must be done with some care, since it is Alpha landed at a point which WlHlll1 enable it to heat not practical to update the previously saved information Beta. Some evidence of this trend is discernible in Ihe after every change in the evaluation polynomial. A com- play, although many more games \\ill have 10 he I'I;p,ed promise solution might be to save only a very limited before it can be ohserved with certainty. amount of information during the early stages of learn- The tentative conclusions which can be drawn InJlll ing and to increase the amount as warranted by the these tests are: increasing stability of the evaluation coetlicient with (I) A simple generalization Schl'1l1e of the typl' hne learning. For example, the program could he arranged used can be an effective learning device for pn1hll'nls to save only the piece-advantage term at the start. -At amenable to tree-searching procedures. some stage in the learning process the next term could (2) The memory requirements llf such schemes ;Ire be added. perhaps when no change had been made in quite modest and remain fixed with time. the parameter used for this tern; during some fairlv (3) The operating times arc abll n:asonahle and rl'- long period, say for three complete games~ If and whe~ main fixed. independent of the anll11ll1t of al'l'umulall'd the program is able to play an additional perioLl without learning. changes in the next parameter, this could also be added. (4) Incipient forms of instabilil\' in the s"IUlilHl l';lIl et cetera. \Vhenever a change does occur in a parameter he expected hut, at least for Ihe chl'l'ker pr"gralll. Illl'w previously assumed to be stable the entire memory can be dealt with hy quite straighlf,l['ward pnlcl'lhlll·S . tape could be reviewed, all terms involving the changed (5) Even with the ineolllplete and redundant sl'l Ilf parameter and those lower on the list could be ex- parameters which have been used III date. it is Pllssihle punged, and the program could drop hack to the earlier for the computer to learn to play ;I bl'tter-than-a\'l'r;l~e condition with respect to its term-saving schedule.