Building Metadata Inference Using a Transducer Based Language Model

David Waterworth, Subbu Sethuvenkatraman, Quan Z. ShengarXiv 2022 · DOI

Abstract

Building Automation Systems (BAS) are essential for modern energy management, yet the metadata they produce is often unstructured and idiosyncratic. This paper introduces a hybrid inference model that integrates Finite State Transducers (FSTs) with statistical language models to automate the normalization and labeling of building sensor data. By representing domain knowledge through weighted transducers and resolving ambiguities via a slot-based lattice, the proposed system achieves over 90% accuracy in identifying equipment and tagsets across diverse commercial buildings. The model's explainability and ease of update provide a robust framework for scaling smart building technologies.

Introduction

The deployment of automated energy-saving algorithms in smart buildings is frequently bottlenecked by the "alphabet soup" of metadata found in Building Automation Systems (BAS). Engineers often use inconsistent, highly abbreviated labels (e.g., "ZnT" for Zone Temperature) that lack a standardized schema. Traditional Natural Language Processing (NLP) tools often fail because these labels do not follow standard linguistic patterns and frequently concatenate multiple concepts into a single token (e.g., "SAF" for Supply Air Fan). This paper addresses these challenges by proposing a transducer-based approach that combines expert rules with statistical learning.

Methodology

The core of the proposed system is a hybrid model that utilizes Weighted Finite State Transducers (WFSTs) to map raw input strings to semantic tags.

Finite State Transducers (FSTs)

Unlike standard finite state machines, FSTs facilitate sequence-to-sequence translations, making them ideal for expanding abbreviations or handling vowel deletions common in BAS metadata. They allow for flexible mapping where input and output lengths differ.

Figure 2: A Finite State Transducer (FST) illustrating the mapping between the word "Zone" and its abbreviated form by emitting epsilon for certain characters.

Slot-Based Lattice and Language Modeling

The system decomposes input strings into "slots" representing delimiters, equipment, or tagsets. It constructs a lattice—a directed graph of all possible interpretations—where each path is weighted based on the probability of the translation and the likelihood of the resulting tag sequence.

Figure 1: A slot-based lattice representing multiple possible interpretations of a metadata string, with weights assigned to different paths based on equipment and tagset classifications.

A second-order count-based language model is then applied to score these paths, ensuring that the final output sequence is contextually appropriate for HVAC systems. This hybrid approach allows researchers to bake in expert knowledge while using statistics to resolve ambiguities.

Datasets and Evaluation

The researchers manually labeled a dataset of 3,000 points randomly selected from 10 commercial buildings, focusing specifically on Air Handling Units (AHUs). To ensure the model could generalize to new environments, it was tested on AHU points from five additional buildings that were not part of the initial training set.

Key Results and Insights

The model performed remarkably well on unseen test buildings, with accuracy ranging from 88.6% to 93.1%. Key insights include:

  • One-to-Many Mapping: FSTs solve the fundamental problem where a single input token (like "SAF") represents multiple semantic concepts (Supply, Air, Fan).
  • Explainability and Updates: Unlike "black-box" deep learning models, this FST-based system is easy to update. If a new abbreviation is encountered, a user can simply add a single rule to the model without needing a full retraining cycle.
  • Robustness: The system successfully handled diverse naming conventions, from short codes to long, complex strings.

Conclusion

While the current study focused on Air Handling Units, the results demonstrate that transducer-based language models are a powerful tool for decoding building metadata. Future work will involve expanding the scope to include lighting and power systems. The authors envision a continual learning framework where the model is updated on-the-fly as it encounters new buildings, providing a scalable path toward truly smart building infrastructure.

Summary updated

BibTeX
@misc{waterworth2022building,
  author = {David Waterworth and Subbu Sethuvenkatraman and Quan Z. Sheng},
  title = {{Building Metadata Inference Using a Transducer Based Language Model}},
  year = {2022},
  eprint = {2212.01964},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.01964},
}
Figure