功能(生物学)
计算机科学
人工智能
遥感
计算机视觉
噪音(视频)
地质学
工程类
钥匙(锁)
特征(语言学)
作者
Dingwei Xi,Puchu Li,Zheng-Hua Tan,Zhen‐Guo Liu,Gert Frølund Pedersen,Ming Shen
出处
期刊:
[Institute of Electrical and Electronics Engineers]
日期:2026-01-01
卷期号:2: 541-560
标识
DOI:10.1109/jsteap.2026.3731537
摘要
Large language models (LLMs) show considerable potential for controlling electromagnetic (EM) simulation software through scripting interfaces such as the Visual Basic for Applications (VBA) API. However, direct code generation is vulnerable to hallucination, whereby the model produces syntactically plausible but incorrect or non-executable commands because of insufficient grounding in software-specific interfaces and operation requirements. To mitigate this issue, this paper proposes a function tool-calling framework in which frequently used modelling and simulation operations are encapsulated as predefined functions with structured schemas and verified local VBA implementations. The LLM is therefore responsible for selecting the intended function and generating all required arguments rather than producing arbitrary VBA code. The developed tool library supports geometric modelling, parameter adjustment, unit-cell simulation configuration, solver execution, and simulation data extraction, enabling reliable parameterized simulation and structured data acquisition through natural-language interaction. Furthermore, a lightweight hierarchical multi-agent strategy with a mode-switching mechanism is introduced for complex tasks. It separates common-mode and array-mode function sets and automatically augments array-related prompts, thereby reducing interference from irrelevant candidate tools. The proposed framework is evaluated using ten models from OpenAI, Qwen, and Anthropic over 720 common-mode and 390 array-mode test cases, where a result is considered correct only when both the intended function and all required arguments are correctly returned. In common mode, the Claude models achieve accuracies of 98.89%–99.58%, the OpenAI models achieve 97.36%–99.03%, and the Qwen models achieve 94.31%–96.39%. In array mode, most models maintain accuracies above 95%, while the distractor-tool experiment demonstrates that enlarging the candidate tool set can cause strongly model-d...
科研通智能强力驱动
Strongly Powered by AbleSci AI