Description-Guided Intermediate Representations: Synthesizing Schemas for Smart Home Automation
원문 초록
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.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.36829v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.