CLApr 13, 2021

What's in your Head? Emergent Behaviour in Multi-Task Transformer Models

arXiv:2104.06129v230.7664 citations
Originality Incremental advance
AI Analysis

This work addresses interpretability and generalization in multi-task NLP models, offering insights into emergent skills that could enhance model understanding and performance, though it is incremental in exploring existing architectures.

The study investigates non-target heads in multi-task transformer models, finding they exhibit emergent behaviors like explaining target tasks or generalizing beyond their original training, such as a span extraction head extracting computation arguments for a generative head in numerical reasoning.

The primary paradigm for multi-task training in natural language processing is to represent the input with a shared pre-trained language model, and add a small, thin network (head) per task. Given an input, a target head is the head that is selected for outputting the final prediction. In this work, we examine the behaviour of non-target heads, that is, the output of heads when given input that belongs to a different task than the one they were trained for. We find that non-target heads exhibit emergent behaviour, which may either explain the target task, or generalize beyond their original task. For example, in a numerical reasoning task, a span extraction head extracts from the input the arguments to a computation that results in a number generated by a target generative head. In addition, a summarization head that is trained with a target question answering head, outputs query-based summaries when given a question and a context from which the answer is to be extracted. This emergent behaviour suggests that multi-task training leads to non-trivial extrapolation of skills, which can be harnessed for interpretability and generalization.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes