Optical Technology for AI Processing — Presentation 03

Where Optics Could Win, and the Limits

Putting decks 01 and 02 to work: the conditions under which optical arithmetic beats digital, a map of where it wins, which AI operations fit, memory and Amdahl, precision for inference and training, the scaling argument for very large models, and the niches (latency, sensing, transforms) where the case is strongest.

Win conditions Amdahl Memory wall 1/d scaling Latency Scorecard
Large N + Low precision + Static weights + High utilisation = a chance
00

Topics We'll Cover

Concepts used here, and where they are explained. Each links to a glossary entry: this series glossary, or the glossaries of Fourier Optics for Inference and Training, Silicon Photonics Fundamentals and other sister series for concepts they already explain.

01

A Caution to Start

McMahon's review of the physics of optical computing argues that “the speed of light is not a key differentiating physical property of optics for computing”, and sets out eleven features of optics (parallelism, passive linear operations, low-loss data movement and others) from which an advantage could be built, if a design uses several of them and avoids the costs of conversion and precision (Nat. Rev. Phys. 5, 717, 2023; arXiv:2308.00088).

02

The Conditions for a Win

ConditionWhyWhere it was shown
Large matricesEach conversion is shared by N MACsOptAI 02, slide 01; N > 500 in Nahmias et al.
Low precisionConverter energy doubles and photon count quadruples per bitOptAI 02, slide 05; ≤ 4 bits in Nahmias et al.
Static, reused weightsChanging weights costs a conversion per weightOptAI 02, slide 01
Low static power per weightPaid at every use; 1 mW at 1 GHz is 1 pJ per MACOptAI 02, slide 08
High utilisationLasers and bias burn power when idleOptAI 02, slide 08
Weights near the opticsFetching weights from DRAM costs more than the MACs saveslide 05

Nahmias et al. summarise the first two: photonic MACs have their advantages for large processors, large vector sizes (N > 500) and low noise precision (≤ 4 bits) (IEEE JSTQE 26, 2020). The interactive on the next slide maps the first two conditions directly.

03

Interactive: Where Optics Wins

Every cell is the energy-per-MAC model of OptAI 02 at one matrix size and precision, compared with a digital reference. Green cells beat it, orange cells lose. The ADC figure of merit (with the DAC at half of it), laser efficiency, static power and reuse are illustrative inputs; the default digital reference is Horowitz's 8-bit MAC at 45 nm (OptAI 02, slide 11).

20
10
0.00
0.23
128
8
At the marker
—
Share of map that wins
—

Try: set the digital reference to 0.05 pJ (a newer node), or a static power of 0.1 mW per weight, and watch the green region shrink; set weights to reload every vector, as attention scores do, and it retreats to the lowest precisions. The model's limits are listed under OptAI 02's interactive; memory is not in it (slide 05).

04

Which AI Operations Fit

OperationOptical fitWhy
Weight × activation matmuls (projections, MLP, convolutions)GoodStatic weights, reused over every token or batch element
Attention scores QKT and scores × VPoorBoth operands are activations: the “weights” change every token, so every value needs a conversion (data-by-data products)
Softmax, normalisation, activationsDigitalNonlinear, and small in FLOPs but on the critical path (OptAI 01, slide 10)
Fourier transforms and long convolutionsGood, where they existA lens computes them in one pass; rare in LLMs (slide 10)
Training's backward passHarderTransposed weights, gradient precision, weight updates every step (slide 06)
05

Memory and Amdahl

06

Precision for Inference and for Training

Inference

  • INT8 and FP8 inference is standard; matching INT8's error needs about 8 ENOB (the noise rule).
  • Some tasks tolerate far less: about 90% digit accuracy at about 0.66 photons per multiplication (Wang et al., Nature Commun. 13, 123, 2022).
  • Precision can vary by layer (Garg et al., arXiv:2102.06365).

Training

Inference is the easier target: lower precision, static weights and a forward pass only. Most of what the companies in deck 04 describe is inference.

07

The Scaling Argument: 1/d

Anderson et al. studied Transformer inference with optical matrix multiplication and modelled how its energy scales with model size. Their key finding is that “optical energy per multiply-accumulate (MAC) scales as 1/d where d is the Transformer width”: wider models share each conversion and each photon among more MACs (arXiv:2302.10360; TMLR 2024).

What the paper projectsAgainst
About 100× energy advantage for some of the largest current Transformers (about 500 billion parameters)Digital processors at 300 fJ/MAC
More than 8,000× for models of a quadrillion parametersThe same
08

Latency Niches

ResultLatencySource
On-chip photonic network classifying imagesUnder 570 psAshtiani et al. (Nature 606, 501, 2022)
Three-layer network with on-chip nonlinearities410 psBandyopadhyay et al. (Nature Photon. 18, 1335, 2024)
Integrated photonic accelerator solving Ising problems, more than 16,000 photonic components, up to 1 GHzAs small as 3 ns per cycleHua et al., Lightelligence (Nature 640, 361, 2025)
09

When the Data Is Already Light

10

Transforms, Convolutions and Encryption

11

A Scorecard

WorkloadN and reusePrecisionWeightsVerdict
Vision on light that arrives opticallyVery large (pixels)LowStaticstrongest case
CNN inferenceLargeINT8 or lowerStatic, smallplausible
Iterative solvers (Ising, optimisation)One matrix, many passesLowStatic per problemplausible, latency-driven
LLM inference: projections and MLPLarge in prefill, batch-dependent in decodeINT8/FP8Huge; must be tiled and reloadedconditional on memory
LLM attentionActivation × activationHigherChange every tokenpoor
TrainingLargeHigh for gradientsChange every stephardest

These verdicts are this series' engineering judgement from the conditions of slide 02 and the model of slide 03, not measurements; deck 04 sets them beside what companies say they have built.

12

What to Take Away