用于集成与持续微调的切线模型组合
Tangent Model Composition for Ensembling and Continual Fine-tuning
AI总结:
本文提出TMC,将独立微调模型表示为预训练点处的切向量并在推理时标量组合,以单模型成本实现更优集成、零成本遗忘和并行持续微调。
摘要:
Tangent Model Composition(TMC,切线模型组合)是一种组合围绕同一预训练点独立微调得到的组件模型的方法。组件模型是相对于预训练模型的切向量,可以相加、缩放或相减,以支持增量学习、集成或遗忘。组件模型在推理时通过标量组合进行合成,从而将集成成本降低至单个模型的水平。与对非线性微调模型进行集成相比,TMC将准确率提高4.2%,同时推理成本降低2.5倍至10倍;成本随组件模型数量线性增长。每个组件模型都可以零成本遗忘,并且不会对最终推理产生任何残余影响。当用于持续微调时,TMC不受序列偏差约束,并可在联邦数据上并行执行。尽管没有使用任何回放缓冲区,在跨越3个基准数据集、共计13项实验中,TMC在任务增量、类别增量和数据增量这每种设置下,几乎都一致优于近期发表的持续微调方法。TMC是为组合局部于某个预训练嵌入的模型而设计的,但也可以扩展到更一般的设置。代码位于:https://github.com/tianyu139/tangent-model-composition
英文摘要:
Tangent Model Composition (TMC) is a method to combine component models independently fine-tuned around a pre-trained point. Component models are tangent vectors to the pre-trained model that can be added, scaled, or subtracted to support incremental learning, ensembling, or unlearning. Component models are composed at inference time via scalar combination, reducing the cost of ensembling to that of a single model. TMC improves accuracy by 4.2% compared to ensembling non-linearly fine-tuned models at a 2.5x to 10x reduction of inference cost, growing linearly with the number of component models. Each component model can be forgotten at zero cost, with no residual effect on the resulting inference. When used for continual fine-tuning, TMC is not constrained by sequential bias and can be executed in parallel on federated data. TMC outperforms recently published continual fine-tuning methods almost uniformly on each setting -- task-incremental, class-incremental, and data-incremental -- on a total of 13 experiments across 3 benchmark datasets, despite not using any replay buffer. TMC is designed for composing models that are local to a pre-trained embedding, but could be extended to more general settings. The code is available at: https://github.com/tianyu139/tangent-model-composition
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。