arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22296cs.LGcs.AI
收藏

SCENIC: 语义条件边缘感知的结构化物联网命令生成神经框架

SCENIC: Semantic-Conditioned Edge-Aware Neural Framework for Structured IoT Command Generation

Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Shenzhen Belon Technology Co., Ltd.(深圳市贝隆科技有限公司)

Luke Ztz Hu, Hongbing Lang, Songping Mai

AI总结:

提出SCENIC框架,通过小规模Transformer、三元组损失微调、剪枝量化等方法,在边缘设备上高效生成结构化IoT命令,达到高准确率并显著压缩模型。

摘要:

边缘物联网(IoT)代理通常受到内存容量、隐私要求、通信延迟和重复推理成本的限制。当前的智能家居助手通常依赖于API级命令接口或基于云的语言模型,这些模型难以部署在边缘设备上。本文将边缘IoT命令生成视为一个多对一的结构化输出任务,其中多个自然语言指令映射到相同的规范命令字符串,用于确定性智能家居解析。为了支持这一设置,我们提出了语义条件边缘感知的结构化IoT命令生成神经框架(SCENIC),这是一个端到端的框架,涵盖模型架构选择、Smart Home Instruct数据生成、三元组损失对比监督微调、剪枝和量化,以及面向部署的导出。我们评估了低于0.2B规模的Transformer骨干网络,据我们所知,这是边缘IoT结构化命令生成研究中最小的语言模型骨干之一。在Smart Home Instruct-Bench上,最强的密集解码器仅行达到99.0%的EM@1,而编码器-解码器模型保留了更强的高稀疏行为。一个代表性的剪枝INT8编码器-解码器导出保留了91.0%的EM@1和99.0%的EM@5,同时将导出模型大小减少了25.38%。NVIDIA 2:4稀疏编码器导出的TensorRT性能分析进一步显示编码器组件加速高达1.8倍,表明所选的编码器-解码器部署路径可以在面向边缘的压缩下保持结构化命令准确性,而硬件加速证据仍处于组件级别。SCENIC代码和实验工件已开源以支持可重复性。

英文摘要:

Edge Internet of Things (IoT) agents are often constrained by memory capacity, privacy requirements, communication latency, and recurring inference cost. Current smart-home assistants commonly rely on API-level command interfaces or cloud-based language models that remain difficult to deploy on edge devices. This paper addresses edge IoT command generation as a many-to-one structured output task, where multiple natural-language instructions map to the same canonical command string for deterministic smart-home parsing. To support this setting, we propose Semantic-Conditioned Edge-Aware Neural Framework for Structured IoT Command Generation (SCENIC), an end-to-end framework covering model architecture selection, Smart Home Instruct data generation, triplet-loss contrastive supervised fine-tuning, pruning and quantization, and deployment-oriented export. We evaluate sub-0.2B-scale transformer backbones, which are, to the best of our knowledge, among the smallest language-model backbones studied for edge IoT structured command generation. On Smart Home Instruct-Bench, the strongest dense decoder-only row reaches 99.0% EM@1, while the encoder-decoder model retains stronger high-sparsity behavior. A representative pruned INT8 encoder-decoder export preserves 91.0% EM@1 and 99.0% EM@5 while reducing exported model size by 25.38%. TensorRT profiling of the NVIDIA 2:4 sparse encoder export further shows up to 1.8x encoder-component speedup, indicating that the selected encoder-decoder deployment path can retain structured command accuracy under edge-oriented compression while hardware acceleration evidence remains component-level. The SCENIC code and experimental artifacts are open sourced to support reproducibility.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑