Using Lasers To Generate Random Numbers Faster 149
Pranav writes "Using semiconductor lasers, scientists from Takushoku University, Saitama University, and NTT Corporation achieved random number rates of up to 1.7 gigabits per second, which is about 10 times higher than the second-best rate, produced using a physical phenomenon. Future work may center on devising laser schemes that can achieving rates as high as 10 Gbps."
Attention Slashdotters... (Score:3, Funny)
Re:Attention Slashdotters... (Score:5, Funny)
I, for one, welcome our new levelheaded overlord.
Re:Attention Slashdotters... (Score:5, Funny)
I, for one, welcome our new levelheaded overlord.
Yeah, well. The Frankenstein Monster was levelheaded too.
obligatory (Score:4, Funny)
No one will need more than 637 kb of random number generation for a personal computer.
Re: (Score:3, Insightful)
Minor flamebait, maybe. But the thrust of the post is still worth reading. Austin Powers came out over 10 years ago. At some point (and that point was years ago), making references to it every time you see either the word shark or the word laser becomes old. It's really not funny.
Re:Attention Slashdotters... (Score:5, Funny)
Austin Powers came out over 10 years ago. At some point (and that point was years ago), making references to it every time you see either the word shark or the word laser becomes old. It's really not funny.
Shhh!
Just know that I've got a whole bag of shhh! with your name on it.
Re: (Score:1)
Austin Powers came out over 10 years ago. At some point (and that point was years ago),
Shhh!
making references to it every time
Shhh!
you
Shhh!
see
Shhh!
either
Shhh!
the word shark or the word laser
Shhh!
becomes old.
Shhh!
It's really not funny.
Just know that I've got a whole bag of shhh! with your name on it.
Now can I get a frickin' hotpocket?
Re: (Score:3, Funny)
At some point (and that point was years ago), making references to it every time you see either the word shark or the word laser becomes old. It's really not funny.
That's slashdot in a nutshell.
Re:Attention Slashdotters... (Score:5, Funny)
No, this is slashdot in a nutshell:
"Help! I'm in a nutshell! How did I get into this nutshell? Look at the size of this bloody great big nutshell."
Re: (Score:2, Funny)
Re: (Score:1)
Re: (Score:2)
If you ask me, Austin Powers was never funny.
Re:Attention Slashdotters... (Score:5, Funny)
Do not look into RNG with remaining eye!
(Hah! Bet you didn't see that one coming!)
Re:Attention Slashdotters... (Score:5, Funny)
Re: (Score:1)
Verizon will be more than kind enough to provide you with them. HAND.
Re: (Score:3, Funny)
You must be new here. We get very few "Real Genius" jokes around these parts, and many go unrecognized. Quite sad, I'm afraid... ...or in deference to you Kent, it's like lasing a stick of dynamite. :-P
Re: (Score:2)
Hey I get all my Real Genius quotes from Jesus who speaks to me through my teeth, you insensitive clod!
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
The "Real Genius" and "sharks" jokes you're about to post are less than 1% as funny and clever as you think they are.
And we still keep them coming. This is Slashdot after all...
So, about those sharks...
Re: (Score:1, Offtopic)
In a platonic heterosexual way, of course.
[citation needed]
Re:Attention Slashdotters... (Score:4, Funny)
Seriously, it was moderately funny once upon time
[citation needed]
Re: (Score:2)
A Solution in Search of a Problem (Score:5, Informative)
Has anyone out there actually had their system bottlenecked by lack of random numbers? I had thought that the bottleneck in serving large amounts of SSL content was processing the asymmetric part of the cyrpto -- hence the need for SSL accelerator cards. It's a nice invention and a creative application of physical process, but I really want to see just one case where this would be lead to a substantial benefit.
As an aside, computer simulations always use pseudoRNGs like the Mersenne Twister[1]. For a reasonable exponent (I use 19937 in my simulations), this results in a period > 10^6000 and virtually no correlations between adjacent calls. The notion of a computational physicist using a real physical RNG is laughable.
[1] http://en.wikipedia.org/wiki/Mersenne_twister [wikipedia.org]
Re:A Solution in Search of a Problem (Score:5, Interesting)
So MT may be good enough for computational physicists, but not for strong cryptography.
Re: (Score:2)
So MT may be good enough for computational physicists, but not for strong cryptography.
I never claimed otherwise. Cryptography has the need for a real RNG but computational physics only needs psuedoRNGs. That fact greatly undercuts the supposed need for this technology.
Re: (Score:3, Insightful)
That's all great until that paper comes out explaining the failings of the *P*RNG you've been using, invalidating years of research.
It might be a good idea to validate the results of the PRNG runs with some verifiably random data. Alternatively, you could inject entropy periodically in a computationally efficient fashion using the truly random data and improve things some.
Re: (Score:2)
The first question that came to my mind after reading the article was are these laser generated random numbers suitable for cryptography? The article just states that random numbers are "vital" to cryptography, not that this method generates cryptographic grade random numbers. Certainly the brief explanation on how it works leaves a lot of room for question.
BTW, CryptMT [wikipedia.org] is a simple stream cipher based on the Mersenne Twister. Sadly, the last time I looked at it it lacked any solid proofs. Nonetheless, M
Re:A Solution in Search of a Problem (Score:5, Informative)
Has anyone out there actually had their system bottlenecked by lack of random numbers?
I know some guys doing quantum Monte Carlo simulations. And yes, fast RNGs are crucial for their algorithms.
Re: (Score:1)
12, 64, 93, 27, 2, 65, 8.
Now you give me more Monte Carlos. Pronto.
Re: (Score:1, Funny)
4, 4, 4, 4, 4...
Re: (Score:2, Funny)
chosen by fair dice throw!
Re: (Score:1)
I don't know about 93 though...
Re: (Score:2)
I know some guys doing quantum Monte Carlo simulations. And yes, fast RNGs are crucial for their algorithms.
I will bet you at 100-1 odds that they are using some sort of pseudoRNG like Mersenne Twister. Nobody in computational physics uses real number generators because there's absolutely no reason to.
Re:A Solution in Search of a Problem (Score:4, Informative)
Re:A Solution in Search of a Problem (Score:4, Interesting)
My research team used it a lot and it's nearly impossible without a good RNG.
The question on my mind (and on many others I'm guessing) is why you would need a true RNG, and not a pseudo RNG.
Re: (Score:2)
The question on my mind (and on many others I'm guessing) is why you would need a true RNG, and not a pseudo RNG.
It's widely agreed among computer scientists that the generation of truly random numbers is far too important to be left to chance.
Re: (Score:2)
Re: (Score:2)
Re: (Score:1, Interesting)
Has anyone out there actually had their system bottlenecked by lack of random numbers? I had thought that the bottleneck in serving large amounts of SSL content was processing the asymmetric part of the cyrpto -- hence the need for SSL accelerator cards. It's a nice invention and a creative application of physical process, but I really want to see just one case where this would be lead to a substantial benefit.
As an aside, computer simulations always use pseudoRNGs like the Mersenne Twister[1]. For a reasonable exponent (I use 19937 in my simulations), this results in a period > 10^6000 and virtually no correlations between adjacent calls. The notion of a computational physicist using a real physical RNG is laughable.
[1] http://en.wikipedia.org/wiki/Mersenne_twister [wikipedia.org]
Proof that you can completely fail to understand the subject, (for some reason) post about it anyway, refer to something completely unrelated, and still get a +5 Insightful.
Re: (Score:1)
Proof that you can completely fail to understand the subject, (for some reason) post about it anyway, refer to something completely unrelated, and still get a +5 Insightful.
Could you (or anyone else, for that matter) elaborate on what's wrong with the GP's claim? I don't know much about cryptography and even less computational physics, so I have no idea what's wrong with this guy's statement.
Re: (Score:2)
If you know anything about the application of random numbers to Monte Carlo simulations, you would know that physically random numbers are unacceptable, unless you wish to never have a chance at reproducing your simulations.
This is why only pseudorandom number generators are used. LCGs and MT are reproducible.
Re:A Solution in Search of a Problem (Score:4, Informative)
Actually, I know quite a bit about (stochastic*) computational physics and the notion that "repeatable" means "can run the exact same simulation with the exact same seed and get the exact same result" is absolutely incorrect. What is meant by "repeatable" is that one can extract from the simulations some sort of macroscopic quantity (usually a thermodynamic quantity or a correlation function) whose average is consistent across many separate runs (known in the biz as the ensemble average). So, for instance, if I'm observing the coalescence of polymers into a hex-phase (as in [1]), I could measure the average number of aggregated copolymer blocks and compare those (as was done in that paper).
Let's make an extended gambling analogy. Suppose I have a new roulette table that I want to certify that it works like it should. One suggestion (akin to what you said), would be to put the entire table under the same initial conditions as a known-good table and see if it gives the same results. A more sophisticated approach would be to make a histogram of results for a large number of independent roles and see if it converges to the proper distribution (or, in case the distribution isn't known theoretically, compare it to the distribution from a different device, also tested a large number of times). I would argue that the second method is much more powerful than the first, because it probes a more relevant value. Nobody cares whether the roulette table gave 00 the first time and 23 the second time -- we are only concerned that, on average, it gives 00 with the same probability as 23.
In stochastic computational simulations, the same story applies. Nobody cares whether a particular simulation did X or Y or Z because that's not relevant. What is relevant is the (converged) probability that, given some starting condition, the systems ends up in X or Y or Z.
* None of these comments apply in any way to solving deterministic systems. You don't need random numbers for those anyway.
** Another commenter pointed out that exact repeatability is incredibly useful for debugging purposes. That is true but that has nothing to do with reproducibility in the scientific sense of the word.
[1] http://link.aip.org/link/?JCPSA6/128/184906/1 [aip.org]
Re: (Score:2)
If a roulette table gives the same result with the same initial conditions you have a problem.
Re: (Score:2)
Wrong.
If exact position was known, if exact velocity of thrown balls was known, and exact velocity of wheel is known, and exact accelerations of balls and wheel was known, we could calculate final position.
That's the key with this: Any source of true randoomness is covered in heavy physics in which if we Knew the states, we could calculate them to their final resting position.
Re: (Score:3, Insightful)
Re: (Score:3, Informative)
A roulette ball is quite large enough (by many orders of magnitude) to treat as a purely classical particle.
You are right about one thing -- time to brush up on your Quantum. Start by calculating the de Broglie wavelength (the relevant QM length) of a roulette ball traveling at the maximum speed you might see at a casino and compare it to the radius of the ball itself.
Re: (Score:2)
That's the key with this: Any source of true randoomness is covered in heavy physics in which if we Knew the states, we could calculate them to their final resting position.
Out of genuine curiosity, what is the validity of that statement?
Re: (Score:2)
That statement is qualified in the dependancy of the large roulette ball.
Particles are a whole another story.
If, as poster states, (Score:4, Insightful)
But theory and practice are often vastly different. In a case like this, the information necessary to account for all the relevant initial conditions, and the calculations necessary to go from there to final result, are so vast as to make it ludicrous to even consider trying such a feat. Further, we don't even have the expertise to make such calculations even if we had such "perfect" information.
Think about it: even with classic physics, this is an awesome candidate for the "butterfly effect", in which miniscule differences in initial conditions could cause highly significant differences in the outcome.
See, you don't just need to know the mass of the ball, and its velocity, and such. You would have to know the exact size and mass of the bearings, and exactly how much lubricant had been applied. You would have to know the exact size and shape of the little fences between the numbers on the wheel (air resistance), and calculate Reynolds numbers for them. You would have to know how many people are around the wheel (if any) and how they are breathing. Is someone wearing perfume? Will that affect someone else's breathing? Even without people, did someone add a little bit extra glue at this particular spot, during the manufacturing process?
And so on.
It simply would not be a practical excercise. Even in controlled conditions, and without confounding factors, two well-lubed roulette wheels are almost certain to give you significantly different results, no matter how you try.
Theory is great, but reality trumps.
Re: (Score:2)
Well, you can't do exactly. That's why physicists do things to various approximations. For instance, you can approximate the roulette wheel and the balls as independently rotating objects, each subject to constant friction. That simple system of equations doesn't suffice to predict things exactly (and is also only good if the ball doesn't hop), but it's actually enough to predict the quadrant that the ball will land in. Of course, no one has studied it in detail because nobody gives a shit about the microsc
Re: (Score:1)
But theory and practice are often vastly different.
Theory is always in accord with practice. Hypothesis aren't. Stop misusing those terms, please?
Theory is great, but reality trumps.
That hasn't been the case since Newton's works you're so keen on dismissing as "theory".
But that's exactly the point! (Score:2)
But the fact is, in practice you
Re: (Score:2)
And in all that time, the only method that has been shown to reliably make money in the long run was to analyze tens of thousands of results from a single wheel, and use that for future predictions on the same wheel.
Did these guys record input for tens of thousands of spins? http://en.wikipedia.org/wiki/Eudaemons [wikipedia.org]
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
What about Physical Randomness + Logging the numbers?
Re: (Score:2)
The US Federal Reserve System (Score:1)
Re: (Score:2)
The main problem isn't a bottleneck, but it does use up cpu cycles and pseudorandom isn't truely random. There will always be some sort of pattern because you are getting the values from an algorithm. The pattern may give equal true and false values. It may be hard to detect the pattern from the perspective of an outside observer, but the pattern will always be there. This doesn't mean pseudorandom numbers are worthless, it just means you need to know when to use them and when to use something else.
In cry
Re: (Score:2)
Obligatory quote (Score:5, Funny)
Re: (Score:3, Funny)
Just SHA /. articles and comments. Should be no chance of being random.
Obligatory joke (Score:3, Funny)
They should somehow tap into phpBB. I'm already on some forums that generate more than twice this much bullshit every second :)
Re:Obligatory joke (Score:5, Insightful)
stop reading DIGG
Re: (Score:2)
and Slashdot
Use them both and double your bandwidth.
Re: (Score:1)
FTFA: (Score:5, Funny)
"Fields and applications that could benefit from their work are numerous, including computational models to solve problems in nuclear medicine, computer graphic design, and finance."
This explains a great deal.
Re:FTFA: (Score:4, Funny)
"Fields and applications that could benefit from their work are numerous, including computational models to solve problems in nuclear medicine, computer graphic design, and finance."
This explains a great deal.
No kidding. Makes you wonder if they're used in Diebold voting machines.
Re: (Score:2)
Re:FTFA: (Score:4, Funny)
No, not at all. Diebold voting machines are specifically designed to eliminate sources of randomness in order to deliver predictable results.
--MarkusQ
But... (Score:1)
I'm not sure they ever were, actually (Score:2)
n/t
Quantum Choas (Score:3, Interesting)
If it is chaotic and you believe in the Everett Interpretation, they've just produced the worlds fastest world splitter.
Re: (Score:2)
You shine your laser, it reflects, it interferes with itself. And now the interfered laser reflects back and so on and so forth. Maybe its possible to track it through the first few given the exact starting conditions, but it would be impossible to look at a few samples in the middle and work back to the initial start condition (thus chaotic).
I was going to say something similar. (Score:2)
I would be more willing to accept their claims of "chaotic", once the results of their RNG have been put through some rigorous tests by independent parties.
Don't believe everything you read (Score:5, Informative)
Next, the article claims...
Generating random numbers using physical sources -- which can be as simple as coin-flipping and tossing dice -- are preferred over other methods, such as computer generation, because they yield nearly ideal random numbers: those that are unpredictable, unreproducible, and statistically unbiased.
This is garbage -- there are applications where people prefer physical sources, but those of us doing simulation work realized long ago that good algorithmic sources are far better for our needs: 1) It's mighty hard to debug a complex simulation model without reproducibility; 2) You can use the reproducibility to induce covariance between runs, greatly reducing the standard error of your estimates for a given sampling effort; 3) The distributions of algorithmically generated pseudo-random numbers are provably uniform, whereas for physical sources the best you know is that they haven't (yet) failed a hypothesis test for uniformity. Finally, the last statement about being "statistically unbiased" is utter nonsense -- unbiasedness is a property of an estimator, not a distribution.
Re: (Score:3, Funny)
Re: (Score:3, Informative)
As for the rest of it, yes, much of the article is rather terrible.
Re: (Score:2)
Sometimes an estimator is a distribution [wikipedia.org]...
That is to say, the distribution of variates generated by a pseudoRNG should resemble in all ways the distribution it claims to simulate. There is no reason not to call, then, the pseudoRNG as an estimator of an ideal distribution.
(Although I should remark, that statistical unbiasedness of the first order is not that difficult to achieve, by say von Neumann's method for biased coins. Thus it's a little misleading to claim that you need fullblown hardware RNGs for i
scary (Score:4, Funny)
A perfectly parallelizable problem (Score:2)
random number rates of up to 1.7 gigabits per second, ... Future work may center on devising laser schemes that can achieving rates as high as 10 Gbps."
Oh, I can get 3.4 gigabits right here. I'll take a second such laser.
Or, ten of them. A 17 Gbps device instead of your hoped for 10 Gbps one.
Random generator needed in semi-conductors (Score:4, Insightful)
We really, really need more hardware random number generators (RNG's) within CPU's. I think this is one of the more important things for Intel and AMD to work on (VIA and Intel have already working hardware RNG's for x86 as far as I know, with Intel though it is only for an embedded processor).
Otherwise we will have to rely on "commodity" hardware to generate enough randomness to seed our pseudo-RNG's. And since a keyboard, harddisk and video cannot be trusted to be in a machine, and since using the NIC has too big a tie with the outside world, we are quickly running out of entropy sources. So a hardware RNG is definitely a very good idea.
That does not mean that these guys have struck gold. There are already fine RNG's available for use within CPU's. I don't know how secure their device is (what happens when it is underpowered/cooled etc) but speed is not really a problem right now. Of course, if it is easy to implement in current designs: why not?
So, we are not doomed, after all. (Score:2)
Sorry, I thought I had a joke there, but my mind seems to be failing with age. Anyhow, that sentence fragment amused me, so I am quoting it out of context for my own enjoyment. Consider this reply my contribution to randomness.
Re: (Score:2)
Consider this reply my contribution to randomness.
p982y3nc98qwyfegsdjkbvlkiu2uy87t29c8nwgmoieygfcn9q3ncqwgefygsohgouyf iu o3rg2o87t q8263r cuy uwglg oyg oiYF IUF IG OUF OIGBGKS GOIG97r8&FTYGOIUg976r645w657rcog9^R*&%$%$£"%$£ puh oi oyg iug iuYF OIUG it fh Ouyf l DD gSDF S ufd lkg oybeorwqteififgqerGEGWEaaeGewagerwrgrqrgQhrQergoeagui (&TN(&fuytfb86rd&^Rdiytf8yrs75Sd8ytcOUYouy 9uy fd67 dfoIB kJb UYs^$
Re: (Score:2)
Re: (Score:3, Interesting)
Reverse-biased zener diodes make an excellent noise source for true physical randomness. You want quantum quality? Use a tunnel diode. And some military radios use FM discriminator or PLL noise as a generator for crypto.
Doing my part for science (Score:5, Funny)
Re: (Score:2)
Please allow me to contribute to your efforts.
248
Re: (Score:1)
247
83
0
Re: (Score:2)
247
83
0
Hmmm... Aha!
Mornington Crescent!
Re: (Score:2)
Entropy? (Score:1)
There is no mention of entropy or testing for randomness. 1.7 Gbits could be complete garbage because the entropy necessary for encryption isn't there.
Truly random? (Score:1)
Some people is commenting on the article that even if it is quantum generated randomness, it may turn out not be truly random(because "nobody knows, right?").
I guess that the scientists who developed this fantasize with finding correlations in their random number sequence. That would actually be something more interesting than the actual intentions.
10d6 at lightspeed (Score:3, Funny)
This is going to make my D&D games kick ass.
Princeton Engineering Anomalies Research? (Score:2)
I know, I know...sounds weird, but read some of the
Who needs random? (Score:1)
Aha! (Score:2)
I *knew* there was a reason I looked at this comment. I got 'nudged'.
Rather, nothing less than a generously expanded scientific model of reality, one that allows consciousness a proactive role in the establishment of its expe
Re: (Score:2)
Um, no. Why would it?
Re: (Score:1)