面向基于大语言模型的生成式物联网的高效提示方法
Efficient Prompting for LLM-based Generative Internet of Things
AI总结:
本研究针对本地部署开源LLM应用于物联网的性能局限问题,提出带提示管理与后处理模块的生成式物联网系统,经表格问答任务实验验证,其性能可比肩前沿大模型且无需训练即可扩展新任务。
摘要:
大语言模型(LLM)已在各类任务上展现出卓越能力,将LLM的能力整合到物联网(IoT)应用中近期已引发大量研究关注。出于安全考量,许多机构不愿接入最先进的商用LLM服务,要求在本地网络环境内部署和使用开源LLM。但开源LLM通常在性能上存在更多局限,例如算术计算和推理能力不足,且将LLM应用于物联网的实用系统仍有待充分探索。因此,本研究提出一种部署在本地网络环境中的基于LLM的生成式物联网(Generative IoT, GIoT)系统。为缓解LLM的局限性并提供具备竞争力的服务性能,我们采用提示工程方法增强开源LLM的能力,设计了提示管理模块(Prompt Management Module)和后处理模块(Post-processing Module),用于管理适配不同任务的定制化提示并处理LLM生成的结果。为验证所提系统的有效性,我们选取具有挑战性的表格问答(Table Question Answering, Table-QA)任务作为该系统的案例研究——由于表格数据结构复杂、数据类型异构且有时规模庞大,其处理难度通常高于普通文本。我们在两个主流Table-QA数据集上开展了全面实验,结果表明,所提方案与最先进的LLM相比可取得具有竞争力的性能,证明该基于LLM的GIoT系统借助定制化提示方法能够提供有竞争力的性能,且无需训练即可轻松扩展至新任务。
英文摘要:
Large language models (LLMs) have demonstrated remarkable capacities on various tasks, and integrating the capacities of LLMs into the Internet of Things (IoT) applications has drawn much research attention recently. Due to security concerns, many institutions avoid accessing state-of-the-art commercial LLM services, requiring the deployment and utilization of open-source LLMs in a local network setting. However, open-source LLMs usually have more limitations regarding their performance, such as their arithmetic calculation and reasoning capacities, and practical systems of applying LLMs to IoT have yet to be well-explored. Therefore, we propose a LLM-based Generative IoT (GIoT) system deployed in the local network setting in this study. To alleviate the limitations of LLMs and provide service with competitive performance, we apply prompt engineering methods to enhance the capacities of the open-source LLMs, design a Prompt Management Module and a Post-processing Module to manage the tailored prompts for different tasks and process the results generated by the LLMs. To demonstrate the effectiveness of the proposed system, we discuss a challenging Table Question Answering (Table-QA) task as a case study of the proposed system, as tabular data is usually more challenging than plain text because of their complex structures, heterogeneous data types and sometimes huge sizes. We conduct comprehensive experiments on two popular Table-QA datasets, and the results show that our proposal can achieve competitive performance compared with state-of-the-art LLMs, demonstrating that the proposed LLM-based GIoT system can provide competitive performance with tailored prompting methods and is easily extensible to new tasks without training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。