World First: Engineers Train AI at Lightspeed

Artificial Intelligence Data AI Problem Solving
Penn Engineers have created the first programmable photonic chip that can train nonlinear neural networks using light, potentially revolutionizing AI by making it faster and more energy-efficient. Unlike traditional electronic chips, this new chip reshapes light itself to perform complex computations, enabling real-time learning and offering a major step toward fully light-powered computers.

Breakthrough light-powered chip speeds up AI training and reduces energy consumption.

Engineers at Penn have developed the first programmable chip capable of training nonlinear neural networks using light—a major breakthrough that could significantly accelerate AI training, lower energy consumption, and potentially lead to fully light-powered computing systems.

Unlike conventional AI chips that rely on electricity, this new chip is photonic, meaning it performs calculations using beams of light. Published in <span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

Nature Photonics
&lt;em&gt;Nature Photonics&lt;/em&gt; is a prestigious, peer-reviewed scientific journal that is published by the Nature Publishing Group. Launched in January 2007, the journal focuses on the field of photonics, which includes research into the science and technology of light generation, manipulation, and detection. Its content ranges from fundamental research to applied science, covering topics such as lasers, optical devices, photonics materials, and photonics for energy. In addition to research papers, &lt;em&gt;Nature Photonics&lt;/em&gt; also publishes reviews, news, and commentary on significant developments in the photonics field. It is a highly respected publication and is widely read by researchers, academics, and professionals in the photonics and related fields.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>Nature Photonics, the research demonstrates how the chip manipulates light to execute the complex nonlinear operations essential for modern <span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

artificial intelligence
Artificial Intelligence (AI) is a branch of computer science focused on creating systems that can perform tasks typically requiring human intelligence. These tasks include understanding natural language, recognizing patterns, solving problems, and learning from experience. AI technologies use algorithms and massive amounts of data to train models that can make decisions, automate processes, and improve over time through machine learning. The applications of AI are diverse, impacting fields such as healthcare, finance, automotive, and entertainment, fundamentally changing the way we interact with technology.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>artificial intelligence.

“Nonlinear functions are critical for training deep neural networks,” explains Liang Feng, Professor of Materials Science and Engineering and Electrical and Systems Engineering, and senior author of the study. “Our aim was to make this happen in photonics for the first time.”

The Missing Piece in Photonic AI

Most AI systems today depend on neural networks, software designed to mimic biological neural tissue. Just as neurons connect to allow biological creatures to think, neural networks link together layers of simple units, or “nodes,” enabling AI systems to perform complex tasks.

In both artificial and biological systems, these nodes only “fire” once a threshold is reached — a nonlinear process that allows small changes in input to cause larger, more complex changes in output.

Tianwei Wu and Professor Liang Feng Training AI With Light
Postdoctoral fellow Tianwei Wu (left) and Professor Liang Feng (right) in the lab, demonstrating some of the apparatus used to develop the new, light-powered chip. Credit: Sylvia Zhang

Without that nonlinearity, adding layers does nothing: the system just reduces to a single-layer linear operation, where inputs are simply added together, and no real learning occurs.

While many research teams, including teams at Penn Engineering, have developed light-powered chips capable of handling linear mathematical operations, none has solved the challenge of representing nonlinear functions using only light — until now.

“Without nonlinear functions, photonic chips can’t train deep networks or perform truly intelligent tasks,” says Tianwei Wu (Gr’24), a postdoctoral fellow in ESE and the paper’s first author.

Reshaping Light with Light

The team’s breakthrough begins with a special semiconductor material that responds to light. When a beam of “signal” light (carrying the input data) p asses through the material, a second “pump” beam shines in from above, adjusting how the material reacts.

By changing the shape and intensity of the pump beam, the team can control how the signal light is absorbed, transmitted, or amplified, depending on its intensity and the material’s behavior. This process “programs” the chip to perform different nonlinear functions.

“We’re not changing the chip’s structure,” says Feng. “We’re using light itself to create patterns inside the material, which then reshapes how the light moves through it.”

The result is a reconfigurable system that can express a wide range of mathematical functions depending on the pump pattern. That flexibility allows the chip to learn in real time, adjusting its behavior based on feedback from its output.

Training at the Speed of Light

To test the chip’s potential, the team used the chip to solve benchmark AI problems. The platform achieved over 97% <span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

accuracy
How close the measured value conforms to the correct value.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>accuracy on a simple nonlinear decision boundary task and over 96% on the well-known Iris flower dataset — a <span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

machine learning
Machine learning is a subset of artificial intelligence (AI) that deals with the development of algorithms and statistical models that enable computers to learn from data and make predictions or decisions without being explicitly programmed to do so. Machine learning is used to identify patterns in data, classify data into different categories, or make predictions about future events. It can be categorized into three main types of learning: supervised, unsupervised and reinforcement learning.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>machine learning standard.

In both cases, the photonic chip matched or outperformed traditional digital neural networks, but used fewer operations, and did not need power-hungry electronic components.

The Light Inside the Chip
An image of the light inside the chip — the white dashed boxes are the inputs and the yellow dashed boxes the outputs. Credit: Liang Feng, Tianwei Wu

In one striking result, just four nonlinear optical connections on the chip were equivalent to 20 linear electronic connections with fixed nonlinear activation functions in a traditional model. That efficiency hints at what’s possible as the architecture scales.

Unlike previous photonic systems, which are fixed after fabrication, the Penn chip starts as a blank canvas. The pump light acts like a brush, drawing reprogrammable instructions into the material.

“This is a true proof-of-concept for a field-programmable photonic computer,” says Feng. “It’s a step toward a future where we can train AI at the speed of light.”

Future Directions

While the current work focuses on polynomials — a flexible family of functions widely used in machine learning — the team believes their approach could enable even more powerful operations in the future, such as exponential or inverse functions. That would pave the way for photonic systems that tackle large-scale tasks like training large language models.

By replacing heat-generating electronics with low-energy optical components, the platform also promises to slash energy consumption in AI data centers, potentially transforming the economics of machine learning.

“This could be the beginning of photonic computing as a serious alternative to electronics,” says Liang. “Penn is the birthplace of ENIAC, the world’s first digital computer — this chip might be the first real step toward a photonic ENIAC.”

Reference: “Field-programmable photonic nonlinearity” by Tianwei Wu, Yankun Li, Li Ge and Liang Feng, 15 April 2025, Nature Photonics.
DOI: 10.1038/s41566-025-01660-x

This study was conducted at the <span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

University of Pennsylvania
The University of Pennsylvania (Penn) is a prestigious private Ivy League research university located in Philadelphia, Pennsylvania. Founded in 1740 by Benjamin Franklin, Penn is one of the oldest universities in the United States. It is renowned for its strong emphasis on interdisciplinary education and its professional schools, including the Wharton School, one of the leading business schools globally. The university offers a wide range of undergraduate, graduate, and professional programs across various fields such as law, medicine, engineering, and arts and sciences. Penn is also known for its significant contributions to research, innovative teaching methods, and active campus life, making it a hub of academic and extracurricular activity.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>University of Pennsylvania School of Engineering and Applied Science and supported by the Defense Advanced Research Projects Agency (<span class="glossaryLink" aria-describedby="tt" data-cmtooltip="

DARPA
Formed in 1958 (as ARPA), the Defense Advanced Research Projects Agency (DARPA) is an agency of the United States Department of Defense responsible for the development of emerging technologies for use by the military. DARPA formulates and executes research and development projects to expand the frontiers of technology and science, often beyond immediate U.S. military requirements, by collaborating with academic, industry, and government partners.

” data-gt-translate-attributes=”[{"attribute":"data-cmtooltip", "format":"html"}]” tabindex=”0″ role=”link”>DARPA) (W911NF-21-1-0340), Office of Naval Research (ONR) (N00014-23-1-2882), and National Science Foundation (NSF) (ECCS-2023780, ECCS-2425529, DRM-2326699, PHYS-1847240, DMR-2326698).