跳到正文
arXiv cs.AI· Tianyang Liu, Jiayue Wang, Zhanhao Cheng, Changyang Wang, Shaoshu Zhu, Zhenghao Wu, Hadi Tabatabaee Malazi·· 12 小时前AI 评分31

LocalIntent:用本地 LLM 为智能楼宇自动化生成后端兼容的结构化输出

LocalIntent: Outcome-Specific Structured Generation for Backend-Compatible Smart Building Automation with Local LLMs

AI 导读

LocalIntent 提出按结果分支的提示词设计,将请求路由到普通或持久规则分支,再经确定性校验,用于本地 LLM 的智能楼宇自动化。

正文 · 原文

View PDF HTML (experimental)

Abstract:Locally deployed large language models (LLMs) can reduce reliance on remote cloud services for natural language smart building automation, but backend-facing processing requires correct outcome selection, alignment with local capabilities, and valid structured outputs. We investigate whether a complete outcome-specific prompting design improves compact-model outputs beyond generic route-then-generate prompting. The proposed LocalIntent approach routes requests to ordinary or persistent-rule branches: the former produces commands, clarifications, or rejections, while the latter generates trigger-action rules, followed by deterministic validation. We evaluate four locally executed Gemma and Qwen models spanning 2B-9B parameters on 101 non-persistent and 54 persistent-rule records, comparing Monolithic prompting, generic two-stage prompting, LocalIntent, and validation-guided repair. Across the evaluated datasets, LocalIntent achieves higher intent understanding, device identification, and action/parameter correctness than generic two-stage prompting, while clarification/mode correctness remains model-dependent. The largest gains occur for rules, where LocalIntent improves intent understanding from 26.4% to 80.6%, device identification from 59.3% to 84.7%, rule-mode correctness from 49.1% to 98.6%, and action/parameter correctness from 5.6% to 44.9%. For non-persistent requests, pooled gains are smaller: intent understanding increases from 39.6% to 53.2%, and action/parameter correctness from 30.7% to 42.8%.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.23511 [cs.AI]
  (or arXiv:2610.23511v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.23511

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Shaoshu Zhu [view email]
[v1] Fri, 16 Oct 2026 14:19:22 UTC (436 KB)

来源:arXiv cs.AI · arxiv.org