Manuscript Offprint

arXiv:2611.00610

Trail: Accurate Local Smart Home Control Using Decision Models

Maleeha Masood, Deepak Vasisht, Indranil Gupta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Natural-language driven smart home control remains challenging: cloud-hosted Large Language Models (LLMs) raise privacy concerns, while local Small Language Models (SLMs) can generate invalid actions or misinterpret requests. We introduce Trail (Typed Registry-Anchored Inference for Language commands in Smart Homes), a fully local framework that replaces open-ended command generation with hierarchical typed decisions. Trail exploits the natural structure of a home's action space, selecting a room, device, and operation from candidates derived from the runtime device registry. This ensures valid actions while enabling confidence-based abstention when requests cannot be reliably resolved. We also design a structured memory module that uses typed decisions to support user preferences, device references, and multi-turn interactions. To evaluate Trail, we extend HomeBench (Li et al., 2025) and generate three datasets: Trek-Base, which tests natural-language variation; Trek-Robust, which evaluates robustness to changes in the home and its description; and Trek-Memory, which assesses conversational memory across multi-turn interactions. Trail achieves 85.3% accuracy on Trek-Robust versus 69.8% for a finetuned Qwen3.5-4B baseline, while remaining competitive on Trek-Base requests. With memory, Trail resolves 75.6% of the requests that depend on earlier turns, compared with 42.5% for the finetuned baseline given conversation history.

1 INTRODUCTION

Adapting smart homes to user preferences has been a longstanding research area (Mozer, 1998; Rashidi & Cook, 2009; King et al., 2024; Zhang et al., 2026; Lim et al., 2026; iFLY-TEK Open Source, 2026). With recent advances in Large Language Models (LLMs), natural-language interfaces allow for more conversational smart home control. Accurately interpreting such requests is especially important because incorrect actions have physical consequences such as leaving an oven running unattended or unlocking the front door at night. Today, the interpretation of user requests often relies on cloud-hosted LLMs, requiring private user data to be sent to third parties for inference and risking service disruptions during network outages. Small Language Models (SLMs) offer a promising alternative through local inference, but they struggle with complex tasks and generalization (Caballar & Stryker, 2026).

We present Trail – Typed Registry-Anchored Inference for Language commands in Smart Homes – an entirely local smart home control framework that is accurate, completely private, and is always available. Trail leverages the new generation of Decision Models (aka System One models), such as Jev (Almeida, 2026) and Microsoft-Decision-1 (Srivastava, 2026). Unlike traditional language models that generate free-form text, Decision Models score predefined choices and return their associated confidence scores. Their

non-generative inference enables fast, structured decision-making, making them promising for interactive local smart home control.

Trail formulates smart home control as a selection problem using typed decisions. Each typed decision presents a question and a set of predefined choices, which a Decision Model scores and selects from. At runtime, these choices are derived from a home's device registry, which defines the available devices, their supported operations, and their parameter constraints. This allows Trail to adapt to new devices without retraining and refuse requests that cannot be reliably resolved, rather than guessing — such a capability of “I don’t know how to do it” is a missing feature from today’s LLMs, which do not stop trying even when the task is impossible. Furthermore, Trail runs entirely locally, preserving user privacy and availability. In designing Trail, we make the following key contributions.

Smart Home Control as Hierarchical Decisions. Our key insight is that a smart home’s action space has a natural hierarchical structure: resolving a user request involves first identifying the relevant room, then selecting a device within that room, and finally determining the operation to perform on that device. For example, given the request “dim the living room light to 40%”, Trail first selects the living room, then the light within that room, and finally the brightness operation of the selected light. Each decision considers only the candidates consistent with previous selections, reducing the number of choices the model must evaluate at each step.

Integrating User Preferences and References. We design a structured memory module that allows Trail to remember and recall user preferences and references. (1) Preferences store a preferred value for a device's setting, optionally tied to a situation (e.g., reading-lamp brightness 40 when reading). (2) References map a user's own words to a device (e.g., "the front light" to foyer.light), including the device a user has just operated so that "turn it off" can refer back to it. Memory is managed using typed decisions: they decide what to store, link each stored record to a device in the home's registry, and retrieve the relevant records when a later request needs them. This enables personalized, context-aware control without placing conversation history in the SLM's prompt.

New Smart Home Datasets. To address the paucity of natural-language datasets for smart homes, we extend HomeBench (Li et al., 2025) to generate 3 smart home datasets. First, we introduce Trek-Base, which tests natural-language variations in user requests, including implicit device references and goal-oriented commands. Second, we develop Trek-Robust, a stress test that evaluates robustness to changes in the home and its description. Third, we build Trek-Memory, that converts Trek-Base into 100 multi-turn conversations, one per home, with device states that carry over between turns and inserted requests that require memory, such as user-defined device nicknames and corrections.

We implement Trail using JevK5 (Serikbay, 2026), an open-source Decision Model built on Qwen3.5-4B. We evaluate Trail on Trek-Base, Trek-Robust and Trek-Memory against direct-generation, retrieval, agentic and slot-filling baselines. Trail stays within 4 points of the strongest baseline on Trek-Base, makes 2.1× fewer errors on Trek-Robust, and resolves 2.1× more of the requests that require memory.

References (23)