jeremyhussell feed - LessWrong 2.0 Readerjeremyhussell’s posts and comments on the Effective Altruism Forumen-usComment by JeremyHussell on Possible worst outcomes of the coronavirus epidemic
https://lw2.issarice.com/posts/u2Q3cAzqvsAW5EsNa/possible-worst-outcomes-of-the-coronavirus-epidemic?commentId=yMciF4uaJ6Cs69Hmz
<p>After-the-fact analysis of the causes of major disasters often reveals multiple independent causes, none of which would have caused a disaster by itself, but each of which degraded or disabled the usual safeguards in place for the other problems. This seems to come up in everything from relatively small-scale transportation disasters to the fall of civilizations, and possibly in major extinction events. E.g. there have been many large asteroid impacts, but the one which finished off the dinosaurs happened to also coincide with (and possibly triggered or exacerbated) major volcanic activity. (The Deccan Traps.)</p><p>So the worst possible outcome of the epidemic might be that it happens to coincide with some other, totally unrelated disaster. For example, natural disasters such as earthquake+tsunamis, widespread rainfall and flooding, major fires piling air-quality issues on top of COVID-19 breathing problems, and so on. (In a way, I'm thankful the recent fires in Australia happened then, and are therefore not happening now.) Unrelated war(s) would make everything worse. So would a second pandemic at the same time. So would just about anything on the list of possible existential risks. I think this would count as a worst-case outcome of the epidemic, even though it would be an indirect outcome.</p><p>The global scale of this epidemic, and its months-long projected duration, seem to make it more probable that something else will go badly wrong just when everything else is under stress.</p>jeremyhussellyMciF4uaJ6Cs69Hmz2020-03-15T14:35:23.148ZComment by JeremyHussell on Possible worst outcomes of the coronavirus epidemic
https://lw2.issarice.com/posts/u2Q3cAzqvsAW5EsNa/possible-worst-outcomes-of-the-coronavirus-epidemic?commentId=FTAGEv8LP9X3anHcT
<p>Once enough people have been infected and recovered, gaining immunity, the evolutionary pressures on a virus switch from "spread as fast as possible into new hosts" to "keep the current host alive and infectious long enough to encounter a host without immunity". Even though influenza periodically bypasses existing immunity, the evolutionary pressure towards lower mortality is still present most of the time. In particular, our actions to quarantine and isolate, if sufficiently widespread, will also put a lot of evolutionary pressure towards less-severe effects on SARS-CoV-2. All those mild and asymptomatic cases? Pretty soon those are going to be the most successful replication strategy, and the SARS-CoV-2 population as a whole will be pushed towards causing lower mortality.</p><p>There is still a chance we'll have repeated high-mortality waves, but one should note that coronaviruses and influenza viruses are not particularly closely related. Influenza seems to have about one mutation in its protein coat <em>per replication</em>, while as of Feb. 11th the 81 sequenced samples of SARS-CoV-2 had "at most seven mutations relative to a common ancestor". So I'm inferring that SARS-CoV-2 is less likely to be able to bypass existing immunity on a yearly basis. Influenza has a high mutation rate due to lacking RNA proofreading enzymes, so if SARS-CoV-2 has an RNA proofreading enzyme or hijacks host-cell proofreading enzymes I would also update towards a lower probability of repeated waves. Influenza is also unusual because it's composed of eight pieces of RNA, which makes it easy for different strains of influenza to swap genes when they infect the same cell at the same time. This is another major reason that influenza bypasses immunity so often. SARS-CoV-2 seems to have one 30,000 base-pair segment of RNA, so it can't do that trick either.</p><p>There are still a lot of unknowns, but so far there's no evidence I've heard of which has made me update towards SARS-CoV-2 being more likely to be able to bypass existing immunity than other coronaviruses, much less influenza.</p>jeremyhussellFTAGEv8LP9X3anHcT2020-03-15T14:22:54.639ZComment by JeremyHussell on Simplified Poker
https://lw2.issarice.com/posts/i2M3vWPBqyefh3uow/simplified-poker?commentId=N2nwKPLNz8dksqrFp
<p>8 months late. I'm coming into this cold but having previously read about a very similar competition to create strategies to play Rock-Paper-Scissors (RPS). First, work out all the decision points in the game, and the possible information available at each decision point. We end up with 2 binary decisions for each player, and 3 states of information at each decision point.</p><p>So my first strategy is to predict my opponent's decisions, and calculate which of my possible decisions will give me the best result. For RPS this is pretty simple:</p><p>P(R), P(P), P(S): probabilities my opponent will play Rock, Paper, and Scissors.</p><p>V(R), V(P), V(S): expected score (value) for me playing Rock, Paper, Scissors.</p><p>V(R) = (P(R) * 0 + P(P) * -1 + P(S) * 1) / (P(R) + P(P) + P(S))</p><p>The calculation on the line above is for the general case. For the specific case of RPS, it simplifies to:</p><p>V(R) = P(S) - P(P)</p><p>V(P) = P(R) - P(S)</p><p>V(S) = P(P) - P(R)</p><p>A surprising number of competitors fail to play optimally against their opponent's predicted actions. For example, with P(R) = 0.45, P(P) = 0.16, P(S) = 0.39, many competitors play Paper, even though the best expected value is from playing Rock. (Optimal play exploits unusually low probabilities as well as unusually high probabilities.)</p><p>In RPS there are three possible decisions, but in simplified poker all the decision points are binary, so we can use A and !A to represent both probabilities, instead of A, B, and C. I choose to represent betting and calling as direct probabilities, and checking and folding as the complementary probabilities.</p><p>A, B, C: player #1 bets with a 1, 2, or 3 respectively</p><p>D, E, F: after a check and a bet, player #1 calls with a 1, 2, 3</p><p>G, H, I: after a bet, player #2 calls with a 1, 2, 3</p><p>J, K, L: after a check, player #2 bets with a 1, 2, 3</p><p>The expected value calculations are more complicated than in RPS (among other things, you can be uncertain about the current state of the game because you don't know which card your opponent has, and the outcome of player #1's game sometimes depends on its own future decisions), but thanks to the binary decisions the results can be simplified almost as much as in RPS.</p><p>D(A), D(B), etc.: condition necessary to decide to do A, B, etc. Calculate V(A) and V(!A), then D(A) = V(A) > V(!A) and D(!A) = V(A) < V(!A). If they're equal, then you play your predetermined Nash equilibrium strategy.</p><p>Player #1:</p><p>D(A) = 4/3 > P(H) + P(I)</p><p>D(B) = 2 + P(G) + z > 3 * P(I), where z = P(L) - P(J) when 3 * P(J) > P(L) and z = 2 * P(J) when 3 * P(J) < P(L)</p><p>D(C) = P(G) + P(H) > P(J) + P(K)</p><p>D(D) = false</p><p>D(E) = 3 * P(J) > P(L)</p><p>D(F) = true</p><p>Player #2:</p><p>D(G) = false</p><p>D(H) = 3 * P(A) > P(C)</p><p>D(I) = true</p><p>D(J) = P(!B) * (2 * P(!E) - P(E)) > P(!C) * (P(F) - 2 * P(!F))</p><p>D(K) = P(!A) * P(D) > P(!C) * (3 * P(F) + 2)</p><p>D(L) = P(!A) * P(D) + P(!B) * P(E) > 0</p><p>Translated back to English:</p><p>#1 with a 1: If you predict #2 will fold often enough, then bet (bluff), otherwise check, and always fold if #2 bets.</p><p>#1 with a 2: Bet only if you predict #2 will call with a 1 and fold with a 3 enough more than bluffing with a 1 and checking with a 3. Call after #2 bets if there's a high enough chance it's a bluff.</p><p>#1 with a 3: Bet or call depending on whether #2 is more likely to call your bet or bet after you check. Always call if #2 bets.</p><p>#2 with a 1: If #1 bets, fold. If #1 checks and will fold often enough, then bluff, otherwise check.</p><p>#2 with a 2: If #1 bets, call if the chances of a bluff are high enough, otherwise fold. If #2 checks, check unless you predict #1 will call with a 1 and fold with a 3 often enough combined to be worth it.</p><p>#2 with a 3: If #1 bets, call. If #1 checks, bet.</p><p>Alert readers will complain that I've skipped over the most interesting step: predicting what my opponent will play. This is true, but the above steps needed to be done first, because many of the interesting strategies for predicting your opponent's play assume they've done the same analysis. If both players play following this strategy, and both know that the other will play following this strategy, then play settles into one of the Nash equilibriums. But, many players won't play optimally, and if you can identify deviations from the Nash equilibrium quickly then you can get a better score. If your opponent is doing the same thing, then you can fake a deviation from Nash that lowers your score a little, but causes your opponent to deviate from the Nash equilibrium in a way that you can exploit for more gain than your loss (until your opponent catches on). So I can predict you will predict I will predict you will... and it seems to go into an infinite loop of ever-higher levels of double-think.</p><p>My most important takeaway from the Rock-Paper-Scissors competition was that if there are a finite number of deterministic strategies, then the number of levels of double-think are finite too. This is much easier to see in RPS. Given a method of prediction P:</p><p>P0: assume your opponent is vulnerable to prediction by method P, play to beat it.</p><p>P1: assume your opponent thinks you will use method P0, and plays to beat it. Play to beat that.</p><p>P2: assume your opponent thinks you will use P1, and plays to beat it. Play to beat that.</p><p>But because in RPS there are only 3 possible deterministic strategies, P3 recommends you play the same way as P0!</p><p>There's also a second stack where you assume your opponent is using P to predict you, then assuming you know that, and so on, which also ends with 3 deterministic strategies.</p><p>In simplified poker, if you predict your opponent is not playing a Nash equilibrium strategy, and respond optimally yourself, then you will respond in one of 16 ways. If you assume your opponent has guessed your play and will respond optimally, then there are 8 ways for player #1 to respond, and only 4 ways for player #2 to respond. So, assuming I haven't made a mistake, there are at most 5 levels of second guessing, 1 for responding to naive play, and at most 4 more for responding to optimal play before either you or your opponent start repeating yourselves.</p><p>So, for any method of prediction which does not involve double-thinking, you can generate all double-think strategies and reverse double-think strategies. Then you need a meta-strategy to decide which one to use on the next hand. If you do this successfully then you'll defeat anyone who is vulnerable to one of your methods of prediction, uses one of your methods of prediction, or uses a strategy to directly defeat one of your methods of prediction.</p>jeremyhussellN2nwKPLNz8dksqrFp2019-01-26T17:28:42.942ZComment by JeremyHussell on An Undergraduate Reading Of: Macroscopic Prediction by E.T. Jaynes
https://lw2.issarice.com/posts/GQti87STuSDsQAtgP/an-undergraduate-reading-of-macroscopic-prediction-by-e-t?commentId=R3YLQNKP2KuoRAzRJ
<p>Note that this paper was first published in 1985, not 1996. The full source is in a footnote at the bottom of the first page.</p>jeremyhussellR3YLQNKP2KuoRAzRJ2018-04-21T20:10:51.867Z