用小模型补足大模型短板,零参数更新高效适配特定任务
Easy Adaptation: An Efficient Task-Specific Knowledge Injection Method for Large Models in Resource-Constrained Environments
- 构建专用小模型,通过轻量级设计实现任务特化
- 性能媲美参数高效微调,且无需访问大模型参数
- 适合资源受限场景或闭源大模型接口的快速适配
尽管大模型(LMs)因参数规模庞大而具备卓越性能,但其在特定任务上的适应性受限。参数高效微调(PEFT)虽能有效适配下游任务,但仍面临两大挑战:一是资源开销高,即便相比全量微调仍需大量时间和内存;二是依赖可更新的大模型参数,而当前多数领先模型为闭源,仅提供API访问,导致微调成本高昂且难以持续。相比之下,小型模型虽整体表现较差,但在特定数据分布上可实现优异效果,且资源消耗极低。受此启发,我们提出易适配(Easy Adaptation, EA),通过设计专用小模型(SSMs)来补充大模型在特定数据分布上的不足。大量实验表明,EA在不访问大模型参数的前提下,性能可达到与PEFT相当水平,且仅需极少资源。
原文摘要 · Abstract (English)
While the enormous parameter scale endows Large Models (LMs) with unparalleled performance, it also limits their adaptability across specific tasks. Parameter-Efficient Fine-Tuning (PEFT) has emerged as a critical approach for effectively adapting LMs to a diverse range of downstream tasks. However, existing PEFT methods face two primary challenges: (1) High resource cost. Although PEFT methods significantly reduce resource demands compared to full fine-tuning, it still requires substantial time and memory, making it impractical in resource-constrained environments. (2) Parameter dependency. PEFT methods heavily rely on updating a subset of parameters associated with LMs to incorporate task-specific knowledge. Yet, due to increasing competition in the LMs landscape, many companies have adopted closed-source policies for their leading models, offering access only via Application Programming Interface (APIs). Whereas, the expense is often cost-prohibitive and difficult to sustain, as the fine-tuning process of LMs is extremely slow. Even if small models perform far worse than LMs in general, they can achieve superior results on particular distributions while requiring only minimal resources. Motivated by this insight, we propose Easy Adaptation (EA), which designs Specific Small Models (SSMs) to complement the underfitted data distribution for LMs. Extensive experiments show that EA matches the performance of PEFT on diverse tasks without accessing LM parameters, and requires only minimal resources.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。