Personalized LLM Response Generation with Parameterized Memory Injection

Kai Zhang, Yejin Kim, Xiaozhong Liu
4/4/2024
cs.CL

No official code found. Best implementation: MatthewKKai/MiLP (1 star, last commit 2025-01-14).

Abstract

Large Language Models (LLMs) have exhibited remarkable proficiency in comprehending and generating natural language. On the other hand, personalized LLM response generation holds the potential to offer substantial benefits for individuals in critical areas such as medical. Existing research has explored memory-augmented methods to prompt the LLM with pre-stored user-specific knowledge for personalized response generation in terms of new queries. We contend that such paradigm is unable to perceive fine-granularity information. In this study, we propose a novel \textbf{M}emory-\textbf{i}njected approach using parameter-efficient fine-tuning (PEFT) and along with a Bayesian Optimisation searching strategy to achieve \textbf{L}LM \textbf{P}ersonalization(\textbf{MiLP}).

View on arXivView PDF

Code Implementations(1)

MatthewKKai/MiLPCommunity100%

Implementation Code for "Personalized LLM Response Generation with Parameterized Memory Injection"

10PythonApr 4, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024personalized,
  title  = {Personalized LLM Response Generation with Parameterized Memory Injection},
  author = {Kai Zhang and Yejin Kim and Xiaozhong Liu},
  year   = {2024},
  eprint = {2404.03565},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.03565v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.03565.svg)](https://codeofpaper.com/paper/2404.03565)

Discussion