Skip to main content
QUICK REVIEW

[论文解读] Enhancing Recommendation Diversity by Re-ranking with Large Language Models

Diego Carraro, Derek Bridge|arXiv (Cornell University)|Jan 21, 2024
Recommender Systems and TechniquesComputer Science被引用 3
一句话总结

本文提出使用大语言模型(LLMs)进行零样本重排序,以在无需任务特定微调的情况下提升推荐多样性。结果表明,基于LLM的重排序器在多样性方面优于随机重排序,且优于随机基线,但仍逊色于传统多样性感知方法(如MMR和RxQuAD),性能因模型和提示设计而异。

ABSTRACT

It has long been recognized that it is not enough for a Recommender System (RS) to provide recommendations based only on their relevance to users. Among many other criteria, the set of recommendations may need to be diverse. Diversity is one way of handling recommendation uncertainty and ensuring that recommendations offer users a meaningful choice. The literature reports many ways of measuring diversity and improving the diversity of a set of recommendations, most notably by re-ranking and selecting from a larger set of candidate recommendations. Driven by promising insights from the literature on how to incorporate versatile Large Language Models (LLMs) into the RS pipeline, in this paper we show how LLMs can be used for diversity re-ranking. We begin with an informal study that verifies that LLMs can be used for re-ranking tasks and do have some understanding of the concept of item diversity. Then, we design a more rigorous methodology where LLMs are prompted to generate a diverse ranking from a candidate ranking using various prompt templates with different re-ranking instructions in a zero-shot fashion. We conduct comprehensive experiments testing state-of-the-art LLMs from the GPT and Llama families. We compare their re-ranking capabilities with random re-ranking and various traditional re-ranking methods from the literature. We open-source the code of our experiments for reproducibility. Our findings suggest that the trade-offs (in terms of performance and costs, among others) of LLM-based re-rankers are superior to those of random re-rankers but, as yet, inferior to the ones of traditional re-rankers. However, the LLM approach is promising. LLMs exhibit improved performance on many natural language processing and recommendation tasks and lower inference costs. Given these trends, we can expect LLM-based re-ranking to become more competitive soon.

研究动机与目标

  • 探究通用大语言模型是否能在零样本设置下有效执行重排序任务以提升推荐多样性。
  • 评估基于LLM的重排序对推荐相关性与多样性之间权衡的影响。
  • 将基于LLM的重排序器与传统重排序方法(如MMR、xQuAD、RxQuAD)及随机重排序进行比较。
  • 分析提示设计、模型架构及领域特性对重排序质量的影响。
  • 识别影响零样本重排序中无效输出生成与模型可靠性的因素。

提出的方法

  • 将重排序任务建模为文本生成任务,通过提示LLM从候选集中生成多样化排序。
  • 设计多种提示模板,采用不同指令——聚焦于多样性、相关性或两者平衡——使用零样本提示。
  • 使用矩阵分解推荐系统为每位用户生成初始候选排序。
  • 应用最先进的对话式LLM(GPT和Llama2系列)根据提示指令对候选项目进行重排序。
  • 使用标准多样性指标(如ILD、sRecall)和相关性指标(如NDCG、MAP)评估重排序性能。
  • 对提示模板和模型变体进行消融研究,以分析其对输出质量和有效性的影响。

实验结果

研究问题

  • RQ1RQ1:LLM能否在零样本设置下理解并执行重排序任务以提升推荐多样性?
  • RQ2RQ2:基于LLM的重排序在多样性与相关性方面,与随机重排序及传统重排序方法(如MMR、xQuAD、RxQuAD)相比表现如何?
  • RQ3RQ3:强调多样性、相关性或两者平衡的不同提示模板如何影响重排序输出的质量?
  • RQ4RQ4:哪些因素会影响LLM生成重排序结果的有效性与可靠性,如模型规模、领域或提示结构?
  • RQ5RQ5:能否通过提示工程或模型选择在保持多样性提升的同时缓解相关性下降的问题?

主要发现

  • 基于LLM的重排序器在所有指标上均显著提升多样性,优于随机重排序,证实其能够理解并响应多样性指令。
  • 在所测试的LLM中,ChatGPT表现最佳,在相关性与多样性权衡方面优于InstructGPT和Llama2变体。
  • Llama2-7B-Chat与Llama2-13B-Chat的性能低于GPT系列模型,尤其在相关性感知指标上表现较弱,但在多样性方面仍匹配或超过随机基线。
  • 仅强调多样性的提示模板(如T1、T2)通常优于兼顾多样性和相关性的模板,表明明确聚焦多样性可提升结果质量。
  • Anime数据集的无效输出少于Goodreads,可能由于提示更短或领域特定内容特征所致,尽管模型规模也可能产生影响。
  • 特征感知提示(T5、T6)在Goodreads上提升性能,但在Anime上未见改善,表明提示设计的效果具有领域依赖性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。