Introduction
In modern e-commerce, recommendation systems (RS) have evolved from simple collaborative filtering to complex Deep Convolutional Neural Networks (DCNNs) capable of processing product imagery. While these models achieve high accuracy, they often function as "black boxes," providing little insight into why a specific item was suggested. This lack of transparency can hinder user trust. This paper addresses the challenge by adapting Layer-wise Relevance Propagation (LRP) to provide pixel-level explanations for visual recommendations.
Methodology
The authors propose a pipeline based on the VGG-16 DCNN architecture, trained end-to-end on product images from the Amazon dataset. Unlike traditional methods that use static, pre-trained features, this model learns visual representations specifically optimized for identifying product relationships (e.g., "also bought" or "bought together").
- Feature Extraction: The DCNN projects images into a high-dimensional space.
- Personalized Distance Metric: The model learns a function to determine the probability of a relationship between items based on user-specific preferences.
- LRP Explainer: Once a recommendation is made, LRP redistributes the prediction score backward from the output layer to the input pixels. This process follows a "conservation principle," ensuring the total relevance score is preserved across layers.
- Heatmap Generation: The resulting scores are visualized as heatmaps, highlighting the specific visual features that drove the recommendation.
Quantitative Validation: The Perturbation Test
To ensure the generated heatmaps represent actual model logic rather than arbitrary patterns, the authors conducted a perturbation test. By systematically blurring or removing pixels identified as "highly relevant" by LRP, they observed how quickly the model's accuracy degraded.
As shown in the perturbation analysis, removing LRP-identified pixels causes a sharp decline in the fraction of accuracy compared to random pixel removal. This confirms that the model is indeed utilizing the highlighted visual cues—such as the shape of a camera lens or the texture of a shoe—to make its decisions.
Key Results and Insights
- Performance: End-to-end training outperformed state-of-the-art models using frozen features, reaching up to 90.9% accuracy in specific categories like "Musical Instruments."
- Interpretability: Qualitative analysis of heatmaps showed that the model identifies intuitive features (e.g., "camera-ness") to find stylistic similarities between products.
- Parameter Sensitivity: The choice of the $\epsilon$ parameter in LRP significantly impacts the signal-to-noise ratio of the explanations, as seen in the varying slopes of the perturbation curves.
Conclusion and Future Work
This research demonstrates that LRP is a viable tool for making deep recommendation models interpretable. While current heatmaps can be noisy, they provide a mathematically grounded way to show users why a product was recommended. Future work aims to use these relevance scores as a feedback loop for "self-correcting" models that learn to focus on more meaningful product attributes during training.
Summary updated