Abstract
Traditional web recommender systems often struggle with the latency of offline log processing and the tendency to recommend generic "index pages." This paper presents SUGGEST, an incremental recommender system implemented as an Apache module. By utilizing graph-based modeling, a novel weighting scheme to dampen the influence of hub pages, and real-time clustering, SUGGEST provides personalized navigation suggestions with minimal overhead. Evaluation on real-world datasets demonstrates that the system significantly outperforms random baselines and maintains high recommendation quality through optimal thresholding.
Introduction
In the early 2000s, web usage mining (WUM) typically followed a two-phase architecture: an offline phase for pattern discovery from server logs and an online phase for serving recommendations. However, this approach faces significant challenges on highly dynamic, large-scale websites. First, the latency of offline processing prevents the system from adapting to rapid changes in content and user behavior. Second, standard mining techniques often fall into the "index page trap," where high-traffic hub pages (like "Home" or "Search") are incorrectly identified as highly relevant personalized recommendations.
To address these issues, the authors introduced SUGGEST, a system designed for real-time, incremental updates directly within the web server environment.
Methods
SUGGEST is implemented as an Apache module, allowing it to intercept HTTP requests and append suggestions to HTML responses in real-time. The system's architecture is built on four key pillars:
- Graph-Based Modeling: Page accesses are modeled as an undirected graph $G = (V, E)$, where vertices represent pages and edges represent co-occurrence within a user session. This simplifies computation by assuming user interest is content-driven rather than sequence-dependent.
-
Weighting Formula: To mitigate the "index page trap," the system uses a specific weight for edges between pages $i$ and $j$: $$W_{ij} = rac{N_{ij}}{\max\{N_i, N_j\}}$$ where $N_{ij}$ is the number of sessions containing both pages, and $N_i, N_j$ are individual page frequencies. This normalization dampens the relative importance of links to high-traffic hub pages.
-
Incremental Clustering: Instead of periodic global re-calculations, SUGGEST uses an incremental "connected components" algorithm to identify groups of strongly correlated pages. A usage-based version of PageRank is then applied to rank pages within these clusters.
- Memory Management: An LRU-based (Least Recently Used) strategy manages the internal database, ensuring that the most recent usage data is prioritized while maintaining a fixed memory footprint.
Key Results
The effectiveness of SUGGEST was evaluated using access log datasets from NASA, Berkeley (BERK), and the University of Saskatchewan (USASK). The primary metric, $\Omega$, measures the quality of suggestions by calculating the intersection between the recommended pages and the user's actual subsequent clicks.
As shown in the figure above, the quality of suggestions ($\Omega$) is highly sensitive to the minimum frequency threshold. The researchers found that $\Omega$ typically reaches a peak when the threshold is set around 0.2. This indicates that filtering out "weak" correlations is essential for providing meaningful links. Furthermore, SUGGEST significantly outperformed the random suggestion generator (rnd), which consistently yielded near-zero quality scores across all datasets.
The system also demonstrated high efficiency, handling real-time processing on modest hardware (2.4 GHz Celeron) without significant latency, proving its viability for production environments.
Discussion and Conclusion
The success of SUGGEST highlights several key insights in web recommendation. First, the use of an undirected graph is justified by the observation that a user's interest depends more on content than on the specific sequence of clicks. Second, simple normalization techniques can effectively solve the hub-page problem without the need for complex natural language processing.
While effective, the system faces limitations such as the "cold start" problem for new pages and the reliance on historical clicks which may overlook "serendipitous" discoveries. Future work could explore how these methods adapt to modern client-side frameworks where server-side interception is less straightforward. Nonetheless, the deployment of SUGGEST on the University of Turin's Economy Faculty website confirmed its ability to generate useful, real-time links in a live environment.
Summary updated