Attribute Relation Extraction from Template-inconsistent Semi-structured Text by Leveraging Site-level Knowledge

Yang Liu, Fang Liu, Siwei Lai, Kang Liu, Guangyou Zhou, Jun ZhaoIJCNLP 2013

Abstract

This paper addresses the challenge of extracting attribute-value pairs from "weak" semi-structured web text where templates are inconsistent across pages. We propose an unsupervised two-stage framework that leverages site-level knowledge—patterns shared across a website—to identify reliable extraction templates. By employing a graph-based random walk algorithm, our method, SiteExt, effectively distinguishes authentic templates from noise. Experimental results on Baidu Baike demonstrate that SiteExt significantly outperforms traditional page-level baselines, particularly in recall and overall F-measure.

Introduction

Information extraction (IE) typically focuses on either highly structured data (e.g., Wikipedia infoboxes) or unstructured prose. However, a significant portion of web content consists of "weak semi-structured text"—user-generated lists or tables that lack consistent HTML tagging. Traditional extractors often fail here because they assume a single, consistent template per block. This "template-inconsistent problem" necessitates a more robust approach that looks beyond individual pages to find hidden consistency across an entire website.

Methodology

The proposed framework consists of two primary stages: Site-level Extraction and Page-level Extraction.

Overview of the two-stage extraction framework.

1. Site-level Extraction (Knowledge Acquisition)

Webpages are first segmented into blocks based on HTML tags. Using a small set of "seed" attributes, the system identifies candidate templates by capturing the surrounding HTML prefixes and separators (e.g., </div> [Attribute] :). To filter out noise, a graph is constructed with nodes representing attributes, templates, and documents. A Random Walk with Restart (RWR) algorithm is applied to rank these nodes. The underlying principle is mutual reinforcement: reliable seeds appear in high-quality documents generated by authentic templates.

2. Page-level Extraction

The ranked site-level knowledge is then applied to new pages. The system identifies "weak semi-blocks," extracts attribute-value candidates using the learned templates, and identifies the "Object" (the entity) to form complete Object-Attribute-Value (OAV) tuples.

Experimental Evaluation

The system was evaluated using 3 million pages from Baidu Baike. A benchmark of 300 randomly sampled pages (99 containing weak semi-blocks) was manually labeled, resulting in 1,022 ground-truth OAV tuples. Initial seeds were sourced from Chinese Wikipedia infoboxes.

Key Results

SiteExt demonstrated superior performance in both block identification and tuple acquisition. In block identification, SiteExt achieved an F-measure of 0.965, compared to 0.633 for the best baseline configuration.

Performance comparison between SiteExt and baseline methods.

As shown in the results table, SiteExt ($SiteExt\_T_\alpha$) significantly improves recall ($R-strict$ and $R-loose$) compared to baselines ($Baseline\_T_\beta, T_\gamma, T_\alpha$), while maintaining competitive precision. Specifically, SiteExt achieved a strict recall of 0.770, more than doubling the performance of the best baseline ($Baseline\_T_\gamma$ at 0.356). This leads to a substantial jump in the F-measure (0.805 vs. 0.470).

Discussion and Conclusion

The success of SiteExt highlights the value of "collective intelligence" at the site level. By prioritizing precision during template discovery, the system builds a reliable knowledge base that compensates for the structural messiness of individual pages. While the method currently depends on initial seeds and heuristic tuning, it offers a powerful unsupervised solution for large-scale data extraction from inconsistent web sources. Future work will focus on refining object extraction and testing the framework on non-Chinese datasets.

Summary updated

BibTeX
@inproceedings{liu2013attribute,
  author = {Yang Liu and Fang Liu and Siwei Lai and Kang Liu and Guangyou Zhou and Jun Zhao},
  title = {{Attribute Relation Extraction from Template-inconsistent Semi-structured Text by Leveraging Site-level Knowledge}},
  booktitle = {IJCNLP},
  year = {2013},
}
Figure