A CHEAP LIGHT SENSOR LEARNS TO READ SPECTRA
A spectrometer splits light into its wavelengths and measures how much there is of each. It is a central tool in science, telecommunications and industry, but classic instruments rely on gratings or interferometers, and remain bulky and expensive. Over the past years, “computational” spectrometers have tried a different route: detectors whose sensitivity to each wavelength differs, followed by a calculation that rebuilds the spectrum.
The most compact of them use a single detector whose response can be tuned electrically. They reach accuracies below a nanometre — but every one of them needs dedicated fabrication: stacked two-dimensional materials, custom-grown graded junctions, organic multilayers, filters or photonic circuits. Several have only been tested at cryogenic temperatures. Meanwhile, the most common optical component of all, the commercial photodiode — produced in very large volumes, present in every optical receiver, power monitor and transceiver — has only ever been used to measure how much light arrives.
Program a detector instead of building one
Roi Yozevitch, Shmuel Sternklar and Ziv Glasser, of Ariel University in Israel, took the opposite approach: “instead of engineering a detector, we program an existing one.”
They used a standard InGaAs photodiode — InGaAs being the semiconductor that absorbs the light — of the kind found in telecom equipment, exactly as purchased, at room temperature. They added only two standard lab instruments: a function generator, which makes the voltage feeding the photodiode swing like a wave, and a digitizer that records the resulting current. The light itself is neither filtered nor modulated.
Each wavelength sinks to its own depth
The trick relies on an effect the same group has studied for years, optoelectronic chromatic dispersion. Light entering a photodiode is absorbed gradually, and how deep it goes depends on its wavelength. In InGaAs, across the telecom band from 1,530 to 1,610 nanometres, longer wavelengths are absorbed deeper. The electric charges freed by the light then have different distances to travel, through regions of different electric field, before they are collected.
The voltage applied to the photodiode controls that electric field. So the team made it oscillate between about 3 and 10 volts, 100,000 times per second. Within each 10-microsecond cycle, the photodiode sweeps through a whole range of collection conditions — and each wavelength, absorbed at its own depth, produces its own pattern of current. The spectrum ends up written in the shape of the current over a single cycle.

(a) Longer-wavelength light is absorbed deeper in the InGaAs layer, while the voltage moves the edge of the collecting region. (b) The oscillating voltage and, schematically, the current produced by two wavelengths, sampled 8,000 times per 10-microsecond cycle. (c) Learning from known laser lines, sampling an unknown spectrum, reconstruction. — Figure 1, Yozevitch, Sternklar & Glasser (2026), arXiv:2611.26532.
Lines that do not simply add up
The team recorded 29,529 current waveforms in 20 sessions between March and July 2025, shining one, two or three tunable lasers at the photodiode, each set to 4 or 8 milliwatts.
The waveform does not merely grow or shrink with the wavelength: it changes shape, smoothly, across the whole 80-nanometre band. Five basic shapes, mixed in different proportions, account for 99.96% of that variation: a single 10-microsecond cycle already carries several independent clues to the wavelength.
A surprise came when two lasers shone at once. The steady part of the current behaves simply: the second laser adds almost exactly the same share, whatever the first one does. But the oscillating part does not add up. When the first laser goes from 4 to 8 milliwatts, the second laser’s contribution grows by up to 31%. A spectrum with several lines therefore leaves its own fingerprint, not the sum of single-line fingerprints. That is why the team trains neural networks on known laser lines, rather than solving a simple linear system — which, they checked, works for single lines but not for several.
Locating, counting, tracking
Tested on wavelengths and combinations that were left out of the training:
- Location: within 0.40 nanometres for a single line across the whole band, 0.32 for two lines at once and 0.27 for three. The power level of each line was also identified — every single line, and both lines in 97% of pairs.
- Counting: without being told how many lines there were, the system found the right number in 98.0% of single-line spectra and 99.9% of pairs and triples. Two lines only 0.5 to 1 nanometre apart were recognised as two in 98% of cases.
- Tracking: in fine scans, a single line moved in steps of a thousandth of a nanometre — a picometre — was followed to within 48 to 60 picometres.
According to the authors, this accuracy falls in the range of the best single-detector spectrometers built for the purpose (0.30 nanometres for a custom-grown junction, 0.18 over a 12-nanometre range for an organic detector), but holds over 80 nanometres and for up to three lines at once. And it takes a single 10-microsecond cycle, where devices tuned at fixed voltages step through tens to about a hundred settings.
The day after
A real instrument must work on days other than the one it was calibrated on. On new days, slow drift — linked, the authors suggest, to the electronics and to temperature — dominated the error. By teaching the system what that drift looks like, the error for a single line on a new day fell from 1.79 to 0.80 nanometres, and to 0.61 with three reference lines measured that day. For three lines at once, it stayed above 1 nanometre.
Any photodiode, in principle
The experiment used one photodiode, with bright, narrow laser lines. Broad and continuous spectra, and weaker light, are the next steps. The exact physical mechanism is not yet settled either: the authors point to an interaction between the freed charges and the oscillating field inside the device.
But the recipe only needs a wavelength-dependent absorption depth, a collection that depends on the voltage, and a way to record the current — all standard. In principle, silicon photodiodes could do the same in the visible and near infrared, germanium and InGaAs in the telecom bands. The authors imagine receivers and power monitors that also check their channels’ wavelengths, and silicon sensors, “the cheapest optical sensors available”, adding spectral sensing to consumer, agricultural and industrial devices — with nothing changed but the electronics that drive them.
