Engineers have turned to deep neural networks as fast surrogates for classical electromagnetic solvers. The idea is simple: train a network on thousands of (geometry, optical response) pairs, then use it to predict the properties of new designs in milliseconds instead of minutes or hours. The catch is that standard neural networks approach this as a pure pattern-matching exercise. They have no intrinsic knowledge of physics, so they need immense datasets to learn even basic electromagnetic behavior — 40,000 simulations consuming 30 days was often the bare minimum, and even then the models could generate physically impossible outputs .
Philippe Tassin, a professor at Chalmers' Department of Physics, and doctoral student Viktor Lilja took a fundamentally different approach. Instead of asking a blank-slate neural network to deduce physics from examples alone, they gave it a "basic education in physics" by hard-coding constraints derived from Maxwell's equations directly into the network's structure .
Their framework, published in Laser & Photonics Reviews as "A General Framework for Knowledge Integration in Machine Learning for Electromagnetic Scattering Using Quasinormal Modes," formalizes this idea around a specific physical concept: quasinormal modes (QNMs) . Every resonant optical structure has a set of these modes, each characterized by a complex frequency that describes both its oscillation and its decay. The scattering spectrum of a structure — the very thing engineers want to control — can be expressed as a sum of contributions from these quasinormal modes. By structuring the neural network so that it inherently learns in terms of these resonant contributions and respects the known mathematical form of electromagnetic scattering, the team constrained the model's learning process to only produce outputs consistent with Maxwell's equations
.
"When we fed the super-brain information about the laws of physics, it immediately got much smarter," Tassin explained. "Our calculations now take one tenth of the time previously required" .
A single traditional training data point previously required a 10–60 minute simulation. A whole training campaign could demand up to 40,000 such points, totaling roughly a month. With physics guidance, the network learns the same underlying physics with far fewer examples. Generating sufficient training data now takes approximately 3 days, and the trained network delivers its predictions in milliseconds while producing estimates that are physically reliable and free of glaring errors .
This approach also aligns with broader trends in physics-guided machine learning. Other recent work has shown that embedding Maxwell's equations into the training process can improve physics-consistency and generalizability while reducing data requirements by half or more . These physics-informed neural networks represent a shift from blind data-fitting toward models that respect fundamental laws from the start.
The core mechanism is the quasinormal mode expansion of the scattering matrix. In any nanophotonic structure, light scatters as it interacts with material features. That scattering can be described mathematically as a superposition of resonant modes. By building a network that inherently operates in this modal representation, the researchers ensured that certain mathematical properties of electromagnetic scattering — like causality and the analytic structure of scattering coefficients — are automatically satisfied .
The practical upshot is threefold:
The tenfold design speed-up is not just a laboratory benchmark — it unlocks practical engineering workflows that were previously infeasible.
Artificial optical materials (metamaterials) can produce thinner, lighter, and more effective lenses than conventional glass or plastic, but designing them requires exploring enormous parameter spaces. The physics-informed network can rapidly sweep through candidate designs that would have taken weeks with traditional solvers .
The Chalmers team is actively collaborating with the university's quantum computer project. The goal is to design nanostructured materials that precisely control how light travels, potentially creating optical-frequency communication channels between quantum processors using mechanically compliant photonic crystals. Such interconnects are a critical piece of scaling quantum computers beyond a few qubits .
The quasinormal-mode framework is deliberately general. It applies to any optical component governed by Maxwell's equations: metasurfaces, metamaterials, waveguides, and more . Related research has demonstrated that similar physics-embedded models can achieve optimization speed-ups exceeding 80,000 times for certain tasks while also improving prediction accuracy
. Other groups using physics-informed neural networks for metasurface design have shown the ability to maintain high optical performance while accounting for fabrication uncertainties, making these designs far more practical for real manufacturing
.
The Chalmers breakthrough highlights a broader inflection point in computational nanophotonics. The field has been rapidly adopting machine learning over the past few years, with models achieving speedups of 500× to over 10⁶× compared to traditional finite-difference time-domain (FDTD) solvers . What distinguishes the Chalmers work is its focus on making the training process itself dramatically more efficient via deep physics integration, rather than just accelerating the inference step.
By embedding Maxwell's equations not merely in a loss function but in the architectural bones of the network, the team has demonstrated a path toward machine learning surrogates that are both fast and trustworthy — a combination that has historically been elusive in electromagnetic design. Other teams are now exploring quantum physics-informed variants that leverage parameterized quantum circuits to solve time-dependent Maxwell's equations with even greater efficiency .
Perhaps the most telling endorsement comes from the researchers themselves. Viktor Lilja described the previous workflow bluntly: "You start with a design process and after 30 days you get the results. Then if you realise that you need to add more things, it can take another month" . The new approach collapses that timeline to three days — and delivers answers in milliseconds. In a field where design iteration speed directly dictates the pace of innovation, that difference is everything.
Comments
0 comments