Learning to Teach with Dynamic Loss Functions

10/29/2018
by   Lijun Wu, et al.
0

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.

READ FULL TEXT
research
05/09/2018

Learning to Teach

Teaching plays a very important role in our society, by spreading human ...
research
03/11/2021

Learning by Teaching, with Application to Neural Architecture Search

In human learning, an effective skill in improving learning outcomes is ...
research
07/09/2020

Learning to Teach with Deep Interactions

Machine teaching uses a meta/teacher model to guide the training of a st...
research
12/07/2020

Model Compression Using Optimal Transport

Model compression methods are important to allow for easier deployment o...
research
11/12/2021

Meta-Teacher For Face Anti-Spoofing

Face anti-spoofing (FAS) secures face recognition from presentation atta...
research
06/11/2019

Learning a Matching Model with Co-teaching for Multi-turn Response Selection in Retrieval-based Dialogue Systems

We study learning of a matching model for response selection in retrieva...
research
01/21/2019

Teaching and learning in uncertainty

We investigate a simple model for social learning with two agents: a tea...

Please sign up or login with your details

Forgot password? Click here to reset