Event Data Quality: A Survey

Ruihong Huang, Jianmin WangarXiv 2020

Authors: Ruihong Huang and Jianmin Wang (Tsinghua University)

Introduction

In the modern landscape of IoT, high-frequency financial trading, and complex business automation, the "veracity" of generated data has become a critical bottleneck. This survey provides a structured overview of methodologies used to ensure the integrity of event-based data, which is uniquely characterized by its temporal and sequential nature.

Problem Statement

Event data consists of attributes associated with specific timestamps or durations. Unlike traditional relational data, event data often originates from heterogeneous, "dirty" sources. Traditional data cleaning techniques, such as functional dependency checks in SQL databases, fail to account for the temporal dependencies inherent in event streams. For instance, a stock price might be numerically valid but erroneous if it represents a physically impossible jump in value within a millisecond. The core challenge lies in detecting and repairing these time-sensitive inconsistencies.

Methodological Framework

The research landscape is organized into four functional pillars:

1. Event Matching

This involves identifying if different logs represent the same real-world activity.

  • Linguistic-based: Uses string edit distance and synonyms to match labels.
  • Instance-based: Employs structural similarities via event dependency graphs and algorithms like Simrank. This is particularly useful when event names are opaque IDs.
Structural similarity between two event logs with different labeling schemes.

2. Event Error Detection

Identifying "impossible" data through:

  • Temporal Constraints: Utilizing Temporal Constraint Satisfaction Problems (TCSP) to validate time windows.
  • Process Models: Using Petri Nets and conformance checking to ensure sequences follow predefined business logic.

3. Event Data Repairing

Once errors are detected, the data must be fixed:

  • Sequence-structured: Alignment algorithms (like A*) insert or swap events to fit a model.
  • Speed Constraints: Numerical streams are smoothed by applying "speed limits" to identify violations of physical reality.

4. Approximate Pattern Matching

This handles uncertainty in Complex Event Processing (CEP) where events might be missing or timestamps imprecise. Dependency graphs are often used to model these probabilistic relationships.

Dependency graphs G1 and G2 illustrating patterns (p1, p2) and probabilistic transitions.

Key Insights

  • The "Opaque ID" Challenge: Structural matching (analyzing preceding and succeeding events) is often more powerful than linguistic matching when event names are obscure IDs.
  • Temporal Velocity: Event quality is not just about the value; it is about the velocity of change. Speed constraints are primary tools for cleaning numerical event streams.
  • Graph-based Repairing: Repairing involves "filling the gap" by calculating the minimum atomic operations (insertions/deletions) required to make a log conform to a valid Petri Net.

Results and Future Directions

The literature reveals a "Data Reliability Paradox": even high-stakes domains like finance suffer from significant dirtiness (e.g., Yahoo! Finance stock data accuracy was found to be only 0.93). While modern alignment-based repairing algorithms have become more efficient by using process model constraints, several hurdles remain.

Future work must address expert dependency in assigning weights to complex patterns and the heterogeneity of distributed systems. A key frontier is the integration of "simultaneous cleaning and mining," where the cleaning process learns from the patterns it discovers, rather than treating them as separate steps.

Summary updated

BibTeX
@misc{huang2020event,
  author = {Ruihong Huang and Jianmin Wang},
  title = {{Event Data Quality: A Survey}},
  year = {2020},
  eprint = {2012.07309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.07309},
}
Figure