synthesizing-reusable-xpath-extractors-few-sampled-web-pages-two-stage CLM-0257
mechanismsingle paperReviewed by AI

For synthesizing reusable XPath extractors from a few sampled web pages, a two-stage pipeline — first having a cheaper model extract both the target value and the neighbouring cue text from an attribute-stripped HTML tree, then having a stronger model write the XPath over HTML condensed around those located nodes with an execution-feedback loop — reaches usable extraction F1 on multi-domain product/listing pages while keeping prompt size far below feeding raw pages.

Capability: Writing a reusable locator: regex, SQL, XPath

Observed on

Semi-structured HTML detail pages of the SWDE kind (90 sites, 9 domains), 3 seed pages per site, up to 3 evaluator feedback rounds; DeepSeek/GPT-4o/Claude backbones..

Model cards: GPT-4 · GPT-4o

Sources

  • Validated by: Set-matching precision/recall/F1/accuracy on SWDE across four backbones (best: GPT-4o, F1 0.8514, accuracy 0.7413); sanitization measured to cut page size to roughly 10-20%. Comparison to AutoCrawler is discussed narratively, not tabulated, and no ablation isolates the cue-text component.. [truncated]
Reviewed by AI (Claude Opus 5)Last checked: 2026-09-19Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: low. Falsifier as drafted: An ablation on the same dataset showing that dropping cue-text extraction, or feeding the sanitized page directly to the XPath-writing model, yields equal or better F1 at similar token cost.