{"id":131,"date":"2025-09-05T00:30:44","date_gmt":"2025-09-04T23:30:44","guid":{"rendered":"https:\/\/soc2.ucd.ie\/?p=131"},"modified":"2025-11-25T14:06:24","modified_gmt":"2025-11-25T14:06:24","slug":"smartintent","status":"publish","type":"post","link":"https:\/\/soc2.ucd.ie\/index.php\/2025\/09\/05\/smartintent\/","title":{"rendered":"SmartIntent"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-1024x576.jpeg\" alt=\"\" class=\"wp-image-184\" srcset=\"https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-1024x576.jpeg 1024w, https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-300x169.jpeg 300w, https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-768x432.jpeg 768w, https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-1536x863.jpeg 1536w, https:\/\/soc2.ucd.ie\/wp-content\/uploads\/2025\/09\/image-2048x1151.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Overall architecture of SmartIntent<\/figcaption><\/figure>\n\n\n\n<p>Current smart building systems often face challenges such as complex device linkage and limited natural language understanding. Our research lab addresses these with\u00a0<strong>SmartIntent<\/strong>, an innovative, intent-recognition-based smart building control system. It aims to build a system that allows users to perform multi-language, multi-device, and multi-mode control and automation settings through natural language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Power of Serverless and LLMs<\/h2>\n\n\n\n<p>SmartIntent\u2019s robust foundation lies in its microservice architecture and Knative Serverless deployment, combined with Large Language Models (LLMs) to achieve semantic parsing, context understanding, and device control command generation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Serverless Scalability<\/h3>\n\n\n\n<p>The system adopts a microservice architecture and Knative Serverless deployment, which greatly improves scalability and elasticity. This ensures zero operation and maintenance delivery, high availability, and on-demand resource scheduling capabilities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">LLM-Powered Intent Understanding<\/h3>\n\n\n\n<p>The LLM Intent Parsing Module is central to SmartIntent\u2019s intelligence. It converts natural language commands into structured JSON instructions or automation rules. We\u2019ve utilized advanced LLMs like Grok 3 Beta for their strong performance in knowledge-intensive reasoning, long-context comprehension, and broad multi-task generalization, crucial for interpreting diverse user instructions.<\/p>\n\n\n\n<p>Our research found that providing a small number of input\/output examples (Few-shots) significantly improved model accuracy, while adding more (Many-shots) led to diminishing returns and increased token overhead. Fine-tuning with a high-quality, compact dataset of around 200 Chinese instructions achieved near-maximal accuracy and showed strong cross-lingual generalization, significantly reducing data annotation and training costs for multilingual tasks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SmartIntent in Action: Orchestrating Your Space<\/h2>\n\n\n\n<p>The middleware layer, described as the system\u2019s \u201ccore processing unit,\u201d coordinates user intent with device operations. It comprises:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Proxy Server:<\/strong>&nbsp;Central routing gateway.<\/li>\n\n\n\n<li><strong>Intent Server:<\/strong>&nbsp;Parses natural language commands.<\/li>\n\n\n\n<li><strong>Aggregator:<\/strong>&nbsp;Collects real-time device and sensor data.<\/li>\n\n\n\n<li><strong>Dispatcher:<\/strong>&nbsp;Distributes structured control commands.<\/li>\n\n\n\n<li><strong>Rule Engine:<\/strong>&nbsp;Manages automation rules.<\/li>\n\n\n\n<li><strong>Mode Manager:<\/strong>&nbsp;Supports predefined multi-device workflows.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">The Future is Smart and Intuitive<\/h2>\n\n\n\n<p>SmartIntent offers a \u201cfeasible design idea and realization paradigm for the next-generation smart building system\u201d. Future work will focus on integrating more real user behavior data, improving model robustness under non-standardized representations, and optimizing performance for larger-scale device environments.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<p>We have made the following resources available for the SmartIntent project:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.researchgate.net\/publication\/397059674_SmartIntent_A_Serverless_LLM-Oriented_Architecture_for_Intent-Driven_Building_Automation\">Full Article<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ucd-soc2\/smartintent\/tree\/main\/data\" target=\"_blank\" rel=\"noreferrer noopener\">Dataset<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ucd-soc2\/smartintent\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub Repository<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" style=\"font-size:clamp(23.043px, 1.44rem + ((1vw - 3.2px) * 1.169), 38px);px;line-height:1.4\"><strong>Project Members<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.313), 18px);px\"><strong>Beijing Dublin International College, UCD<\/strong><\/p>\n\n\n\n<p>Shuyi Sun<br>Zhiyuan Chen<br>Dina Shi<br>Chaofan Li<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.313), 18px);px\"><strong>School of Computer Science, UCD<\/strong><\/p>\n\n\n\n<p style=\"font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.313), 18px);px\">Zhenghao Wu<br>Hadi Tabatabaee Malazi<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Smart Building Automation with AI and Serverless Design<\/p>\n","protected":false},"author":3,"featured_media":132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,17,10],"tags":[13,14],"coauthors":[20,19],"class_list":["post-131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-dataset","category-resources","tag-code","tag-dataset"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":8,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/posts\/131\/revisions\/186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/media\/132"}],"wp:attachment":[{"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/tags?post=131"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/soc2.ucd.ie\/index.php\/wp-json\/wp\/v2\/coauthors?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}