PEDRO: Parameter-Efficient Fine-tuning with Prompt DEpenDent Representation MOdification

Tianfang Xie, Tianjing Li, Wei Zhu, Wei Han, Yi Zhao
9/26/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Due to their substantial sizes, large language models (LLMs) are typically deployed within a single-backbone multi-tenant framework. In this setup, a single instance of an LLM backbone must cater to multiple users or tasks through the application of various parameter-efficient fine-tuning (PEFT) models. Despite the availability of numerous effective PEFT techniques such as LoRA, there remains a need for a PEFT approach that achieves both high efficiency during inference and competitive performance on downstream tasks. In this research, we introduce a new and straightforward PEFT methodology named \underline{P}rompt D\underline{E}pen\underline{D}ent \underline{R}epresentation M\underline{O}dification (PEDRO). The proposed method involves integrating a lightweight vector generator into each Transformer layer, which generates vectors contingent upon the input prompts. These vectors then modify the hidden representations created by the LLM through a dot product operation, thereby influencing the semantic output and generated content of the model. Extensive experimentation across a variety of tasks indicates that: (a) PEDRO surpasses recent PEFT benchmarks when using a similar number of tunable parameters. (b) Under the single-backbone multi-tenant deployment model, PEDRO exhibits superior efficiency compared to LoRA, indicating significant industrial potential.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{xie2024pedro,
  title  = {PEDRO: Parameter-Efficient Fine-tuning with Prompt DEpenDent Representation MOdification},
  author = {Tianfang Xie and Tianjing Li and Wei Zhu and Wei Han and Yi Zhao},
  year   = {2024},
  eprint = {2409.17834},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.17834v1}
}

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/2409.17834.svg)](https://codeofpaper.com/paper/2409.17834)

Discussion