arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.14920cs.CLcs.AI
收藏

EPIK:通过知识蒸馏消除多模型流水线

EPIK: Eliminating multi-model Pipelines with Knowledge-distillation

SRM Institute of Science and Technology(SRM科学技术学院);Chandigarh University(昌迪加尔大学)

Bhavesh Laddagiri, Yash Raj, Anshuman Dash

摘要:

现实世界的任务主要由多个模型组成,每个模型执行更大的任务链中的子任务,即,使用来自模型的输出作为多模型流水线中的另一模型的输入。像MATRa这样的模型分两个阶段执行跨语言音译的任务,当在两种印度语言之间音译时,使用英语作为中间音译目标。我们提出了一种新的蒸馏技术,EPIK,冷凝成一个单一的端到端的模型,而不影响性能的分层任务的两级管道。这种方法可以为任务创建端到端模型,而不需要专用的端到端数据集,解决了数据稀缺问题。EPIK模型是使用这种知识蒸馏技术从MATra模型中提炼出来的。MATra模型可以执行5种语言之间的跨语言音译-英语,印地语,泰米尔语,卡纳达语和孟加拉语。EPIK模型执行音译任务,而无需任何中间英语输出,同时保留MATra模型的性能和准确性。EPIK模型可以执行音译,平均CER得分为0.015,平均语音准确率为92.1%。此外,与教师模型相比,平均执行时间减少了54.3%,与教师编码器的相似性得分为97.5%。在少数情况下,EPIK模型(学生模型)可以优于MATra模型(教师模型),即使它是从MATra模型中提取出来的。

英文摘要:

Real-world tasks are largely composed of multiple models, each performing a sub-task in a larger chain of tasks, i.e., using the output from a model as input for another model in a multi-model pipeline. A model like MATRa performs the task of Crosslingual Transliteration in two stages, using English as an intermediate transliteration target when transliterating between two indic languages. We propose a novel distillation technique, EPIK, that condenses two-stage pipelines for hierarchical tasks into a single end-to-end model without compromising performance. This method can create end-to-end models for tasks without needing a dedicated end-to-end dataset, solving the data scarcity problem. The EPIK model has been distilled from the MATra model using this technique of knowledge distillation. The MATra model can perform crosslingual transliteration between 5 languages - English, Hindi, Tamil, Kannada and Bengali. The EPIK model executes the task of transliteration without any intermediate English output while retaining the performance and accuracy of the MATra model. The EPIK model can perform transliteration with an average CER score of 0.015 and average phonetic accuracy of 92.1%. In addition, the average time for execution has reduced by 54.3% as compared to the teacher model and has a similarity score of 97.5% with the teacher encoder. In a few cases, the EPIK model (student model) can outperform the MATra model (teacher model) even though it has been distilled from the MATra model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑