NeFut Logo NeFut
中 Admin Login

[CS.AI] LocalIntent: Outcome-Specific Structured Generation for Backend-Compatible Smart Building Automation with Local LLMs

Published at: 2026-10-20 22:00 Last updated: 2026-10-22 01:04
#AI #Machine Learning #LLM

This work investigates how locally deployed large language models (LLMs) can power natural‑language automation for smart buildings while minimizing reliance on remote cloud services. Backend processing in this domain must satisfy three requirements: (1) select the correct output type for the user intent, (2) stay within the capabilities of the local model, and (3) produce structured data that conforms to the building‑automation API.

The proposed LocalIntent framework addresses these needs by first routing each request to either an ordinary command branch or a persistent‑rule branch. The ordinary branch yields direct commands, clarification prompts, or rejections. The persistent‑rule branch generates trigger‑action rules, which are then passed through a deterministic validator to ensure syntactic and semantic correctness.

Four locally executed models (Gemma and Qwen, ranging from 2 B to 9 B parameters) were evaluated on 101 non‑persistent requests and 54 persistent‑rule records. Four prompting strategies were compared:

  1. Monolithic prompting
  2. Generic two‑stage prompting
  3. LocalIntent prompting
  4. Validation‑guided repair

Key findings:

The results demonstrate that outcome‑specific routing combined with structured generation substantially enhances the practicality of local LLMs for smart‑building automation, especially for complex tasks that require persistent rule creation.

Review

Original Source: https://arxiv.org/abs/2610.23511

[h] Back to Home