Escarda Fernández, MiguelCancela, BraisEiras-Franco, CarlosGuijarro-Berdiñas, BerthaAlonso-Betanzos, Amparo2026-07-102026-07-102026Escarda-Fernández, M., Cancela, B., Eiras-Franco, C. et al. Contrastive Learning for Explanation Ranking. Mach Learn 115, 156 (2026). https://doi.org/10.1007/s10994-026-07099-71573-0565https://hdl.handle.net/2183/48855Financiado para publicación en acceso aberto: CRUE-CSIC[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.engAttribution 4.0 Internationalhttp://creativecommons.org/licenses/by/4.0/Learning-to-rankExplanation recommendationContrastive learningPost-hoc explanationsContrastive Learning for Explanation Rankingjournal articleopen access10.1007/s10994-026-07099-7