Language Modelling via Learning to Rank
We consider language modelling (LM) as a multi-label structured prediction task by re-framing training from solely predicting a single ground-truth word to ranking a set of words which could continue a given context. To avoid annotating top-$k$ ranks, we generate them using pre-trained LMs: GPT-2, BERT, and Born-Again models. This leads to a rank-based form of knowledge distillation (KD). We also develop a method using $N$-grams to create a non-probabilistic teacher which generates the ranks without the need of a pre-trained LM. We confirm the hypotheses that we can treat LMing as a ranking task and that we can do so without the use of a pre-trained LM. We show that rank-based KD generally improves perplexity (PPL), often with statistical significance, when compared to Kullback-Leibler-based KD. Surprisingly, given the simplicity of the method, $N$-grams act as competitive teachers and achieve similar performance as using either BERT or a Born-Again model teachers. GPT-2 always acts as the best teacher, though, and using it and a Transformer-XL student on Wiki-02, rank-based KD reduces a cross-entropy baseline from 65.27 to 55.94 and against a KL-based KD of 56.70.
Code (0)
등록된 구현이 없습니다.
Tasks
Knowledge DistillationLanguage ModellingLearning-To-RankStructured PredictionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Retrieving Comparative Arguments using Ensemble Methods and Neural Information Retrieval
In this paper, we present a submission to the Touche lab's Task 2 on Argument Retrieval for Comparative Questions. Our team Katana supplies several approaches based on decision tree ensembles algorithms to rank comparati…
Argument RetrievalInformation RetrievalLanguage ModellingRetrieval+1Modelling Pro-drop with the Rational Speech Acts Model
We extend the classic Referring Expressions Generation task by considering zero pronouns in {``}pro-drop{''} languages such as Chinese, modelling their use by means of the Bayesian Rational Speech Acts model (Frank and G…
Coreference ResolutionMachine TranslationText GenerationExtracting Weighted Automata for Approximate Minimization in Language Modelling
In this paper we study the approximate minimization problem for language modelling. We assume we are given some language model as a black box. The objective is to obtain a weighted finite automaton (WFA) that fits within…
Language ModelingLanguage ModellingAutomatic Speech Summarisation: A Scoping Review
Speech summarisation techniques take human speech as input and then output an abridged version as text or speech. Speech summarisation has applications in many domains from information technology to health care, for exam…
Language ModellingSentenceSentence CompressionAffRankNet+: Ranking Affect Using Privileged Information
Many of the affect modelling tasks present an asymmetric distribution of information between training and test time; additional information is given about the training data, which is not available at test time. Learning …