A Comparison of LSTM and BERT for Small Corpus
arXiv:2009.05451
Abstract
Recent advancements in the NLP field showed that transfer learning helps with achieving state-of-the-art results for new tasks by tuning pre-trained models instead of starting from scratch. Transformers have made a significant improvement in creating new state-of-the-art results for many NLP tasks including but not limited to text classification, text generation, and sequence labeling. Most of these success stories were based on large datasets. In this paper we focus on a real-life scenario that scientists in academia and industry face frequently: given a small dataset, can we use a large pre-trained model like BERT and get better results than simple models? To answer this question, we use a small dataset for intent classification collected for building chatbots and compare the performance of a simple bidirectional LSTM model with a pre-trained BERT model. Our experimental results show that bidirectional LSTM models can achieve significantly higher results than a BERT model for a small dataset and these simple models get trained in much less time than tuning the pre-trained counterparts. We conclude that the performance of a model is dependent on the task and the data, and therefore before making a model choice, these factors should be taken into consideration instead of directly choosing the most popular model.
References in corpus (1)
Cited by in corpus (7)
- COVID-19 SignSym: a fast adaptation of a general clinical NLP tool to identify and normalize COVID-19 signs and symptoms to OMOP common data model
- Natural Language Instructions for Intuitive Human Interaction with Robotic Assistants in Field Construction Work
- Optimizing Deeper Transformers on Small Datasets
- The effects of data size on Automated Essay Scoring engines
- Exploring a Hybrid Deep Learning Framework to Automatically Discover Topic and Sentiment in COVID-19 Tweets
- Priberam Labs at the NTCIR-15 SHINRA2020-ML: Classification Task
- Textual Analysis of Communications in COVID-19 Infected Community on Social Media