用于改进弹性学生模型的Matryoshka模型学习
Matryoshka Model Learning for Improved Elastic Student Models
AI总结:
本文提出MatTA框架,通过训练多个准确学生模型,利用TA模型提升模型性能,实现准确率与服务成本的平衡,实验显示在多个基准测试中取得显著提升。
摘要:
行业级机器学习模型是精心设计以满足快速演变的服务约束,这需要大量的资源进行模型开发。在本文中,我们提出了MatTA,一种用于训练多个准确学生模型的框架,采用新颖的教师-TA-学生配方。TA模型是学生模型的更大版本,具有更高的容量,因此允许学生模型更好地与教师模型相关联,并引入更多领域特定的专业知识。此外,多个准确的学生模型可以从TA模型中提取。因此,尽管仅进行一次训练运行,我们的方法提供了多个可服务的选项,以在准确性和较低的服务成本之间进行权衡。我们展示了所提出的方法MatTA在专有数据集和模型上的应用。其实际效果通过生产ML系统中的A/B测试得到验证,展示了关键指标的20%提升。我们还展示了该方法在GPT-2 Medium公共模型上的应用,并在SAT数学测试中实现了超过24%的相对提升,在LAMBADA基准测试中实现了超过10%的提升。
英文摘要:
Industry-grade ML models are carefully designed to meet rapidly evolving serving constraints, which requires significant resources for model development. In this paper, we propose MatTA, a framework for training multiple accurate Student models using a novel Teacher-TA-Student recipe. TA models are larger versions of the Student models with higher capacity, and thus allow Student models to better relate to the Teacher model and also bring in more domain-specific expertise. Furthermore, multiple accurate Student models can be extracted from the TA model. Therefore, despite only one training run, our methodology provides multiple servable options to trade off accuracy for lower serving cost. We demonstrate the proposed method, MatTA, on proprietary datasets and models. Its practical efficacy is underscored by live A/B tests within a production ML system, demonstrating 20% improvement on a key metric. We also demonstrate our method on GPT-2 Medium, a public model, and achieve relative improvements of over 24% on SAT Math and over 10% on the LAMBADA benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。