DeepDetect: An Extensible System for Detecting Attribute Outliers & Duplicates in XML

Qiangfeng Peter Lau, Wynne Hsu, Judice L.y. Koh, Mong Li Lee2009 · DOI

TL;DR

This paper introduces DEEPDETECT, an extensible system designed to identify and correct "dirty" data, specifically attribute outliers and duplicate entities, within XML documents. It addresses the growing challenge of data quality in the increasingly prevalent semi-structured XML format by offering a unified architecture for artifact detection and correction.

What Problem Does This Paper Address?

The widespread adoption of XML for data representation and exchange on the web has led to a surge in semi-structured data. However, this data often suffers from quality issues like errors, discrepancies, and redundancies, collectively termed "artifacts." These artifacts can significantly hamper the effectiveness of data analysis and mining. While data cleaning is a growing field, techniques specifically tailored for XML are still in their early stages. Existing work often focuses on either duplicate detection or outlier detection in isolation. This paper tackles the problem of detecting both attribute outliers (values deviating from their expected correlation with other attributes within an object) and duplicate entities (multiple representations of the same real-world object) within XML documents, providing a unified and extensible solution.

Methods

DEEPDETECT employs a modular architecture with several key components:

  • GUI Module: Provides a user-friendly interface for exploring XML structures, specifying detection parameters, and viewing/correcting detected artifacts. It includes an XML Structure Viewer and an XML Editor.
  • Specification Module: Manages input and output specifications, including discretization rules and detection parameters.
  • Data Preparation Module: Converts XML documents into an internal representation that facilitates artifact detection. This involves creating a structure tree and an XML Element Indexer using an interval-based labeling scheme for efficient lookups.
  • Artifact Detection Module: This is the core component, housing routines for detecting various artifacts. It's designed to be extensible, allowing new detection algorithms to be added.
  • Attribute Outlier Detection: This component, based on the XODDS framework, identifies objects with deviating attribute values. It involves:
  • Subspace Generator: Identifies "pivot elements" (elements with "many" multiplicity in their parent) to partition XML data into relevant "correlated subspaces." 2. Outlier Scorer: Computes outlier scores based on the frequency of correlated neighbors within these subspaces.
  • Outlier Identifier: Determines an outlier threshold based on the rate-of-change of scores, with an option for a "soft-cut" to mitigate false positives.
  • Duplicate Detection: This component identifies clusters of duplicate entities. It involves:
  • Extractor: Extracts candidate entities (defined by a set of XML elements and thresholds) and their unique tuples.
  • Similarity Scorer: Computes pair-wise similarity between tuples using edit distance, normalized and filtered by user-defined thresholds.
  • Duplicate Classifier: Builds a directed graph to represent entity relationships and identifies duplicate clusters based on paths and special "duplicate edges."

Datasets

The paper uses a sample "Bank Account XML" document and a "Compact Disc (CD) catalog" XML document for illustration and evaluation. No new benchmarks are introduced.

Key Insights and Ideas

  • Unified Approach: The most significant insight is the development of a single system (DEEPDETECT) capable of handling both attribute outlier and duplicate detection in XML, rather than treating them as separate problems.
  • Extensibility: The modular architecture is a key design principle, allowing for the easy integration of new artifact detection algorithms without modifying the core system.
  • Leveraging XML Structure: The system effectively utilizes the hierarchical nature of XML to define relevant "correlated subspaces" for outlier detection, improving the meaningfulness and scalability of the analysis.
  • Pivot Elements for Context: The concept of "pivot elements" is crucial for partitioning XML data into meaningful groups, enabling localized and more accurate artifact detection.
  • User-Centric Design: The inclusion of an intuitive GUI makes the complex process of artifact detection accessible to users with less specialized knowledge.

Key Results

The paper demonstrates the functionality of DEEPDETECT through examples and figures, showcasing its ability to:

  • Identify attribute outliers in sample data, such as unusually high transaction amounts or deviations in bank codes.
  • Detect duplicate entities, like similar CD entries with slight variations in company, price, country, or year.
  • Provide visual feedback to the user, highlighting detected artifacts and their locations within the XML structure.
  • Allow users to make corrections to the detected artifacts.

Quantitative results (e.g., specific accuracy metrics or performance improvements) are not explicitly detailed in the provided text.

Limitations and Future Work

  • Computational Complexity: The paper acknowledges potential combinatorial explosion for high-arity objects in sparse data for outlier detection, suggesting incremental projections and disk-based storage as a mitigation strategy.
  • User Expertise for Duplicates: While the system offers automatic entity definition, customization by a domain expert is noted as necessary for accurate duplicate detection.
  • False Positives: The paper discusses scenarios where outlier detection might yield too many false positives and proposes a "soft-cut" parameter to address this.
  • Future Work: The paper implies that the extensible architecture is a foundation for incorporating more artifact detection routines. Further details on future work are not explicitly discussed.

Summary updated

BibTeX
@misc{lau2009deepdetect,
  author = {Qiangfeng Peter Lau and Wynne Hsu and Judice L.Y. Koh and Mong Li Lee},
  title = {{DeepDetect: An Extensible System for Detecting Attribute Outliers \& Duplicates in XML}},
  year = {2009},
  doi = {10.1142/9789814273497\_0002},
}
Figure