A Deep Tabular Neural Network for Automatic Main Content Extraction from Web Pages

Document Type : Original Article

Authors

Department of Computer Engineering, Shahrood University of Technology Shahrood, Iran

Abstract

The Internet is a vast source of textual information, and the targeted extraction of data from web pages can provide valuable datasets for applications such as training large language models. However, the diversity of web page structures and the presence of irrelevant content often introduce significant noise into the extracted data. Existing approaches for main content extraction generally fall into two categories: rule-based methods, which tend to lose effectiveness as web technologies evolve, and machine learning–based methods, which often struggle to achieve robust performance across a wide range of web pages due to limitations in training data or model complexity. In this study, an intelligent model for extracting the main content of web pages is proposed by leveraging diverse features of page elements. In the proposed approach, each web page is divided into a set of blocks, and various features are extracted from these blocks. The label of each block is then predicted using a deep learning model. The main contributions of this research include the introduction of a deep learning model designed for tabular data and the utilization of the weights of a convolutional model as a novel feature. Experimental results demonstrate that the proposed model outperforms existing methods, achieving an F1 score of 95.76 based on the ROUGE-L metric and providing an improvement of at least 4.5% over competing approaches.

Keywords