AI Needs Enormous Computing Power. Could Light-Based Chips Help?
quantamagazine.org
quantamagazine.org
Bosons, like light, don't like to interact with things. They just want to go places, as fast as they possibly can. So if you want a particle to carry information from point A to point B, light is great. Point it in the right direction and off it goes, and it won't interact with anything unless it absolutely as to.
Fermions, like electrons, love bumping into each other and changing each other. They like to make atoms and collide and bounce off each other all the time. So if you want to build a switch or a microchip where lots of things connect to each other to do some big complicated task like computing lots of math then electrons work really well.
But if you try to get photons to dance together to do something complicated you'll have a hard time. They only interact with each other and the stuff around them when things are just right, and then only in limited ways.
And if you try to use electrons to move data over any kind of distance that's hard too. They're constantly stopping to chat with atoms they find along the way, turning the energy of your message into heat.
How's that?
Some advanced civilization (future us) may use them. Even photons interact with each other a little bit due to QED.
It's just harder.
But then why do fiber optic cables work? The data does need to be turned into photons, and back from photons into electrons at some point. So all of that has switching and has been done for a long time.
Guess maybe lot of people like me are wondering why the technology for fiber optic cables can't be scaled down further to be used on chips.
So, while I’ve never heard this saying before, I assume it’s meaning is that massless particles like photons are best for carrying information around (rather than electrons we are using in circuits today), while the electrons are best for carrying state, like in a switch.
Note, that in networking we have already made that transition by using fiber optics, rather than electric wire to transfer information over longer distances.
I wonder what the longest information carrying electric wire is? They used to cross oceans, but not anymore. There are loads of DSL twisted pairs and co-ax cables in the "last mile" that maybe go 5km max. In rural areas maybe up to 50km with repeaters?
Is there something in between? Some old buried copper trunk cable between two university campuses or something like that?
Electrical power is transported as a fast-moving density wave in the electromagnetic force between many electrons and protons, the former drifting slowly.
Not by the electrons themselves, as if energy were attached to them.
The force responsible for transporting the energy so much faster than the electrons themselves move, is comprised of photons (bosons not fermions)...
Wow, it sounds like optical computing is already closer than I expected.
Is it the sunken cost in existing hardware, or developing the rest of the "value chain" to make photonics work, or something else altogether?
The silver lining is that one might need massively less photonic components to get the job done than electronic components due to the former's theoretically magnitudes higher switching frequency. And we might reserve them for graphics and AI at first.
I would love to look into this more. Do you have a reference that would give some instructions on how to give this a go?
Having established that, well, it's not hard to imagine that something that's good at running Fourier transforms is probably good for other situations where you need to run a lot of dot products in parallel. That, in turn, should sound like an awfully familiar problem...
Neural nets, on the other hand, generally require nonlinear operations. As do most computer programs.
So the explanation here is either not complete, or perhaps applies to a very restricted type of neural network only.
The second part of that paragraph is even more important. The optical equivalent is actually ~3x more efficient than the electronical version. With 300x HITOPs you would only consume 300 energy instead of the 1000 energy of the Nvidia version.
Simplified, that means 3x longer battery life, or 3x less heat, or 3x lower energy bill.
Can we not have the same battery life, same heat, and same power bill and instead do 3 times as many things?
I think we are all ready seeing good results. I'm super interested in the next gen chips as well.
https://stability.ai/news/stability-ai-sdxl-turbo
https://www.marktechpost.com/2023/01/05/deepminds-latest-ai-...
I am not saying it can't be done, but I think we are either limited by the level of science we know or by money. We are probably still far from a major breakthrough in computing that will yield exponential growth.
And even when we will have the wonder chip, someone will port Javascript on it, so things can be slow again. :)
You'll likely start to see optical networking in cars first, fwiw.