Reproduce “Comparing Retrieval-Augmentation and Parameter-Efficient Fine-Tuning for Privacy-Preserving Personalization of Large Language Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Alireza Salemi, Hamed Zamani

A systematic comparison of Retrieval-Augmented Generation (RAG) and Parameter-Efficient Fine-Tuning (PEFT) for privacy-preserving personalization of large language models reveals RAG's superior effectiveness, with a combined RAG-PEFT strategy yielding the highest overall performance on the LaMP benchmark. PEFT demonstrated particular gains with sufficient and novel user-specific data.

Key insights

  • RAG is generally more effective for privacy-preserving personalization, offering robust performance and being particularly beneficial for users with limited personal data.
  • PEFT's effectiveness is strongly tied to the quantity and novelty of user-specific data, performing best when user data is distinct from the LLM's pre-training corpus.
  • Combining RAG and PEFT provides synergistic benefits, achieving the best overall personalization performance by integrating long-term adaptation with dynamic contextual augmentation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.