It is currently Mon Apr 29, 2024 9:47 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

Which is better?
Expected Value Method 8%  8%  [ 1 ]
Always Play the Best Move 67%  67%  [ 8 ]
Other (Please Explain) 25%  25%  [ 3 ]
Total votes : 12
Author Message
Offline
 Post subject: Expected Value Profit or Absolute Profit?
Post #1 Posted: Sat Feb 23, 2013 12:13 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
Expected Value
A basic idea in game theory is the concept of expected value. Intuitively, you can consider the various outcomes that could occur, then sum the value that you gain from each outcome multiplied by the probability of that outcome.

For example, if the game is flipping a coin and you get $50 by winning the flip, and lose $20 by losing the flip, for a fair coin, you could say the value of the game is 0.5*50 - 0.5*20 = 25 - 10 = 15. Given the opportunity to play the game many times, you should do it, because on average, you should expect to be getting about $15 profit each time.

How You Play Go
When I play go, I sometimes think of the game in this manner. For example, I am in a situation, and I know a particular move will not work. But if my opponent screwed up and the move did work, maybe I get a lot more points than I would lose by playing a move I know is correct.

Still, given the idea of expected value, provided I can assess the probability of my opponents playing a certain way with some degree of accuracy, I should on average, gain more profit this way, right?

So what do you think? Is it more profitable to play in a way that will give you a greater expected value, even if the move doesn't work, or is it more profitable to play in a way that you know is "correct" all of the time, even if you may miss out on potential profit that may be likely if your opponent doesn't know how to respond correctly?

This probably applies more to playing against people that are weaker than you, since that would be a scenario in which you'd more likely be able to correctly assess whether they know the "correct" answer to a given position.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #2 Posted: Sat Feb 23, 2013 12:26 am 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
In game theory, expected value is distinct from expected utility. Expected value takes into account the average of N different outcomes weighted by the probability of each outcome and by the raw numerical value associated with each outcome. But expected value does not actually describe how people make decisions. For that we need additional information; how much the raw numerical value means to the person evaluating it.

For example, in a bet with possible dollar outcomes of 100,000 and 1,000,000, the utility associated with the outcomes might be 1 and 2 (if you need ten times as much money to be twice as happy).

In go, the numerical values of possible outcomes might be -2, +5, +50; but these would be weighted at 0, 1, 1 when calculating utility, assuming all wins are 1 and all losses are zero.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #3 Posted: Sat Feb 23, 2013 12:32 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
jts wrote:
In game theory, expected value is distinct from expected utility.
...
For example, in a bet with possible dollar outcomes of 100,000 and 1,000,000, the utility associated with the outcomes might be 1 and 2 (if you need ten times as much money to be twice as happy).


Sure, utility can vary depending on what something is worth to you.

jts wrote:
In go, the numerical values of possible outcomes might be -2, +5, +50; but these would be weighted at 0, 1, 1 when calculating utility, assuming all wins are 1 and all losses are zero.


I'm not sure if I take that approach. Yes, go is a zero sum game, so a win is all that matters. But evaluating points is a common technique for estimating the best ways to play - and it doesn't have to be "points of territory". You can express this estimation of how well you are doing based on estimates of influence on the board, etc.

That is, typically, people try to play moves that give them the greatest increase in the chances of winning, which can be estimated by the value they think they'd gain from doing a particular action.

If there are two places to move on the board, one that will gain me 50 points, and one that will gain me 2 points, a heuristic approach may be to select the area that gains me 50 points.

Unless you are able to read to the end of the game, you cannot know whether a particular play guarantees a win or loss.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #4 Posted: Sat Feb 23, 2013 12:49 am 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
But the point is that if you are considering multiple choices, each of which could lead to more than one outcome, maximizing the expected value of the game and maximizing the expected utility give different results. (If your choices aren't risky, there's no need for EV or EU.)

For example, let's say one move has 1/3 chance each of outcomes -8, +3, and +4, while the other move has 1/3 chance each of -2, -1, and +30. EV says that the expected score is -1/3 with the first option and +9 with the second, but for me, at least, the expected utility of the second option is much lower.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #5 Posted: Sat Feb 23, 2013 1:18 am 
Gosei
User avatar

Posts: 1378
Location: wHam!lton, Aotearoa
Liked others: 253
Was liked: 105
If the question is "should I play hamete that I think my opponent will fall for?"

I will give the standard answer.

Playing good hamete- good moves that are really perilous to answer when you don't know them-is totally fine.

Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

Playing a correct move versus ignoring your own reading and gambling your opponent errs...

_________________
Revisiting Go - Study Journal
My Programming Blog - About the evolution of my go bot.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #6 Posted: Sat Feb 23, 2013 2:58 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
jts wrote:
...
For example, let's say one move has 1/3 chance each of outcomes -8, +3, and +4, while the other move has 1/3 chance each of -2, -1, and +30. EV says that the expected score is -1/3 with the first option and +9 with the second, but for me, at least, the expected utility of the second option is much lower.


Good example. For a single move, there's a 2/3 chance of getting a positive result with the first option, and only a 1/3 chance with the second.

But let's say that there are 100 such choices throughout the game. With the second option, you get a gain of 30 points 1/3 of the time. Doesn't seem so bad, does it?

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #7 Posted: Sat Feb 23, 2013 3:00 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
Loons wrote:
...

Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

...


Sounds like a standard answer, but why is this the case? Why is it bad? That is to say, if you feel that you increase your chances of winning the game by doing so, why not go for it?

An example that comes to mind is computer bots for poker. It's not uncommon for them to try to learn and exploit human irrationality to get a greater profit when gambling. They don't play the "optimal" choices given their cards based on the straight up probability of getting certain hands. Rather, they try to maximize gains by learning human playing styles.

Is this type of strategy bad?

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #8 Posted: Sat Feb 23, 2013 5:52 am 
Beginner

Posts: 9
Liked others: 1
Was liked: 1
Rank: 2 dan
If a trick move increases the chance of winning a game, and a good strategy is one that has the highest chance to win the game, then playing the trick move is a good strategy. If it is good to play a good strategy, then playing the trick move is not bad. So the reason some would say trying to trick your opponent must have little to do with if it makes winning the game easier or not. But I think it is easy to think of strategies that would clearly be wrong even if they increases probability of winning, so the impact on probability of winning a game can not be the only relevant factor when deciding a move.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #9 Posted: Sat Feb 23, 2013 8:00 am 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
Kirby wrote:
jts wrote:
...
For example, let's say one move has 1/3 chance each of outcomes -8, +3, and +4, while the other move has 1/3 chance each of -2, -1, and +30. EV says that the expected score is -1/3 with the first option and +9 with the second, but for me, at least, the expected utility of the second option is much lower.


Good example. For a single move, there's a 2/3 chance of getting a positive result with the first option, and only a 1/3 chance with the second.

But let's say that there are 100 such choices throughout the game. With the second option, you get a gain of 30 points 1/3 of the time. Doesn't seem so bad, does it?

I was treating those as outcomes of the game, not as values of a single move. If you don't have some idea whether you are ahead or behind, then you're right - you just have to play moves that seem to be big and hope it all works out in the end. But IMHO, it's easier to count the board than to assign probabilities to possible values of moves.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #10 Posted: Sat Feb 23, 2013 8:12 am 
Dies in gote
User avatar

Posts: 36
Liked others: 4
Was liked: 15
Rank: sdk
Loons wrote:
Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

Kirby wrote:
Sounds like a standard answer, but why is this the case? Why is it bad? That is to say, if you feel that you increase your chances of winning the game by doing so, why not go for it?

This kind of play only works when the opponent knows less than you do.
Sure you will win more games against weaker opponents, so if you usually play weak opponents for big sums of money, then I'd say go for it... :rambo:

Playing moves you know to be substandard is however not a good way to improve.
Improvement is the goal, not winning. ;-)

_________________
"The connection between the language in which we program and the problems and solutions we can imagine is very close" -- Bjarne Stoustrup


This post by Insane was liked by: Loons
Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #11 Posted: Sat Feb 23, 2013 8:57 am 
Judan
User avatar

Posts: 5539
Location: Banbeck Vale
Liked others: 1103
Was liked: 1456
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Kirby wrote:
Loons wrote:
...

Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

...


Sounds like a standard answer, but why is this the case? Why is it bad? That is to say, if you feel that you increase your chances of winning the game by doing so, why not go for it?

An example that comes to mind is computer bots for poker. It's not uncommon for them to try to learn and exploit human irrationality to get a greater profit when gambling. They don't play the "optimal" choices given their cards based on the straight up probability of getting certain hands. Rather, they try to maximize gains by learning human playing styles.

Is this type of strategy bad?


This whole issue ls more complex than indicated so far. Whether a particular risky move is a good bet depends upon the state of the game.

Let us suppose that I have the option to play a tricky move, such that I will lose 5 points if my opponent sees the proper reply, but that will net me 50 points if he misses it. Let us further suppose that I expect my opponent to see the correct reply 99% of the time. The net value of such a move approaches -5.

To play such a move in an even fuseki would be stupid. But if I were down 20 points in yose, if is reasonable.

_________________
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207


This post by Joaz Banbeck was liked by: Kirby
Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #12 Posted: Sat Feb 23, 2013 9:11 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
jts wrote:
Kirby wrote:
jts wrote:
...
For example, let's say one move has 1/3 chance each of outcomes -8, +3, and +4, while the other move has 1/3 chance each of -2, -1, and +30. EV says that the expected score is -1/3 with the first option and +9 with the second, but for me, at least, the expected utility of the second option is much lower.


Good example. For a single move, there's a 2/3 chance of getting a positive result with the first option, and only a 1/3 chance with the second.

But let's say that there are 100 such choices throughout the game. With the second option, you get a gain of 30 points 1/3 of the time. Doesn't seem so bad, does it?

I was treating those as outcomes of the game, not as values of a single move. If you don't have some idea whether you are ahead or behind, then you're right - you just have to play moves that seem to be big and hope it all works out in the end. But IMHO, it's easier to count the board than to assign probabilities to possible values of moves.


If you have no way of evaluating the value of playing a move, how is it possible to "count the board"?

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #13 Posted: Sat Feb 23, 2013 9:14 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
Joaz Banbeck wrote:
Kirby wrote:
Loons wrote:
...

Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

...


Sounds like a standard answer, but why is this the case? Why is it bad? That is to say, if you feel that you increase your chances of winning the game by doing so, why not go for it?

An example that comes to mind is computer bots for poker. It's not uncommon for them to try to learn and exploit human irrationality to get a greater profit when gambling. They don't play the "optimal" choices given their cards based on the straight up probability of getting certain hands. Rather, they try to maximize gains by learning human playing styles.

Is this type of strategy bad?


This whole issue ls more complex than indicated so far. Whether a particular risky move is a good bet depends upon the state of the game.

Let us suppose that I have the option to play a tricky move, such that I will lose 5 points if my opponent sees the proper reply, but that will net me 50 points if he misses it. Let us further suppose that I expect my opponent to see the correct reply 99% of the time. The net value of such a move approaches -5.

To play such a move in an even fuseki would be stupid. But if I were down 20 points in yose, if is reasonable.


Good point. I wonder if value can be expressed some way as a function of points, current score, and maybe potential left in the game...?

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #14 Posted: Sat Feb 23, 2013 9:19 am 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
Joaz Banbeck wrote:
Kirby wrote:
Loons wrote:
...

Playing a move you know is bad in the hope that your opponent doesn't read or know the refutation is bad.

...


Sounds like a standard answer, but why is this the case? Why is it bad? That is to say, if you feel that you increase your chances of winning the game by doing so, why not go for it?

An example that comes to mind is computer bots for poker. It's not uncommon for them to try to learn and exploit human irrationality to get a greater profit when gambling. They don't play the "optimal" choices given their cards based on the straight up probability of getting certain hands. Rather, they try to maximize gains by learning human playing styles.

Is this type of strategy bad?


This whole issue ls more complex than indicated so far. Whether a particular risky move is a good bet depends upon the state of the game.

Let us suppose that I have the option to play a tricky move, such that I will lose 5 points if my opponent sees the proper reply, but that will net me 50 points if he misses it. Let us further suppose that I expect my opponent to see the correct reply 99% of the time. The net value of such a move approaches -5.

To play such a move in an even fuseki would be stupid. But if I were down 20 points in yose, if is reasonable.

Yes, this is another good example. The EV of such a move is -24.55, but the EU (if we assign 0 to a loss and 1 to a victory) is 0.01, which is slightly better than a move that will gain me 19 points for sure (EV -1, EU 0.00).

(Now, you might assign a certain value to dignity, as well. I probably wouldn't play a move which would insult my opponent's intelligence that much. And likewise, it would be rare to be 100% sure that the alternate move leads to a one point loss. But as an example of how EV and EU can differ, it works.)

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #15 Posted: Sat Feb 23, 2013 9:26 am 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
Kirby wrote:
jts wrote:
Kirby wrote:

Good example. For a single move, there's a 2/3 chance of getting a positive result with the first option, and only a 1/3 chance with the second.

But let's say that there are 100 such choices throughout the game. With the second option, you get a gain of 30 points 1/3 of the time. Doesn't seem so bad, does it?

I was treating those as outcomes of the game, not as values of a single move. If you don't have some idea whether you are ahead or behind, then you're right - you just have to play moves that seem to be big and hope it all works out in the end. But IMHO, it's easier to count the board than to assign probabilities to possible values of moves.


If you have no way of evaluating the value of playing a move, how is it possible to "count the board"?

I didn't say I had no way of evaluating the value of a move - that's not easy, but as you say it's no harder than counting the board. It's assigning probabilities to different outcomes when you're not sure that is hard.

For example, let's say you have a very standard choice - reduce or invade. It's easy enough to estimate the score if you reduce, or if you invade and live, or if you invade and die. What's hard is to figure out the probability of invade and die versus invade and live.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #16 Posted: Sat Feb 23, 2013 11:17 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
jts wrote:
...
I didn't say I had no way of evaluating the value of a move - that's not easy, but as you say it's no harder than counting the board. It's assigning probabilities to different outcomes when you're not sure that is hard.

For example, let's say you have a very standard choice - reduce or invade. It's easy enough to estimate the score if you reduce, or if you invade and live, or if you invade and die. What's hard is to figure out the probability of invade and die versus invade and live.


I'm referring to a situation where you know the correct result, but there's a good chance that your opponent does not.

So in your example, you know the "value" after you invade - say you get +50 points if you invade and your opponent screws up and lets you live. And you also know that if your opponent plays correctly, you get -20 points.

Given your opponent's rank, you may be able to estimate, "at X-kyu, there's probably like an 80% chance that he doesn't know how to kill me".

It's a rough estimate, but you could perhaps say that it's worth 0.8*50 - 0.2*20... However, as Joaz pointed out, issues such as how late in the game it is could affect the value of such an estimation.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #17 Posted: Sat Feb 23, 2013 12:11 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
I should also say that I may be pressing this idea a bit too much, but that's because I actually feel this way during games. It's not as precise as an expected value calculation, but I often am faced with a situation where I feel, "I know is isn't the correct play, but if I play it there's a good chance my chances of winning will improve".

So sometimes I play the incorrect move.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #18 Posted: Sat Feb 23, 2013 12:14 pm 
Gosei

Posts: 1627
Liked others: 543
Was liked: 450
Rank: senior player
GD Posts: 1000
It all depends on what your goal is in playing. If your goal is just winning then there may be times when you should play a move you know is bad. If your goal is to play the best possible move in the abstract sense then obviously you should never deliberately play a bad move.


This post by gowan was liked by: Kirby
Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #19 Posted: Sat Feb 23, 2013 12:18 pm 
Oza
User avatar

Posts: 2644
Liked others: 304
Was liked: 631
Rank: kgs 6k
Right. I am saying that your count of the board is probably pretty good, whereas "Oh he's 3k, 80% of 3k don't know this trick" is a wild-ass guess. If you are going to calculate an expected value on the basis of a wild-ass guess, you should be willing to go the extra step and make an educated guess about the count.

Top
 Profile  
 
Offline
 Post subject: Re: Expected Value Profit or Absolute Profit?
Post #20 Posted: Sat Feb 23, 2013 1:26 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 552
Kirby wrote:
For example, I am in a situation, and I know a particular move will not work. But if my opponent screwed up and the move did work, ...

sounds like a ko threat to me


This post by xed_over was liked by: Kirby
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group