Skip to main content
QUICK REVIEW

[논문 리뷰] On Softmax Direct Preference Optimization for Recommendation

Yuxin Chen, Junfei Tan|arXiv (Cornell University)|2024. 06. 13.
Recommender Systems and TechniquesComputer Science인용 수 3
한 줄 요약

이 논문은 언어 모델 기반 추천 시스템을 위한 Direct Preference Optimization(DPO)를 개선하기 위해 다수의 음성 항목을 선호 데이터에 통합한 새로운 훈련 목표인 Softmax-DPO(S-DPO)를 제안한다. 손실 함수를 소프트맥스 샘플링 전략과 연결하고 이론적으로 대비 학습과 연관지킴으로써 S-DPO는 개인화된 순위 매기기 최적화를 효과적으로 수행하며, 세 개의 실세계 데이터셋에서 기존 방법들을 능가한다. 또한 DPO의 데이터 가능도 감소 문제를 완화한다.

ABSTRACT

Recommender systems aim to predict personalized rankings based on user preference data. With the rise of Language Models (LMs), LM-based recommenders have been widely explored due to their extensive world knowledge and powerful reasoning abilities. Most of the LM-based recommenders convert historical interactions into language prompts, pairing with a positive item as the target response and fine-tuning LM with a language modeling loss. However, the current objective fails to fully leverage preference data and is not optimized for personalized ranking tasks, which hinders the performance of LM-based recommenders. Inspired by the current advancement of Direct Preference Optimization (DPO) in human preference alignment and the success of softmax loss in recommendations, we propose Softmax-DPO (S-DPO) to instill ranking information into the LM to help LM-based recommenders distinguish preferred items from negatives, rather than solely focusing on positives. Specifically, we incorporate multiple negatives in user preference data and devise an alternative version of DPO loss tailored for LM-based recommenders, which is extended from the traditional full-ranking Plackett-Luce (PL) model to partial rankings and connected to softmax sampling strategies. Theoretically, we bridge S-DPO with the softmax loss over negative sampling and find that it has an inherent benefit of mining hard negatives, which assures its exceptional capabilities in recommendation tasks. Empirically, extensive experiments conducted on three real-world datasets demonstrate the superiority of S-DPO to effectively model user preference and further boost recommendation performance while providing better rewards for preferred items. Our codes are available at https://github.com/chenyuxin1999/S-DPO.

연구 동기 및 목표

  • 기존 언어 모델 기반 추천 시스템이 언어 모델링 손실을 사용하는 데서 비롯하는 한계를 해결하기 위해, 이는 개인화된 순위 매기기 작업에 최적화되어 있지 않다.
  • 단지 양성 항목에만 집중하는 것 대신, 다수의 음성 항목을 명시적으로 모델링하여 언어 모델의 선호도 정렬을 향상시키기 위해 사용자 선호도를 직접적으로 모델링한다.
  • S-DPO를 음성 샘플링에 대한 소프트맥스 손실과 연결하여 DPO와 기존 추천 손실 간 격차를 메우기 위해 노력한다.
  • 추천 작업에 대한 DPO 피팅에서 흔히 관찰되는 데이터 가능도 감소 문제를 완화하면서 순위 성능을 향상시키기 위해 노력한다.
  • S-DPO가 본질적으로 하드 음성 항목을 채굴함으로써 더 효과적인 기울기를 생성하고 수렴 속도를 높임을 보여주기 위해 노력한다.

제안 방법

  • S-DPO는 각 사용자 선호 시퀀스당 다수의 음성 항목을 포함시켜 기존 DPO를 확장하여, (프롬프트, 양성 항목, 다수의 음성 항목)의 선호 삼중항을 형성한다.
  • 이 방법은 이중 비교가 아닌 다수의 항목 간 상대 순위를 다룰 수 있도록 플래켓-루프 선호 모델을 사용하여 DPO 손실을 재구성한다.
  • S-DPO 손실을 음성 샘플링에 대한 소프트맥스 손실과 연결함으로써 추천 분야에서 대비 학습과 이론적 연관성을 확립한다.
  • 두 단계 훈련 파이프라인을 도입한다: 첫 번째로 도메인 지식을 통합하고 지시어 따르기 능력을 향상시키기 위해 지도적 피팅을 수행하고, 두 번째로 S-DPO를 통한 선호도 정렬을 수행한다.
  • 손실 함수는 브래드리-테리 모델에서 유도되지만, 플래켓-루프 모델을 사용해 다수의 음성 항목을 처리하도록 일반화되어 있어 더 견고한 순위 최적화를 가능하게 한다.
  • S-DPO는 암묵적인 하드 음성 항목 채굴 덕분에 더 크고 정보량이 많은 기울기를 생성함을 실증적으로 입증하여 훈련 안정성과 성능을 향상시킨다.
Figure 1 : Framework of S-DPO. Different from existing methods which fine-tune LMs with a language modeling loss without tailoring for recommendations, S-DPO proposes to explicitly instill ranking information into LMs. To take one step further, S-DPO incorporates multiple negatives in user preferenc
Figure 1 : Framework of S-DPO. Different from existing methods which fine-tune LMs with a language modeling loss without tailoring for recommendations, S-DPO proposes to explicitly instill ranking information into LMs. To take one step further, S-DPO incorporates multiple negatives in user preferenc

실험 결과

연구 질문

  • RQ1선호 데이터에 다수의 음성 항목을 통합하면 언어 모델 기반 추천 시스템의 순위 성능이 향상되는가?
  • RQ2S-DPO는 표준 DPO와 언어 모델링 손실에 비해 추천 정확도와 훈련 안정성 측면에서 어떻게 비교되는가?
  • RQ3S-DPO와 기존의 추천 손실(예: 음성 샘플링에 대한 소프트맥스 손실) 사이의 이론적 관계는 무엇인가?
  • RQ4S-DPO는 본질적으로 하드 음성 항목 채굴을 수행하는가? 만약 그렇다면, 이는 모델 최적화와 수렴에 어떤 영향을 미치는가?
  • RQ5S-DPO는 일반적으로 DPO 피팅에서 관찰되는 데이터 가능도 감소 문제를 완화할 수 있는가?

주요 결과

  • S-DPO는 세 개의 실세계 순차적 추천 벤치마크에서 최신 기술 성능을 달성하며, 기존의 전통적 및 언어 모델 기반 기준 모델을 모두 능가한다.
  • 이 방법은 DPO의 데이터 가능도 감소 문제를 효과적으로 완화하여 선호 데이터에 대해 높은 가능도를 유지하면서도 순위 지표를 향상시킨다.
  • S-DPO는 음성 샘플링에 대한 소프트맥스 손실과 이론적으로 연결되어 있어, 순위 작업에서의 뛰어난 성능을 설명할 수 있다.
  • 손실 함수는 자연스럽게 하드 음성 항목 채굴을 유도하여 더 크고 정보량이 많은 기울기를 생성함으로써 훈련 속도를 가속화하고 모델 일반화 능력을 향상시킨다.
  • 실증적 아블레이션 분석 결과, 음성 샘플 수를 늘릴수록 성능 향상이 이루어지지만, 15개를 초과하면 계산 비용 증가로 인해 수익 감소 효과가 나타난다.
  • 두 단계 훈련 파이프라인(지도적 피팅 → S-DPO 선호도 정렬)은 지시어 따르기 능력과 추천 정확도를 모두 향상시킨다.
(a) Ablation study.
(a) Ablation study.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.