Contrastive Learning for Explanation Ranking
Abstract Explainable recommendation systems enhance user trust and satisfaction by revealing the reasoning behind personalized recommendations. Approaching this as a post-hoc explanation-ranking problem over a fixed pool of candidate explanations, we propose Contrastive Learning for Explanation Ranking (CLER), a model that learns user, item, and explanation representations with a Normalized Temperature-scaled Binary Cross-Entropy (NT-BXent) loss. This function specifically applies a per-row reweighting strategy, preventing the vast number of negative examples from dominating the objective. We evaluate CLER on the Amazon, TripAdvisor, and Yelp datasets from the EXTRA benchmark. Across traditional ranking metrics, CLER achieves the strongest results among the compared baselines.
Authors
- Carlos Eiras‐Franco (ORCID: https://orcid.org/0000-0001-6322-7593)
- Miguel Escarda-Fernández
- Brais Cancela
- Bertha Guijarro-Berdiñas
- Amparo Alonso-Betanzos
Institutions
- Universidade da Coruña (ES)
Publication Details
- Journal
- Machine Learning
- Published
- 2026-06-24
- DOI
- https://doi.org/10.1007/s10994-026-07099-7
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Xunta de Galicia
- Universidade da Coruña
- European Regional Development Fund
- Agencia Estatal de Investigación