Introduction
Recommending a travel route is a complex sequence recommendation problem. Unlike single-item recommendations, such as movies or books, route planning must balance the quality of individual Points of Interest (POIs) with spatial and temporal constraints like distance, travel time, and variety. Most modern recommendation engines operate as "black boxes," providing results without explaining the underlying logic. This lack of transparency can hinder user trust and decision-making.
PathRec is an interactive visualization tool designed to address this by making the recommendation process transparent. By decomposing complex machine learning scores into intuitive visual elements, it allows users to understand exactly why a specific sequence of locations was recommended.
Methodology: Structured Prediction
The authors treat route recommendation as a structured prediction problem using a Structured Support Vector Machine (SSVM). The primary advantage of the SSVM in this context is its linear, additive nature, which allows the final score of a route to be disassembled into individual feature scores:
- Unary Scores: Features of individual POIs, such as popularity, category, and average visit duration.
- Pairwise (Transition) Scores: Features of the path between two POIs, such as distance and neighborhood similarity.
The model was trained using a dataset of geotagged photos from Melbourne, Australia. By analyzing the sequences in which tourists took photos, the system extracts real-world travel trajectories and transit behaviors to power the recommendation engine.
System Design and Visualization
Following the "Visual Information-Seeking Mantra" (Overview first, zoom and filter, details-on-demand), PathRec provides several key views:
- Map View: Offers spatial context for the trajectories.
- Stacked Bar Plots: Show how POI and transition scores contribute to the total rank of the top 10 routes.
- Radar Charts: Provide a "fingerprint" for POIs, allowing users to compare specific attributes like popularity versus visit duration.
Results and Explainability
The core contribution of PathRec is its ability to provide quantitative transparency. Through a specific linear scaling strategy, raw machine learning scores are normalized into comparable ranges. This ensures that the visual "weight" in the interface accurately reflects the relative importance of each component.
As shown in the score decomposition, the stacked bar representation allows users to see at a glance if a route is highly ranked because of the destinations themselves or because the transitions between them are particularly smooth. Qualitatively, the radar charts allow for nuanced comparisons; for instance, a user might choose a route with a lower efficiency score if the radar chart reveals higher "scenery" or "vibe" scores for the included POIs.
Conclusion and Future Work
PathRec demonstrates how interactive visualization can turn a "black box" recommendation engine into a transparent tool for decision support. While the current implementation focuses on the top 10 recommendations for a single city, future work could involve formal user studies to quantify improvements in user trust. Additionally, scaling the UI to handle multi-day trajectories and exploring alternative visuals like parallel coordinates remain open areas for research.
Summary updated