Abstract
Smart building management relies on accurate sensor metadata, yet naming conventions vary significantly across vendors and sites. We present SeNsER, a framework that automatically tags sensor metadata by leveraging character-level language model co-training, k-mer "word"-level features, and external domain knowledge from Wikipedia. SeNsER achieves a 13-point F1 score improvement over state-of-the-art baselines in cross-building transfer tasks.
Introduction
Smart building applications, such as automated HVAC control and fault detection, depend on precise knowledge of sensor functions and locations. However, this information is typically encoded in cryptic, vendor-specific strings—often referred to as "alphabet soup." For instance, a sensor might be named SODA1R430_ART in one building and AP&M.RM-B215..ZN-T in another.
Manually mapping these strings to standardized labels is a significant bottleneck, requiring substantial human effort and cost. Traditional Natural Language Processing (NLP) tools struggle with these strings because they lack standard tokenizers, exhibit high heterogeneity across buildings, and often involve a large number of labels relative to the available data.
Methodology
SeNsER (Sensor Metadata Tagger) extends the standard Char-LSTM-CRF architecture with three specialized components designed for cross-building generalization:
- Char-LM Co-training: Bidirectional character-level language models are trained on both labeled source building data and unlabeled target building data. This co-training acts as a regularizer, forcing the model to learn structural patterns common to both "dialects."
- K-mer "Word"-level Complement: In the absence of natural delimiters, substrings of length k (k-mers) are treated as "words." Embeddings for these k-mers are learned in the source building and aligned with the target building to capture semantic similarities (e.g., mapping "temp" to "T").
- Inference with Domain Knowledge: A dictionary of building-specific abbreviations was compiled from technical documents and Wikipedia. A Siamese Network matches these abbreviations to full phrases (e.g., "CHW" to "Chilled Water"), providing a prior for the CRF decoder during inference.
Datasets and Evaluation
The framework was evaluated using real-world data from three office buildings. Buildings A and B shared a vendor but had distinct naming variations. Building C, featuring a different vendor and campus, served as a rigorous test for generalizability. Additionally, a custom dataset of 574 abbreviations and 737 full names was used for external knowledge integration.
Key Results
SeNsER significantly outperformed traditional CRFs and standard neural models:
- Transfer Performance: In the Building A to Building B transfer task, SeNsER provided a 13-point F1 improvement over the baseline Char-LSTM-CRF.
- Tagging Accuracy: The model achieved over 79% F1 in chunking (identifying boundaries) and 67% F1 in tagging (identifying types).
- Generalizability: On the highly distinct Building C, SeNsER maintained a chunking F1 of 78.18%, demonstrating robust performance even across different naming conventions.
Discussion and Future Work
A primary limitation is the identification of unique building names (e.g., "EBU3B"), which often lack generalizable patterns. Future work will explore integrating diverse data sources like sensor datasheets, implementing active learning loops to resolve ambiguous segments, and expanding the framework to incorporate time-series data patterns.
Summary updated