400 points · by NN88 · 10y ago · 259 comments
The natural frequencies approach is to say "if 10000 people take the test, 100 will have cancer. Of them, 99 will get an accurate positive test, and 1 will have a false negative test. Of the other 9900, 99 will receive a false positive, and 9801 will receive a correct negative. What are the odds that someone who has a positive test has cancer?"
It turns out that doctors and other professionals whose core professional competency doesn't concern probability do terribly when presented with percentages and Bayes theorem, but can handle natural frequencies quite well (here's one quick summary: http://opinionator.blogs.nytimes.com/2010/04/25/chances-are/...).
As is obvious, this isn't an argument that Bayes' theorem is wrong--it's a theorem after all. It's an argument about which types of reasoning people can be easily taught.
Reality does not neatly format itself for easy plug-and-chug into your formulas. To appropriately respond to reality, you must be good at recognizing when there's a mapping to a well-tested formula, technique, or phenomenon.
Therefore, if you require problems to be phrased in a way such that that's already done, that means you're not good at that domain; blaming the phrasing of the problem is missing the point.
Indeed, 90% of the mental work lies in recognizing such isomorphisms, not in cranking through the algorithm once it's recognized, and this is a hard skill to teach. (Schools that teach how to attack word problems have to rely on crude word-match techniques to identify e.g. when you want to subtract vs add vs divide.)
https://plus.maths.org/content/reckoning-risk
> The prescription put forward is simple. Essentially, we should all be using natural frequencies to express and think about uncertain events. Conditional probabilities are used in the first of the following statements; natural frequencies in the second (both are quoted from the book):
> The probability that one of these women [asymptomatic, aged 40 to 50, from a particular region, participating in mammography screening] has breast cancer is 0.8 percent. If a woman has breast cancer, the probability is 90 percent that she will have a positive mammogram. If a woman does not have breast cancer, the probability is 7 percent that she will still have a positive mammogram.
> Imagine a woman who has a positive mammogram. What is the probability that she actually has breast cancer?
> Eight out of every 1,000 women have breast cancer. Of these 8 women with breast cancer, 7 will have a positive mammogram. Of the remaining 992 women who don't have breast cancer, some 70 will still have a positive mammogram. Imagine a sample of women who have positive mammograms in screening. How many of these women actually have breast cancer?
The question formed as 'your one patient tested positively' is more immediately relevant, I'd think. The correspondence with actual practice is obvious. The question formed as 'out of 10000 ...' could be remembered as a quirk of statistics, but not actually recalled when someone tests positively for cancer.
I suspect that this is simply a sense of scale, with the freq-vs-bayes aspect playing only a minor role.
The normalization that happens when you use percentages and 0.0 -> 1.0 probabilities is often useful, but it can sometimes obscure the magnitude of some relationships. It's easier to understand the sense of scale when you say "1 out of every 100,000 people" (which is easily extended to "a handful of people in a large city"). The same information is presented as "0.001% of the population" requires the reader to do more mental math if they want to understand how many people could be affected.
Knowing how to interpret false-positives and false-negatives is very important, but doctors are busy people who have to memorize a lot of data. It is probably better for patients if they can at least remember if something is "common" vs "rare" when they need to make a quick decision.
Moreover, the trend in modern medicine is towards combining binary/categorical tests with a range of distributions based on age, gender, race, genetic factors, vitals, continuous lab result values, etc. Yes, we can theoretically delegate some or all of that to software, but that is true for medical diagnosis in general; while we're not there, doctors must understand and perform these calculations.
So it seems fine to use natural frequencies to help out, but building Bayesian intuitions early and often seems a better path.
Also, endocrinology diagnostic platforms usually don't have identical accuracy rates for positive and negative results, varying by test, machine, controls used, etc.
A couple of comments are saying, "no duh" to this article, but those folks likely don't realize quite how many other people are falling into this trap. "Garbage in, garbage out" is only good advice when the person you're saying it to realizes they're putting garbage in.
- Richard P. Feynman
Alas, nothing is robust to sophisticated idiocy.
In the end it's stuck at one level of recursion and all facts are fuzzy.
Frequencist methods when they are used to make predictions and get useful information out of experiments have hidden implicit priors that bias inferences in opaque ways.
The very honest frequencists will admit that their procedures are only rejecting hypotheses so small as to have no practical utility. Others will use weird and dishonest doublespeak where they call rejecting an insignificantly small hypothesis "statistical significance".
But I suppose they do redeem themselves a bit with the wording "null hypothesis" which candidly conveys the sense of having significantly rejected _nothing_.
I assume you're saying LessWrong folks are more prone to miscalculating priors than most. Could you give some examples of this?
Also, this is one strange thing - any time someone asks us (the STEM crowd), "what will I ever use math for in my life?", the default answer seems to be, "it's about having more tools for thinking, and greater clarity of thought; it'll make you smarter". But then, some of us turn around and refuse to acknowledge that people who actually learn math and try to apply it may be getting those promised results. Whether it's LW people, programmers, engineers or scientists, the moment it matters, the default conclusion is that math gives nothing.
> belief in AI overlords ruling humanity, the technological singularity, cryogenics, or impending 1000-year human lifespans
I don't think anyone on LW believes these are 'facts' that are 'correct'. LW commonly thinks of these ideas as risks / opportunites that might happen (except for the 1000-year human lifespans, which is a new idea to me), and that it's probably worth investing minor amounts of money in case it does. In case of cryonics, that's about $20/month for insurance that covers it; in case of AI safety, that's a couple people doing research on the problem, and some amount of money sent their way.
The way you phrase it seems like LW people are certain that cryonics will definitely let them be revived after death. That's definitely not the case - in fact, IIRC, on a survey a year or two ago LWers subscribed to cryonics assigned lower probability of it working than ones not subscribed. It's not a cargo-cult.
I'd love to explain the basic position, and tell me where you disagree with it. This is the basic position:
1. Intelligence can be created, because there is nothing "special"/"magical" about humans, and our intelligence was eventually created.
2. At some point, humanity will create an "artificial general intelligence". (Since we'll just keep improving science and technology, and there's no fundamental reason why this won't eventually allow us to create an intelligence.
3. "Artificial general intelligence" basically means a machine that is capable of achieving its goals, where the goals and methods it uses to achieve them are general. I.e. not "is able to play chess really well", but rather "is able to e.g. cure cancer".
4. For various reasons, once we have an artificial intelligence, it will likely become much smarter than us. (There are many reasons and debates about this, but let's just assume that since it's a computer, we can run it much faster than a human. If you dispute this point, we can talk about it more).
5. Something being much more intelligent than us means that, in effect, it has almost absolute power over what happens in the world (like we are basically all-powerful from the vantage point of monkeys, and their fate is totally in our hands).
6. (This is, I believe, the main point): Something being "intelligent" in the sense we're talking about doesn't say anything about what its goals are, or about how its mind works. We're used to everything that's intelligent being a human being, therefore the way our mind works is basically the same across every human. With an artificial intelligence, it will work completely differently from our mind. So if we "tell it" something like "cure cancer", it won't have our intuition and background knowledge to understand that we mean "but don't turn half the world into a giant computer in order to cure it".
7. Combine the two points above, and you get the large idea - whatever the goals of the AI will be, it will achieve them. Its goals won't, by default, be ones that are good for humanity, if only because we have no idea how to program our "value system" into a computer.
8. Therefore, we need to start working on making sure that when AI does come, it's safe. Even if we create an AI, the "extra" problem of making it safe is both hard, and we have absolutely no idea how to do it right now. We have no idea how long AI will take, or how long figuring out safety will take, but since this is a humanity-threatening problem, we should devote at least some resources to working on it right now.
That's it, that's the basic idea. I'd love to hear which part you disagree with. I totally understand that not everyone will agree on some of the final details like, e.g., how many resources we should effectively devote right now (you might even claim it's 0 because anything we do now won't be useful).
But I think the overall reasoning is sound, and would love to hear an intelligent disagreement.
They're no better than any other cult in my book. The problem is that it's only going to get worse with the advances in AI that are going on. Yudkowski has managed to convince some wealthy people to fund his so called research and we have OpenAI operating in the same waters which somehow gives LW people more legitimacy.
Does anyone commonly set their priors to be a distribution? Perhaps a range or actually a normal distribution to represent a prior with uncertainty?
Yes, with two caveats. First, you can't have assigned zero probability to the right answer. Which means that if you have a probability distribution over hypotheses, and the right answer wasn't one of the hypotheses in the distribution, you're doomed from the start. The Solomonoff prior is a mathematical construct that gets around this problem by including every hypothesis that can be expressed as a Turing machine, but it gets used more as a philosophical token than an actual computing tool because it's unfeasible to use directly. The second issue is that if you have a bad enough prior, "enough additional pieces of evidence" can be an arbitrarily large amount, and there may only be a limited amount of evidence available to collect. In particular, rerunning an experiment over and over can only provide a limited amount of evidence, because of the possibility that some systematic error affects every instance of the experiment.
It's been argued that frequentist analysis is essentially a Bayesian analysis with a prior distribution centered on zero with bounds from positive to negative infinity.
Essentially, two genuine Bayesian rationalists (with some hand wavy preconditions) cannot agree to disagree; ie, they will eventually converge onto the same understanding of an event.
For a finite set of evidence (particularly chosen by someone with bias), bias + evidence can be arbitrarily far from the truth.
Almost everyone does this, and the solution is a posterior probability distribution. Most uses of Bayesian techniques that I'm familiar with are based on Monte Carlo simulations, where priors are drawn from the specified prior distribution, processed in some fashion, and result in samples of the posterior distribution.
This is especially helpful when you don't view the problem as having a 'true' single answer with some 'uncertainty' but instead have actual variability in the system, which is described by the posterior distribution.
Thinking about it, I'm really not sure in what instance the prior wouldn't be a distribution. It is, by definition, a probability. I suppose you could have a singular value, where the pdf is a delta function, but what's the point of doing the Bayesian inversion or estimation then? If you have a single value with prior p(x) = 0 or 1, you should end up with the posterior p(x|d)=0 or 1.
So the simplest case is where the prior is a binary: Say p(x=yes) = 0.6, p(x=no)=0.4. Or something like that. It's not a continuous distribution but it's still a distribution. The sum/integral of all cases has to be 1.
The technical term for the condition you're interested in is consistency. There is a theorem (Doob) regarding the consistency of Bayes estimates. [1]
In simple cases it means that under any non-silly prior your posterior will converge to the truth. E.g. mean of a normal distribution with a normal prior.
The complex cases include things like models that expand when given more data.
That's the general trend: pooling data tends to make priors converge. However, converging priors isn't quite the same thing as everyone converging on the truth.
Statistical expressions themselves are an incomplete explanation, we routinely use assumptions about the direction of causality that aren't captured in them. See Judea Pearl's "Why I am only half Bayesian" paper for a discussion as well as an intro to how his framework approaches such independence assumptions.
ETA - caveat to the 2nd question: ... unless you've restricted your prior to exclude the truth.
Mis-specified/faulty priors are absolutely a possible pitfall of Bayes, but Jeffreys Priors are a means to circumvent this: https://en.wikipedia.org/wiki/Jeffreys_prior
Another thing not mentioned in the article is that Bayes DOES converge to the frequentist result in the limit of big data.
Contrast this with an alternative conception of rationality as espoused by David Deutsch.
David Deutsch in his superb books, 'The Fabric Of Theory' and 'The Beginning Of Infinity', argued for a different theory of reasoning than Bayesianism. Deutsch (correctly in my view) pointed out that real science is not based on probabilistic predictions, but on explanations. So real science is better thought of as the growth or integration of knowledge, rather than probability calculations.
So what's wrong with Bayesianism?
Probability theory was designed for reasoning about external observations - sensory data. (for example, "a coin has a 50% chance of coming up heads"). In terms of predicting things in the external world, it works very well.
Where it breaks down is when you try to apply it to reasoning about your own internal thought processes. It was never intended to do this. As statistician Andrew Gelman correctly points out, it is simply invalid to try to assign probabilities to mathematical statements or theories, for instance.
Can an alternative mathematical framework be developed, one more in keeping with the ideas of David Deutsch and the coherence theory of knowledge?
I believe the answer is yes, and I am going to sketch the basic ideas for such a framework.
The basic idea is to separate out levels of abstraction when reasoning (or equivalently, levels of recursion). In my proposed framework, there are 3 levels, and each level gets its own measure of 'truth-value'. All reasoning must terminate in a Boolean truth value (True/False) at the base level but the idea is that different forms of reasoning correspond to different levels of abstraction.
1st level: Boolean logic (True/False)
2nd level: Probability value (0-1)
3rd level: Conceptual coherence (categorization measure)
For full reflection, you need three different numbers: a Boolean value (T/F) at the base, a probability value (0-1) at the next level of abstraction, and an entirely new measure called conceptual coherence at the highest of abstraction.
As a rough working definition of conceptual coherence, I would define it thusly;
"The degree to which a concept coheres with (integrates with) the overall world-model."
It should now be clear what's wrong with Bayesianism! It only gets us to the 2nd level abstraction! There is not just uncertainty about our own knowledge of the world (probability), there is another meta-level of uncertainly; uncertainty about our own reasoning processes, or logical uncertainty. Bayesianism can't help us here. Conceptual coherence can. Lets see how:
All statements of the form:
‘outcome x has probability y’
can be converted into statements about conceptual coherence, simply by redefining ‘x’ as a concept in a world-model. Then the correct form of logical expression is:
‘concept x has coherence value y’.
The idea is that probability values are just special cases of coherence (the notion of coherence is more general than the notion of probabilities).
To conclude, conceptual coherence is the degree with which a concept is integrated with the rest of your world-model, and I think it accurately captures in mathematical terms the ideas that Deutsch was trying express, and is a more powerful method of reasoning than Bayesianism.
I'm only a bit disappointed that the author seems not to realize that Bayes' theorem is just a simple consequence of probability theory, and should be attractive not because "maybe the brain is Bayesian", but because it is based on sound set-theoretic and analytic principles. If Bayes' theorem is false, so is probability theory, and so is nearly everything we know about probability.
Edit: Here is a good explanation of the theorem that makes it visually clear how only set theory is involved in deriving it: https://oscarbonilla.com/2009/05/visualizing-bayes-theorem/
For example, the Banach-Tarski theorem is solid, but that doesn't mean you can start a business making golf balls by buying one and then endlessly replicating it.
But of course, most people do assign probabilities to hypotheses and fixed parameters, even if only informally. Bayesian probability theory is an attempt to formalize that kind of intuitive reasoning.
If you model "thinking" and "believing" as sampling in probabilistic programs (which they do in some schools of cognitive science), then Bayes' Theorem becomes a theorem about how often certain execution traces occur when the sampling program is run with fresh randomness. You then need none of the weird metaphysics associated with "subjective Bayesianism".
p(A and B) = p(B and A)
p(A and B ) = p(A) * p(B|A)
we have: p(A) * p(B|A) = p(B) * p(A|B)
p(B|A) = p(B) * p(A|B) / p(A)Many investigators in parapsychology who were sincere and intelligent appear to have based their career on the incorrect use of frequentist statistics.
And it's not just them. Ernerst Rutherford, who discovered the atomic nucleus, "If your experiment needs statistics, you ought to do a better experiment." In the 1990s I was a physics grad student and I think none of the professors had ever heard of the idea of a parameter estimator so we had a bunch of ad-hoc ways to fit power law coefficients that gave different answers and no way to judge goodness of fit that was thought out at all.
One postdoc in my lab suffered through a difficult job market before finally, after a decade of anxiety and uncertainty, got a tenure track position and eventually wrote a paper on how to fit power law curves... in a statistics journal.
And this was in a good department with people in which I was proud of both the teaching and research going on.
Cosma Shalizi has written some interesting posts on this subject, and also published papers in statistics journals:
There already was stuff in the stats literature in the 1990s that was much better but people in the physics community (such as myself) were not aware of that literature. On the other hand, stats people were not particular aware of the way power laws were occuring in physics.
I saw things that did not add up ten years earlier and Mark Newman did too but we were both so caught up in the rat race, consensus reality, collective delusion, whatever you call it that I left physics before I could address the problem and he suffered through years of bullshit before he could find the time to do something about it.
Watching Mark write great papers, write great book chapters and suffer from tremendous anxiety over his career was a big reason why I left.
If you sample 100 values out of a very large pool and add them up then divide by 100 what you get is not the mean of the distribution, but an estimator of the mean of the distribution as you would get a slightly different answer if you picked a different 100.
Often estimators are simple formulas like that (they are for power laws) but there are subtle details, for instance to get the standard deviation in that case you might think you divide by N (100) but you really should divide by N-1 (99).
Back in the 1990s myself and the people around knew some popular statistic formulas but not the concept of estimating a parameter.
And of course its not physics. Social scientists and life science people tend to take a course on statistics but it is fair to say that the median paper in those fields has some mistake in how they do statistics.
I've always been bothered by statements like this about medical tests. This assumes that false positives are statistically independent. But isn't it more likely in general that false positives would be highly correlated in individuals, test administrators, or labs? E.g. If the same person takes the same test from the same doctor and sends it to the same lab, it seems extremely unlikely that the results will be independent. And to me at least, it seems highly likely that a false positive will correlate with some aspect of the individual's biological (e.g. some similar substance in the blood to what's being tested), and as such even using a different doctor/lab would not be all that likely to ameliorate this issue.
> If you get tested again, you can reduce your uncertainty enormously, because your probability of having cancer, P(B), is now 50 percent rather than one percent. If your second test also comes up positive, Bayes’ theorem tells you that your probability of having cancer is now 99 percent, or .99.
This statement is incorrect if the results are correlated at all.
In the mean time as a thought experiment, going with a blood test example:
* levels of the compound being tested may rise or fall naturally, and the test checks for a certain concentration or above. * the patient may have the condition, but not have had it long enough for markers to have risen to "trigger" levels. * The patient may not exactly follow pre-draw instructions on eating etc, skewing results * in the case of false negative: the person's immune response may be temporarily suppressing the marker * in the case of something like cell counts - this sample could just be a random local variation * The tech or doctor or whoever could randomly make a mistake on one sample, but not on each sample.
And so on. My devil's advocate point here is that the patient, doctor, lab, and so on are not deterministic code - there are a lot of random inputs in the entire process chain.
Basically, you're thinking of your blood composition as stateless, when it may also be counted as an "external factor".
Given that it could go either way, it makes sense to think of each one as independent.
Now if you really wanted to take advantage of Bayes, if you got a positive test then you should get two more tests, one with the same lab and one with a totally independent lab (or even if you got a negative test, assuming your first Bayes run gives a 50% confidence)
More information allows for better reasoning. Repeating the same test and also doing a "more independent" test are the minimum next two things you should do given a positive result on a single test.
> Bayes’ theorem has become so popular that it even made a guest appearance on the hit CBS show Big Bang Theory
That's not a sign that it has become popular, any more than the appearance of the standard human pedigree notation used by genetic counselors on the same whiteboard indicates that standard human pedigree notation has become popular among the general public. It's simply a sign that BBT takes care to make the whiteboards generally scientifically sensible.
They have a UCLA physicist [1] consultant who works with the producers, writers, prop people, set decorators and others to try to make things scientifically accurate.
In this particular episode, both Bayes' theorem and the genetic information are there because Sheldon was trying to figure out his chances of surviving until technology reaches the point that he can transfer his mind to an AI and what he would have to do to improve those chances. So both those things were on the whiteboard because they are things that would be perfectly reasonable to find on the whiteboard of someone doing that.
They consulting physicist had a blog [2] where he covered most episodes and talked about the whiteboards and other scientific content. Here is the entry for the aforementioned episode [3].
[1] http://bigbangtheory.wikia.com/wiki/David_Saltzberg
[2] https://thebigblogtheory.wordpress.com
[3] https://thebigblogtheory.wordpress.com/2010/09/30/s04e02-the...
Oh please. You can do plenty of psuedoscience and superstition with good old frequentist statistics. And of all the people you could pick to represent Bayesian statistics, instead of I don't know, Andrew Gelman or someone, the author picks... Eliezer Yudkowsky? If nothing else, this provides inspiration for me to quit procrastinating on my "ASK ME ABOUT ROKO'S BASILISK" novelty t-shirt idea.
That's not really the point. The article is simply saying that Bayesian methods are not a silver bullet; it's not saying that other methods of statistics are free from problems.
But it's not really saying it in passing; the headline is taken from that paragraph. At that point it almost feels like a takedown of a strawman Bayesian.
Can you tell us the story about that party when you got so drunk and started yelling in anger at a poor random dude? Except you weren't drunk at all and the dude behaved like an asshole, but nobody cares about the truth since you're a nerd and you look cute when you're sad that we're telling stories about your drinking problems.
That's basically what happened there. I wish people stopped with this Roko's Basilisk nonsense.
Eliezer's argument was that Roko behaved unethically by posting something he claimed to believe will hurt people who will read it. That's irrelevant to whether the post itself was an information hazard or not. Eliezer actually later claimed it wasn't, that Roko was wrong. But the whole situation ended up being used to prove the point that LW people are loonies who invent and believe crazy things.
Hence my analogy, in which one person is rightfully angry at another, but ends up being painted as having issues instead.
Why should we take you seriously when you resort to such cheap attacks?
A colleague of mine says 'Sometimes pulling numbers out of your arse and using them to make a decision is better than pulling a decision out of your arse'
Agreed! Leaving the pseudoscience example aside - since there are strong emotions involved - we can clearly see that it is indeed useful and necessary to take decisions under uncertain/incomplete information. This is advantageous whenever the cost of inaction is expected to exceed the cost of backtracking a less than perfect decision, which often is the case.
Let's say... project management. IF you take the time to find out that your project requires 100 tasks, 30 of which lay in your critical path; you can argue if each task will take one day or one week to complete, and you can debate whether adding a 3rd or 4th member to the team will significantly speed up the completion date or not. But you will definitevely be in better shape than if your PM just cook up some 5-page-spec overnight and commited to have it running in beta test by the end of the month before even anouncing it to the team...
Which itself will be better than having all your potential contracts snatched by competitors that never do any estimation at all but are very good at pulling themselves out of tarpits of their own making.
I believe so. If your belief is baseless, or based on flimsy evidence or simple bias, it's best if that's obvious. Dressing up weak reasoning to seem stronger is a form of lying. It's what we call sophistry. A big part of the problem is that for a lot of people don't understand the math well enough to point out what's wrong with it or have a bias towards explanations that seem complex or sophisticated but really aren't.
It's true that sometimes we have to make a decision based on poor or no evidence but it should be clear that that is the case when that is the case. Dressing up the argument only obfuscates that.
But, in practice all we have are measurements, and from that we want to find an optimal (or good) estimate for what the events were. Hence, inversion.
Bayes formula expresses P(x|y) in terms of P(Y|x), so you can perform the inversion using bayes.
In many fields establishing the prior is difficult, hence frequentist methods are popular.
There are many techniques for the statistical inversion problem. Trying to track a ballistic object in a vacuum? Fit the measurements to a second order polynomial (parabola) and you are done (well, you have to decide least squares vs robust methods, but it is not such a hard problem in the scheme of things). Trying to track a manuevering jet, stock prices, or disease incidence rates. Now your model of the problem is much less clear.
We model lack of information as random variables. It isn't "random" in the deterministic sense, just in the sense that we don't know. Establish a good probabilistic description of that lack of knowledge in your prior, and you are probably going to get good result: this jet fighter is probabilisticly either moving straight, performing a coordinated turn, or performing an uncoordinated turn. Use a Markov chain to model those likelihoods (e.g.), and you may end up with good results. But if your modeling of the prior is poor, well, good luck to you, your output is probably nonsense.
> Bayes’ theorem is a method for calculating the validity of beliefs (hypotheses, claims, propositions) based on the best available evidence (observations, data, information).
Bayes theorem is a statement about probability, not "validity." This description makes it sound like Bayes theorem is a function BT(belief, evidence) = validity of belief. But it's not like that at all.
Probability is a way of measuring uncertainty. Things are uncertain for two main reasons: either we can't observe them directly ("do I have this disease or not?") or they haven't happened yet ("what side will this coin flip land on?"). (If you believe in a deterministic universe, the second is just a special case of the first.)
The "beliefs" (aka priors/posteriors) in Bayes theorem are statements of probability. To use the article's example, if it is claimed that 1% of the population has a certain disease, your "belief" or "prior" is that P(I have the disease) = 0.01. The article seems to get confused and think that the "belief" here is "I have the disease." Bayes theorem doesn't tell you about "the probability that a belief is true" like the article says, the belief is a probability. It also doesn't tell you if your belief is "valid."
Bayes theorem takes your existing belief about the probability of something and gives you a new probability that incorporates some evidence you observed.
I certainly haven't thought this through, but maybe this would make science more modular: combine the updates from M studies and calculate the new, combined update. Statisticians, does this work?
Typically, if you are practitioner in the field, it is not too difficult to identify instances where the result is highly dependent on the choice of prior.
The problem is, having tried it, this is much more difficult to do in practice.
On the first point this is equivalent to contracting a builder to build a house in any style.
Choosing a prior isn't always just about picking a wide band around 3 or a narrow band around 2. This is like the builder offering a choice of curtain colours from a swatch.
Making a commitment to implement any prior could be totally. Like the overcommitted builder being asked to reconstruct R'lyeh.
BT inverts conditional probabilities. If you can estimate P(E), P(H) and P(E|H) better than P(H|E) it will give you a better result. It is one of many probability identities. But someone it has become 'the one', as if, say P(H|E) = P(H&E)/P(E) isn't much use, but put two of those together: world changing.
I've seen so much crap come out of this fad. My particular favourite is in theology. William Lane Craig has demonstrated that Jesus raised from the dead, to a high probability. Richard Carrier has shown that there was no historical Jesus. Funny how few people ever run BT and find it contradicts their views.
I think part of the problem comes from a lack of understanding of the difference between frequentist and bayesian interpretations of probability. I've yet to see these folks show BT working in anything but frequentist data. And then they'll switch and use it to demonstrate why their Bayesian situation is correct.
It's just an equation. Garbage inputs will yield garbage outputs. In the realm of theology, it is of no more use than Pascal's Wager as an expected value calculation. All the input values are made up, so the output value is equally fabricated.
If you're using it on real, verifiable statistics, such as verified spam in an e-mail corpus, you can use Bayes to make a classifier to automatically identify spam to a high degree of accuracy. But if you are estimating for any of the three numbers you need to know, the fourth that you calculate will also be suspect.
It would make for a much stronger argument if he actually showed some numbers where people are getting the priors wrong. That is, how often people get the priors wrong and the probability of mistake if they used a different strategy more commonly used in the field.
tldr; priors matter
This fashion is why, for example, BT has been used to both prove the resurrection of Jesus, and to prove that Jesus didn't exist: both to a very high probability.
(In case it's changed, the headline currently reads "Bayes theorem used wrongly, can promote superstition and pseudoscience")
Like other commentators have pointed out, the saying "garbage in garbage out" only helps when you stop to think whether or not you're putting garbage in.
In reality, a cheap blood or urine test is likely to be followed by a more expensive test on a second portion of the same sample, then by an even more expensive tissue biopsy. Redoing an identical test only reduces random errors. It does not address the diagnostic bias of the test itself.
For instance, a pregnancy test detects hCG, from the placenta of a developing fetus. A man with various types of cancer or liver disease may also produce hCG, and can therefore produce a false positive for every test of that type, no matter how many repetitions. This does not give him greater confidence that he is pregnant!
Understanding Bayes also requires an understanding of event independence! For truly independent events, P(x|y) = P(x) and P(y|x) = P(y).
The claim isn't that Bayesianism somehow prevents biases. Using a Bayesian approach is important in science because frequentism answers the wrong question[1].
Many scientists operate as if the confidence interval is a Bayesian
credible region, but it demonstrably is not ...
I think the reason this mistake is so common is that in many simple
cases ... the confidence interval and the credible region happen
to coincide. Frequentism, in this case, correctly answers the question
you ask, but only because of the happy accident that Bayesianism gives
the same result for that problem.
[1] http://jakevdp.github.io/blog/2014/06/12/frequentism-and-bay...(I'm referencing part 3 for the discussion of why frequentism is inappropriate in science, but I recommend reading the series from the beginning)
* Does Bayes help honest enquirers to find the truth? (Relative to what? At what skill level?)
* Does Bayes help bullshitters to hide the truth? (Relative to what? At what skill level of bullshitter and mark?)
Re the second, I think it's difficult to use Bayes to bullshit someone who understands Bayes as well as you do.
P(A|B) * P(B) = P(A∩B) = P(B|A) * P(A)
An intuitive explanation to the equation:The (possibility of events A and B both happening) equals the (possibility of A happening when B is happening) * the (possibility of B happening), which equals to the (possibility of B happening when A is happening) * the (possibility of A happening).
Combining that with a Venn diagram:
{A (A}∩{B) B}
Since P(B|A) means the chance of event B happening when A is happening, in this case which indicates that both A and B are happening, it's really just the area of (A∩B) divided by (A), which can be translated to (P(A|B) * P(B)) / P(A).Trying to do so is like trying to 'enhance' a blurry photo so that you can see details in the photo that didn't exist.
But if your beliefs directly contradict bayes then you're doing something wrong - there's an inconsistency that's likely worth investigating, unless the matter is really minor. It's a sanity check for your decision making, not a constructive algorithm for the best decision.
As a Cognitive scientist myself, this amused me. The reason being because in the 1950s, Cognitive scientists thought that the brain worked like telephone switching equipment.
Basically, we fit our current model of cognition to the most popular model of computing at the time. Looks like the trend hasn't stopped (although to be fair we we were talking about the Baysian model of cognition 20 years ago, so at least that one lasted a while).
It also doesn't hurt that the Bayes theorem is at its heart a map-reduce problem. Where once Bayes' theorem was considered a cumbersome artifact for "brute forcing" probability, it's now likely faster than competing methods of statistical analysis.
We almost seem to be getting to the point in ad targeting where demographics are expressed in terms of a set of bayesian properties. You don't even care what the properties are; just that they're potentially more willing than average to use your product.
??? I'm not following. You could say that (numerical) integration is a map-reduce problem but that's pretty trivial.
A (very simple) example: I trade stocks. My starting point is that I think a stock has a 50% chance of rising next year. Then I want to do a Bayesian iteration with the stock's P/E ratio based on historical data for stocks with similar P/E ratios. Then I want to also incorporate the P/E ratio of the industry the stock is in. Obviously these two inputs are correlated and if you have enough correlated variables, the whole thing breaks down because the simple theorem only works if all the inputs are independent of each other.
Look at scientific papers. Usually there is something called a p-value attached to it, which is usually around 0.05. This means there is only a 5% chance that the same result could have been produced by random chance.
How strong is that evidence, really? What if you started with a prior probability of 1 in 1,000 that it's actually true. That is, before you saw the paper, you would estimate there's only a 0.001% chance it's true. Out of 1,000 similar studies, 49 will be false and yet return a <0.05 p value. Only 1 will publish actually true results.
Pretty much every debate on economic policy between the left and right is full of fallacies emanating from this episode in history.
bayes' thm by itself is totally not a "big deal." the idea that every probability has an associated prior, even if it's not explicitly written in the notation (so think "prior of prior") is an interesting attempt to cope with uncertainty in a rigorous way.
i do agree that in some places in the sciences, while "the numbers don't lie," the stats can be misleading. still, i can understand why it's useful to make some statements with statistics in order to quickly arrive at some first-order approximations.
Yudkowsky's 'Less Wrong' group of 'rationality' followers, aimed to try to force-fit all of science into the Bayesian framework. And of course it doesn't work at all.
I think Andrew Gelman's criticisms are right on the mark.
Probability theory was designed for reasoning about external observations - sensory data. (for example, "a coin has a 50% chance of coming up heads"). In terms of predicting things in the external world, it works very well.
Where it breaks down is when you try to apply it to reasoning about your own internal thought processes. It was never intended to do this. As Gelman correctly points out, it is simply invalid to try to assign probabilities to mathematical statements or theories, for instance.
You see 'Less Wrong' followers wasting years of their lives engaging in the most unbelievable and ludicrous intellectual contortions to try to force-fit all of science into Bayesianism.
Go to the 'Less Wrong' blog and you can read reams and reams of these massively complicated and contorted ideas, including such hilarious nonsense as 'Updateless decision theory' and 'Timeless decision theory'.
---
David Deutsch in his superb books, 'The Fabric Of Theory' and 'The Beginning Of Infinity', argued for a different theory of reasoning than Bayesianism. Deutsch (correctly in my view) pointed out that real science is not based on probabilistic predictions, but on explanations. So real science is better thought of as the growth or integration of knowledge, rather than probability calculations.
In terms of dealing with internal models or hypothesis, I think the correct solution is not to assign probabilities, but rather to assign a 'conceptual coherence' value, so for instance rather than say 'outcome x has probability y' (where x is a hypothesis) you should say 'concept x has conceptual coherence value y'
Conceptual coherence is the degree with which a hypothesis is integrated with the rest of your world-model, and I think it accurately captures in mathematical terms the ideas that Deutsch was trying express.
Probabilities should be viewed as just special cases of conceptual coherence (in the cases of outcomes where you are dealing with external observations or sensory data, Bayesianism is perfectly valid).
Then all of the problems with probability go away, and none of the massively complicated theories expounded on 'Less Wrong' are necessary ;)
The Cult of Bayes' Theorem
http://laurencetennant.com/bonds/cultofbayes.html
> One of Yudkowsky's constant refrains, appropriating language from Frank Herbert's Dune, is "Politics is the Mind-killer". Under this rallying cry, Lesswrong insiders attempt to purge discussions of any political opinions they disagree with. They strive to convince themselves and their followers that they are dealing in questions of pure, refined "rationality" with no political content. However, the version of "rationality" they preach is expressly politicised.
It's hard to defend against such criticism. You'll get boggled down in refuting specific accusations, but this is something you can never win. The only winning move is to ignore it completely. Personally, I shun and shame people who write such stuff, regardless of whether I agree or disagree with their victims. Dishonesty is a poison that destroys societies.
TL;DR: this text is harmful, malicious bullshit. If it at least offended people with style, there would be something to save it.
Yudkowsky on his simplified views of why race gets brought up:
> "Race adds extra controversy to everything; in that sense, it's obvious what difference skin colour makes politically".
> "Group injustice has no existence apart from injustice to individuals. It's individuals who have brains to experience suffering. It's individuals who deserve, and often don't get, a fair chance at life. [...] Skin colour has nothing to do with it, nothing at all."
Yudkowsky on our current societal structure, adulating the people who give him funding:
> One of the major surprises I received when I moved out of childhood into the real world, was the degree to which the world is stratified by genuine competence.
Yudkowsky writing short stories about a society where rape is legal, leaving himself ample room for plausible deniability, but putting it up "for debate":
>> "No, us. The ones who remembered the ancient world. Back then we still had our hands on a large share of the capital and tremendous influence in the grant committees. When our children legalized rape, we thought that the Future had gone wrong."
>> Akon's mouth hung open. "You were that prude?"
(https://web.archive.org/web/20131206200429/http://lesswrong....)
I think some well-meaning LessWrongers get caught in the crossfire, but I think the essay makes a very well grounded case for the blindspots "rationalists" have towards politics that suit the identity of people like Yudkowski.
RE parts you quoted. Of course they look bad, because they've been ripped out from context.
Race:
http://lesswrong.com/lw/kk/why_are_individual_iq_differences...
This is an article asking, to quote: "But why is it that the rest of the world seems to think that individual genetic differences are okay, whereas racial genetic differences in intelligence are not?". Yudkowsky seems to argue that making big controversies around whether there are, or are not, differences between "races" is missing the point; it's just one of many variables and we should focus on fixing intelligence disparities for everyone.
Society:
http://lesswrong.com/lw/ub/competent_elites/
This blogpost is marked as controversial from the get-go. It covers a quite interesting theory IMO - that the very common meme, which says that elites are stupid and evil, is in fact wrong. Eliezer argues towards a more socially uncomfortable opinion - that elites are, in fact, smarter and better at organizing things. Given that this is a belief most people are heavily biased against, it actually may be the "thing you can't say", per PG's essay at http://www.paulgraham.com/say.html.
Story:
Geez. This is a sci-fi story. Moreover, it's explicitly designed to fuck with reader's moral intuitions. That's its entire point. Personally, I find it fun and insightful, but it is heavy. You can read the whole work here:
http://lesswrong.com/lw/y4/three_worlds_collide_08/
--
And to be clear. I'm not idolizing Eliezer. He's just a man who thought a lot about some stuff, and wanted to share it. He sometimes gets it wrong (and, as opposed to many, has at least the courage to admit he was wrong). But I absolutely hate this kind of bullshit pseudocriticism when it's directed against anyone - be it my friend or enemy, be it someone I admire or despise of. Eliezer is not beyond criticism, but we can do better than that.
Those parentheses obscure a significant point. The full paragraph is
>So, in defiance of this psychological difference, and in defiance of politics, let me point out that a group injustice has no existence apart from injustice to individuals. It's individuals who have brains to experience suffering. It's individuals who deserve, and often don't get, a fair chance at life. If God has not given intelligence in equal measure to all his children, God stands convicted of a crime against humanity, period. Skin colour has nothing to do with it, nothing at all.
He's claiming that skin color has nothing to do with the (according to him) injustice of different people having different intelligences. He's not claiming that skin color has nothing to do with why people don't get a fair chance at life. "Skin colour has nothing to do with it" is making a moral claim, not an empirical one.
And then go on to call it "malicious bullshit".
So, basically what you're saying is that we shouldn't listen to this criticism (which provides very valid points btw) but listen to you, when all you've done is attack the critique in a classic ad-hominem fallacy.
See the problem here?
I did engage with some points in comments below though, to show examples of this cherry-picking facts, ripping them out of context and twisting them into supporting something completely untrue.
But my general point is that this kind of criticism is impossible to defend against. To prove that it's mostly bullshit would take me literally writing a book - in which I would surely make mistakes, that then could be used to discredit it entirely in a single article. This is the asymmetry of dishonest arguing - you can get your results with 1/100 the effort if you're willing to deceive your reader.
When people read a powerful criticism "debunking" things about a group they vaguely know, the default for most is to agree with the criticism. For some reason it's natural to humans. All I want now is to make people stop for at least a moment, consider that the article may be unfair, and to not make judgments before double-checking the claims.
Maybe I could've written it in a more dispassionate way. It's hard for me - not because I like LW, but because I've been in other groups targeted by this kind of criticism, spent way too much time trying to defend the group from it, and I know the crushing feeling that no matter what the truth is, it'll be twisted and bent until it can be used as a weapon against you.
Having hanged around LessWrong for quite some time, I'm pretty sure this point is false. How am I to show it however? Dump the whole site to show the absence of such purges? And how the inevitable counter-example? Quite a lot has been said there, we're bound to find unacceptable behaviour somewhere. All I can provide is a testimony. In other word, anecdotal evidence, which we all know to be weak.
There's another way to say "pseudo criticism and cherry picking facts". It's the fully general counter-argument. If the criticism can indeed apply to all groups, then it effectively applies to none, because it doesn't provide a way to discriminate different groups.
Other reactions include "I was raised in an actual cult, and the differences I see include that LW encourages debate and EY is frequently criticized."
Some commenters did agree with at least parts of the article, though. Even the ones that agreed said it seemed to be more "personal attacks" than "excellent takedowns", though.
I personally think it seems kind of... "smug", I think, is the word I want to use? "Smug" writing isn't necessarily wrong, but it generally seems to have other priorities than discovering the truth. I disagree that I'd eventually acquire a taste for this "vicious" kind of writing - I've read smug writing that I otherwise agree with, and it still makes me uncomfortable.
The point seems to be that while there's been a lot of criticism of snark (too much negativity), smarm (too much positivity) is also bad.
It seems to me that the way he describes them, snark and smarm are pretty similar: snark is being smug (acting unnecessarily superior) about someone else doing something wrong in judgment (like being ignorant or making a bad decision), while smarm is being smug about someone else doing something morally wrong.
I would probably mostly agree with the idea that smarm is bad, although I'm not sure I would have spent 30 pages on it.
He defends snark as criticism of smarm, but I think it's important to note that while criticism or negativity itself isn't necessarily wrong, it's the smugness that makes it bad. I'd probably describe smugness as criticism mainly for looking good to your ingroup, and for making your target feel bad.
For instance, I can imagine a good teacher criticizing me, but I can't imagine a good teacher being smug about it. Being smug seems correlated with impure motives, which decreases the accuracy and diminishes the trustworthiness of the criticism, to me.
Bayesian stats is a solid mathematical theory. It is used everywhere in academia and industry, is the foundation of a lot of AI & Machine Learning research, powers many technologies that, among other things, allow you to locate this thread on the Internet and post that ignorant link here.
Please stop promoting BS.
Seems the upper bound of estimation when using bayesian probability for estimating parameters with data gets overestimated when the size of the data grows.
It does not makes sense to me, can someone explain this to me as if I was an idiot?
PS one of the searcher in his lab used to say: if you try to find to hard a physical law, you might eventually find it.
(quote from the thesis below)
Most of the results concerning the behavior of the mutual information, observed for this particular family, are ‘‘universal,’’ in that they will be qualitatively the same for any problem that can be formulated as either a parameter estimation task or a neural coding task. .... Besides the asymptotic regime p large, N arbitrary, we have also considered the case of large N at any given value of a5p/N. In this regime we have both replica calculations and exact bounds, in particular, an upper bound for the class information and explicit upper and lower bounds for the mutual information obtained with the techniques of [7]. The results suggest that the replica symmetry ansatz give the correct solution. The lower bound is then quite good whereas the upper bound overestimate the mutual information by a factor that keeps increasing with the data size.
I don't see anything in there about him ever being a scientist, a statistician, or anyone who would actually use this theorem. In fact, he even went to school for journalism.
I really don't understand where this author is coming from when he says things like, "I conveniently decided that Bayes was a passing fad." Why should we care about his opinion on the matter? Is he reporting to us what Bay Theorem is and its significance, or is he giving us his uniformed opinion on the matter?