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

arXiv:2409.17834 · cs.CL · Submitted 2024-09-26 · Read on arXiv

cs.CL

Submitted: 2024-09-26

Updated: 2024-09-26

Comments: arXiv admin note: text overlap with arXiv:2405.18203

Journal ref: Neural Information Processing (ICONIP 2024), Lecture Notes in Computer Science, vol. 15295, pp. 253-268, Springer, Singapore (2026)

DOI: 10.1007/978-981-96-6603-4_18

License: http://creativecommons.org/licenses/by/4.0/

The gist: Due to their substantial sizes, large language models (LLMs) are typically deployed within a single-backbone multi-tenant framework.

Terminology

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 rompt D pen ent epresentation M 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.

Sources

Related papers