Chat to Chip: Large Language Model Based Design of Arbitrarily Shaped Metasurfaces
arXiv:2509.24196 · doi:10.1515/nanoph-2025-0343
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 to 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.
References in corpus (9)
- Training deep neural networks for the inverse design of nanophotonic structures
- A Survey on Multimodal Large Language Models
- Metasurface holography: from fundamentals to applications
- Global optimization of dielectric metasurfaces using a physics-driven neural network
- Data-Driven Design for Metamaterials and Multiscale Systems: A Review
- Diffusion Probabilistic Model Based Accurate and High-Degree-of-Freedom Metasurface Inverse Design
- A newcomer's guide to deep learning for inverse design in nano-photonics
- Data driven approaches in nanophotonics: A review of AI-enabled metadevices
- Fixed-Attention Mechanism for Deep-Learning-Assisted Design of High-Degree-of-Freedom 3D Metamaterials