Skip to main content

Learning Electromagnetic Metamaterial Physics With ChatGPT

Publication ,  Journal Article
Lu, D; Deng, Y; Malof, JM; Padilla, WJ
Published in: IEEE Access
January 1, 2025

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.

Duke Scholars

Published In

IEEE Access

DOI

EISSN

2169-3536

Publication Date

January 1, 2025

Volume

13

Start / End Page

51513 / 51526

Related Subject Headings

  • 46 Information and computing sciences
  • 40 Engineering
  • 10 Technology
  • 09 Engineering
  • 08 Information and Computing Sciences
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Lu, D., Deng, Y., Malof, J. M., & Padilla, W. J. (2025). Learning Electromagnetic Metamaterial Physics With ChatGPT. IEEE Access, 13, 51513–51526. https://doi.org/10.1109/ACCESS.2025.3552418
Lu, D., Y. Deng, J. M. Malof, and W. J. Padilla. “Learning Electromagnetic Metamaterial Physics With ChatGPT.” IEEE Access 13 (January 1, 2025): 51513–26. https://doi.org/10.1109/ACCESS.2025.3552418.
Lu D, Deng Y, Malof JM, Padilla WJ. Learning Electromagnetic Metamaterial Physics With ChatGPT. IEEE Access. 2025 Jan 1;13:51513–26.
Lu, D., et al. “Learning Electromagnetic Metamaterial Physics With ChatGPT.” IEEE Access, vol. 13, Jan. 2025, pp. 51513–26. Scopus, doi:10.1109/ACCESS.2025.3552418.
Lu D, Deng Y, Malof JM, Padilla WJ. Learning Electromagnetic Metamaterial Physics With ChatGPT. IEEE Access. 2025 Jan 1;13:51513–51526.

Published In

IEEE Access

DOI

EISSN

2169-3536

Publication Date

January 1, 2025

Volume

13

Start / End Page

51513 / 51526

Related Subject Headings

  • 46 Information and computing sciences
  • 40 Engineering
  • 10 Technology
  • 09 Engineering
  • 08 Information and Computing Sciences