Introduction
In smart building management, sensors provide critical data for energy optimization and system monitoring. However, a significant bottleneck exists: sensor metadata is often encoded in cryptic, vendor-specific alphanumeric strings (e.g., SDH.AH1_RHC-4:CTL STPT). These names vary wildly across buildings and vendors, requiring technicians to manually parse thousands of entries to map them to usable semantic categories.
Sensei is a self-supervised framework designed to automate this process. By treating sensor names as sequences following latent generative patterns, Sensei segments these strings into meaningful chunks without requiring human-labeled training data.
Methodology
Sensei employs a three-stage pipeline to identify semantic boundaries within sensor names by leveraging the "rhythm" of naming conventions.
1. Character-Level Neural Language Model (NLM)
The framework first trains a character-level Recurrent Neural Network (specifically an LSTM) on the raw strings of a building's sensor names. The model learns to predict the next character in a sequence. The intuition is that transitions within a semantic segment (like "TEMP") are highly predictable, while transitions at segment boundaries (e.g., between a room number and a sensor type) exhibit a drop in probability.
2. Pseudo-Label Generation
Sensei analyzes the distribution of transition probabilities from the NLM to identify "Break" points (low probability) and "Tie" points (high probability).
As shown in the figure above, two thresholds are applied to the probability histogram. Transitions with very low probability are pseudo-labeled as Breaks (segment boundaries), while those with high probability are labeled as Ties (internal segment characters). Transitions falling in between are marked as Unknown.
3. Self-Supervised Ensemble
To mitigate noise in the initial pseudo-labels, Sensei trains an ensemble of Multi-Layer Perceptrons (MLPs). Each classifier is trained on a random subset of the high-confidence pseudo-labels. By averaging the predictions of this ensemble, the system effectively "denoises" the NLM's initial guesses, providing a more robust final segmentation based on contextual representations.
Evaluation and Results
The authors evaluated Sensei across five real-world office buildings (SDH, IBM, APM, EBU, and SOD) representing diverse vendors and geographic locations.
- Performance: Sensei achieved an average $F_1$ score of 82.36%, significantly outperforming the best unsupervised baseline (N-gram-LM), which reached only 62.13%.
- Efficiency: The model remains robust even with limited data, maintaining high performance when trained on only 25% of a building's sensor names.
- Comparison to Transfer Learning: Notably, Sensei's zero-label approach outperformed state-of-the-art transfer learning models like SeNsER in several cases. This suggests that building-specific naming conventions are often too unique for cross-building knowledge transfer to be effective without introducing noise.
Key Insights
- Directionality Matters: "Forward" models (left-to-right) were found to be superior to "Backward" models, reflecting the hierarchical way humans typically construct these names (e.g., Building $\rightarrow$ Equipment $\rightarrow$ Sensor).
- NLP Tooling Limitations: Standard NLP tokenizers fail in this domain because they rely on natural language structures or consistent punctuation, which are absent or inconsistent in sensor naming schemes.
Conclusion
Sensei provides a critical first step toward fully automated building metadata mapping. By successfully segmenting cryptic names without human intervention, it paves the way for downstream classification tasks that can automatically identify the function and location of every sensor in a smart building.
Summary updated