Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2409.00119v2

帮助 | 高级搜索

计算机科学 > 机器学习

arXiv:2409.00119v2 (cs)
[提交于 2024年8月28日 (v1) ,最后修订 2024年11月4日 (此版本, v2)]

标题: 3-in-1:用于高效微调、高效批处理和可组合性的二维旋转适应

标题: 3-in-1: 2D Rotary Adaptation for Efficient Finetuning, Efficient Batching and Composability

Authors:Baohao Liao, Christof Monz
摘要: 参数高效的微调(PEFT)方法能够有效地将大型语言模型(LLMs)适配到各种下游任务中,同时减少存储和GPU内存需求。尽管有这些优势,一些应用场景对PEFT提出了超越单纯参数效率的新挑战。一个显著的挑战是如何高效部署配备了多个任务或用户专用适配器的LLMs,特别是在同一批次内不同请求需要不同适配器的情况下。另一个挑战是LLMs的可解释性,这对于理解LLMs的工作原理至关重要。先前的研究引入了多种方法来应对不同的挑战。本文介绍了一种新颖的方法RoAd,它通过简单的二维旋转来适配LLMs,并解决了上述所有挑战:(1)RoAd具有极高的参数效率,在GLUE基准、八个常识推理任务以及四个算术推理任务上,使用$<0.1\%$个可训练参数实现了最优性能;(2)RoAd可以高效处理批量请求中需要不同适配器的情况,其开销相当于逐元素乘法而不是批量矩阵乘法;(3)RoAd通过集成到分布式互换干预框架内增强了LLMs的可解释性,并通过组成实验进行了验证。
摘要: Parameter-efficient finetuning (PEFT) methods effectively adapt large language models (LLMs) to diverse downstream tasks, reducing storage and GPU memory demands. Despite these advantages, several applications pose new challenges to PEFT beyond mere parameter efficiency. One notable challenge involves the efficient deployment of LLMs equipped with multiple task- or user-specific adapters, particularly when different adapters are needed for distinct requests within the same batch. Another challenge is the interpretability of LLMs, which is crucial for understanding how LLMs function. Previous studies introduced various approaches to address different challenges. In this paper, we introduce a novel method, RoAd, which employs a straightforward 2D rotation to adapt LLMs and addresses all the above challenges: (1) RoAd is remarkably parameter-efficient, delivering optimal performance on GLUE, eight commonsense reasoning tasks and four arithmetic reasoning tasks with $<0.1\%$ trainable parameters; (2) RoAd facilitates the efficient serving of requests requiring different adapters within a batch, with an overhead comparable to element-wise multiplication instead of batch matrix multiplication; (3) RoAd enhances LLM's interpretability through integration within a framework of distributed interchange intervention, demonstrated via composition experiments.
评论: 已被NeurIPS 2024接受。代码:https://github.com/BaohaoLiao/road
主题: 机器学习 (cs.LG) ; 人工智能 (cs.AI); 计算与语言 (cs.CL)
引用方式: arXiv:2409.00119 [cs.LG]
  (或者 arXiv:2409.00119v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2409.00119
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Baohao Liao [查看电子邮件]
[v1] 星期三, 2024 年 8 月 28 日 08:45:29 UTC (532 KB)
[v2] 星期一, 2024 年 11 月 4 日 09:07:25 UTC (533 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.LG
< 上一篇   |   下一篇 >
新的 | 最近的 | 2024-09
切换浏览方式为:
cs
cs.AI
cs.CL

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号