DOM-LM:学习HTML文档的可概括表示
DOM-LM: Learning Generalizable Representations for HTML Documents
摘要:
HTML文档是在Web上传播信息供人们消费的重要媒介。HTML文档以多种文本格式呈现信息,包括非结构化文本、结构化键值对和表格。这些文档的有效表示对于机器理解是必不可少的,以实现广泛的应用,例如问答、Web搜索和个性化。现有的工作要么表示这些文件使用视觉特征提取渲染他们在浏览器中,这通常是计算昂贵的,或者只是把它们作为纯文本文档,从而无法捕捉有用的信息,在其HTML结构。我们认为,文本和HTML结构一起传达了重要的语义的内容,因此保证一个特殊的治疗,他们的表示学习。在本文中,我们介绍了一种新的表示学习方法的网页,被称为DOM-LM,它解决了现有的方法的局限性,编码文本和DOM树结构与基于transformer的编码器和学习的HTML文档通过自我监督的预训练泛化表示。我们评估了各种网页理解任务,包括属性提取,开放信息抽取,和问答的DOM LM。我们广泛的实验表明,DOM-LM始终优于为这些任务设计的所有基线。特别是,DOM-LM在Few-Shot和zero-shot设置中都表现出更好的泛化性能,使其适合于具有有限标记数据的真实世界应用设置。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。