Earlier quoted context omitted.
If this was html & written to the point instead of stuffed in a pdf & written up in this roundabout manner, it would be on top of HN with 100+ votes :) I read the whole pdf but here's the TL:DR; anyways - Randomization improves algorithms. This is so obvious to CS folks its taught in basic cs101 - the ones i'm familiar with are where you pick a random pivot element for quicksort, or say the one where you draw a circl…
I have not read the circle-square theorem, but surely you are leaving something out. With a large n, many points will fall inside the circle, and four times that quantity can not logically get closer and closer to 3.14
Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
21–30 of 58 posts
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#22Earlier quoted context omitted.
If this was html & written to the point instead of stuffed in a pdf & written up in this roundabout manner, it would be on top of HN with 100+ votes :) I read the whole pdf but here's the TL:DR; anyways - Randomization improves algorithms. This is so obvious to CS folks its taught in basic cs101 - the ones i'm familiar with are where you pick a random pivot element for quicksort, or say the one where you draw a circl…
I have not read the circle-square theorem, but surely you are leaving something out. With a large n, many points will fall inside the circle, and four times that quantity can not logically get closer and closer to 3.14
def pointInsideCircle = {val (z,w) = (0.5,0.5);val (x,y) = (math.random,math.random); if ((x-z)*(x-z)+(w-y)*(w-y) pointInsideCircle}.sum*4/1000.0
scala> 3.132
(1 to 1000000).map{x=>pointInsideCircle}.sum*4/1000000.0
scala> 3.141612
So as n goes from 1000 to a million, your pi accuracy has improved from 3.13 to 3.1416. As Chris Stuccio pointed out elsewhere on this page, this thing converges O(N^{-1/2} ie. very slowly.You can try Buffon's needle if you want something much faster.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#23Earlier quoted context omitted.
This is in Notices of the AMS, which is about as mainstream (together with SIAM Review) as mathematical publications get. Randomization improves algorithms. This is a contentious claim. Random choices are actually very rarely the best - they are often good enough and versatile, but they are rarely the best. For example, consider Monte Carlo integration. You get O(N^{-1/2}) convergence. If you use a deterministic set…
I believe the article you're referring to is: http://lesswrong.com/lw/vp/worse_than_random/ Choice quote: > As a general principle, on any problem for which you know that a particular unrandomized algorithm is unusually stupid - so that a randomized algorithm seems wiser - you should be able to use the same knowledge to produce a superior derandomized algorithm. An interesting counterexample to this, an example which…
Suppose you have a linear evaluation function - h(x) is the value of something. Suppose also the coefficients of h are all positive. Then you'll be right 75% of the time (averaged over all possible h, drawn uniformly from the unit simplex) if you just approximate h=[h1,h2,...] by u=[1,1,...,1].
http://www.chrisstucchio.com/blog/2014/equal_weights.html
So I agree with this claim - uniform distributions are fairly robust to errors. But I don't think that's particularly related to randomness - Monte Carlo is only needed to integrate the distribution.
It's also worth noting that adversarial situations (like Go or Chess) are considerably different than most other cases. In a true adversarial problem, there is no probability distribution - the opponent is omnipotent. The purpose of randomness is simply to reduce the power of the adversary's intelligence - in a completely random world, intelligence is useless.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#24Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#25One of the authors, Scott Page, majored in math at the University of Michigan. He also teaches the course "Model Thinking" on Coursera: https://www.coursera.org/course/modelthinking . Perhaps one to avoid...
He says - "progress and innovation may depend less on lone thinkers with enormous IQs than on diverse people working together"
Not too sure about that. At all.Especially not in math, the subject he majored in.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#26Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#27Earlier quoted context omitted.
I believe the article you're referring to is: http://lesswrong.com/lw/vp/worse_than_random/ Choice quote: > As a general principle, on any problem for which you know that a particular unrandomized algorithm is unusually stupid - so that a randomized algorithm seems wiser - you should be able to use the same knowledge to produce a superior derandomized algorithm. An interesting counterexample to this, an example which…
I don't know a lot about this Go example, but using a uniform distribution for the evaluation function sounds surprisingly similar to another phenomenon I observed. Suppose you have a linear evaluation function - h(x) is the value of something. Suppose also the coefficients of h are all positive. Then you'll be right 75% of the time (averaged over all possible h, drawn uniformly from the unit simplex) if you just app…
> So I agree with this claim - uniform distributions are fairly robust to errors. But I don't think that's particularly related to randomness - Monte Carlo is only needed to integrate the distribution.
Ah, that's an interesting distinction, thanks. I'll have to think about this some more. But given a situation where exact integration is intractable (like chess or Go), I'm not too sure what the difference really is, because it is those cases (on first thought) where the uniform distribution is useful--if you can see to the end, you don't need to care about bias, right? I mean, "randomness" in the strictest sense is not really necessary; all these programs I speak of used deterministic pseudorandom generators of course. It's really just about ensuring lack of bias given finite sampling. I'm happy to hear your take on it though--you definitely seem to have a lot more knowledge of math/statistics/etc. than I do.
(That does remind me of another fascinating tidbit from the Go world: programmers noticed that using a low-quality PRNG, like libc's LCG rand(), produced significantly weaker players than more evenly-distributed PRNGs, even though it would seem that playing lots of random games of indeterminate length (with the PRNG called at least once per move) would not correlate at all with the PRNG's distribution.)
The adversarial-or-not issue is also good food for thought. I'm not convinced that it explains much in this case, though, since I believe most of these observations were made by playing computer-computer games with each program using very similar algorithms, or with old hand-tuned programs against the newer Monte-Carlo based programs.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#28One of the authors, Scott Page, majored in math at the University of Michigan. He also teaches the course "Model Thinking" on Coursera: https://www.coursera.org/course/modelthinking . Perhaps one to avoid...
Hey that's a great course. Pls do not avoid. Highly recommend signing up. The reason he wrote this famous paper & the book that evolved from that paper, in his own words - http://vserver1.cscs.lsa.umich.edu/~spage/thedifference_inte... He says - "progress and innovation may depend less on lone thinkers with enormous IQs than on diverse people working together" Not too sure about that. At all.Especially not in math, t…
> Not too sure about that.
Why would that not be a thing?
I mean, I am not the smartest person on my team. The list of things I know very little about is long. But I occasionally ask questions that are really obvious to me that reorient the discussion because people didn't think of them--problems that were Too Obvious To See up close, you know? And, similarly, when working in stuff that I do know a lot about, I find myself ignoring things that are to me so obvious and basic that my brain just goes right by them.
Innovation isn't like Civilization, you aren't just generating lightbulbs. Diversity of thought process leads to some inefficiencies, but it helps you reach new global maxima.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#29Earlier quoted context omitted.
I don't know a lot about this Go example, but using a uniform distribution for the evaluation function sounds surprisingly similar to another phenomenon I observed. Suppose you have a linear evaluation function - h(x) is the value of something. Suppose also the coefficients of h are all positive. Then you'll be right 75% of the time (averaged over all possible h, drawn uniformly from the unit simplex) if you just app…
That's not too different from a pretty old observation in the chess world: the presence/absence of an evaluation term is more important than the weighting given to it. > So I agree with this claim - uniform distributions are fairly robust to errors. But I don't think that's particularly related to randomness - Monte Carlo is only needed to integrate the distribution. Ah, that's an interesting distinction, thanks. I'l…
Put it this way - suppose I can cook up a deterministic quadrature rule, e.g. quasi monte carlo or an asymptotic expansion. I assert that the quasi monte carlo will work just as well as monte carlo, probably better if convergence is faster.
If I'm right, this is a situation of "yay for uniform distributions". If I'm wrong, it's a "yay randomness" situation. It's nice to know which situation you are in - if I'm wrong, there is no point cooking up better deterministic quadrature rules.
Incidentally, LCG is known to be useless for monte carlo due to significant autocorrelation. So it's quite possible that people using LCG are incorrectly estimating their evaluation term.
Also for me, it's nice to know these things just for theoretical purposes and to enhance my understanding.
Re: Does Diversity Trump Ability? An Example of the Misuse of Mathematics [pdf]
#30Earlier quoted context omitted.
It's important to realize that common sense is never a replacement for a proof or emperical result. That is, common sense is not sufficient to refute the claims made by the original paper. The power of science is that it often defies reasoning and in so doing provides new insights into how things work.
But a clearly absurd or nonsensical result should be enough reason to double-check that the proof and results are actually valid. Common sense may have a somewhat low weight for evaluating how probable some scientific result is, but it doesn't have zero weight. And neither does the possibility of experimental error.