RAG-EM: Retrieval-Augmented Generation for Electromagnetic System Design

As large language models (LLMs) gain broader adoption, incorporating domain knowledge via proprietary data is of the utmost importance. However, data such as platform design guides (PDGs) have heavy restrictions in the design flow, meaning that the data must remain on-premise. Thus, using existing language models over the Internet is infeasible without compromising the data. This paper examines using local LLMs with domain knowledge, especially PDGs, with relevant design information and custom tool interfaces. In order to provide the LLM with domain-relevant knowledge, we use modified retrieval augmented generation (RAG). For domain-relevant knowledge, we provide the LLM with numerous PDGs and Python scripts that enable the control of an electromagnetic tool for PCB design. We demonstrate the ability of the model to perform domain-specific question/answering (QA) and generate code for manipulating 3D EM structures such as striplines and vias. We show the advantage of the on-prem RAG-based approach over finetuning by introducing new tasks/instructions.

Institutions

Publication Details

Published
2025-08-18
DOI
https://doi.org/10.1109/emcsipi52291.2025.11169861
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RAG-EM: Retrieval-Augmented Generation for Electromagnetic System Design

Geochemistry and Geologic Mapping
article

RAG-EM: Retrieval-Augmented Generation for Electromagnetic System Design

article en

Abstract

As large language models (LLMs) gain broader adoption, incorporating domain knowledge via proprietary data is of the utmost importance. However, data such as platform design guides (PDGs) have heavy restrictions in the design flow, meaning that the data must remain on-premise. Thus, using existing language models over the Internet is infeasible without compromising the data. This paper examines using local LLMs with domain knowledge, especially PDGs, with relevant design information and custom tool interfaces. In order to provide the LLM with domain-relevant knowledge, we use modified retrieval augmented generation (RAG). For domain-relevant knowledge, we provide the LLM with numerous PDGs and Python scripts that enable the control of an electromagnetic tool for PCB design. We demonstrate the ability of the model to perform domain-specific question/answering (QA) and generate code for manipulating 3D EM structures such as striplines and vias. We show the advantage of the on-prem RAG-based approach over finetuning by introducing new tasks/instructions.

North Carolina State University (US), Hewlett Packard Enterprise (United States) (US), Hewlett Packard Enterprise (Ireland) (IE)
Affordable and clean energy
Openalex Percentile: Top 25%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

RAG-EM: Retrieval-Augmented Generation for Electromagnetic System Design · (2025) | TGRS Research Map | TGRS