paper-with-me

홈 › Papers

Dripper: Token-Efficient Main HTML Extraction with a Lightweight LM

2025-11-28 · Mengjie Liu, Jiahui Peng, Wenchang Ning, Pei Chu, Jiantao Qiu, Ren Ma, He Zhu, Rui Min, Lindong Lu, Linfeng Hou, Kaiwen Liu, Yuan Qu, Zhenxiang Li, Chao Xu, Zhongying Tu, Wentao Zhang, Conghui He arxiv

High-quality main content extraction from web pages is a critical prerequisite for constructing large-scale training corpora. While traditional heuristic extractors are efficient, they lack the semantic reasoning required to handle the structural heterogeneity of the modern web. Conversely, well-pretrained generative Large Language Models (LLMs) offer superior document comprehension but are prohibited by excessive computational costs, limited context windows, and hallucination risks when applied at web scale. We present \textbf{Dripper}, a lightweight framework that resolves these bottlenecks through four contributions: (1) We reformulate extraction as a \textbf{constrained sequence labeling} task using SLMs (Small Language Models). This paradigm eliminates generative hallucinations and achieves exceptional efficiency, reaching a throughput of 3.08 pages per second on a single A100 GPU. (2) We construct \textbf{WebMainBench}, a rigorous benchmark of 7,809 human-annotated pages covering 5,434 unique domains and multiple languages. Evaluations show our Dripper-0.6B model \textbf{outperforms} heuristics like Trafilatura and rivals massive models like DeepSeek-V3.2(685B), GPT-5 and Gemini-2.5-Pro, offering an optimal efficiency-accuracy trade-off. (3) We demonstrate infrastructural value by \textbf{pre-training a 1B model} on a Dripper-curated corpus (63B tokens). This model significantly outperforms baselines in downstream tasks, proving the critical role of extraction quality and the effectiveness of our framework. (4) We \textbf{open-source} the Dripper-0.6B weights and codebase to facilitate the construction of high-quality datasets.

📄 PDF Abstract BibTeX arXiv:2511.23119

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

AICC: Parse HTML Finer, Make Models Better -- A 7.3T AI-Ready Corpus Built by a Model-Based HTML Parser

2025-11-20 · Ren Ma, Jiantao Qiu, Chao Xu, Pei Chu 외 arxiv

While web data quality is crucial for large language models, most curation efforts focus on filtering and deduplication,treating HTML-to-text extraction as a fixed pre-processing step. Existing web corpora rely on heuris…

WebFormer: The Web-page Transformer for Structure Information Extraction

2022-02-01 · Qifan Wang, Yi Fang, Anirudh Ravula, Fuli Feng 외

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 i…

Deep Attentiondocument understandingGraph Attention

ReaderLM-v2: Small Language Model for HTML to Markdown and JSON

2025-03-03 · Feng Wang, Zesheng Shi, Bo wang, Nan Wang 외

We present ReaderLM-v2, a compact 1.5 billion parameter language model designed for efficient web content extraction. Our model processes documents up to 512K tokens, transforming messy HTML into clean Markdown or JSON f…

Language ModelingLanguage ModellingSmall Language Model

Kitten: a tool for normalizing HTML and extracting its textual content

2012-05-01 · LREC 2012 5 · Mathieu-Henri Falco, V{\'e}ronique Moriceau, Anne Vilnat

The web is composed of a gigantic amount of documents that can be very useful for information extraction systems. Most of them are written in HTML and have to be rendered by an HTML engine in order to display the data th…

Language ModellingQuestion Answering

news-crawler-LM: A Small Long-Context Model For High-Quality News Crawling

2026-07-23 · Pascal Stolzenburg, Jonas Golde, Max Dallabetta, Alan Akbik arxiv

Extracting structured content from news pages remains challenging due to heterogeneous HTML layouts, inconsistent markup, and substantial boilerplate such as navigation elements and advertisements. Rule-based news crawle…