arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.12081cs.LGcs.AIstat.ML
收藏

用动态损失函数学习教学

Learning to Teach with Dynamic Loss Functions

Sun Yat-sen University(中山大学);Microsoft Research(微软研究院);University of Science and Technology of China(中国科学技术大学)

Lijun Wu, Fei Tian, Yingce Xia, Yang Fan, Tao Qin, Jianhuang Lai, Tie-Yan Liu

摘要:

教学对人类社会至关重要,只有通过教学才能培养出未来的学生,人类文明才能得到继承和发展。一个好的老师不仅为他/她的学生提供合格的教材(例如,教科书),但也建立适当的学习目标(例如,课程项目和考试)考虑学生的不同情况。当涉及到人工智能时,将机器学习模型视为学生,优化的损失函数充当教师设定的学习目标的完美对应物。在这项工作中,我们探讨了模仿人类教学行为的可能性,通过动态和自动输出适当的损失函数训练机器学习模型。与典型的学习设置不同,机器学习模型的损失函数是预定义和固定的,在我们的框架中,机器学习模型(我们称之为学生)的损失函数由另一个机器学习模型(我们称之为教师)定义。教师模式的最终目标是培养学生在发展数据集上有更好的表现。为此,类似于人类教学,教师(参数模型)动态地输出不同的损失函数,这些损失函数将由其学生模型在不同的训练阶段使用和优化。我们为教师模型开发了一种有效的学习方法,使基于梯度的优化成为可能,免除了无效的解决方案,如策略优化。我们将我们的方法命名为“学习教动态损失函数“(简称L2 T-DLF)。在现实世界的任务,包括图像分类和神经机器翻译的广泛实验表明,我们的方法显着提高了各种学生模型的质量。

英文摘要:

Teaching is critical to human society: it is with teaching that prospective students are educated and human civilization can be inherited and advanced. A good teacher not only provides his/her students with qualified teaching materials (e.g., textbooks), but also sets up appropriate learning objectives (e.g., course projects and exams) considering different situations of a student. When it comes to artificial intelligence, treating machine learning models as students, the loss functions that are optimized act as perfect counterparts of the learning objective set by the teacher. In this work, we explore the possibility of imitating human teaching behaviors by dynamically and automatically outputting appropriate loss functions to train machine learning models. Different from typical learning settings in which the loss function of a machine learning model is predefined and fixed, in our framework, the loss function of a machine learning model (we call it student) is defined by another machine learning model (we call it teacher). The ultimate goal of teacher model is cultivating the student to have better performance measured on development dataset. Towards that end, similar to human teaching, the teacher, a parametric model, dynamically outputs different loss functions that will be used and optimized by its student model at different training stages. We develop an efficient learning method for the teacher model that makes gradient based optimization possible, exempt of the ineffective solutions such as policy optimization. We name our method as "learning to teach with dynamic loss functions" (L2T-DLF for short). Extensive experiments on real world tasks including image classification and neural machine translation demonstrate that our method significantly improves the quality of various student models.

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

↑