Abstract
Automated web-page classification is a critical task for search engines and directories, yet it is frequently complicated by non-informative "noise" such as navigation menus and advertisements. This research investigates the impact of using text summarization as a preprocessing step to filter this noise. By comparing various summarization techniques—including frequency-based, semantic, and layout-aware methods—the authors demonstrate that an ensemble approach can improve classification accuracy by up to 12.9%, nearly matching the performance of human-curated summaries.
Introduction: The Challenge of Web Noise
Standard text classification algorithms, while effective for clean documents like news articles, often falter when applied to web pages. A typical web page is a heterogeneous mix of content where the primary information is often obscured by peripheral elements: navigation bars, ad banners, copyright notices, and links to related content.
When a classifier processes the "full text" of such a page, these noisy elements introduce significant bias, diverting the model's focus from the actual topic. While metadata like HTML titles or meta-tags are sometimes used to mitigate this, they are frequently missing, generic, or intentionally misleading for SEO purposes. This study addresses the need for an automated method to extract the "signal" (the core topic) from the "noise" (the page layout).
Methodology: Summarization as Preprocessing
The authors propose that summarization serves as an optimal preprocessing step for web classification. They evaluate four distinct strategies:
- Adapted Luhn’s Method: A frequency-based approach modified to utilize "significant word pools" derived from category-specific training data.
- Latent Semantic Analysis (LSA): A technique using Singular Value Decomposition to identify the underlying semantic structure and select the most representative sentences.
- Content Body Identification (Layout Analysis): This novel approach utilizes a "Function-Based Object Model" to segment pages into functional blocks (e.g., Information, Navigation, Interaction). By analyzing text similarity and link density within a graph of these objects, the "core" content body is identified.
- Supervised Summarization: A Naive Bayes classifier trained to identify summary-worthy sentences based on features such as font size, position, and title similarity.
These methods are ultimately combined into a Hybrid Ensemble Summarizer, which aggregates scores from all four techniques to select the final sentences for classification.
Experimental Setup
The study utilized a dataset of approximately 2 million web pages from the LookSmart directory. To establish an "ideal" benchmark, 500,000 pages with human-written descriptions were used; these descriptions represent the upper bound of classification performance. For the primary experiments, a subset of 153,019 pages across 64 hierarchical categories was employed.
Results and Discussion
The researchers compared the summarization-based approaches against a "Full-text" baseline using both Naive Bayes and Support Vector Machines (SVM).
As shown in the results, the Full-text baseline achieved a Micro-F1 score of 65.1% with SVM. The Content Body method alone improved this to 70.3%, while the Hybrid Ensemble reached 72.6%. This represents a significant relative improvement over the baseline, coming remarkably close to the 73.7% F1 score achieved by human-written descriptions.
Key Insights
- The Value of Human-Level Precision: The initial experiment using human-written summaries proved that noise is the primary barrier to accuracy, yielding a 14.8% relative improvement over raw text in the Naive Bayes model.
- Layout as a Roadmap: HTML structure provides vital clues. By distinguishing "Information Objects" from "Decoration Objects," the system can programmatically ignore sections that human readers naturally skip.
- Compression Sweet Spot: Performance was found to peak when summaries were compressed to 20-30% of the original text. Shorter summaries lose vital information, while longer ones (50%+) begin to reintroduce noise.
- Size Sensitivity: Summarization is particularly beneficial for larger pages (averaging 31.2k), which are more prone to misclassification due to higher noise volume compared to smaller pages (averaging 10.9k).
Conclusion and Future Work
This research demonstrates that summarizing web pages significantly enhances classification by filtering out structural and promotional noise. While highly effective, the current layout analysis relies on heuristic rules that may require updates as web design evolves. Future work will explore multi-document summarization by incorporating the "neighborhood" of a page—specifically anchor text and content from hyperlinked pages—to further refine the classification process.
Summary updated