Printer Friendly
The Free Library
14,718,654 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Playing your cards right: poker comes out of the back room and into the computer science lab.


Poker poker, card game, believed to have originated in Asia and first played in the United States in the 19th cent. A traditional cutthroat gambling game at first, it is now also an internationally popular social pastime.  comes out of the back room and into the computer science lab

Darse Billings plays poker for a living. Just a few years ago, he was a computer science student at the University of Alberta in Edmonton. Interested in games, he had chosen the development of a poker-playing computer program as his thesis topic.

"I discovered that very little work had been done on computer poker despite the many potential benefits of that research," Billings says. Although he did not create a working program, he learned enough about the game along the way to begin playing professionally--which he has done since completing his thesis in 1995.

"Understanding the theory and mathematics of poker gives you a solid foundation," he contends. "This alone can put you ahead of the vast majority of players. Beyond that, you learn methods of analysis. It teaches you how to think about a given poker situation and that enables you to make more effective decisions in the heat of battle."

Billings now also serves as a consultant to a team of researchers at Alberta intent on developing a program that can play poker at the level of the best human players. "It's wonderful working with him because he understands computers and he understands poker," says Jonathan Schaeffer Jonathan Herbert Schaeffer (born 1957) is a Canadian researcher and professor at the University of Alberta and the Canada Research Chair in Artificial Intelligence. , who heads the group.

In an earlier effort, Schaeffer and his coworkers had created a checker check·er  
n.
1.
a. One, such as an inspector or examiner, that checks.

b. One that receives items for temporary safekeeping or for shipment: a baggage checker.

2.
, playing computer program named Chinook Chinook, indigenous people of North America
Chinook (shĭnk`, chĭ–), Native American tribe of the Penutian linguistic stock.
, which could beat the world's top players (SN: 7/20/91, p. 40).

The current version of the Alberta poker program--named Loki for the Norse god of mischief A specific injury or damage caused by another person's action or inaction. In Civil Law, a person who suffered physical injury due to the Negligence of another person could allege mischief in a lawsuit in tort.  and chaos--already plays a strong game, Schaeffer says. "But it isn't ready yet to win a world championship."

The first public demonstration of Loki is scheduled to take place later this month at the Fifteenth National Conference on Artificial Intelligence in Madison, Wisc.

Games have long been an important focus of research in computer science and artificial intelligence. With clearly defined rules and specific goals, "they are wonderful domains for testing ideas," says Matthew L. Ginsberg of the University of Oregon The University of Oregon is a public university located in Eugene, Oregon. The university was founded in 1876, graduating its first class two years later. The University of Oregon is one of 60 members of the Association of American Universities.  in Eugene.

Researchers have programmed computers to play chess, backgammon backgammon (băk`găm'ən, băk'găm`ən), game of chance and skill played by two persons upon a specially marked board divided by a space, called the bar, into two tables (inner table and outer table), each of which has 12 , bridge, Go, Othello, Scrabble Scrabble

Game in which two to four players compete in forming words with lettered wooden tiles on a 225-square board. Words spelled out by letters on the tiles interlock like words in a crossword puzzle. Words are scored by adding up the point values of their letters.
, and numerous other games--in several instances eventually achieving a world championship level of play (SN: 8/2/97, p. 76; 8/16/97, p. 100).

Poker is an example of a game of incomplete information in which chance plays a role. Whereas a chess player sees the disposition of all the pieces all the time, a poker player sees only some of the cards--drawn or dealt from a shuffled deck--that are in play.

"You don't know Don't know (DK, DKed)

"Don't know the trade." A Street expression used whenever one party lacks knowledge of a trade or receives conflicting instructions from the other party.
 what cards your opponent has," Schaeffer says. "All you can do is make educated guesses."

"One of the fundamental problems in computer science is how to deal with information that may be erroneous erroneous adj. 1) in error, wrong. 2) not according to established law, particularly in a legal decision or court ruling. , unknown, or incomplete," Billings adds. Poker provides an excellent domain for investigating problems of decision making under uncertain conditions. Researchers can study such issues as risk assessment and management (betting strategy), opponent modeling (exploiting weaknesses in an opponent's play), and deception (bluffing).

Early efforts to model poker, some dating back to the 1950s, were generally unrealistic and rather limited, Billings says. Moreover, although there are many commercial poker-playing computer programs now on the market, they range widely in quality and lack the strategic flexibility and learning capability that a world-class player must have.

"Loki is probably better than commercial programs at evaluating the strength and potential of its cards," Billings notes. "Loki is also better at observing each opponent's actions over time and then adjusting its play accordingly."

Hundreds of books have been written about how to play poker. Billings contends that the vast majority give flawed flaw 1  
n.
1. An imperfection, often concealed, that impairs soundness: a flaw in the crystal that caused it to shatter. See Synonyms at blemish.

2.
 advice on strategy. The typical level of human play is so low, however, that a contender can be highly successful despite serious misconceptions Misconceptions is an American sitcom television series for The WB Network for the 2005-2006 season that never aired. It features Jane Leeves, formerly of Frasier, and French Stewart, formerly of 3rd Rock From the Sun. , he argues. Players often fail to exploit their opponents' weaknesses, or they make more serious errors themselves.

In recent years, books by experts such as David Sklansky and Mason Malmuth have pioneered a more systematic, mathematical approach to the game. Their analyses serve as a useful foundation for computer poker.

"In theory, poker is a game of probabilities, where the expected value Expected value

The weighted average of a probability distribution. Also known as the mean value.
 of each betting decision can be determined by applying certain fundamental principles," Billings says. "In practice, there is much more to the game than the math can convey. Poker is a 'black art' because it is played against humans who are far from perfect."

Schaeffer and his coworkers have concentrated on a popular poker variant called Texas Hold'em, which is commonly played in casinos and is the version featured at the annual world series of poker The World Series of Poker is the largest set of poker tournaments in the world. It is held annually in Las Vegas, lasting just over a month. A bracelet is awarded to the winner of each of the fifty-plus events which include all the major varieties of poker. . Each player holds two cards that are hidden from the others, and those cards can be combined with any three out of another five cards---dealt face-up in the middle of the table and shared by all players--to make the best possible five-card hand.

To the Alberta group, the key elements of the game are card probabilities, betting strategy, bluffing approach, and opponent modeling.

"In the chess and checkers checkers, game for two players, known in England as draughts. It is played on a square board, divided into 64 alternately colored—usually red and black or white and black—square spaces, identical with a chessboard.  world, you can safely assume that your opponents don't make mistakes, and you just play the best possible move," Schaeffer says. In poker, "you've got to watch what your opponent does, make inferences, and exploit that knowledge."

If you're playing against a cautious player who bets heavily on a certain hand, for example, you should fold, because he or she probably holds very good cards. Such a response isn't necessarily a good strategy against an opponent who consistently bets aggressively. That player could be bluffing a lot of the time.

"We've been working on categorizing and understanding styles of play," Schaeffer says. "Unfortunately, it gets more difficult in games against top players because they mix up their play deliberately to confuse you."

Being unpredictable is a good strategy, he adds. "If our computer is going to beat the world champion, it's got to do something similar."

Opponent modeling may not be essential to building a winning poker program, says computer scientist Daphne Koller Daphne Koller is a Professor in the Department of Computer Science at Stanford University and a MacArthur Fellowship recipient. Her general research area is artificial intelligence.  of Stanford University Stanford University, at Stanford, Calif.; coeducational; chartered 1885, opened 1891 as Leland Stanford Junior Univ. (still the legal name). The original campus was designed by Frederick Law Olmsted. David Starr Jordan was its first president. .

In chess, human players often take into account an opponent's idiosyncrasies, past history, and state of mind, Koller argues. "You could make the case that opponent modeling is also very important in chess," she adds. "Nevertheless, chess-playing computers don't do that, and they do very well despite that limitation."

Koller is developing a poker-playing program based on game theory, which offers mathematical techniques for determining optimal strategies. Her approach exploits a remarkably efficient algorithm that she developed for searching through long sequences of possible moves to find the best one in games involving incomplete information. That algorithm applies to a wide variety of games.

"It's the kind of search algorithm In computer science, a search algorithm, broadly speaking, is an algorithm that takes a problem as input and returns a solution to the problem, usually after evaluating a number of possible solutions.  we have long had for chess," Koller says. Poker serves as a test case to see if Koller's algorithm can be scaled up to larger games, including those that economists and social scientists study to model human behavior in a variety of contexts.

"For me, this is more an exercise in pushing the boundaries of game theory than in specifically solving poker," Koller says.

Koller and Schaeffer "are taking totally different approaches," Ginsberg notes. Koller's program uses an extensive search for the best possible strategy, whereas Schaeffer's program depends heavily on exploiting weaknesses in play.

Interestingly, Koller has found that bluffing, which is generally considered an innately in·nate  
adj.
1. Possessed at birth; inborn.

2. Possessed as an essential characteristic; inherent.

3. Of or produced by the mind rather than learned through experience:
 human capability, emerges naturally from her search Program. "You would think that bluffing is something that you do to take advantage of an opponent," she says. Game theory also calls for bluffing to obtain optimal results.

It would be interesting to see how Koller's poker player matches up against Loki. Such a confrontation is probably at least a year away, however. Unable to find the time necessary to complete the project, Koller is now looking for Looking for

In the context of general equities, this describing a buy interest in which a dealer is asked to offer stock, often involving a capital commitment. Antithesis of in touch with.
 student help to finish the programming.

After several rounds of successive improvements in probability calculations, betting and bluffing strategies, and opponent modeling, Loki can play reasonably well.

At the moment, "the limiting factor A factor or condition that, either temporarily or permanently, impedes mission accomplishment. Illustrative examples are transportation network deficiencies, lack of in-place facilities, malpositioned forces or materiel, extreme climatic conditions, distance, transit or overflight rights,  is Loki's unsophisticated betting strategy," Billings says. For example, when the program holds a strong hand, it always makes a bet instead of occasionally holding back. Good opponents can take advantage of such a pattern.

"It's absolutely amazing a·maze  
v. a·mazed, a·maz·ing, a·maz·es

v.tr.
1. To affect with great wonder; astonish. See Synonyms at surprise.

2. Obsolete To bewilder; perplex.

v.intr.
 how strong players can pick up on any kind of pattern in your play and exploit it," Schaeffer says. "Whatever your decision-making process, you've got to make random choices sometimes."

"The next major thrust in the research is to have Loki weigh the relative merits of different betting plans and to randomize ran·dom·ize  
tr.v. ran·dom·ized, ran·dom·iz·ing, ran·dom·iz·es
To make random in arrangement, especially in order to control the variables in an experiment.
 those actions in a manner that conceals information from the opposition," Billings remarks.

Loki has already faced a variety of opponents on the Internet, and it wins consistently. The problem is that these human players have just pride, rather than money, at stake.

"It's very difficult to evaluate the program," Schaeffer says. "In chess and checkers, you can go to a tournament, pay the entry fee, and play to see how good the program is. Poker is different because it's meaningless without money." If a computer plays for money, however, who's going to pay for the program's losses?

Further improvements may make it worthwhile for Schaeffer to bring Loki to Las Vegas Las Vegas (läs vā`gəs), city (1990 pop. 258,295), seat of Clark co., S Nev.; inc. 1911. It is the largest city in Nevada and the center of one of the fastest-growing urban areas in the United States. . "I would love to say that a year from now, we'll be sitting down with some of the best players in the world, but that remains to be seen," Schaeffer says. Many technical problems have yet to be solved.

Moreover, the sorts of expenses associated with a trip to Las Vegas aren't normally covered by a research grant. "We may need to find someone to bankroll bank·roll  
n.
1. A roll of paper money.

2. Informal One's ready cash.

tr.v. bank·rolled, bank·roll·ing, bank·rolls Informal
 our venture," Schaeffer says.

Meanwhile, at the age of 36, Billings makes a fairly comfortable living on the Edmonton poker circuit--though he has to cope with large fluctuations in income from week to week.

"The modern game of poker is a game of small percentages," Billings says. "It's not like you're hauling off wheelbarrows of money all the time. It's an accumulation over time. You just earn more than you lose--maybe winning in seven sessions, breaking even in one, and losing in two for every 10 that you play."

The lifestyle associated with the game isn't particularly appealing to Billings. "I'm considering abandoning it," he says. He knows that if he were to play in Las Vegas casinos, for example, where the financial rewards can be much greater, he would have to improve his game considerably without a guarantee of an increase in income.

Billings is thinking about writing a book, particularly on how theory can fall short in practice. "I've always been very cognizant cog·ni·zant  
adj.
Fully informed; conscious. See Synonyms at aware.



[From cognizance.]

Adj. 1.
 of the limitations of the theory and where the theory breaks down," he says. "That has come into much clearer light through the process of mastering the game in real life.

"The real essence of the game is knowing your opponent and adjusting accordingly," he adds.

That's a lesson that Schaeffer and other researchers believe can be transferred from poker to many real-world situations involving conflict and negotiation.
COPYRIGHT 1998 Science Service, Inc.
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 1998, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Title Annotation:theory and mathematics of poker
Author:Peterson, Ivars
Publication:Science News
Date:Jul 18, 1998
Words:1834
Previous Article:Women with anorexia face ongoing problems.(Brief Article)
Next Article:What wild chimps want for breakfast.(Biology)(Brief Article)
Topics:



Related Articles
Poker faces sunny Bell Gardens; famous players risk huge sums nearby the little guys.
For card club regulars, it's both business and pleasure. (Los Angeles County, CA, gambling industry)
Be a card shark.(Be the first on your block to ...)
Jack of smarts: why the Internet generation loves to play poker.
THE CHANGING FACE OF POKER CARD GAME MOVES INTO THE MAINSTREAM.(U)
RAKING IN THE CHIPS POKER A HOT HAND DURING HOLIDAYS.(Business)
POKER BOOT CAMP GIVES RECRUITS A CHANCE TO TURN $1,495 INTO A WINNING GAMBLE.(U)
HORSE RACING: TIME TO PUT ON YOUR POKER FACES.(Sports)
Weak hand: journalists can make today's geeky poker players seem interesting. They just can't make them heroes.(On Political Books)(Jonny Magic and...
POKER DRAWS NEW FACES INDIAN CASINOS, TOURNAMENTS DRIVE CARD GAME'S RENAISSANCE.(Business)

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles