Skip to main content
QUICK REVIEW

[논문 리뷰] Data-efficient Fine-tuning for LLM-based Recommendation

Xinyu Lin, Wenjie Wang|arXiv (Cornell University)|2024. 01. 30.
Web Data Mining and AnalysisComputer Science인용 수 5
한 줄 요약

본 논문은 DEALRec를 제안한다. 데이터 프루닝 방법으로, 영향 점수를 사용해 LLM 기반 추천 모델의 소샷 미세조정에 영향력이 큰 샘플을 선택하고, 대리 모델과 LLM 간의 차이를 줄이기 위해 영향 함수와 Hessian-vector 곱으로 계산되는 영향 점수와 노력 점수를 사용한다. 아주 작은 하위집합(최소 2%)으로도 높은 정확도와 큰 시간-비용 감소를 달성한다.

ABSTRACT

Leveraging Large Language Models (LLMs) for recommendation has recently garnered considerable attention, where fine-tuning plays a key role in LLMs' adaptation. However, the cost of fine-tuning LLMs on rapidly expanding recommendation data limits their practical application. To address this challenge, few-shot fine-tuning offers a promising approach to quickly adapt LLMs to new recommendation data. We propose the task of data pruning for efficient LLM-based recommendation, aimed at identifying representative samples tailored for LLMs' few-shot fine-tuning. While coreset selection is closely related to the proposed task, existing coreset selection methods often rely on suboptimal heuristic metrics or entail costly optimization on large-scale recommendation data. To tackle these issues, we introduce two objectives for the data pruning task in the context of LLM-based recommendation: 1) high accuracy aims to identify the influential samples that can lead to high overall performance; and 2) high efficiency underlines the low costs of the data pruning process. To pursue the two objectives, we propose a novel data pruning method based on two scores, i.e., influence score and effort score, to efficiently identify the influential samples. Particularly, the influence score is introduced to accurately estimate the influence of sample removal on the overall performance. To achieve low costs of the data pruning process, we use a small-sized surrogate model to replace LLMs to obtain the influence score. Considering the potential gap between the surrogate model and LLMs, we further propose an effort score to prioritize some hard samples specifically for LLMs. Empirical results on three real-world datasets validate the effectiveness of our proposed method. In particular, the proposed method uses only 2% samples to surpass the full data fine-tuning, reducing time costs by 97%.

연구 동기 및 목표

  • 대규모 데이터 증가와 높은 비용으로 인해 LLM 기반 추천 시스템의 데이터 효율적인 미세조정 필요성 동기화.
  • LLM 기반 추천에 대한 데이터 프루닝을 소샷 미세조정에 적합한 대표적 부분집합을 선택하는 것으로 정의.
  • DEALRec를 개발해 영향 점수를 통해 영향 있는 샘플을 식별하고, 노력 점수로 대리-LLM 간의 간극을 완화한다.
  • DEALRec를 활용한 데이터 프루닝이 실세계 데이터셋에서 경쟁력 있거나 우수한 성능과 함께 상당한 효율성 향상을 달성함을 입증한다.

제안 방법

  • 데이터 프루닝을 위한 두 가지 최적화 목표를 정의한다: 높은 정확도(낮은 경험적 위험)와 높은 효율성(낮은 프루닝 비용).
  • 영향 점수(샘플이 경험적 위험에 미치는 영향을 추정하기 위해 영향 함수와 2차 최적화를 활용)와 노력 점수(샘플에 대한 LLM 학습 노력을 측정)라는 두 점수를 가진 DEALRec를 도입한다.
  • 비용이 많이 드는 LLM 재학습을 피하기 위해 대리 모델을 사용하고 대칭적 형식을 통해 단일 Hessian 역 벡터 곱 추정치를 재활용하여 영향 점수를 계산한다.
  • 대리 모델과 LLM 간의 차이를 다리 놓기 위해 영향 점수에 노력 점수를 정규화하여 간극 규제(gap regularization)를 적용한다.
  • few-shot LLM 미세조정을 위한 다양하고 대표적인 샘플 선정을 위해 계층화된(커버리지 향상) 샘플링을 사용한다.
  • DEALRec를 두 개의 LLM 기반 추천 백엔드에 인스턴스화하고 세 개의 실제 데이터셋에서 검증한다.

실험 결과

연구 질문

  • RQ1RQ1: DEALRec가 LLM 기반 추천에서 코어스트 코어스트(coreset) 기준선 및 전체 데이터 학습과 비교하면 어떤가?
  • RQ2RQ2: 영향 점수, 간극 규제, 계층화 샘플링으로 구성된 DEALRec 구성요소가 대리 모델 전반에 걸친 성능 및 일반화에 어떤 영향을 미치는가?
  • RQ3RQ3: 서로 다른 선택 비율에서 DEALRec의 성능은 어떻게 달라지며 전체 효율성에 어떤 영향을 미치는가?

주요 결과

  • DEALRec는 데이터 효율성을 크게 향상시켜, 일부 설정에서 2%의 데이터만으로도 전체 데이터 미세조정보다 우수한 성능을 보인다.
  • 세 개의 실제 데이터셋에서의 실증 결과는 DEALRec가 기준선에 비해 정확도 손실 없이 효율성을 높임을 보여준다.
  • 이 방법은 영향 기반 샘플 순위 지정과 간극 규제를 결합해 대리-LLM 간의 차이를 보완한다.
  • 계층화 샘플링은 소샷 미세조정 동안 데이터 커버리지를 보장하고 경험적 위험의 안정적 경계를 확보한다.
  • 대리 모델을 사용해 영향력을 추정하면 LLM을 직접 사용하는 것에 비해 계산 비용이 크게 줄어든다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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