← Latest papers
💻 computer science

Temporal speckle enables probabilistic weights for uncertainty-aware photonic AI

This paper introduces an ultrafast photonic processor that leverages the temporal speckle of broadband light to natively encode probabilistic weights, thereby overcoming the computational bottlenecks of digital Bayesian neural networks and enabling high-speed, uncertainty-aware AI capable of simultaneous classification and out-of-distribution detection.

Original authors: Wolfram Pernice, Frank Brückerhoff-Plückelmann, Hendrik Borras, Shivaprasad Umesh Hulyal, Lennart Meyer, Xinru Ji, Jianqi Hu, Jiale Sun, Bernhard Klein, Falk Ebert, Jelle Dijkstra, Liam McRae, Philipp
Published 2026-08-14
📖 4 min read☕ Coffee break read

Original authors: Wolfram Pernice, Frank Brückerhoff-Plückelmann, Hendrik Borras, Shivaprasad Umesh Hulyal, Lennart Meyer, Xinru Ji, Jianqi Hu, Jiale Sun, Bernhard Klein, Falk Ebert, Jelle Dijkstra, Liam McRae, Philipp Schmidt, Tobias Kippenberg, Holger Fröning

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot to recognize different types of fruit. You show it thousands of pictures of apples, bananas, and oranges. Eventually, the robot gets really good at picking them out. But what happens if you hand it a picture of a kiwi? A standard robot might squint, guess "banana," and say, "I'm 100% sure!" with total confidence, even though it's completely wrong. This is a big problem for safety-critical jobs like self-driving cars or medical diagnosis, where being confidently wrong can be dangerous.

To fix this, scientists use something called "Bayesian neural networks." Think of these not as a single robot brain, but as a team of experts who all have slightly different opinions. Instead of memorizing one exact answer for every picture, they learn a range of possibilities. When they see a new image, they ask the whole team, "What do you think?" If everyone agrees, the robot is confident. If the team is arguing, the robot knows, "I'm not sure about this," and can ask for help. The problem is that getting a whole team of experts to talk to each other on a normal computer is incredibly slow and uses up a lot of energy. It's like trying to hold a massive meeting in a tiny room; the traffic jams slow everything down.

This is where a team of researchers from Heidelberg University and EPFL steps in with a clever twist. They asked: "What if we didn't use a computer to simulate these different opinions, but instead used light itself to do the thinking?" In their new study, they show that they can use the natural, chaotic flickering of light to represent these uncertain opinions instantly.

Here is how they did it. They took a beam of "chaotic light"—which is just light that flickers randomly, like a lightbulb that's about to burn out. Usually, scientists try to get rid of this flickering because it's noise. But this team realized that the flickering is actually a superpower. They used a special tool to slice the light into different colors (frequencies). For each color, they could control two things: how bright it was and how wide its color band was.

They discovered a magical rule: the brightness of a specific color determined the "average" opinion of the robot, while the width of the color band determined how "uncertain" or "jittery" that opinion was. A narrow band meant a steady, confident opinion. A wide band meant a jittery, uncertain one. Because light moves incredibly fast, they could have thousands of these "opinions" flickering at the same time, all packed into a single beam.

The team built a tiny chip that acts like a super-fast conveyor belt for these light opinions. They programmed the light to represent a math problem called a "convolution" (which is just a fancy way of mixing data together, like blending ingredients in a recipe). As the light traveled through the chip, the different colors were delayed by tiny amounts so they would line up perfectly to do the math. The result? The chip could perform one of these probabilistic calculations every 37.5 picoseconds. To put that in perspective, a picosecond is a trillionth of a second. This is billions of times faster than what standard computers can do for this specific type of uncertain thinking.

They tested their "light brain" on two real-world tasks. First, they showed it pictures of blood cells. The system was trained on seven types of cells but was never shown a specific type called "erythroblasts." When they showed it an erythroblast, the light brain didn't just guess; it got "jittery." The different opinions in the light beam disagreed with each other, signaling high uncertainty. The system correctly flagged the image as "I don't know what this is," rather than confidently mislabeling it.

Next, they tested it on handwritten numbers (the famous MNIST dataset). They showed it normal numbers, numbers that looked like fashion items (which the system had never seen), and numbers that were drawn so poorly they could be two different digits at once. The light brain successfully separated these three situations: it was confident on normal numbers, unsure on the fashion items (because they were new), and confused on the ambiguous drawings (because the image itself was unclear).

The paper proves that by using the natural fluctuations of light, we can build AI that doesn't just guess, but knows when it's guessing. It's a step toward machines that are not only fast but also humble enough to admit when they are unsure, which is exactly what we need for AI to be safe and reliable in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →