In the current NLP landscape, the prevailing wisdom is simple: if you want the best performance, use a deep learning model—preferably a Transformer like BERT. However, deep models are computationally expensive, requiring specialized hardware and significant time to train and tune.
A recent systematic study by researchers at Megagon Labs, titled "Deep or Simple Models for Semantic Tagging? It Depends on your Data," challenges this "deep-by-default" mentality. By comparing heavyweights like BERT against "simple" models like Logistic Regression (LR) and Support Vector Machines (SVM), the authors provide a pragmatic roadmap for model selection based on the specific characteristics of your dataset.
TL;DR
Deep learning isn't always the best choice for semantic tagging. While BERT excels on small datasets, simple models like SVM and Logistic Regression often match or even exceed deep learning performance on large, imbalanced, or "dirty" datasets—all while being orders of magnitude faster and cheaper to train.
What Problem Does This Paper Address?
Semantic tagging—identifying whether a text snippet conveys a specific meaning like "humor," "a tip," or "an argument"—is a foundational task in text mining. While practitioners often assume deep models are superior, there has been a lack of comprehensive, cross-domain evidence to support this.
Training deep models for every new tagging task is inefficient and expensive. The authors sought to answer: Are deep models truly the best performing models for all semantic tagging tasks? And if not, what dataset characteristics (size, label ratio, cleanliness) should steer a developer toward a simpler approach?
Methods
The researchers conducted a systematic comparison between two classes of models:
- Deep Models: CNN, LSTM, and BERT (the representative attention-based model).
- Simple Models: Logistic Regression (LR) and Linear SVM, using Bag-of-Words (unigrams and bigrams) with TF-IDF weighting.
They evaluated these models across 21 datasets, categorizing them into a taxonomy based on:
- Size: Small (<100k records) vs. Large.
- Label Ratio: Low (<25% positive labels, i.e., imbalanced) vs. High.
- Cleanliness: Clean (human-annotated) vs. Dirty (rule-generated labels).
Datasets
The study utilized 21 textual datasets across five application domains:
- Tip Tagging: SUGG, HOTEL, SENT, PARA.
- Humor Detection: HOMO, HETER, FUNNY, and a balanced version, FUNNY*.
- Spoiler Detection: TV, BOOK, and a balanced version, BOOK*.
- Argument Mining: EVAL, REQ, FACT, REF, QUOTE, ARGUE, SUPPORT, AGAINST.
- Sentiment Analysis: AMAZON, YELP.
The "dirty" datasets (FUNNY and BOOK) are particularly interesting as their labels were derived from noisy metadata (e.g., number of "funny" votes or spoiler alerts) rather than direct human annotation.
Key Insights and Ideas
- The "Complementary" Nature of Models: Deep models and simple models are not rivals so much as they are tools for different scenarios. Deep models (especially BERT) are "data-efficient" in the sense that they perform significantly better on small datasets by leveraging pre-trained knowledge.
- Simple Models Scale Better: As the number of training examples increases, the performance gap between simple and deep models narrows. On very large datasets, the marginal gain of using BERT often doesn't justify the cost.
- The "Dirty Data" Advantage: Surprisingly, simple models can achieve better tagging quality than deep models when labels are "dirty" or the dataset is severely imbalanced. Deep models can overfit to the noise in rule-generated labels, whereas simple models rely on broader word occurrence patterns that prove more robust.
- Informative Tokens: In clean datasets like Sentiment, top informative tokens are semantic (e.g., "great," "love"). In dirty datasets, the most "informative" tokens for deep models were often stop words (e.g., "that," "on"), suggesting that deep models were picking up on structural noise rather than semantic meaning.
Key Results
The quantitative trade-offs are stark. While BERT achieved the highest F1 scores on 19 out of 21 datasets, the efficiency gap was massive.
As shown in Figure 4, deep models take 30x to 130x longer to train than simple models. On large datasets, simple models take less than 500 seconds on a single CPU, while BERT can take days on multiple high-end GPUs.
Key performance findings include:
- Small Datasets: BERT outperformed simple models by a large margin (0.16 F1 gain on Small-L datasets).
- Large & Imbalanced (Large-L): Simple models actually won, outperforming deep models by an average of 0.03 F1.
- Large & Balanced (Large-H): BERT's lead was marginal (only 0.02 F1 higher than simple models), despite the massive difference in training time.

Comparing Figure 1 and Figure 2 (above) highlights how performance drops across the board for imbalanced (Low ratio) datasets, but simple models (LR/SVM) remain surprisingly competitive against CNNs and LSTMs.
Limitations and Future Work
The authors acknowledge that their study focuses primarily on short text (sentences or paragraphs) and binary classification. While they briefly extended the study to Named Entity Recognition (NER) and Knowledge Extraction, they suggest that more research is needed to see if these findings hold for long-form documents or more complex multi-class structures.
Additionally, the study suggests that future work could investigate better calibration techniques for deep models to help them handle imbalanced and dirty data as effectively as their simpler counterparts.
Summary updated