arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05898cs.AI
收藏

基于上下文InfoNCE损失的偏好对比学习

Contrastive Learning of Preferences with a Contextual InfoNCE Loss

Johannes Kepler University(约翰开普勒大学);University of Alberta(阿尔伯塔大学)

Timo Bertram, Johannes Fürnkranz, Martin Müller

AI总结:

针对上下文偏好排序中复杂度高、分布偏差的问题,研究提出适配CLIP框架的上下文InfoNCE损失,在集换式卡牌游戏任务中性能优于三元组损失模型,还缓解了三元组挖掘问题。

摘要:

上下文偏好排序中的一个常见问题是,单个偏好动作需要与若干选项进行比较,这会导致复杂度激增,并使偏好分布出现偏差。在本研究中,我们展示了如何通过对CLIP(对比语言-图像预训练)框架进行适当调整来解决这一问题。\n 这种调整并非完全直接,因为尽管CLIP所使用的InfoNCE损失在计算机视觉和多模态领域已取得巨大成功,但其批次构建技术要求具备比较任意项目的能力,且当一个项目在同一批次中存在多个正关联时,该技术的定义并不明确。我们在集换式卡牌游戏领域通过实验验证了调整版InfoNCE损失的效用,该场景下我们的目标是学习一个嵌入空间,以捕捉基于人类选择的单张卡牌与整套卡牌池之间的关联。这类选择数据仅在受限选择条件下存在,因此生成的是单个项目相对于一组其他项目的具体偏好,而非卡牌与卡池之间的完美匹配。\n 我们的结果表明,由于上述直观问题,原始CLIP的表现不佳。但通过让CLIP适配该问题,我们得到的模型性能优于此前使用三元组损失训练的模型,同时还缓解了与三元组挖掘相关的问题。

英文摘要:

A common problem in contextual preference ranking is that a single preferred action is compared against several choices, thereby blowing up the complexity and skewing the preference distribution. In this work, we show how one can solve this problem via a suitable adaptation of the CLIP framework.This adaptation is not entirely straight-forward, because although the InfoNCE loss used by CLIP has achieved great success in computer vision and multi-modal domains, its batch-construction technique requires the ability to compare arbitrary items, and is not well-defined if one item has multiple positive associations in the same batch. We empirically demonstrate the utility of our adapted version of the InfoNCE loss in the domain of collectable card games, where we aim to learn an embedding space that captures the associations between single cards and whole card pools based on human selections. Such selection data only exists for restricted choices, thus generating concrete preferences of one item over a set of other items rather than a perfect fit between the card and the pool. Our results show that vanilla CLIP does not perform well due to the aforementioned intuitive issues. However, by adapting CLIP to the problem, we receive a model outperforming previous work trained with the triplet loss, while also alleviating problems associated with mining triplets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑