France's Jean Zay supercomputer now has an integrated photonic coprocessor
techradar.com
techradar.com
Impressive!
LightOn hasn't received much discussion on here before. Some links have been submitted, and this is the only one I could find comments on: https://news.ycombinator.com/item?id=27797829
Maybe you aren't aware, but half-precision (16 bit float) is already well-established in the AI community: https://en.wikipedia.org/wiki/Bfloat16_floating-point_format. In context single-precision isn't all that puny!
And there have already been successful experiments with stronger quantization, like 8-bit neural nets, or even 1-bit (!) neural nets. There is a lot of evidence that neural networks can be very resilient to quantization noise.
And drones, trivially agree: Megaphragma mymaripenne has 7400 neurones, compared to the 71/14 million in a house mouse nervous system/brain.
Best estimate I have for total cell numbers in mouse brain—about 75 million neurons and 35 million other cell types. This estimate is from a 476 mg brain of a C57BL/6J case—the standard mouse used by many researchers.
Based on much other work with discrete neuron populations the range among different genometypes of mice probable +/- 40%.
for details see: www.nervenet.org/papers/brainrev99.html
Expect many more (and I hope better) estimates soon from Clarity/SHIELD whole brain lighsheet counting with Al Johnson and colleagues at Duke and team at Life Canvas Tech.
I don't think there's any point at which PCs have ever abandoned 8-bit and 16-bit data types, or ever appeared to be on a trajectory to do so. We've just had some shifts over the years of what kinds of things we use narrower data types for.
Inference is cheap, training is not.
It may require some architecture changes to make training feasible, but it's far from a nonstarter.
And that is only considering backprop learning. The brain does not use backprop, and has way higher noise levels.
Maybe it’s application dependent, maybe NNs or other matrix-heavy domains can tolerate low precision much more easily than scientific simulations. It certainly wouldn’t surprise me if these “LightOPS” processors work well in a narrow range of applications, and won’t improve or speed up just anything that needs a matrix multiply.
For example path tracing (ray tracing) doesn't need to be very accurate because multiple samples per pixel are used.
A gaming card that uses less power is very welcome in laptops for example.
Maybe another way to ask is- we’re trying to simulate a real world “analog” scene - maybe using an analog processing technique could actually be quite faithful for generating it?
Or not. Like I said I don’t understand too much of this.
Now I'm not sure what this 6/8 bit precision or analog precision means so I can't say with confidence, but if your scalars are that low precision you can't really do much. You could technically encode it with some fancy tricks like instead of storing coordinates for each vertex you store the delta from previous one etc. but I think this wouldn't work if the device was just some dumb analog matrix multiplier with baked logic.
Also having low detail shadows creates visual artifacts, see this for example [1]
[1] https://digitalrune.github.io/DigitalRune-Documentation/medi...
> … leverages light scattering to perform a specific kind of matrix-vector operation called Random Projections. … have a long history for the analysis of large-size data since they achieve universal data compression. In other words, you can use this tool to reduce the size of any type of data, while keeping all the important information that is needed for Machine Learning.
So it sounds like the whole point is to reduce the data size and then feed it into GPUs like normal ML. Kind of a neat idea.
Joking aside, it is interesting how much noise and quantization these neural networks can work with. I think there’s a lot of room for low precision noisy computation here.
(*) disclosure: my company helped build the simulator
I fail to see how it actually does matrix math.
He didn't get as far as making working devices, work in progress, but interesting still IMHO. He also has a lot of other great videos about optics.
Light is good for communication due to its non-interfering nature to pump up the bandwidth. There's a saying light is great for data transmission while electricity is great for computing.
So when people claim making supercomputer out of optical computing, take it with a grain of salt.
There are millions of things that an electronic digital computer can do that are unlikely to be replaced by photonics, but a hybrid approach may offer advantages in computing specific things. As we have slowed down getting perf/watt advantages from shrinking processes, more and more specialized hardware has been used for performing calculations. It's not that far-fetched to think that photonics might have a niche where it has performance advantages.
Silicon has a kind of perfect energy band gap for its valence band electrons jumping to conducting band free elections to allow electricity flow. The gap is not too small to introduce ambiguity or too big to require too much energy to move from non-conductive to conductive state. Photonics needs to find a semiconducting material/alloy that beats silicon to be a viable option.
Most research in building logic gate with light is a combination of light and electricity. The most promising recently is using Josephson junction in a superconducting electric current loop. A photon hitting the loop adds energy to the superconducting current. With enough energy the current becomes critical current, which moves the Josephson junction from 0 voltage to a voltage. The raised voltage gives off the energy and the current falls back to non-critical. Continuous photons hitting the loop causes the Josephson junction to have an extremely high frequency AC voltage. That's a photon controlled gate.
But the research is still really early and it requires low temperature superconductivity. It's still a long way to be competitive in reality.
The simplest example would be AM modulating a laser with a signal and passing the result through a prism. This calculates a Fourier transform on the signal. This is not a great example because, for most domains, the output is too noisy to be of great use and ADCs/DSPs can do this fairly efficiently already. I believe the computer mentioned in TFA involves matrix projections.
While not directly related to computing, I was fascinated to learn that lasers routinely use crystals to cut wavelength of the light by half ([1], [2]).
1. https://en.wikipedia.org/wiki/Second-harmonic_generation
2. https://en.wikipedia.org/wiki/Potassium_dideuterium_phosphat...
Part one (teaser): https://www.youtube.com/watch?v=IgF3OX8nT0w
[1]https://www.ted.com/talks/harald_haas_wireless_data_from_eve...
Inside my home it would be cool to have 10 gbps to my laptop, but I don't have a real use case where that's meaningfully better than the 500-800 mbps that I already get with WiFi.
Until people start getting seizures while driving from all the flashing lights
As you point out, all of this is likely surmountable, but... why bother if the status quo is serving the use case?
https://en.wikipedia.org/wiki/Li-Fi
https://www.abc.net.au/radionational/programs/scienceshow/th...
There may be a market for visible light networking but LiFi is total garbage.
I’ve been researching OPUs for this purpose, as in, the concept of optical processors only came to my attention because of the people looking for an edge in mining and energy use.
From what I can tell, it could only be a stopgap or decade long solution to PoW, as people would just hoard these over time till the energy use was the same
But any slowdown is good
Good for sellers of OPUs though
Basically there is a whole row going on in the far far corners of crypto land, where some Cambridge and Columbia university alumni have made a new hashing algorithm (HeavyHash) that is heavy on linear operations specifically so that it would theoretically have an advantage on light based computers and be a sustainability solution [for now].
They stood up an example project back in May and forgot about it ("optical bitcoin", oBTC), but people kept mining it. Just on GPUs and FPGAs, as the low power better processors don't exist yet so there isn't really anything different at the moment. Because these are students with no funding, the management is very weak.
There is at least one fork of that project that has better management ("photonic bitcoin", pBTC). But they are waiting for OPUs to exist at all, as there are a variety of vaporware companies out there with massive funding.
HeavyHash itself is being used in more and more other newly launched cryptocurrencies. Hoping for OPUs to become available to actually make their networks different than others.
They all so far only aspire to be examples for other major energy consuming cryptocurrencies we've heard of to switch to. The university students had submitted a proposal (BIP) to Bitcoin-core, and that slow moving network typically needs real world examples and fear of missing out for consensus to shift.
It's always a zero-sum game in the end. The only way to "fix" PoW is to get rid of it.
I mostly think the production and distribution would be constrained for the level of demand out there.
Miners do not ultimately decide what blocks get into the blockchain or not, full nodes[0] do.
Here's a collection of 8 articles explaning who (if anyone) controls Bitcoin and why miners are not who are in control:
[0] ~$200 of hardware, and there are about 12k of them right now.
I'm talking about a situation where a small group of people would have access to exclusive technology that would let them mine blocks faster than the rest of the miners with no way for others to compute without losing money. Nodes are irrelevant here unless they decide to arbitrarily reject valid blocks coming for certain miners because they'd deem them "unfair competition", but that's a huge can of worms. Who decides who goes on the list? Based on what? Could it not be trivially worked around?
Pour more computing into it (via your exclusive technology or whatever), the difficulty ramps up and you're back to square one (but you'll mine bitcoin alright).
Were you start censoring transactions, node would start rejecting your blocks, back to square one.
This is the reason that Bitcoin, for example, keeps ratcheting up the difficulty: to counteract the increased performance of CPUs, then GPUs, then FPGAs and finally ASICs over time. It's an arms race that you can't 'win' for any extended period of time since the difficulty is not a constant, but rather determined by the desired level of production.
Oh and CPUs don't work well because that drives people to create botnets. FPGAs kind of sit out there in an esoteric expensive and difficult to run island all by themselves.
Would we need semiconductors anymore?
Once we have better materials or different paradigms like photonic computing, then it would make sense to implement the https://en.wikipedia.org/wiki/Toffoli_gate https://en.wikipedia.org/wiki/Fredkin_gate and whatnot. Btw, Fredkin and Toffoli, and the rest of the kings of reversible computing were big advocates of cellular automata ;-)
https://interestingengineering.com/chinas-new-quantum-comput...