Abstract
The rapid growth of web pages and the increasing complexity of their structure poses a challenge for web mining models. Web mining models are required to understand semi-structured web pages, particularly when little is known about the subject or template of a new page. Current methods migrate language models to web mining by embedding the XML source code into the transformer or encoding the rendered layout with graph neural networks. However, these approaches do not take into account the relationships between text nodes within and across pages. In this paper, we propose a new approach, ReXMiner, for zero-shot relation extraction in web mining. ReXMiner encodes the shortest relative paths in the Document Object Model (DOM) tree of the web page which is a more accurate and efficient signal for key-value pair extraction within a web page. It also incorporates the popularity of each text node by counting the occurrence of the same text node across different web pages. We use contrastive learning to address the issue of sparsity in relation extraction. Extensive experiments on public benchmarks show that our method, ReXMiner, outperforms the state-of-the-art baselines in the task of zero-shot relation extraction in web mining.- Anthology ID:
- 2023.findings-emnlp.281
- Volume:
- Findings of the Association for Computational Linguistics: EMNLP 2023
- Month:
- December
- Year:
- 2023
- Address:
- Singapore
- Editors:
- Houda Bouamor, Juan Pino, Kalika Bali
- Venue:
- Findings
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 4254–4265
- Language:
- URL:
- https://aclanthology.org/2023.findings-emnlp.281
- DOI:
- 10.18653/v1/2023.findings-emnlp.281
- Cite (ACL):
- Zilong Wang and Jingbo Shang. 2023. Towards Zero-shot Relation Extraction in Web Mining: A Multimodal Approach with Relative XML Path. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4254–4265, Singapore. Association for Computational Linguistics.
- Cite (Informal):
- Towards Zero-shot Relation Extraction in Web Mining: A Multimodal Approach with Relative XML Path (Wang & Shang, Findings 2023)
- PDF:
- https://preview.aclanthology.org/emnlp-22-attachments/2023.findings-emnlp.281.pdf