面向多模态语言模型训练的指令模板规模效应研究
Investigating the Scaling Effect of Instruction Templates for Training Multimodal Language Model
AI总结:
本文提出程序化指令模板生成器,生成超15K模板以研究MLM训练的模板规模效应,发现中等规模模板效果最佳,并据此增强数据使模型性能最高提升10%。
摘要:
当前的多模态语言模型(MLM)训练方法忽视了指令模板的影响。以往的研究通过利用手工设计或模型生成的模板来处理这一问题,但未能探究指令模板对MLM训练的规模效应。在本工作中,我们提出了一种程序化指令模板生成器,该生成器通过将随机采样的位置同义词填充到加权采样的元模板中,能够生成超过15K个独特的指令模板,使我们能够在训练过程中全面探索MLM在各种模板规模下的性能。我们对MLM训练中指令模板规模化的研究表明,MLM能力并不会随着模板规模的增加而持续提升。相反,最佳性能是在中等模板规模下实现的。使用在最佳模板规模下增强的数据进行训练的模型,与在原始数据上训练的模型相比,性能提升最高可达10%,并且与在最多为我们增强数据集75倍规模的数据上调优的相似规模MLM相比,取得了最佳的整体性能。代码将在 https://github.com/shijian2001/TemplateScaling 公开。
英文摘要:
Current multimodal language model (MLM) training approaches overlook the influence of instruction templates. Previous research deals with this problem by leveraging hand-crafted or model-generated templates, failing to investigate the scaling effect of instruction templates on MLM training. In this work, we propose a programmatic instruction template generator capable of producing over 15K unique instruction templates by filling randomly sampled positional synonyms into weighted sampled meta templates, enabling us to comprehensively explore MLM's performance across various template scales in the training process. Our investigation into scaling instruction templates for MLM training demonstrates that MLM capabilities do not consistently improve with increasing template scale. Instead, optimal performance is achieved at a medium template scale. Models trained with data augmented at the optimal template scale achieve performance gains of up to 10% over those trained on the original data and achieve the best overall performance compared with the similar-scale MLMs tuned on at most 75 times the scale of our augmented dataset. The code will be publicly available at https://github.com/shijian2001/TemplateScaling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。