SmartIntent: A Serverless Edge Intelligence Architecture with Local LLMs for Building Automation
Zhenghao Wu, Shaoshu Zhu, Shuyi Sun, Zhiyuan Chen, Dina Shi, Chaofan Li, Hadi Tabatabaee Malazi
Abstract
Building automation increasingly requires edge systems that can interpret ambiguous, multilingual, and context-dependent requests while checking structured outputs before device dispatch. We present SmartIntent, a serverless edge-intelligence architecture combining local large language model (LLM) intent services, device-state aggregation, a context-grounded JSON interface, deterministic pre-dispatch checks, orchestration, and device microservices. We adapt two compact LLMs with LoRA and evaluate them against compact, medium, and large local models and remote API baselines on a 2,000-instance Chinese-English-French test set. We distinguish offline structured-intent metrics from deployment-level validity, latency, and energy. The strongest adapted model, Qwen3.5-4B+LoRA, improves over its base model by 22.8, 20.9, and 13.1 percentage points in clarification handling, device identification, and action-parameter correctness, respectively. It matches or exceeds Qwen3.6-27B in format compliance and clarification handling and remains 1.0 and 1.9 percentage points below it in device and action-parameter correctness, respectively. In a local K3s/Knative deployment, it improves valid-output rate over its base model by 10.0--14.9 percentage points and reduces baseline-adjusted run-level energy by 5.2--18.4%, with a latency increase of 10.9--16.6%. For Qwen3.5-4B+LoRA, thinking mode adds at most 1.6 percentage points to output validity but increases latency by 58.2--118.2% and energy by 78.5--152.2%. These results show that compact local LLM services with deterministic output checks can support structured intent generation for execution-oriented building automation under controlled edge-deployment conditions while exposing clear validity-latency-energy trade-offs.
Create a lesson
Metadata
- Categories
- cs.DC, cs.AI
Related papers
Locality-Aware Scheduling for Stream Processing Applications in Serverless Environments
Shared title terminologycs.DCTianyu Qi, Maria A. Rodriguez, Rajkumar Buyya
Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows
Shared title terminologycs.DCJackson Beem, Amine Barrak
KVSeal: Serving Long-Context LLMs with Losslessly Compressed KV Caches
Shared title terminologycs.DCHangyu Liang, Zeyu Mi
PrefixChain: Compact Prefix Caching for Hybrid LLMs
Shared title terminologycs.DCGenglin Wang, Wangsong Yin, Liekang Zeng et al.
(Near-)Pareto-Optimal Synthesized OS-Level Scheduling for Serverless Systems
Shared title terminologycs.DCYuxuan Zhao, Zhao Yang, Weikang Weng et al.
AsterMind V1: Exploring Space Intelligence
Shared title terminologycs.DCLidong Guo, Yuze Liu, Jinwen Huang et al.