The mystery of Alex Bernstein

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Sergei S. Markoff
Posts: 227
Joined: Mon Sep 12, 2011 11:27 pm
Location: Moscow, Russia

Re: The mystery of Alex Bernstein

Post by Sergei S. Markoff »

Rom77 wrote: Sat Jun 08, 2019 2:51 pm See also quotes from an article in the journal "Problems of Cybernetics" No. 15, 1965, which was written by E.A. Evgrafov and I.B. Zadyhailo:
“Only small isolated groups work on the creation of a chess machine, and not all the time, but from time to time. <...> This article contains the results of the work we have done in 1961-1962.”
"*) While making a report at a seminar at Moscow State University, G.M. Adelson-Velsky reported that he had conducted similar experiments. He claimed that he had succeeded in achieving the power of playing an automaton corresponding to approximately the fourth category. Unfortunately, the report was devoted only to the implementation technique busting, and the degree of use of chess theory did not say anything. The games played by the machine were not published. "
Do you have this article? I checked http://publ.lib.ru/ARCHIVES/P/''Problem ... iki''.html, but it looks that №15 is absent.

P.S. I'm finally got it.

https://yadi.sk/d/rDcZHUk-K6G7PA
The Force Be With You!
Rom77
Posts: 45
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: The mystery of Alex Bernstein

Post by Rom77 »

Sergei S. Markoff wrote: Sat Jun 08, 2019 3:11 pm
Rom77 wrote: Sat Jun 08, 2019 2:51 pm See also quotes from an article in the journal "Problems of Cybernetics" No. 15, 1965, which was written by E.A. Evgrafov and I.B. Zadyhailo:
“Only small isolated groups work on the creation of a chess machine, and not all the time, but from time to time. <...> This article contains the results of the work we have done in 1961-1962.”
"*) While making a report at a seminar at Moscow State University, G.M. Adelson-Velsky reported that he had conducted similar experiments. He claimed that he had succeeded in achieving the power of playing an automaton corresponding to approximately the fourth category. Unfortunately, the report was devoted only to the implementation technique busting, and the degree of use of chess theory did not say anything. The games played by the machine were not published. "
Do you have this article? I checked http://publ.lib.ru/ARCHIVES/P/''Problem ... iki''.html, but it looks that №15 is absent.

P.S. I'm finally got it.

https://yadi.sk/d/rDcZHUk-K6G7PA
Не могу отправить Private message. Зайдите на форум kasparovchess в переписки, я ответил там.
Sergei S. Markoff
Posts: 227
Joined: Mon Sep 12, 2011 11:27 pm
Location: Moscow, Russia

Re: The mystery of Alex Bernstein

Post by Sergei S. Markoff »

Sergei S. Markoff wrote: Sat Jun 08, 2019 3:11 pm
Rom77 wrote: Sat Jun 08, 2019 2:51 pm See also quotes from an article in the journal "Problems of Cybernetics" No. 15, 1965, which was written by E.A. Evgrafov and I.B. Zadyhailo:
“Only small isolated groups work on the creation of a chess machine, and not all the time, but from time to time. <...> This article contains the results of the work we have done in 1961-1962.”
"*) While making a report at a seminar at Moscow State University, G.M. Adelson-Velsky reported that he had conducted similar experiments. He claimed that he had succeeded in achieving the power of playing an automaton corresponding to approximately the fourth category. Unfortunately, the report was devoted only to the implementation technique busting, and the degree of use of chess theory did not say anything. The games played by the machine were not published. "
P.S. I'm finally got it.

https://yadi.sk/d/rDcZHUk-K6G7PA
So, in brief, what we can see here. They did some work in 1961—1962 and provides us with some routines for M-20 (machine code + comments). This code reencodes chess position structure to obtain piece-to-field interactions table that includes 7 different features (1. Piece attacks field and can move to it, 2. Pieces can move, but not attacking, 3. Piece can't move but attacking, 4. Piece attacks field seme-inderictly (through a piece that attacks field), 5. The same through a pawn that attacks field, 6. Piece attacks field indirectly (through piece that don't attack field), 7. Pawn can move to a field but there are obstacles (field is occupied or intermediate field is occupied).

They also refers to Smilga to whom they discussed the problem despite he has a different views.

Also there is a reference to Adelson-Velsky (who created chess-playing program playing at tle level of 4th grade, but they never seen any games of it).
The Force Be With You!
Gerd Isenberg
Posts: 2250
Joined: Wed Mar 08, 2006 8:47 pm
Location: Hattingen, Germany

Re: The mystery of Alex Bernstein

Post by Gerd Isenberg »

Thank you both Roman and Sergei for providing that information on Shura-Bura's Program!
Sergei S. Markoff
Posts: 227
Joined: Mon Sep 12, 2011 11:27 pm
Location: Moscow, Russia

Re: The mystery of Alex Bernstein

Post by Sergei S. Markoff »

Gerd Isenberg wrote: Sat Jun 08, 2019 6:56 pm Thank you both Roman and Sergei for providing that information on Shura-Bura's Program!
Thank you, Gerd!

BTW, some small corrections on the role of Smilga. He wasn't a programmer and he never worked in Steklov's institute. He was a physicist and science journalist [1]. He wrote a paper with popular overview of the chess programming area [2]. Evgrafov and Zadyhailo mentions him in their paper in [3] this way:

"When thinking about the information needed for a chess player, we worked closely with V. P. Smilga. Although his views on the task as a whole were different from ours (see [A]), this cooperation was very valuable to us. We take the opportunity to express our gratitude to V. P. Smilga".

[A] here — is the wrong (shifted) link to Lasker probably instead of correct link to [4]. I can't found [4], but I will obtain the paper version shortly.

1. https://ru.wikipedia.org/wiki/Смилга,_В ... р_Петрович
2. Смилга В. Возможен ли шахматный автомат? / Шахматы в СССР, №6, 1956 // https://yadi.sk/i/s2DgNUFKzcu7Ow [Smilga V. Is a chess automation possible? / Chess in USSR, No. 6, 1956]
3. М. А. Евграфов, И. Б. Задыхайло (1965). Некоторые соображения о программировании шахматной игры / Проблемы кибернетики, №15, 1965 // https://yadi.sk/d/rDcZHUk-K6G7PA [Marat A. Evgrafov, Igor B. Zadyhailo (1965). Some Considerations for Chess Game Programming. in Problems of Cybernetic, No. 15]
4. Смилга В.П. Электронный гроссмейстер / Знание — сила, №12, М., 1963. [Smilga V.P. Electronic grandmaster / Znaniye — Sila, No. 12, 1963]
The Force Be With You!
chrisw
Posts: 4313
Joined: Tue Apr 03, 2012 4:28 pm

Re: The mystery of Alex Bernstein

Post by chrisw »

Sergei S. Markoff wrote: Sat Jun 08, 2019 7:41 pm
Gerd Isenberg wrote: Sat Jun 08, 2019 6:56 pm Thank you both Roman and Sergei for providing that information on Shura-Bura's Program!
Thank you, Gerd!

BTW, some small corrections on the role of Smilga. He wasn't a programmer and he never worked in Steklov's institute. He was a physicist and science journalist [1]. He wrote a paper with popular overview of the chess programming area [2]. Evgrafov and Zadyhailo mentions him in their paper in [3] this way:

"When thinking about the information needed for a chess player, we worked closely with V. P. Smilga. Although his views on the task as a whole were different from ours (see [A]), this cooperation was very valuable to us. We take the opportunity to express our gratitude to V. P. Smilga".

[A] here — is the wrong (shifted) link to Lasker probably instead of correct link to [4]. I can't found [4], but I will obtain the paper version shortly.

1. https://ru.wikipedia.org/wiki/Смилга,_В ... р_Петрович
2. Смилга В. Возможен ли шахматный автомат? / Шахматы в СССР, №6, 1956 // https://yadi.sk/i/s2DgNUFKzcu7Ow [Smilga V. Is a chess automation possible? / Chess in USSR, No. 6, 1956]
3. М. А. Евграфов, И. Б. Задыхайло (1965). Некоторые соображения о программировании шахматной игры / Проблемы кибернетики, №15, 1965 // https://yadi.sk/d/rDcZHUk-K6G7PA [Marat A. Evgrafov, Igor B. Zadyhailo (1965). Some Considerations for Chess Game Programming. in Problems of Cybernetic, No. 15]
4. Смилга В.П. Электронный гроссмейстер / Знание — сила, №12, М., 1963. [Smilga V.P. Electronic grandmaster / Znaniye — Sila, No. 12, 1963]
I guess a big handicap to Soviet research and development in this field was the total embargo and economic sanctions preventing equipment availability. I’m not sure of how reflective of reality was the scene in Deutschland 86 when a DDR agent in NATO HQ sent a vitally important 8” floppy back to DDR counter intelligence and nobody could find a PC with which to read it. We know by now, just how much stuff can get done by quite ordinary people when hardware and software is ubiquitous. We also know now, how little time is needed to catch up and surpass.
Sergei S. Markoff
Posts: 227
Joined: Mon Sep 12, 2011 11:27 pm
Location: Moscow, Russia

Re: The mystery of Alex Bernstein

Post by Sergei S. Markoff »

chrisw wrote: Sat Jun 08, 2019 7:58 pm I guess a big handicap to Soviet research and development in this field was the total embargo and economic sanctions preventing equipment availability. I’m not sure of how reflective of reality was the scene in Deutschland 86 when a DDR agent in NATO HQ sent a vitally important 8” floppy back to DDR counter intelligence and nobody could find a PC with which to read it. We know by now, just how much stuff can get done by quite ordinary people when hardware and software is ubiquitous. We also know now, how little time is needed to catch up and surpass.
I think in 1950s and 1960s equipment availability for chess programming was almost the same in the USA and USSR. Of course, USSR started it's own computer production later than USA, but since the end of 1940s a lot of resources was allocated to this area to remove the gap. The problems emerged later, when USSR decide to abandon it's own computing hardware platforms and change to copying Western architectures . See https://en.wikipedia.org/wiki/ES_EVM, https://en.wikipedia.org/wiki/SM_EVM for details. And finally USSR came to the age of PCs underprepared.
The Force Be With You!
Sergei S. Markoff
Posts: 227
Joined: Mon Sep 12, 2011 11:27 pm
Location: Moscow, Russia

Re: The mystery of Alex Bernstein

Post by Sergei S. Markoff »

Finally I've got some progress! :)

"Samuel has long maintained that his ignorance of checkers was helpful in getting the program going, that he was never tempted to put in what he himself knew, because he knew nothing. But ignorance didn’t help the hopeful designers of chess machines, and in fact, one of the first really successful programs was done by Alex Bernstein, who knew a great deal about chess to begin with, and soon learned more. Bernstein had a flair for it. He had begun playing when he was nine or ten, and as I was waiting for him one afternoon in his pleasant Brooklyn Heights brownstone, I watched his own nineyear-old patiently teaching a friend some chess tactics. Bernstein was captain of the Bronx Science High School chess team, a school whose pasteboard playing fields have done as much for American science as Eton’s grassy ones did for the British Empire. He recounted the early history of his involvement with the game:

I started playing chess seriously, I guess, when I was in high school. I played chess so much that it affected my grades in college. One year I played chess to the exclusion of everything else and woke up at the end of the term and discovered I had failed two courses. I was going to City College at the time. I failed a physics course and a math course— theory of functions of real variables. It was quite a shock and I gave up chess after that term. I suppose I continued reading about it, but I stopped playing chess. Then in graduate school, although I’d given up math for medieval literature and poetry, I worked as an assistant in the civil engineering department. After that I went into the army, and because of my work at Columbia and what I was doing in the army—working in a special research and development outfit of the Signal Corps—I became acquainted with computers and what they could do.

From the summer of 1953 to the summer of 1955, then, Bernstein worked at the Bureau of Standards, his flagging interest in mathematics revived by a kind woman who had known his father, a well-known European mathematician, and who taught him about the operations of the bureau’s computers. Bernstein was given permission to try his hand at simulating the air-defense system protecting Washington—the first missile air-defense system—to see how it would work. This was at just about the same time that Allen Newell was involved in simulating an air-defense message center out at the RAND Corporation. Computer simulation was in the air. But one main difference between Newell’s and Bernstein’s models was that Bernstein’s was a mathematical computer model and Newell’s was nonmathematical.

After Bernstein got out of the army he returned to Columbia, but the academic atmosphere got him down, and when the opportunity came to work full-time for IBM he took it. He had been working part time for them, and had become friendly with a young man named Hal Judd. Judd knew Bernstein had played serious chess, and one day suggested they try to produce a chessplaying program. He was a very poor chess player but an avid one, as most Americans who play chess are [Bernstein recalls]. I guess he knew computers far better than I did at the time, but he really didn’t know chess, and he felt that with his expertise in computers and my understanding of chess, perhaps we could produce something. Well, almost immediately after I’d said that I thought it would be a good idea, he was transferred someplace out of New York City. Eventually he wound up working for IBM in Australia. Originally, he’d said he’d work with me at long distance, but it became impossible. Nevertheless, the idea of a chess-playing program really intrigued me, so I decided to see if I could come up with a scheme for producing this program and for getting some backing. It wasn’t impossible to work on this problem oneself, but one did need computer time and computer time is very expensive, although at the time there was a good deal of unused computer time during the third shift. Nevertheless, we had to have some permission at least to do it. So we went to Charlie DeCarlo, who was head of the so-called Applied Science Division at IBM. DeCarlo is a mathematician and came out of Carnegie, and he was very sympathetic to the idea, and said he’d support it on a limited basis. Thus I went to work full-time for IBM at what was then the Scientific Center, and later became part of the Service Bureau, in Manhattan. I was given other work to do, but essentially it was understood that half of my time I would be allowed to spend working on the chess program. Bernstein drew upon not only his own experience with chess, but began to study Modern Chess Openings, which came out then every two years, and spent six months going through some five hundred chess openings. He assigned scores to various positions, scores that depended not only on the pieces retained, but also on area control of the board and mobility. He also developed a fourth measure, what he called a “greens area” around the king, meaning that the more squares outward from the king controlled by his own side the better. But after six months of this he gave it up. He couldn’t make any sense out of it.

“It was essentially a chastening experience. I was sort of abashed because I had said to people, I can do it.” Bernstein was well aware that chess literature contained mentions of chess machines, and certainly science fiction—say, Ambrose Bierce’s “Moxon’s Master”—provided examples. Baron von Kempelen’s nineteenth-century chess machine might have been a fraud, but the idea was intriguing enough to even so serious a scientist as Charles Babbage, who hoped to raise money to complete his Analytical Engine by working up a little chess-playing machine for exhibition. And Torres y Quevedo had actually built two endgame players in the 1920s.

At this time, Bernstein was unaware of Shannon’s seminal papers, and did not know that chess had caught the interests of a group at Los Alamos, including J. Kister, P. Stein, S. Ulam, W. Walden, and M. Wells, who were working on a limited 6 x 6 board, rather than the regulation 8 x 8. Nor did he know that Allen Newell, J. C. Shaw, and Herbert Simon together, and John McCarthy independently, were also pondering chess-playing machines. Alex Bernstein only knew that the problem was hot, and though his confidence was slightly shaken by the experience of his first six months on the problem, he was all the more anxious to try again. That it was a classic problem made it even more tempting—the creation of a smart chess-playing machine had come to seem as elusive as solving the four-color problem, and the solution of either would have been a scientific coup. Bernstein went back to the chess-theory books. This time he found insight in a book called My System by Aron Nimzowitsch, an early twentieth-century Russian chess master who had revolutionized modern chess. Nimzowitsch had abandoned the traditional strategy of building up the center game and gradually grinding down one’s opponent. Instead, he stressed the notion of imbalance on the chess board—not necessarily immediate control of the center, but a delayed strategy, emphasizing what are called strong points and lead points. It was now that Bernstein became aware of Turing’s work and read at least one of Shannon’s papers. When he finally began to see how he might codify some of the principles he felt were essential, he telephoned Claude Shannon at MIT. “I went up to MIT and spent a day or two with him, telling him what I was planning to do, and he said he thought it was intelligent, and a good way of proceeding. Essentially I felt I’d received his blessings, which was pleasant.”

Bernstein also mentioned that he was working on the problem to Dr. Edward Lasker, a well-known chess writer, who introduced him to Stanislaw Ulam of the Los Alamos group. Bernstein had the advantage that the Los Alamos group didn’t have, of a machine with a large amount of memory, although the four thousand words of memory the IBM 704 had to begin with were insufficient for Bernstein’s program in the end. The 704’s memory was to have doubled by the time Bernstein finished his program, and he still came within two hundred words of overflowing memory. Bernstein’s program turned out to be a perceptive combination of his own chess intuitions, what he had learned from Nimzowitsch’s book, and happily, some of the things he had learned from his first six months with Modern Chess Openings. One of the program’s major features was that it eliminated a large portion of the legal possible moves from consideration, and concentrated upon those legal moves that were likely to prove fruitful.

As noted earlier, a popular misconception about a computer chess-playing program is that it can somehow consider all possible moves, and from this omniscient survey, pick the best move. As we’ve seen, in 1948 Claude Shannon had computed the possible moves in a chess game to be 10^120, which means that the heat death of the universe would terminate such a game before it could be fully played out. It had been clear to researchers from the start that some means of economizing was essential. Thus, for example, the Los Alamos group’s program considered all alternatives to a depth of two moves (that is, two for white and two for black), computing a score by evaluating mobility and material. To carry out computing on their machine, a MANIAC I, within reasonable times (if an average of twelve minutes per move can be considered reasonable), bishops were eliminated as pieces, as were all special moves such as castling and two-square pawn moves at the opening. Bernstein introduced some rules of thumb to his game that would direct it toward the most immediately fruitful moves, and Samuel had done the same for his checkers program. Such heuristics were that, and no more. They weren’t invariably the best strategy; sometimes they missed the unusual and the brilliant, and sometimes they didn’t work at all. But they were a reasonable means of pruning away the less likely possibilities of action. The notion of economizing searches for solutions among a host of possibilities would be central to artificial intelligence, with a good case to be made for its centrality in natural intelligence as well.

So Bernstein’s chess program selected what seemed to be the likeliest fruitful moves, and these it examined in considerable depth, comparing one to another among a number of dimensions. The program contained a large data base, which allowed it to examine any particular piece or square at any time. In descending order of importance, the program asked such questions as, Is the king in check? If the king is in check, there is nothing else to do. Is the king in double check? If he is, merely to capture one piece that threatens the king will be insufficient; the king must be moved. The next question had to do with material: is there any to be gained, or any in danger of capture? And clearly it is more important to rescue or capture a rook than to rescue or capture a pawn, and this was factored into the program. And so it went. By now Bernstein had transferred to IBM proper, and he and his group were sharing their machine with the research team that was designing FORTRAN, a computer language that would allow a human to write programs in a language more natural to humans, and that would then be translated by the machine itself into machine code. Each group needed the entire machine, and when one was on, the other had to be off. Since the groups needed huge amounts of computing time, both of them worked the third shift, so an extraordinary amount of computing was going on in the small hours at the corner of East 56th and Madison Avenue in Manhattan. Bernstein had begun working full-time on his project, and he had a number of assistants, some of whom were even officially his. The two groups watched and were cheered by each other’s progress.

There came a time to try out the chess machine. Bernstein had the sense to try it out first without an audience. “There was a bug. The very first move the machine ever made was to resign!” It had taken two years of work to get the chess-playing machine going, and for several years thereafter, bugs were still being discovered, not only by Bernstein and his group, but by outsiders who had requested copies of the program, and who uncovered more surprises. “It played, I think, a sort of respectable beginner’s game,” Bernstein says, “and every once in a while it made a move which was remarkably good.”

The success of the chess machine had some unexpected results. To be sure, Bernstein received all the publicity he could have hoped for—besides the usual scientific meetings he was invited to address, he found himself written up in the New York Times, and an article in Scientific American reached a wide international audience. Life magazine came asking for photographs of Bernstein sitting at the computer, and wondered if they could get Bobby Fischer to pose too. He was in his early teens at the time, but shrewd enough, and said he would for a fee of 2500, Bernstein recalls. They said forget it, and asked me did I know anyone else who might be willing to pose for a picture. And I said, I’m sure that Ed Lasker was a very respected name in chess and a charming man and a gentleman, and would not ask for 2500. He said he would be delighted, and they paid us each $1. The funny thing about it is they proceeded to go to some antique dealer on Madison Avenue and rented a chess set—an Indian chess set of the sixteenth century which cost all of 2500 and a chess board which cost 1200, and everybody was absolutely dying in case any of the pieces should fall over. They were extremely delicate filigree ivory, and they were insured.

But the pictures didn’t turn out and had to be retaken, meaning that the chess set and board had to be re-rented, the cost well exceeding, Bernstein calculates, what it would have cost to rent Bobby Fischer instead. As it turned out, Life never did use the pictures in its magazine, although six or seven years later Bernstein was surprised to discover a picture of himself and Ed Lasker standing in front of their 704 in the Time-Life series on mathematics. But T. J. Watson, the president of IBM, was not amused. IBM’s original, or at least official, justification for allowing Bernstein to use the first 704 for nothing more serious than game playing had been the hope that if he were successful, it would show the world—in particular, businesspeople—that computers could be used to solve problems even as difficult as ones that came up in business. But IBM’s stockholders had challenged Watson at the last meeting, wanting an explanation for the money being wasted on playing games."

McCorduck, P. (2004). Machines who think: a personal inquiry into the history and prospects of artificial intelligence (2. Edition). London: A.K. Peters. // https://books.google.ru/books?id=aH9QAAAAMAAJ
The Force Be With You!
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: The mystery of Alex Bernstein

Post by MikeB »

A reference was made to Alex Bernstein in this 1997 NYT article.

https://www.nytimes.com/1997/05/09/nyre ... Position=4
Image
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: The mystery of Alex Bernstein

Post by MikeB »

I found another article that made reference to Alex Bernstein when he was at MIT.

https://www.nytimes.com/1974/09/03/arch ... Position=2
Image