Thursday, April 9, 2026
ADVT 
National

Knows when to hold 'em: Alberta scientists develop unbeatable poker program

Darpan News Desk The Canadian Press, 08 Jan, 2015 11:38 AM

    EDMONTON — Press "enter," dealer — scientists have taught a computer how to play unbeatable poker.

    While the news may sadden the hearts of rec-room card sharps everywhere, the winners in this game are programmers trying to do everything from improve public security to help doctors treat patients with diabetes.

    "We should be able to use these algorithms in any well-defined problem," said Michael Bowling, the University of Alberta computer scientist who co-authored a paper in the journal Science that details how the program for two-handed, fixed-bet Texas Hold 'Em can't do worse than break even.

    Scientists in the field of game theory long ago taught computers to play games such as checkers and chess. But poker has remained elusive because it's a so-called "imperfect information" game. A player has to make decisions without knowing all the data such as what the other player is holding.

    "This game has been, historically, an important challenge problem," Bowling said. "Poker is one of the games that really motivated the whole founding of the field of game theory back in the '20s."

    Bowling's team made its breakthrough by refining a previously developed technique called counterfactual regret minimization that allows a computer to look back at previous hands and learn from its mistakes. Although that sounds similar to how humans improve, the computer used here became a one-player Las Vegas.

    "It spent two months playing billions and billions of hands of poker against itself to find the perfect strategy," said Bowling. "The strategy is 1,000 times larger than all the English-language Wikipedia."

    It's unlikely to be of much use at anyone's Saturday night game.

    "You have to memorize a 10-terabyte table of probabilities."

    A terabyte is one byte followed by 12 zeros.

    But the point was never to become an unbeatable online poker star. The same process that taught the computer when to hold 'em and when to fold 'em can be transferred to any problem with well-defined rules and outcomes, many options and imperfect information — terrorist security, for example.

    "We run patrols, we do searches — we have these tools at our disposal, but how do we deploy them? We want to find a strategy that's unbeatable.

    "What we've done is shown that we can do these game theoretic analyses at a scale that hasn't been done before — at a really enormous complexity. That means that we can start looking at problems in that security sphere."

    Game theory is already being used to help schedule air marshals on commercial flights in the United States.

    Bowling's team is also working with diabetes researchers to see if the computer poker work can help manage the disease.

    Doctors and patients typically come up with a plan to adjust insulin intake to food consumption, exercise and other variables. But those variables can change. Nor do doctors have any guarantees how well the patient will follow the treatment plan.

    "Building a policy that is robust to those uncertainties is not that different from building a poker policy that's robust to not knowing what cards the opponent has," Bowling said.

    "If we could have a decision support system that could maybe help the patient tweak their formula on their own, or even assist the doctor to do it faster, then we could improve the effectiveness of these treatment policies."

    Despite its larger ambitions, there are lessons in Bowling's paper for the casual player, although they will already be familiar to the experienced.

    — Avoid simply calling bets. If you're in, you're probably best to raise.

    — Don't make the maximum allowed bet in the first round.

    — Hang in there. The computer routinely played weaker hands than most human players.

    "What the poker programs have always suggested is that the human players are too conservative at this game."

    MORE National ARTICLES

    Girl, 12, boy, 14, charged after mom says attempt made to snatch baby: Police

    Girl, 12, boy, 14, charged after mom says attempt made to snatch baby: Police
    TORONTO — A 12-year-old girl and a 14-year-old boy have been charged with abduction, robbery and other offences after a Toronto mother said two young people tried to snatch her baby.

    Girl, 12, boy, 14, charged after mom says attempt made to snatch baby: Police

    Facts about the 14 women who were killed at Ecole polytechnique in 1989

    Facts about the 14 women who were killed at Ecole polytechnique in 1989
    MONTREAL — Dec. 6 marks the 25th anniversary of the shooting rampage at the Universite du Montreal's Ecole polytechnique in which 14 women were killed. In alphabetical order, they were:

    Facts about the 14 women who were killed at Ecole polytechnique in 1989

    New doctors' deal to improve care in rural and remote areas: B.C. government

    New doctors' deal to improve care in rural and remote areas: B.C. government
    Doctors in B.C. have signed a five-year agreement, which the government says will improve care in rural and remote communities.

    New doctors' deal to improve care in rural and remote areas: B.C. government

    Today on the Hill: Amnesty renews call for Ottawa to take in more Syrians

    Today on the Hill: Amnesty renews call for Ottawa to take in more Syrians
    OTTAWA — The push is on yet again to have Canada resettle refugees from the civil war in Syria, even though the Harper government is struggling to live up to the resettlement promises it has already made.

    Today on the Hill: Amnesty renews call for Ottawa to take in more Syrians

    Government to issue special bank note in 2017 to mark 150 years of Confederation

    Government to issue special bank note in 2017 to mark 150 years of Confederation
    OTTAWA — The Bank of Canada will print a special bank note to mark the 150th anniversary of Confederation in 2017 — but it will be up to Canadians to say what it will look like.

    Government to issue special bank note in 2017 to mark 150 years of Confederation

    Doctor who survived Ebola virus says he wants to return to West Africa

    Doctor who survived Ebola virus says he wants to return to West Africa
    OTTAWA — A U.S. doctor who survived the Ebola virus says he'd like to eventually return to West Africa, the place where he got sick.

    Doctor who survived Ebola virus says he wants to return to West Africa