AI is Outgrowing Electricity. Is Light the Only Way Out?

How a group at HKUST built a fully programmable electronic-photonic computer that speaks PyTorch, runs on a RISC-V brain, and actually plugs into a wall.


Late on any given night inside a large-scale data center, thousands of GPU racks are doing what they were always designed to do which is running hot. The fans screaming at full tilt are not a malfunction. They are the honest acoustic signature of electrons slamming through copper at the speed of computation. Every matrix multiplication, every attention head in a transformer model, every gradient pass in a training run releases heat as a byproduct of the work. That heat is not free to dissipate. It must be managed, cooled, and ultimately paid for on an electricity bill that, across the global AI industry, now runs into the tens of billions of dollars annually.

Yet the electricity bill is only part of the story. Every dollar spent scaling GPU clusters is shadowed by a second, less visible invoice. That being the capital expenditure required to keep those clusters cool. Liquid cooling loops, precision HVAC infrastructure, raised floors engineered to move air at scale — these are not optional add-ons. They are structural costs baked into the operating model of any serious AI deployment. As model sizes grow, that cooling bill does not grow linearly. It compounds. Over a decade, the margin profile of AI compute is in part a story about how much of every dollar earned goes straight back into managing heat.

Nearly all of that heat traces back to the repeated linear algebra at the heart of modern machine learning. Every layer of a neural network is, at its core, a matrix multiplication — and every matrix multiplication, on today’s hardware, is an electron moving through a resistor. So the question that a growing number of physicists, computer architects, and chip designers are asking is deceptively simple. What if that arithmetic did not have to travel through copper at all?

The Missing Software Layer

Light moves through silicon nitride without generating the resistive heat that defines electronic computation. Photonic integrated circuits have demonstrated data modulation rates exceeding 100 GHz, a speed regime that conventional digital logic cannot match in the same power envelope. The physics has been known for decades. What the field has lacked is the software layer — the programmability, the full stack that would let an ordinary data scientist write a PyTorch model and have it run, transparently and correctly, on a machine made of light.

“What the field has lacked is the software layer — the full stack that lets a data scientist write PyTorch and have it run on a machine made of light.”

A group of scientists and engineers at the Hong Kong University of Science and Technology has built exactly that. Their paper, presented at ASP-DAC 2026, describes a complete electronic-photonic neurocomputing system that is, to the knowledge of the field, the first to be simultaneously fully programmable, physically fabricated, and equipped with an automated compilation pipeline. Crucially, it is not a simulation. It is not a theoretical proposal. It is a system you can power on.


How the Stack Is Organized

Before diving into each component, it helps to see the entire stack as a single system. The architecture represents a true vertical integration: a developer at the top writes standard PyTorch, and that code descends through a series of translation layers until it becomes voltages applied to optical waveguides. Each layer has one job, and no layer requires the one above it to understand the one below.

┌─────────────────────────────────────────────┐
│           DEVELOPER INTERFACE               │
│         PyTorch Neural Network              │
└────────────────────┬────────────────────────┘
                     │  Auto-Compilation (MLIR)
┌────────────────────▼────────────────────────┐
│           SOFTWARE STACK                    │
│   Graph Decomposition · Optimization        │
│   Loop Ordering · Memory Layout             │
└────────────────────┬────────────────────────┘
                     │  Instruction Emission
┌────────────────────▼────────────────────────┐
│          CONTROL PLANE (FIONA-V)            │
│   RISC-V Core + Photonic ISA Extensions     │
│   mvmul · dotprod · conv1d                  │
└────────────────────┬────────────────────────┘
                     │  DAC / ADC Bridge
┌────────────────────▼────────────────────────┐
│         ELECTRONIC SUBSYSTEM                │
│   FPGA · Rocket Core · DAC/ADC Array        │
│   Peripheral Drivers · Power Supply         │
└────────────────────┬────────────────────────┘
                     │  Electrical → Optical
┌────────────────────▼────────────────────────┐
│          PHOTONIC CHIP                      │
│   MZI Mesh GeMM · MRR Dot-Product           │
│   5×5 Optical Switch · Delay Lines          │
│   LIGENTEC 200nm Silicon Nitride            │
└─────────────────────────────────────────────┘

Notably, every layer in that stack was built, verified, and reported in the same paper. That is the claim the rest of this article will unpack.


Photonic Hardware That Speaks PyTorch

The stack diagram makes one point very clear. The system begins not with photonics, but with software. For most developers, the first question is straightforward — can this machine run ordinary neural network code? Answering that question required solving a problem that has little to do with optics.

The Programming Model Problem

The central problem with most photonic accelerator designs has never been the physics. It has been the programming model. Chips built around Mach-Zehnder interferometer meshes, microring resonators, and optical switching networks are extraordinarily good at performing linear algebra in the optical domain. However, using them has required deep familiarity with photonic device behavior — with the precise voltages needed to tune each phase shifter, with the optical signal routing that determines which computation happens where. Consequently, deploying a neural network on such a chip has been closer to laboratory craft than software engineering.

The HKUST system breaks that dependency entirely. At its software interface sits a compilation framework built on PyTorch and MLIR, the Multi-Level Intermediate Representation infrastructure that has become the backbone of modern compiler toolchains for machine learning hardware. A developer writes a neural network in standard PyTorch. The compilation pipeline then decomposes the graph, applies optimizations such as constant propagation, memory layout transformation, and loop reordering, and progressively lowers the model until it becomes machine instructions executable by the photonic and electronic hardware.

What the Compiler Actually Proved

No knowledge of photonics is required at any stage of that process. To verify this claim, the scientists benchmarked the compiler against hand-tuned operator implementations across four neural network architectures: a simple convolution, AlexNet, ResNet-18, and VGG-16.


Benchmarked results — not projections

These numbers come from measured hardware runs on the physical prototype, not from simulation or theoretical modeling:

Neural NetworkBatch Size 2Batch Size 8
Simple Convolution1.89×3.44×
AlexNet1.44×1.96×
ResNet-1816.08×16.12×
VGG-1613.59×17.51×

Speedup relative to hand-tuned baseline operators. Results verified on the physical SiN prototype.


At batch size 8, the compiler-generated code outperformed manually written operators on every workload. Rather than merely matching expert human effort, the compiler exceeded it by finding optimization opportunities that human authors missed.

“At batch size 8, the compiler-generated code outperformed manually written operators on every workload tested — including a benchmarked 17.51× speedup on VGG-16.”

This result matters beyond its numerical value. It means the computational headroom in the photonic platform is, in practical terms, accessible only through systematic compilation. Human intuition about photonic scheduling is not good enough. The machine, given the right compiler, does better.


The RISC-V Conductor and the Photonic Orchestra

A programmable photonic system needs a control plane. A processor that can issue instructions, manage memory, handle branching logic, and coordinate the timing of optical operations. The architects chose RISC-V, the open-source instruction set architecture that has become the preferred foundation for custom processor designs across academia and industry. The choice was not merely pragmatic. It was strategic.

Extending an Open Standard

RISC-V includes reserved space in its instruction encoding for custom extensions. The builders used those slots to define a photonic vector instruction set, embedding new operations directly into the processor’s instruction stream. The resulting processor, named FIONA-V, treats the photonic chip not as a peripheral but as a first-class execution unit, coordinated through a pALU control unit and a digital-to-analog and analog-to-digital converter array that bridges the two physical domains.

What the New Instructions Actually Do

The analogy worth reaching for here is CUDA. When NVIDIA created CUDA in 2006, they gave C++ programmers a way to talk directly to GPU silicon without understanding the underlying hardware architecture. HKUST has done something structurally similar: extended a standard CPU instruction set so that assembly code can talk to light. Three instructions sit at the core of this:

mvmul — sends a vector into the MZI mesh and retrieves the matrix-vector product, computed entirely in the optical domain by the physical interference of light through phase-shifted waveguides.

dotprod — routes two vectors through the microring resonator array, which computes their dot product by modulating optical power across thermally tuned rings.

conv1d — performs a one-dimensional convolution using the chip’s finite impulse response filter architecture, again without a single electron doing the arithmetic.

From the processor’s perspective, these are instructions like any other. From a physics perspective, they are arithmetic performed at the speed of light.


Because FIONA-V sits within the RISC-V ecosystem, it inherits compatibility with existing operating systems, toolchains, and application software stacks. Developers using the system do not need to learn a proprietary programming model. The conductor speaks a language the broader computing world already knows.

The implementation runs on an FPGA alongside a Rocket Core (a widely used, silicon-proven 64-bit RISC-V design) which handles branch control and scalar operations. Its presence signals that the control plane rests on stable, independently verified foundations. Furthermore, resource utilization shows arithmetic units consuming 38 percent of look-up tables and the photonic control unit accounting for 23 percent, confirming the system fits within the resource envelope of a real programmable logic device.


A Snapshot of the Shift

For readers tracking this space across technical and non-technical contexts, the table below distills what separates this approach from incumbent electronic compute.

DimensionElectronic GPU ComputeHKUST Full-Stack Photonic
Heat profileHigh — resistive losses in copperUltra-low — silicon nitride carries light, not current
Cooling CAPEXLiquid loops, precision HVAC, raised floorsStructurally reduced — no resistive heat source in the arithmetic path
Programming languageHardware-specific CUDA kernelsStandard PyTorch, compiled automatically
Processor architectureClosed-source GPU logicOpen-source RISC-V, extended with photonic instructions
Speed ceilingElectron mobility in siliconOptical modulation, demonstrated above 100 GHz
Fabrication routeMature but proprietary node processesLIGENTEC 200nm silicon nitride — CMOS-compatible, commercially available

Beyond Matrix Math: Arithmetic in Silicon Nitride

The Foundry Advantage

The photonic chip at the heart of this system was fabricated using the LIGENTEC 200-nanometer silicon nitride process. Silicon nitride (SiN) is CMOS-compatible, meaning existing semiconductor fabs can manufacture it without a multi-billion dollar rebuild of foundry infrastructure. That single fact is the economic leverage point of this entire class of technology. Rather than demanding new factories, SiN fits into the ones already running.

As a waveguide material, silicon nitride sits at an interesting point in the photonics landscape. Compared to silicon, it offers lower optical loss, handles a broader wavelength range, and avoids the two-photon absorption that constrains silicon platforms at high optical powers. Moreover, it is mature and commercially available, which means this chip is not a laboratory curiosity requiring exotic fabrication. It is manufacturable — and that distinction matters enormously when the conversation turns from proof of concept to blueprint for a factory.

What the Die Actually Contains

The die contains several distinct functional units. Two Clements-arrangement Mach-Zehnder interferometer meshes perform general matrix multiplication. A microring resonator array handles dot-product operations. Additionally, a 5-by-5 dual-channel looped crossbar optical switching network routes data between units, while two-bit reconfigurable optical delay lines manage synchronization across the data path. Each unit responds to applied voltages in a deterministic, programmable way, confirmed by on-chip measurement: as voltage changes, the spectral response shifts predictably, enabling reliable computation across the optical domain.

The Bucket Effect — and How the Compiler Solves It

One issue this architecture takes head-on is what engineers call the bucket effect. Photonic circuits can modulate input vectors at speeds exceeding 100 GHz using electro-optic modulators. Loading weight matrices onto the MZI meshes, however, is a slower process gated by the electrical control bandwidth. In a naive implementation, the fast optical data path sits idle waiting for the slow weight-loading path to complete.

This is the part of the paper that a skeptical systems architect will spend the most time on. Photonic compute is not a magic wand. It has real-world timing constraints, and any honest assessment of the architecture has to reckon with them. The answer this work offers is Software-Hardware Co-Design. The compilation framework uses scheduling techniques that deliberately interleave weight-loading operations with other executable instructions, thereby hiding latency behind productive work. The genius is not only in the light. It is in the compiler’s ability to keep the slow electrical parts invisible to the fast optical ones.

“The genius is not only in the light. It is in the compiler’s ability to keep the slow electrical parts invisible to the fast optical ones.”

In addition, the arithmetic diversity of this platform departs from most photonic accelerator designs. Prior tapeouts have typically been optimized for a single operation type (usually matrix-vector multiplication) and cannot be reprogrammed to perform a different class of computation without physical redesign. By contrast, this chip supports matrix multiplication, dot products, and one-dimensional convolutions as native photonic operations, all schedulable by the FIONA-V instruction set. That breadth is what makes the system genuinely programmable rather than specialized.


Verified in Silicon Nitride: The Prototyping Reality

From Simulation to Fabricated Hardware

Up to this point, the architecture could still be mistaken for a simulation study. Many photonic computing papers stop exactly here with a compelling design, validated in software, with performance projections that assume perfect fabrication and no packaging loss. The HKUST system, however, occupies a different category. The chip has been fabricated, packaged, and mounted. The PCB boards carry custom designs. The FPGA runs its programmed logic. The laser source sits connected and active.

The Signal Chain, End to End

The experimental setup, documented in the paper, shows the packaged photonic chip interfaced with a motherboard hosting the FPGA, a digital-to-analog card providing multi-channel analog signals for optical modulation, and a polarization controller managing the optical input. A transimpedance amplifier then converts the photo detected output back into electrical signals that the ADC reads for downstream processing. Together, these components form a complete signal chain (from digital instruction to optical computation to digital result) verified end-to-end.

The photonic chip connects to the electronic system through edge couplers and a fiber array, a standard packaging approach for silicon photonic and silicon nitride devices. The die micrograph shows all functional units clearly delineated: the switching network, the MZI mesh GeMM unit, the microring dot-product array, and the reconfigurable delay lines.

Why “Fabricated” Is the Key Word

What this physical verification establishes is that the abstractions hold. The instruction set, the compiler, the DAC-ADC bridge, the optical control signals, and the photonic arithmetic units all work together as designed. The word fabricated carries weight in this field precisely because making the abstractions hold across the electronic-photonic boundary is genuinely difficult, and most prior work stops before that boundary faces a real hardware test.


From Lab Bench to AI Server

The path from a research prototype to a production AI accelerator is long and involves manufacturing yield, thermal management at scale, packaging costs, and the ecosystem of software tools that engineers actually rely on. None of that is trivial. Nevertheless, the HKUST system defines something that did not clearly exist before. That is a reference architecture for what a fully programmable electronic-photonic computer looks like, complete with the software stack required to use it.

Read through an investor’s lens, this work is a direct response to the thermal wall that AI is accelerating toward. Billions are already being spent on cooling infrastructure just to sustain current GPU cluster densities. Rather than merely offering a faster chip, a compute architecture whose arithmetic path generates no resistive heat offers a structurally different cost model — one where scaling compute does not mean scaling the cooling bill at the same rate.

Read through an engineer’s lens, the most consequential sentence in the paper may be the simplest: no knowledge of photonics is required. By extending RISC-V with native photonic instructions and building an MLIR-based compiler that accepts standard PyTorch, the architects have made the hardware accessible to anyone who can already write a neural network. Moreover, the benchmarked speedups (16.12 times on ResNet-18, 17.51 times on VGG-16, both measured on fabricated hardware) provide direct evidence that the software stack is doing its job.

Read through a strategist’s lens, the NVIDIA moat has never been just the GPU. It has been the stack. This is the chip, the instruction set, the compiler, the developer tooling, all built and maintained as a single integrated system. This paper is the first complete public account of a fully programmable electronic-photonic architecture assembled on that same full-stack logic — built on an open instruction set, compiled from open toolchain infrastructure, and fabricated on a commercially available foundry process. That the chip uses a CMOS-compatible node is not a footnote. It is a systemic statement: this design is not locked inside a bespoke process that only one laboratory in the world can run. Another team, at another institution, or inside a semiconductor company, could pick it up and build from it.

Whether that constitutes the beginning of a new architecture class for AI compute will depend on how quickly the fabrication ecosystem matures, how effectively the compiler can be extended to cover larger model classes, and whether the performance advantages of photonic arithmetic survive the transition from chip-scale prototypes to server-scale deployment. Those are open questions. What is no longer open is whether a fully programmable electronic-photonic neurocomputing system can be built. This paper shows that it can be built and provides the first complete blueprint for doing so.


Source

Liu, Y., Chen, P., Hu, B., Zhang, W., & Xu, J. (2026). Full-Stack System Design and Prototyping for Fully Programmable Electronic-Photonic Neurocomputing. In Proceedings of the 31st Asia and South Pacific Design Automation Conference (ASP-DAC 2026), pp. 219–222. IEEE. DOI: 10.1109/ASP-DAC66049.2026.11420503

Related Articles

PHP Code Snippets Powered By : XYZScripts.com
★

Track This Company

Create a free account to add companies to your watchlist and get notified when patents, funding, or key developments change.