Realizing Space-oriented Control in Smart Buildings via Word Embeddings

Hangli Ge, Hiroaki Mori, Yasuhira Chiba, Noboru Koshizuka · DOI

Introduction

Smart building technology has traditionally focused on the management of individual hardware components. However, this device-oriented approach presents significant barriers to both user experience and software scalability. Researchers at the University of Tokyo propose a paradigm shift toward "space-oriented control," where the primary object of interaction is the environment itself rather than the specific devices within it. This approach abstracts the underlying hardware, allowing users to control their surroundings through natural language commands that focus on intent rather than infrastructure.

The Problem with Device-Oriented Systems

Most current smart building ecosystems are fragmented and hardware-dependent. To adjust a room's environment, a user or an application must typically identify specific device IDs and understand their unique control protocols. This leads to two primary issues:

  1. Usability Barriers: Users are often forced to navigate complex menus or memorize specific device names (e.g., "HVAC_Unit_4_Zone_B") to perform simple tasks.
  2. Lack of Portability: Applications developed for one building are rarely compatible with another because metadata, naming conventions, and communication protocols vary wildly between locations. This makes scaling smart building software across different sites prohibitively expensive and complex.

Proposed Framework and Methodology

The researchers developed a prototype system designed to bridge the gap between intuitive human intent and rigid machine APIs. The architecture consists of a multi-stage Natural Language Processing (NLP) backend:

  • User Interface: A chatbot interface built with Next.js and TypeScript serves as the primary touchpoint for natural language input.
  • Embedding Generation: Input text is processed using OpenAI’s text-embedding-3-small model, converting natural language into high-dimensional vectors (word embeddings).
  • Vector Search and Filtering: These embeddings are stored and queried within an Elasticsearch vector database. The system calculates the similarity between the user's input and a set of pre-defined control queries. This serves as a "gatekeeper" mechanism; if the similarity score is too low, the system identifies the input as unrelated to building control, preventing accidental hardware triggers from "hallucinated" or irrelevant commands.
  • Classification and API Execution: For relevant commands, a scikit-learn classifier maps the intent to a specific building API category. The system then retrieves the necessary metadata—including endpoints, HTTP methods, and JSON payloads—from the database to execute the command.
  • Transaction Logic: The framework supports multi-action transactions, allowing a single phrase (e.g., "I'm leaving the office") to trigger a sequence of events, such as turning off both lighting and HVAC systems simultaneously.

Experimental Setup and Results

The system was deployed and evaluated within the student rooms and halls of the Daiwa Ubiquitous Computing Research Building at the University of Tokyo. Since no large-scale public dataset exists for this specific application, the authors manually curated a database of APIs and natural language examples tailored to their test environment.

The prototype successfully demonstrated that space-oriented control is both feasible and effective. Qualitative testing showed the system could accurately interpret and act upon commands like "Please increase the room temperature" or "I'm leaving the office." Crucially, the decoupling of the front-end logic from the physical hardware via a centralized API metadata database confirmed the framework's potential for portability; the same logic could theoretically be applied to any building that follows a similar API schema.

Key Insights and Future Directions

A central insight of this research is the use of "Space as an Abstraction." Much like a modern Operating System abstracts away the specific brand of a hard drive, this framework treats a room as a collection of environmental parameters (e.g., brightness, temperature) rather than a collection of gadgets. The authors emphasize that using standardized data models, such as the Brick or BOT ontologies, is essential for this hardware-agnostic future.

Limitations

Despite its success, the prototype faces challenges regarding scalability:

  • Manual Configuration: Currently, the database of building control APIs must be constructed manually, which is a bottleneck for large-scale deployment.
  • Scope: The initial testing was limited to two rooms. Scaling to a larger facility would require more automated mapping techniques.

Future Work

The researchers plan to integrate API metadata directly into building ontologies. This would allow the system to "discover" available controls automatically through a single query, moving away from manually curated lists and toward a truly autonomous, space-oriented control system.

Summary updated

BibTeX
@misc{ge2025realizing,
  author = {Hangli Ge and Hiroaki Mori and Yasuhira Chiba and Noboru Koshizuka},
  title = {{Realizing Space-oriented Control in Smart Buildings via Word Embeddings}},
  year = {2025},
  eprint = {2512.12140},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.12140},
}
Figure