Learning Electromagnetic Metamaterial Physics With ChatGPT

Darui Lu, Yang Deng, Jordan M. Malof, Willie J. Padilla
4/23/2024
physics.opticscs.LG

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) such as ChatGPT, Gemini, LlaMa, and Claude are trained on massive quantities of text parsed from the internet and have shown a remarkable ability to respond to complex prompts in a manner often indistinguishable from humans. For all-dielectric metamaterials consisting of unit cells with four elliptical resonators, we present a LLM fine-tuned on up to 40,000 data that can predict the absorptivity spectrum given a text prompt that only specifies the metasurface geometry. Results are compared to conventional machine learning approaches including feed-forward neural networks, random forest, linear regression, and K-nearest neighbor (KNN). Remarkably, the fine-tuned LLM (FT-LLM) achieves a comparable performance across large dataset sizes with a deep neural network. We also explore inverse problems by asking the LLM to predict the geometry necessary to achieve a desired spectrum. LLMs possess several advantages over humans that may give them benefits for research, including the ability to process enormous amounts of data, find hidden patterns in data, and operate in higher-dimensional spaces. This suggests they may be able to leverage their general knowledge of the world to learn faster from training data than traditional models, making them valuable tools for research and analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{lu2024learning,
  title  = {Learning Electromagnetic Metamaterial Physics With ChatGPT},
  author = {Darui Lu and Yang Deng and Jordan M. Malof and Willie J. Padilla},
  year   = {2024},
  eprint = {2404.15458},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15458v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.15458.svg)](https://codeofpaper.com/paper/2404.15458)

Discussion