Time-Probability Dependent Knowledge Extraction in IoT-enabled Smart Building

Hangli Ge, Hirotsugu Seike, Noboru Koshizuka

TL;DR

This paper introduces a practical inference framework that transforms raw, heterogeneous IoT sensor data into high-level semantic insights for smart buildings. By combining a unified API, the Building Topology Ontology (BOT), and time-probability models, the system automatically detects abnormal events and links sequential actions—such as exiting an elevator and entering a room—to enable advanced automation.

What Problem Does This Paper Address?

While modern smart buildings are packed with IoT sensors tracking everything from lighting to elevator movements, making sense of this data is incredibly difficult. Sensors from different vendors use fragmented protocols, and standard machine learning approaches often require massive amounts of labeled data. Crucially, most existing solutions ignore the physical and spatial context of the building itself.

Without a unified framework that understands both where a sensor is and when it triggers, it is nearly impossible to programmatically answer complex contextual questions, such as tracking a user's trajectory from the entrance to their destination floor. The authors tackle this gap by creating a system that bridges the divide between physical building layouts and temporal sensor data.

Methods

The proposed framework consists of three core components:

  1. Unified API Design: Standardizes data ingestion across decentralized hardware by mapping all sensor outputs to a simple schema containing a unique identifier (ucode), a description (name), and the payload (data containing the value and timestamp).
  2. Ontology Modeling: Leverages the W3C-recommended Building Topology Ontology (BOT) to map the spatial hierarchy of the building (Sites, Floors, Rooms, Zones, and Elements). This static structural data is stored in an Apache Jena Fuseki SPARQL server, separating it from the high-volume dynamic sensor data stored in a relational database.
The ontology structure of BOT
  1. Knowledge Extraction Algorithms:
  2. Timestamp-based Anomaly Detection: Down-samples sensor timestamps into hourly units and applies a probability density function to determine if an event (e.g., a light turning on) is normal or anomalous based on historical patterns.
  3. Time Interval-based Event Conjunction: Links separate sequential events. For instance, when a user exits an elevator and walks to a room, the system calculates the probability of these events being connected.
Scenario of status transitions for a user riding the elevator to a room

To filter out noise, the authors use a distance-based linear regression algorithm where the expected time interval ($\Delta t$) is a function of spatial hops ($X_1$, extracted from the ontology graph) and the floor number ($X_2$): $$Y = \alpha + \beta_1 \times X_1 + \beta_2 \times X_2$$

Datasets

The framework was evaluated using a real-world dataset collected over a 78-day period at the Daiwa Ubiquitous Computing Research Building at the University of Tokyo. The physical environment comprised:

  • 5 floors (including two basement levels)
  • 43 distinct space entities (rooms, halls)
  • 831 modeled ontology entries

During the experiment, the system collected 2,667 light switch records and 14,377 elevator movement records. No external or simulated benchmarks were used.

Key Insights and Ideas

  • Spatial Distance Dictates Temporal Delay: The time delta ($\Delta t$) between an elevator arriving at a floor and a room's light turning on is positively correlated with the physical distance (number of graph hops) from the elevator to that room.
Approximated time intervals between light switches and elevator rides across different rooms
  • Behavioral Fingerprints Emerge Naturally: By plotting the kernel density estimation (KDE) of light usage, the system successfully differentiated between a staff room (Room 302), which showed tightly clustered "LightOff" events around 17:00 due to regular work hours, and a student room (Room 305), where events were scattered late into the evening. This allows the system to establish localized baselines for "normal" behavior without manual labeling.
Timestamp probability distribution of light-off events in staff vs. student rooms

Key Results

  • Accurate Interval Optimization: The linear regression model successfully quantified the baseline travel times from elevators to rooms. For example, the optimized mean time interval ($\Delta t$) for a user traveling to room A305 was 81.16 seconds, whereas room A304 was 95.90 seconds.
  • Quantifying User Intentions: The framework successfully calculated the conditional probabilities of event conjunctions ($P_{r \rightarrow el}$, the probability that a light-off event is followed by an elevator ride). Occupants in room B204 had a remarkably high probability (0.809) of taking the elevator after turning off the lights, whereas occupants in room A202 had a low probability (0.180), suggesting they prefer the stairs.

This predictive capability can be directly applied to smart automation—such as pre-calling an elevator the moment a high-probability user turns off their office lights.

Limitations and Future Work

The primary limitation acknowledged by the authors is the reliance on a relatively short 78-day dataset. Long-term data collection is required to ensure that the calculated probability distributions remain stable across different seasons, academic semesters, or shifting building occupancy patterns. Additionally, future work will focus on scaling the framework to incorporate a wider variety of heterogeneous sensor types beyond just lights and elevators.

Summary updated

BibTeX
@inproceedings{ge2024time,
  author = {Hangli Ge and Hirotsugu Seike and Noboru Koshizuka},
  title = {{Time-Probability Dependent Knowledge Extraction in IoT-enabled Smart Building}},
  booktitle = {SMC},
  year = {2024},
  doi = {10.1109/smc54092.2024.10831794},
}
Figure