arXiv:2506.09898cs.IR2025-06

用角度距离提升推荐精度,让不同类别物品更公平比较。

Discrete Scale-invariant Metric Learning for Efficient Collaborative Filtering

  • 基于哈希空间中的角度设计尺度不变距离边界。
  • 在多个数据集上优于现有度量学习与哈希推荐方法。
  • 适合需要高效、公平推荐的场景,如多品类电商。

度量学习因能根据用户-物品交互的重要性提供个性化推荐而受到广泛关注。现有方法通过固定几何距离间隔将负项远离对应用户和正项,但不同类别物品存在分布不均与类内差异大问题,固定距离难以准确衡量用户偏好差异。为此,本文提出离散尺度不变度量学习(DSIML),通过为用户和物品添加二值约束,将其映射到共享的汉明子空间中以加速在线推荐。首先,在共享汉明子空间中负项点处基于角度提出尺度不变距离边界;进而推导出基于该边界的尺度不变三元组铰链损失。为捕捉更多偏好差异信息,将成对排序损失融合进尺度不变损失中。由于含 extit{log-sum-exp} 函数的混合整数优化问题难以直接求解,采用变分二次上界并结合交替优化策略学习哈希码。在基准数据集上的实验表明,所提方法显著优于主流度量学习与哈希基线方法。

原文摘要 · Abstract (English)

Metric learning has attracted extensive interest for its ability to provide personalized recommendations based on the importance of observed user-item interactions. Current metric learning methods aim to push negative items away from the corresponding users and positive items by an absolute geometrical distance margin. However, items may come from imbalanced categories with different intra-class variations. Thus, the absolute distance margin may not be ideal for estimating the difference between user preferences over imbalanced items. To this end, we propose a new method, named discrete scale-invariant metric learning (DSIML), by adding binary constraints to users and items, which maps users and items into binary codes of a shared Hamming subspace to speed up the online recommendation. Specifically, we firstly propose a scale-invariant margin based on angles at the negative item points in the shared Hamming subspace. Then, we derive a scale-invariant triple hinge loss based on the margin. To capture more preference difference information, we integrate a pairwise ranking loss into the scale-invariant loss in the proposed model. Due to the difficulty of directly optimizing the mixed integer optimization problem formulated with \textit{log-sum-exp} functions, we seek to optimize its variational quadratic upper bound and learn hash codes with an alternating optimization strategy. Experiments on benchmark datasets clearly show that our proposed method is superior to competitive metric learning and hashing-based baselines for recommender systems.

推荐系统度量学习哈希编码高效推荐

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。