Visual Brick model authoring tool for building metadata standardization

SangKeun Lee, Borui Cui, Mahabir Bhandari, Piljae ImAutomation 2023

Introduction

Modern "smart" buildings generate vast quantities of data, yet this information is frequently siloed in proprietary formats or obscured by inconsistent, human-centric naming conventions. For instance, a single temperature sensor might be labeled "RM101_T" in one system and "Temp_Sensor_Zone1" in another. Such discrepancies hinder cross-building analytics and the deployment of automated control systems. To achieve true data interoperability, building metadata must be standardized.

The Brick ontology serves as a leading open-source standard for representing building assets and their relationships. However, "Brick-ifying" a dataset is a complex task, typically requiring expertise in both physical building systems and semantic web technologies like RDF (Resource Description Framework) and OWL (Web Ontology Language). Current workflows often rely on manual, error-prone text editing or custom scripting.

Example of raw building metadata requiring standardization into a structured format.

The VizBrick Approach

To lower the technical barrier, we present VizBrick, an interactive, web-based authoring tool that transitions the metadata mapping process from code to a visual interface. VizBrick incorporates several key technical features to assist users:

  • TF-IDF Suggestion Engine: Navigating over 1,400 Brick classes is simplified using a Term Frequency-Inverse Document Frequency (TF-IDF) algorithm. By treating class definitions as documents, the tool ranks and suggests the most relevant Brick classes based on the user's raw metadata.
  • Active Learning: The tool improves over time by recording "explicit positive feedback." When a user selects a suggested class, their search terms are appended to that class's definition, refining future recommendations.
  • Rule-Based Bulk Mapping: Users can implement "if-then" logic to process hundreds of data points simultaneously (e.g., mapping all labels containing "Temp" to Air_Temperature_Sensor).
  • Interactive Graph Visualization: Instead of parsing raw RDF code, users interact with a node-edge graph representing the building's hierarchy. This allows for the intuitive definition of relationships such as hasPart, feeds, or isPointOf visually.
A visual representation of a Brick model showing entities like AHUs and VAVs and their logical relationships.

Evaluation and Results

VizBrick was validated using two real-world datasets: the NIST Net-Zero Energy Residential Test Facility (NZERTF), featuring 379 data channels, and the Flexible Research Platform (FRP), a commercial building simulation with 247 channels.

The effectiveness of the suggestion engine was measured using the Top-k hit ratio (HR@k). For the NZERTF dataset, the Top-5 hit ratio reached 59.9%, meaning the correct class was among the first five suggestions in nearly 60% of cases. While the FRP dataset initially performed lower due to sparse metadata, providing additional keywords boosted its Top-5 hit ratio to 42.5%. Qualitatively, VizBrick allowed users to build, validate, and export standard Turtle files within a single unified environment, eliminating the need for custom scripts.

Discussion and Future Work

A core insight from this work is the necessity of a "human-in-the-loop" approach. Fully automated mapping remains elusive due to the extreme inconsistency of human-written metadata. VizBrick focuses on augmentation—using AI to narrow the search space so a human expert can make the final determination efficiently. Furthermore, visual debugging proves invaluable; semantic errors that are invisible in text files become immediately apparent when viewed as a physical-logical graph.

Future iterations of VizBrick aim to address "semantic blindness" by moving from literal word matching (TF-IDF) to more advanced NLP techniques like word embeddings or Large Language Models (LLMs). Additionally, integrating real-time validation via SHACL (Shapes Constraint Language) will help prevent the creation of logically inconsistent relationships within the Brick ontology.

Summary updated

BibTeX
@inproceedings{lee2023visual,
  author = {SangKeun Lee and Borui Cui and Mahabir Bhandari and Piljae Im},
  title = {{Visual Brick model authoring tool for building metadata standardization}},
  booktitle = {Automation},
  year = {2023},
  doi = {10.1016/j.autcon.2023.105122},
}
Figure