paper-with-me

Papers

DOM-LM: Learning Generalizable Representations for HTML Documents

2022-01-25 · Xiang Deng, Prashant Shiralkar, Colin Lockard, Binxuan Huang, Huan Sun

HTML documents are an important medium for disseminating information on the Web for human consumption. An HTML document presents information in multiple text formats including unstructured text, structured key-value pairs, and tables. Effective representation of these documents is essential for machine understanding to enable a wide range of applications, such as Question Answering, Web Search, and Personalization. Existing work has either represented these documents using visual features extracted by rendering them in a browser, which is typically computationally expensive, or has simply treated them as plain text documents, thereby failing to capture useful information presented in their HTML structure. We argue that the text and HTML structure together convey important semantics of the content and therefore warrant a special treatment for their representation learning. In this paper, we introduce a novel representation learning approach for web pages, dubbed DOM-LM, which addresses the limitations of existing approaches by encoding both text and DOM tree structure with a transformer-based encoder and learning generalizable representations for HTML documents via self-supervised pre-training. We evaluate DOM-LM on a variety of webpage understanding tasks, including Attribute Extraction, Open Information Extraction, and Question Answering. Our extensive experiments show that DOM-LM consistently outperforms all baselines designed for these tasks. In particular, DOM-LM demonstrates better generalization performance both in few-shot and zero-shot settings, making it attractive for making it suitable for real-world application settings with limited labeled data.

📄 PDF Abstract BibTeX arXiv:2201.10608

Code (1)

Misterion777/DOM-LM pytorch

Tasks

AttributeAttribute ExtractionOpen Information ExtractionQuestion AnsweringRepresentation Learning

Similar Papers 제목 키워드 기반

Dual-View Visual Contextualization for Web Navigation

2024-02-06 · CVPR 2024 1 · Jihyung Kil, Chan Hee Song, Boyuan Zheng, Xiang Deng 외

Automatic web navigation aims to build a web agent that can follow language instructions to execute complex and diverse tasks on real-world websites. Existing work primarily takes HTML documents as input, which define th…

HTMLPhish: Enabling Phishing Web Page Detection by Applying Deep Learning Techniques on HTML Analysis

2019-08-28 · Chidimma Opara, Bo Wei, Yingke Chen

Recently, the development and implementation of phishing attacks require little technical skills and costs. This uprising has led to an ever-growing number of phishing attacks on the World Wide Web. Consequently, proacti…

Feature Engineering

Editable AI: Mixed Human-AI Authoring of Code Patterns

2020-07-12 · Kartik Chugh, Andrea Y. Solis, Thomas D. LaToza

Developers authoring HTML documents define elements following patterns which establish and reflect the visual structure of a document, such as making all images in a footer the same height by applying a class to each. To…

HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systems

2024-11-05 · Jiejun Tan, Zhicheng Dou, Wen Wang, Mang Wang 외

Retrieval-Augmented Generation (RAG) has been shown to improve knowledge capabilities and alleviate the hallucination problem of LLMs. The Web is a major source of external knowledge used in RAG systems, and many commerc…

HallucinationRAGRetrievalRetrieval-augmented Generation

A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis

2023-07-24 · Izzeddin Gur, Hiroki Furuta, Austin Huang, Mustafa Safdari 외

Pre-trained large language models (LLMs) have recently achieved better generalization and sample efficiency in autonomous web automation. However, the performance on real-world websites has still suffered from (1) open d…

Code GenerationDenoisingInductive BiasLong-Context Understanding+2