PEDRO:基于提示依赖表示修改的参数高效微调
PEDRO: Parameter-Efficient Fine-tuning with Prompt DEpenDent Representation MOdification
AI总结:
PEDRO是一种新型参数高效微调方法,通过在每个Transformer层集成轻量级向量生成器修改隐藏表示,在保持竞争力的同时提升推理效率,适用于单骨干多租户部署场景。
摘要:
由于规模庞大,大型语言模型(LLM)通常部署在单骨干多租户框架中。在此设置下,单个LLM骨干实例必须通过应用各种参数高效微调(PEFT)模型来服务多个用户或任务。尽管已有LoRA等众多有效的PEFT技术,但仍需一种在推理时高效且在下游任务中表现具竞争力的PEFT方法。本研究提出一种新的PEFT方法,名为提示依赖表示修改(PEDRO)。该方法在每个Transformer层中集成轻量级向量生成器,根据输入提示生成向量。这些向量通过点积运算修改LLM生成的隐藏表示,从而影响模型的语义输出和生成内容。多项任务的广泛实验表明:(a) 使用相似数量可调参数时,PEDRO超越近期PEFT基准。(b) 在单骨干多租户部署模型下,PEDRO效率优于LoRA,具有显著工业潜力。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。