Earlier quoted context omitted.
Inserting A=60 into the original line of reasoning (just to show that it doesn't immediately resolve the paradox): 1. Denote by A=60 the amount in the player's selected envelope. 2. The probability that A=60 is the smaller amount is 1/2, and that it is the larger amount is also 1/2. 3. The other envelope may contain either 2A=120 or A/2=30. 4. If A=60 is the smaller amount, then the other envelope contains 2A=120. 5.…
A can't collapse to sixty. It could still be 30, 60 or 120. The expected value calculation includes the value of A as defined in two different worlds: the world in which A/2 (30) and the world in which 2A (120). But these two worlds never exist together. They are different realities. We can't determine which of them we are in without more information. Trying to do so is an error, because we are in multiple subgames s…
Two envelopes problem
261–270 of 318 posts
Re: Two envelopes problem
#262Earlier quoted context omitted.
A can't collapse to sixty. It could still be 30, 60 or 120. The expected value calculation includes the value of A as defined in two different worlds: the world in which A/2 (30) and the world in which 2A (120). But these two worlds never exist together. They are different realities. We can't determine which of them we are in without more information. Trying to do so is an error, because we are in multiple subgames s…
In the variant under discussion A is defined as 60: https://news.ycombinator.com/item?id=31574239
A and 2A are together, so you can't propose A/2 without violating the A and 2A codependency imposed by not knowing which subgame you are in.
There are multiple A when you get told 60. They are 30, 60, and 120. This leads to three potential solutions to the expected value: 3/2(30), 3/2(60), 3/2(120). You can't tell which of these solutions you are in, because you don't know. Regardless, since the terminating R(KEEP) condition is the only one that is defined P(SWITCH) = 1 still is either undetermined or 0 depending on how you solve the bellman equations. Your policy decides your expected value. So earlier I was a little loose when I claimed the 3/2A relationship.
Honestly, the wikipedia article is really terrible. It demands you stick in its formalism and declares you a no true scotssman if you don't, buts its approach is fundamentally wrong. Throw off its chains and consider the framing where you remove the requirement of thinking about imperfect information. People are bad at it and if this is confusing you then it is /because/ you are struggling with the imperfect information.
The way you convert between the two game types is this: Instead of states -> information sets. So you only have one move in this game. You always have the Null information set. You always have the same situation. So you're only allowed to have one choice and that is it every time forever. So you always have to make the same decision. Secondly instead of actions -> probability vectors over actions. To simplify and make it tractable assume [0.0, 0.1, 0.2, ... 1.0] so the action space is small. You are choosing 'an action' to take and its going to create multiple subgames. Focus on the recurrence relationship between those games. In particular look at the base case: R(KEEP) = {0.5: A, 0.5: 2A}.
Everything heads toward that base case except one thing: P(SWITCH)=1. It is a markov process and R(SWITCH) 'drains' so as to be R(KEEP) because any probability in it inevitably becomes R(KEEP) after enough iterations.
Notice that {0.5: A, 0.5: 2A} is always true! It is true for both you have A and you keep it and it is true for both you have 2A and you keep it, because notice - you never ever have A. You have the null information set. You can't ever see a difference between these two things.
The moment you force in the idea that you can actually define A to be a particular thing, you smash all over that recurrence relationship. You destroy the relationship. You claim there is no relationship between the policy function and the expected value even though /there is/. There is so much wrong with replacing R(SWITCH) with a fake reality where you can you know you're actually in 1/2A when you can't. And that is what the equations are doing. They're saying you can replace the dependence on each other with a subgame that exists in a different reality. Lets say 120 was when you got 60 - there is no 30 in existence, but your equation calls to replace the recurrence relationship with the idea there is one. It doesn't make sense.
Re: Two envelopes problem
#263Earlier quoted context omitted.
It depends on how the envelopes are prepared. If the two envelopes have x and 2x in them and one is randomly handed to you, there's a symmetry between them that tells you there is no benefit in switching. However, suppose x is placed in an envelope and handed to you. Then a fair coin is flipped. If it comes up heads, 2x is placed in another envelope and if it comes up tail, x/2 is placed in that envelope. Then you sh…
Oh, weird. I’m not sure I’d have naively realized that the fixed amount in your envelope makes so much difference. For people confused like me, think about the outcomes: When the two are prepared together, say $2 and $4, then when you exchange your options are +2 and -2 with 50:50 odds. When the second envelope is prepared based on $2 in your envelope , then when you exchange your options are +2 and -1 with 50:50 odd…
The introduction of a second "stage" based on your action changes things in a non-obvious way. Your first action is less impactful than your second one, regardless of what you did.
Re: Two envelopes problem
#264A simple non-mathematical resolution is that no information has been gained by selecting the first envelope. Since no information about the contents was available before selecting the first envelope switching envelopes is a neutral act. While this sounds like just a lazy intuitive explanation, it calls out the key component - a lack of information about the outcome - that can help avoid the paradox in more complex si…
Yeah I was looking for someone saying this to double down. I think the "paradox" comes down to information loss. The tricky bit is this framing: "when you're holding an envelope, the other envelope contains >= $MONEY, so there's no reason not to switch". But this omits (loses) the information of " both envelopes contain >= $MONEY". That is, as soon as you switch to the other envelope, the situation is still true, the…
If you have a tree:
0.5
/ \
A 2A
In a perfect information game you can do this thing where your like "assume a" and think ahead and then "assume 2a" and think ahead. But in the the imperfect information game world you don't know whether you have a or 2a. So you have to "assume a 2a" and you have to deal with your solution space using counterfactual reasoning. Picture a chain coming out from the A to the 2A. They are married. They cannot be parted.It is really counterintuitive, but the way I think about it is "you are playing every game at once" and "you are playing a game over information sets and strategy choices" not "state space and actions" so since you are playing every game at once already when they come in with that other game - well, you were already playing another game. They're overwriting that part of your solutions memory. Which in math terms declares an equality. In that case that equality is 2=1 because they say A = A/2 or that 2A=A depending on which framing you use to build the real game tree.
The actual recurrence relationship is obviously
R(KEEP) = {0.5: A, 0.5: 2A} = 3/2A.
R(SWITCH) = P(KEEP)*R(KEEP) + P(SWITCH)*R(SWITCH)
Solving the game from there is really trivial - you're only allowed one strategy selection per information set and you only one set the null set. You literally get to make only one decision as to a scalar between 0 and 1 to define P(KEEP) and P(SWITCH) which is going to be 1-P(KEEP).`R(SWITCH)` becomes `R(KEEP)` because of the way the markov chain drains into it. Literally the only thing you can't pick is `P(SWITCH)=1`. Everything else is an equivalent EV solution. P(SWITCH) And since the problem didn't make this clear, your policy __influences your expected value__ and so their reasoning process is just so broken at a fundamental level. They literally declared 2=1 and therefore undefined solution is the best answer despite infinite solutions that aren't undefined. Its... really bad reasoning. Don't listen to the idea that switching is better. It can't be. Look at the actual relationship. Look at the actual graph. They skip some really important steps, like using the same gametree for the entire calculation.
Re: Two envelopes problem
#265Earlier quoted context omitted.
In the variant under discussion A is defined as 60: https://news.ycombinator.com/item?id=31574239
You don't know what A is even if he tells you the first envelope is 60. A and 2A exist together counterfactually, if you have A, you have 2A, if you have 2A, you have A. This is a fundamental property of imperfect information games. You don't have State=A, ever, and you are lying to yourself when you pretend that you do. It is /why/ the reasoning error happens. State based reasoning only works in perfect information…
A=60 is the amount in our chosen envelope - we are given this information in the variant in this thread. What we still don't know is if that is the larger amount (and thus the other envelope contains 30, and therefore x=30), or the smaller amount (and the other envelope contains 120, and therefore x=60).
The error is (in step 7) to calculate the arithmetic expectation of those absolute values, because they do not exist "together". The correct arithmetic mean can be obtained by considering the different conditions in which those values do exist, as described in [0]. However, the ratios do exist "together" - the other envelope contains either double or half of 60 - so we could instead calculate the geometric mean, of either the ratios or the corresponding absolute values, and obtain the correct result:
(2 * 0.5) ** 0.5 = 1
(120 * 30) ** 0.5 = 60
[0] https://en.wikipedia.org/wiki/Two_envelopes_problem#Other_si...edit: changed “first envelope” to “chosen envelope” for clarity.
Re: Two envelopes problem
#266Earlier quoted context omitted.
Yeah I was looking for someone saying this to double down. I think the "paradox" comes down to information loss. The tricky bit is this framing: "when you're holding an envelope, the other envelope contains >= $MONEY, so there's no reason not to switch". But this omits (loses) the information of " both envelopes contain >= $MONEY". That is, as soon as you switch to the other envelope, the situation is still true, the…
The right resolution is: suppose the two amounts are $50 and $100. If the envelope you have contains $50 and you switch, your gain is $50. If it contains $100 and you switch, your gain is -$50. So your expected gain from switching is (0.5)(50) + (0.5)(-50) which is zero. The way that they fool you is by saying that you either double your money or you halve it, leading you to think that your expected ratio is 2.5/2. B…
This is the key difference between perfect information and imperfect information. In perfect information you can do the assumption of just one subgame and it works because you know what game you are in - its the one you are in. So you are playing over states and actions. In imperfect information you have to assume you are in both at the same time - so you can't assume one subgame, because you don't know which one you are in. You are playing over information sets - every state contained within that information set, not just one state.
I have a feeling that saying it like this, in the general way, is a lot more confusing to people than your phrasing. So thanks for sharing your phrasing.
Re: Two envelopes problem
#267Earlier quoted context omitted.
In the variant under discussion A is defined as 60: https://news.ycombinator.com/item?id=31574239
You don't know what A is even if he tells you the first envelope is 60. A and 2A exist together counterfactually, if you have A, you have 2A, if you have 2A, you have A. This is a fundamental property of imperfect information games. You don't have State=A, ever, and you are lying to yourself when you pretend that you do. It is /why/ the reasoning error happens. State based reasoning only works in perfect information…
Re: Two envelopes problem
#268Earlier quoted context omitted.
The right resolution is: suppose the two amounts are $50 and $100. If the envelope you have contains $50 and you switch, your gain is $50. If it contains $100 and you switch, your gain is -$50. So your expected gain from switching is (0.5)(50) + (0.5)(-50) which is zero. The way that they fool you is by saying that you either double your money or you halve it, leading you to think that your expected ratio is 2.5/2. B…
That’s a different problem though. In the original problem you don’t know the two amounts ahead of time. All you see is $50 in your envelope - you don’t know if the other one is $100 or $25 and you’re back to square one.
Which is why the problem as stated doesn't let you look in the envelope before deciding whether to switch or not. Then it's obvious switching makes no difference.
Re: Two envelopes problem
#269Earlier quoted context omitted.
That precisely what's wrong, because A is not the same quantity in both "A" part of the equations. The right formula is changing either the 0.5A by A or the 2A by A. Try with A being a real like 100 usd numbers to see it. Basically you can't have "two realities" in the same equation. U havé to pick one.
> The right formula is changing either the 0.5A by A or the 2A by A. No it's not, that's not how you make EV calculations. As I already said in my previous post, the parts in the EV calculation do NOT refer to the pair of envelopes. Both parts refer to the same object, not to different objects. You are trying to change the EV calculation such that the different parts refer to different envelopes. This does not make a…
Since you seem to be making some authority arguments just know that I have a PhD in ML / stats and was top 30 in my country in olympiad level competitive maths so I DO know what I do and in this case with absolute certainty.
Look for the other guys answer if you want more details
Re: Two envelopes problem
#270Earlier quoted context omitted.
Because A has just not the same value in both terms of the equation. In the left it means "the lowest" and in the other "the highest". It's two versions of the reality in the same equation, which is wrong. Use 100 usd / 200 usd instead of A and 2A and you'll see. If you never switch and if you always switch in both case the equation is 100×0.5 + 200x0.5
I agree that's true once we know that the two envelopes have 100 and 200 dollars. For me the tricky part is, how do we know it's 100 and 200? Maybe we have two envelopes with 100 and 50 dollars instead.
The problem is that they interchange A being the lowest and the highest in the same equation.