IoTCoder: A Copilot for IoT Application Development
Existing code Large Language Models are primarily designed for generating simple and general algorithms but are not dedicated to IoT applications. To fill this gap, we present IoTCoder, a coding copilot specifically designed to synthesize programs for IoT application development. IoTCoder features three locally deployed small language models (SLMs): a Task Decomposition SLM that decomposes a complex IoT application into multiple tasks with detailed descriptions, a Requirement Transformation SLM that converts the decomposed tasks described in natural language to well-structured specifications, and a Modularized Code Generation SLM that generates modularized code based on the task specifications. Experiment results show that IoTCoder can synthesize programs adopting more IoT-specific algorithms and outperform state-of-the-art code LLMs in terms of both task accuracy (by more than 24.2% on average) and memory usage (by less than 358.4 MB on average).
Authors
- Leming Shen (ORCID: https://orcid.org/0000-0001-7661-6432)
- Yuanqing Zheng (ORCID: https://orcid.org/0000-0003-3096-687X)
Institutions
- Hong Kong Polytechnic University (HK)
Publication Details
- Published
- 2024-12-04
- DOI
- https://doi.org/10.1145/3636534.3697447
- Citations
- 4
- Primary Topic
- IoT-based Smart Home Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.83