Skip to main content
QUICK REVIEW

[Paper Review] Design of Automatically Adaptable Web Wrappers

Emilio Ferrara, Robert Baumgartner|CogPrints (University of Southampton)|Mar 7, 2011
Web Data Mining and AnalysisComputer Science18 references6 citations
TL;DR

This paper proposes an automatic wrapper adaptation technique that uses tree-gram snapshots of HTML DOM structures to detect and adapt to structural changes in web pages. By applying a clustered tree matching algorithm to compare original and current DOM trees, the system enables wrappers to self-adapt with minimal human intervention, significantly reducing maintenance overhead while maintaining high extraction accuracy and robustness in dynamic web environments.

ABSTRACT

Nowadays, the huge amount of information distributed through the Web motivates studying techniques to be adopted in order to extract relevant data in an efficient and reliable way. Both academia and enterprises developed several approaches of Web data extraction, for example using techniques of artificial intelligence or machine learning. Some commonly adopted procedures, namely wrappers, ensure a high degree of precision of information extracted from Web pages, and, at the same time, have to prove robustness in order not to compromise quality and reliability of data themselves. In this paper we focus on some experimental aspects related to the robustness of the data extraction process and the possibility of automatically adapting wrappers. We discuss the implementation of algorithms for finding similarities between two different version of a Web page, in order to handle modifications, avoiding the failure of data extraction tasks and ensuring reliability of information extracted. Our purpose is to evaluate performances, advantages and draw-backs of our novel system of automatic wrapper adaptation.

Motivation & Objective

  • Address the high maintenance cost of web wrappers due to frequent structural changes in HTML web pages.
  • Reduce reliance on manual debugging and reconfiguration of wrappers after page updates.
  • Enable wrappers to automatically adapt to minor structural changes without human reprogramming.
  • Improve the robustness and longevity of web wrappers in production environments.
  • Develop a scalable, automated solution for wrapper adaptation using structural similarity detection between DOM trees.

Proposed method

  • Store a snapshot of the DOM tree (tree-gram) during wrapper creation for later comparison.
  • Apply a clustered tree matching algorithm to compute structural similarity between the original and current DOM trees.
  • Use dynamic programming to compute maximum matching between subtrees based on node labels and structural features.
  • Incorporate node degree, sibling count, and attribute similarity (e.g., class, id, href) to refine matching accuracy.
  • Define a similarity score as the ratio of matched nodes to the maximum number of siblings, enabling configurable precision.
  • Automatically update XPath expressions and extraction rules based on detected structural similarities to maintain wrapper functionality.

Experimental results

Research questions

  • RQ1How can web wrappers be made self-adapting to minor structural changes in HTML web pages?
  • RQ2What is an efficient and accurate method for measuring structural similarity between two DOM trees?
  • RQ3Can a tree matching algorithm be enhanced to support automatic wrapper adaptation with configurable accuracy?
  • RQ4To what extent can automatic adaptation reduce the need for manual wrapper maintenance?
  • RQ5How does the performance of the proposed adaptation mechanism compare to manual reconfiguration in real-world scenarios?

Key findings

  • The clustered tree matching algorithm effectively identifies similar sub-trees between original and modified web pages, enabling accurate wrapper adaptation.
  • The system successfully maintains wrapper functionality across various structural changes, including reordering of elements and minor DOM modifications.
  • The adaptation process significantly reduces the need for manual intervention, lowering maintenance costs and improving long-term reliability.
  • The approach achieves a high degree of precision in matching similar structural patterns, even when page layouts are rearranged.
  • The method demonstrates scalability and robustness in real-world deployment within the Lixto Suite platform.
  • Validation experiments confirm that adapted wrappers maintain data extraction accuracy, with minimal corruption or failure rates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.