Skip to main content
QUICK REVIEW

[Paper Review] Simplified DOM Trees for Transferable Attribute Extraction from the Web

Yichao Zhou, Ying Sheng|arXiv (Cornell University)|Jan 7, 2021
Web Data Mining and AnalysisComputer Science45 references11 citations
TL;DR

This paper proposes SimpDOM, a transferable method for attribute extraction from web pages using simplified DOM trees without visual features. By leveraging structural context and node relationships in DOM trees, SimpDOM achieves state-of-the-art performance, improving F1 score by 1.44% over prior methods and an additional 1.37% when using out-of-domain knowledge in cross-vertical few-shot settings.

ABSTRACT

There has been a steady need to precisely extract structured knowledge from the web (i.e. HTML documents). Given a web page, extracting a structured object along with various attributes of interest (e.g. price, publisher, author, and genre for a book) can facilitate a variety of downstream applications such as large-scale knowledge base construction, e-commerce product search, and personalized recommendation. Considering each web page is rendered from an HTML DOM tree, existing approaches formulate the problem as a DOM tree node tagging task. However, they either rely on computationally expensive visual feature engineering or are incapable of modeling the relationship among the tree nodes. In this paper, we propose a novel transferable method, Simplified DOM Trees for Attribute Extraction (SimpDOM), to tackle the problem by efficiently retrieving useful context for each node by leveraging the tree structure. We study two challenging experimental settings: (i) intra-vertical few-shot extraction, and (ii) cross-vertical fewshot extraction with out-of-domain knowledge, to evaluate our approach. Extensive experiments on the SWDE public dataset show that SimpDOM outperforms the state-of-the-art (SOTA) method by 1.44% on the F1 score. We also find that utilizing knowledge from a different vertical (cross-vertical extraction) is surprisingly useful and helps beat the SOTA by a further 1.37%.

Motivation & Objective

  • Address the challenge of extracting structured attributes from web pages across diverse, unseen websites with minimal human annotation.
  • Overcome limitations of existing methods that rely on computationally expensive visual features or fail to model node relationships in DOM trees.
  • Develop a single-stage, transferable model that generalizes across different web verticals (e.g., books, movies, jobs) with few labeled examples.
  • Explore the effectiveness of cross-vertical few-shot learning, where knowledge from one domain improves extraction in another.
  • Provide a scalable, efficient alternative to rendering-based or two-stage models for web attribute extraction.

Proposed method

  • Construct simplified DOM trees by pruning non-essential nodes and preserving only semantically relevant structure for attribute extraction.
  • Generate rich node representations by aggregating contextual features from neighboring nodes in the DOM tree, focusing on semantic cues like 'by' or co-occurrence of attribute values.
  • Model node-level context using tree-structure-aware representations that encode proximity and hierarchical relationships without visual rendering.
  • Train a single-stage classification model to predict attribute types (e.g., author, price) for each node based on its contextual representation.
  • Enable transfer learning by fine-tuning on few-shot examples from new websites or domains, leveraging knowledge from related verticals.
  • Use a simplified neighborhood definition to capture both website-invariant signals (e.g., 'by' preceding author) and vertical-invariant patterns (e.g., grouped attribute clusters).

Experimental results

Research questions

  • RQ1Can a DOM tree-based method achieve strong transferability across different web verticals without relying on visual features?
  • RQ2How effective is intra-vertical few-shot attribute extraction when using only a few labeled websites from the same domain?
  • RQ3To what extent can knowledge from a different vertical (out-of-domain) improve few-shot attribute extraction performance?
  • RQ4What structural and semantic cues in the DOM tree are most informative for identifying attribute values?
  • RQ5How does the proposed method compare to state-of-the-art approaches in terms of F1 score and generalization capability?

Key findings

  • SimpDOM achieves a 1.44% improvement in F1 score over the state-of-the-art method on the SWDE dataset under intra-vertical few-shot extraction.
  • When leveraging out-of-domain knowledge from other verticals, SimpDOM further improves performance by 1.37% over the SOTA, demonstrating strong transferability.
  • The model achieves an average F1 score of 93% across all verticals when using the most helpful out-of-domain vertical as a knowledge source with k=3.
  • A symmetric heatmap of cross-vertical knowledge transfer reveals mutual benefits between certain vertical pairs (e.g., book and nbaplayer, job and movie), indicating shared structural patterns.
  • The method effectively captures semantic cues such as 'by' preceding author names and clustered attribute values (e.g., ISBN, publisher) through simplified tree neighborhoods.
  • SimpDOM outperforms visual feature-based and two-stage models by eliminating the need for rendering, memory-heavy image storage, and complex preprocessing pipelines.

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.