Description-Guided Intermediate Representations: Synthesizing Schemas for Smart Home Automation
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
SmartThings, Samsung Electronics' smart home platform with hundreds of millions of registered users, provides automations called routines that execute actions when specified conditions are met. We develop a library that converts natural-language requests into these routines. We automate its design with a high-performance LLM, iteratively refining it for a separate LLM that generates routines in the service. The platform's JSON requires complex nesting and explicit value types that LLMs often generate incorrectly. An intermediate representation (IR) can express behavior more simply. However, designing its schema from routine JSON can reproduce that complexity, leaving LLMs with complex structures to generate. We propose Description-Guided IR. We generate natural-language descriptions from requests and paired routine examples, preserving behavior while excluding the platform's JSON structure. Requests and descriptions guide automatic design of the IR's format and semantics. Conversion code transforms LLM-generated IR into final routines. RoutineGen Refiner implements this process, evaluating routines from the service LLM and incorporating failure analysis and developer review. The library is deployed in SmartThings Pet Care Assistant. With the same service LLM, mean offline accuracy was 98% with Description-Guided IR, 95% with IR designed from routine JSON, and 85% with direct generation without IR.
Results and benchmarks
SmartThings, Samsung Electronics' smart home platform with hundreds of millions of registered users, provides automations called routines that execute actions when specified conditions are met.
| Task | Dataset | Metric | Value | Source |
|---|---|---|---|---|
| Generation | Automated Refinement | Refusal | 25 | paper-derived |
| Generation | Co-Design | Refusal | 22 | paper-derived |
| Generation | Final Evaluation | Refusal | 22 | paper-derived |
Audit each benchmark finding before selecting an implementation path.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
Instruction tuning
Methods
Transformer
Domains
Large Language Models
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.