# WebFormer: The Web-page Transformer for Structure Information Extraction

Source: [WebFormer: The Web-page Transformer for Structure Information Extraction](<https://www.sota2.com/research/paper/68fa6bb31e209131cea2fa99>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-25T23:54:05.632Z

Authors: Qifan Wang, Yi Fang, Anirudh Ravula, Fuli Feng, Xiaojun Quan, Dongfang Liu

Published: 2022-02-01T04:44:02.000Z

## Abstract

Structure information extraction refers to the task of extracting structured text fields from web pages, such as extracting a product offer from a shopping page including product title, description, brand and price. It is an important research topic which has been widely studied in document understanding and web search. Recent natural language models with sequence modeling have demonstrated state-of-the-art performance on web information extraction. However, effectively serializing tokens from unstructured web pages is challenging in practice due to a variety of web layout patterns. Limited work has focused on modeling the web layout for extracting the text fields. In this paper, we introduce WebFormer, a Web-page transFormer model for structure information extraction from web documents. First, we design HTML tokens for each DOM node in the HTML by embedding representations from their neighboring tokens through graph attention. Second, we construct rich attention patterns between HTML tokens and text tokens, which leverages the web layout for effective attention weight computation. We conduct an extensive set of experiments on SWDE and Common Crawl benchmarks. Experimental results demonstrate the superior performance of the proposed approach over several state-of-the-art methods.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Web Data Extraction on SWDE (F1 Score)](<https://www.sota2.com/research/sota/web-data-extraction-on-swde-f1-score.md>): Web Data Extraction; SWDE; F1 Score: 86.58.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2202.00217>)

[PDF](<https://arxiv.org/pdf/2202.00217.pdf>)
