IoT data cleaning techniques: A survey

Xiaoou Ding, Hongzhi Wang, Genglong Li, Haoxuan Li, Yingze Li, Yida Liu

Abstract

This survey provides a comprehensive roadmap for navigating the "messy" reality of Internet of Things (IoT) data. It systematically categorizes state-of-the-art techniques for detecting and repairing errors in time-series data, moving beyond simple outlier detection to complex, rule-based cleaning strategies.

Introduction: The Challenge of "Dirty" IoT Data

We are currently drowning in IoT data, but much of it is "dirty." Sensors fail, wireless transmissions drop packets, and timestamps get misaligned. Because this data is the backbone of critical systems—like industrial monitoring, smart cities, and risk prediction—low data quality leads to "garbage in, garbage out" scenarios that can cause severe financial loss or system failures.

Traditional data cleaning was designed for static, relational databases. IoT data is different: it is massive, high-velocity, and inherently temporal. The challenge lies in systematically identifying and fixing errors in data that isn't just a collection of rows, but a continuous stream of interconnected time-series points.

Factors contributing to IoT data quality issues and their explanations.

Methodology: Detection and Repair

The paper divides the data cleaning process into two fundamental stages: Error Detection and Data Repairing.

1. Error Detection

Detection is categorized into two primary approaches:

  • Quantitative Detection: Finding outliers that deviate from the norm. This includes single-point errors (spikes), continuous errors (drifts), and multidimensional errors (where multiple sensors disagree). Techniques range from statistical models and clustering to advanced methods like Symbolic Aggregate Approximation (SAX) for pattern discovery.
  • Qualitative Detection: Identifying data that violates predefined "rules" or logic. The paper highlights the evolution from simple Functional Dependencies (FDs) to Denial Constraints (DCs), which allow for more complex comparisons (e.g., "Sensor A should never be 20% higher than Sensor B within a 5-minute window").
Summary of existing quantitative and qualitative error data detection methods.

2. Data Repairing

Once an error is identified, several strategies can be employed to fix it:

  • Statistics-based: Using Maximum Likelihood or probabilistic models to estimate the correct value based on surrounding data.
  • Rule-based: Using physical constraints (like velocity or acceleration limits) to bound what a "correct" value could possibly be.
  • Human-involved: Leveraging crowdsourcing or expert "human-in-the-loop" interaction to resolve ambiguities that algorithms cannot handle.

Datasets and Benchmarks

As a survey paper, this work reviews literature utilizing common IoT benchmarks rather than introducing a new dataset. Key benchmarks include:

  • Indoor RFID data: Frequently used to test missing value imputation and small-magnitude error repair.
  • Power plant and sensor network data: Used to evaluate velocity and variance constraints in time-series cleaning.
  • Relational benchmarks: Used for testing rule-based frameworks like HoloClean.

Key Insights

  • The Temporal Nature of Errors: Unlike traditional data, IoT errors often have "width" and "length." An error might be a sensor that slowly drifts out of calibration over several days rather than a single incorrect value.
  • Expressiveness Matters: The shift toward Denial Constraints (DC) is a significant advancement. Traditional database rules are too rigid for the "fuzzy" logic of the physical world. DCs allow researchers to define quality in a way that respects the physics of the sensors.
  • The Repair Paradox: Automated repair is fast but prone to "over-fitting" — the algorithm might "fix" the data so well that it removes the very real-world anomalies researchers are looking for. This highlights the ongoing necessity of human-involved cleaning.

Future Directions and Limitations

The survey identifies several "unsolved mysteries" in the field:

  1. Semantic Complexity: Current rules still struggle to capture complex time-window dependencies. We need more "semantically expressive" ways to describe how data should behave over time.
  2. The "Slow Drift" Problem: Detecting "continuous slow change" remains difficult because it mimics natural environmental shifts.
  3. Scalability vs. Accuracy: Current automated algorithms often fail to meet the accuracy demands for real-time industrial applications at scale.
  4. Over-fitting: There is a fine line between cleaning data and fabricating it; future work must ensure repaired data reflects physical reality.

Summary updated

BibTeX
@article{ding2022iot,
  author = {Xiaoou Ding and Hongzhi Wang and Genglong Li and Haoxuan Li and Yingze Li and Yida Liu},
  title = {{IoT data cleaning techniques: A survey}},
  journal = {Intell. Converged Networks},
  year = {2022},
  doi = {10.23919/icn.2022.0026},
}
Figure