LGS Record Tool

← Back to the guide

Reading an AI win rate: what the number is

lgs.tw can work out the win rate of a position. The engine is KataGo, an open source Go AI that combines a neural network with search, and it answers with one line:

[analysis] Black 56.7% - White 43.3% - Black leads by 3.5 points - Chinese rules, komi 3.75

That line goes into the comment of that move, so every reader of the record sees it, VIP or not.

What the percentage is

It is the engine's estimate of how likely Black is to win if the game continues from here. A neural network evaluates the position, search checks whether that evaluation holds up, and the result is turned into a probability.

So 56.7% means "as far as the engine can tell, Black is slightly better but not safe yet". It is not a 56.7% chance that the game ends that way. A win rate is an evaluation, not a prophecy.

What it is not

  • It is not a measure of the players. The engine does not know who played, and will not rate the position higher because the opponent is strong.
  • It is not the chance that this game ends in Black's favour. The engine rates the position in front of it, not the whole game.
  • It is not a conclusion. A 70% position is lost all the time, and a 50% position flips. A big mistake turns an evaluation upside down, and that is what Go is about.
  • It does not know the clock. The engine has no idea how much time is left or who is short of it, so it evaluates a time-pressure game exactly as it would a relaxed one.

The commonest misunderstanding is taking it for "the program is telling me which move to play". A win rate is an evaluation of the whole position, not a move recommendation. Move suggestions come from a different kind of tool (position judgement or a move recommendation), and on lgs.tw that is a separate feature.

The komi and the rules change the answer

The engine computes with the komi and the rules you give it. The same position with the komi moved from 6.5 to 7.5 shifts Black's percentage down, and switching from Chinese to Japanese rules changes the counting and moves the numbers with it.

So check the rules and the komi before you ask. Records that travel around the internet often have the wrong komi, or none at all; with no komi the engine falls back on its own default, which may not be the komi your game was played with.

There is one more thing: when a record does not name its rules, the site asks once, and the answer is written into the record. That way the same game is only asked about once, and everybody computes it on the same premise.

When the number jumps

A win rate that goes from 52% to 78% usually means one side played a move the engine dislikes, or that the engine found a reply it had not seen before. That move is worth going back to, and it is usually where the game teaches you the most.

The other case is a game where the number drifts around 50% for a long time. That is mostly ordinary play, and the number is not worth much attention there; its job is to say "something happened here".

Who may press the button

The engine runs on the owner's own machine, so pressing analysis needs two things: a VIP account, and the pass word the owner hands out.

  • A VIP runs the analysis; any member reads the results others have already written into their comments.
  • The pass word is what the owner gives to the people allowed to use the engine.
  • There is a limit: six analyses a minute, so that nobody uses it as their own Go program.
  • The page refuses all input while the engine runs, because it is computing the record as it is stored; move the board in the middle and the answer no longer matches what you see.

Nothing is saved behind your back. The result goes into the comment box of that move, and you press Save to keep it in the record.

When the line is written into the comment it goes under your own words and never over them. If adding it would run past 140 characters the whole thing is refused rather than cut, which means the comment is full: shorten it and try again.

Using it for real

  1. Check the komi and the rules first. If the premise is wrong, the number means nothing.
  2. Press analyse at a point where the game swings, and see whether the engine calls it even or lopsided.
  3. If it swings, go back to that move and write in the comment why you played it. That is the part of the record worth keeping.
  4. Save the analysis into the record so that others can follow your reasoning.