MethodPretrain, then fine-tune
ULMFiT (2018): transfer learning for text classification
Event date
On 18 January 2018 Jeremy Howard and Sebastian Ruder posted Universal Language Model Fine-tuning, or ULMFiT. It showed that a language model pretrained on general text, then fine-tuned on a small labelled set, gave strong results on text classification. It is on the timeline as the first clear recipe for the pretrain then fine-tune pattern that BERT and GPT-1 followed.
Key numbers
What the paper proposed
Transfer learning, where a model learns general features and is then adapted, had already changed computer vision. In language tasks, methods still tended to need task specific changes and training from scratch. Howard and Ruder proposed a single method that could be applied to any text task.
The paper was submitted to arXiv on 18 January 2018. The authors released their pretrained models and code, which let others reuse the approach directly. The paper stresses that the same architecture and training procedure were used for every task, with only dropout tuned, so a practitioner did not need to design a new network for each dataset.
Sources: arxiv.org
How it worked
ULMFiT has three stages. First, an AWD-LSTM language model is pretrained on WikiText-103, a corpus of about 103 million words. Second, the language model is fine-tuned on text from the target task. Third, a classifier is added and fine-tuned on the labelled examples.
The paper's contribution lies in how the fine-tuning is done. Discriminative fine-tuning gives each layer its own learning rate, slanted triangular learning rates raise and then lower the rate over training, and gradual unfreezing releases one layer at a time so the model does not overwrite what it learned in pretraining. Pretraining on a general corpus gives the model a working knowledge of grammar and common word use before it sees a single labelled example.
Sources: arxiv.org
What it showed and what came next
The authors reported results on six text classification datasets and said the method reduced error by 18 to 24 per cent on most of them compared with the previous best. On IMDb, a film review sentiment test, they reported a test error of 4.6 per cent, against 8.2 per cent for the CoVe baseline they compared with.
They also reported that, with only 100 labelled examples, ULMFiT matched the performance of training from scratch on 100 times more data. These are the authors' own experiments on public datasets. Other reported test errors include 3.6 per cent on TREC-6, against 4.2 per cent for CoVe, 0.80 per cent on DBpedia and 2.16 per cent on the binary Yelp task, while the five class Yelp task stayed hard at 29.98 per cent.
ELMo followed in February 2018 with contextual word vectors, GPT-1 in June 2018 with a Transformer decoder, and BERT in October 2018. Each used a large unlabelled corpus first and a small labelled set second, the pattern that ULMFiT had demonstrated on classification.
Why it mattered
- It gave a practical, general recipe for pretraining and fine-tuning in language tasks, not only one result.
- It showed that pretrained language models save labelled data, which lowers the cost of building a classifier.
- Its fine-tuning tricks, such as unfreezing layers gradually, remained common practice.
- It was released with code and models, so the idea spread quickly.
Questions
What does ULMFiT stand for?
Who created ULMFiT?
Did ULMFiT use a Transformer?
About this page
Part of our LLM history timeline. The event happened on 18 January 2018; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our editorial policy. Found an error? Tell us and we will correct it with a dated note.