Related Experiment Video
Updated: Jan 11, 2026

Demonstration of Equal-Intensity Beam Generation by Dielectric Metasurfaces
Published on: June 7, 2019
Chat to chip: large language model based design of arbitrarily shaped metasurfaces
Huanshu Zhang1, Lei Kang1, Sawyer D Campbell1
1Department of Electrical Engineering, The Pennsylvania State University, University Park, PA, 16802, USA.
Abstract:
Traditional metasurface design is limited by the computational cost of full-wave simulations, preventing thorough exploration of complex configurations. Data-driven approaches have emerged as a solution to this bottleneck, replacing costly simulations with rapid neural network evaluations and enabling near-instant design for meta-atoms. Despite advances, implementing a new optical function still requires building and training a task-specific network, along with exhaustive searches for suitable architectures and hyperparameters. Pre-trained large language models (LLMs), by contrast, sidestep this laborious process with a simple fine-tuning technique. However, applying LLMs to the design of nanophotonic devices, particularly for arbitrarily shaped metasurfaces, is still in its early stages; as such tasks often require graphical networks. Here, we show that an LLM, fed with descriptive inputs of arbitrarily shaped metasurface geometries, can learn the physical relationships needed for spectral prediction and inverse design. We further benchmarked a range of open-weight LLMs and identified relationships between accuracy and model size at the billion-parameter level. We demonstrated that 1-D token-wise LLMs provide a practical tool for designing 2-D arbitrarily shaped metasurfaces. Linking natural-language interaction to electromagnetic modelling, this "chat-to-chip" workflow represents a step toward more user-friendly data-driven nanophotonics.
Related Concept Videos
Typical Model Studies
Gauss's Law: Planar Symmetry
Theorems of Pappus and Guldinus: Problem Solving
Modeling and Similitude
Gauss's Law: Spherical Symmetry

