In the era of massive neural networks, there is a tempting assumption that deep learning models—particularly transformer-based architectures—are universally superior to traditional machine learning techniques. However, across diverse domains ranging from low-resource natural language processing to tabular health forecasting and molecular modeling, a more nuanced reality emerges.
Systematic, multi-architecture benchmarking reveals that the choice between traditional machine learning (such as Support Vector Machines, Random Forests, and Logistic Regression) and deep learning is not a simple matter of upgrading to the newest architecture. Instead, it represents a fundamental trade-off between representational power, computational efficiency, data geometry, and robustness.
Feature Engineering vs. Representation Learning
The core divide between traditional and deep learning models lies in how they process input data. Traditional machine learning models rely on explicit, human-engineered features, such as Bag-of-Words, TF-IDF vectors, or manual acoustic and tabular extractions. Deep learning models, by contrast, perform end-to-end representation learning, mapping raw inputs into continuous, contextual vector spaces.
When establishing baselines for specialized text classification, this distinction becomes highly visible. For example, the authors of GSAC: A Gujarati Sentiment Analysis Corpus from Twitter and HOMO-MEX: A Mexican Spanish Annotated Corpus for LGBT+phobia Detection on Twitter systematically compared classic classifiers using TF-IDF features against fine-tuned BERT architectures. They found that while feature-based models are highly effective at catching explicit keywords and surface-level signals, they struggle when the task requires an understanding of syntax, context, or implicit sentiment. Representation learning overcomes this by embedding words within a holistic context, allowing the model to generalize beyond the exact vocabulary present in the training set.
When and Why Deep Learning Excels
Deep learning models consistently demonstrate their superiority in tasks characterized by sequential dependencies, morphological complexity, or semantic nuance.
In natural language processing, transformer-based models like BERT excel because their self-attention mechanisms capture long-range dependencies and polysemy. For instance, A Kalaivani et al. (SSN_NLP_MLRG at SemEval-2020 Task 12: Offensive Language Identification in English, Danish, Greek Using BERT and Machine Learning Approach) and Rajalakshmi Sivanaiah et al. (TECHSSN at SemEval-2020 Task 12: Offensive Language Detection Using BERT Embeddings) show that BERT-based models significantly outperform traditional deep learning (like 1D/2D-CNNs and BiLSTMs) and classic machine learning when identifying offensive and targeted language on social media. The contextual embeddings allow the network to resolve the ambiguous or sarcastic phrasing typical of online speech.
This advantage is magnified in low-resource or morphologically rich languages. In studies focusing on Dravidian languages like Tamil and Malayalam, the authors of cuetRaptors@DravidianLangTech 2025: Transformer-Based Approaches for Detecting Abusive Tamil Text Targeting Women on Social Media and CUET_Absolute_Zero@DravidianLangTech 2025: Detecting AI-Generated Product Reviews in Malayalam and Tamil Language Using Transformer Models observed that pre-trained multilingual and fine-tuned transformer models handle complex morphology and token overlap far better than tree-based or recurrent alternatives.
Furthermore, deep learning allows for domain adaptation. As demonstrated by Jinmo Kim et al. (LERCause: Deep learning approaches for causal sentence identification from nuclear safety reports), initializing a model with domain-specific weights (such as BioBERT or SciBERT) yields a massive performance leap over traditional classifiers when extracting highly specialized information like causal relationships from safety reports.
The Geometry of Data and the Resilience of Classic Models
If deep learning is so powerful, why do traditional models remain competitive? The answer often lies in the geometry of the underlying data space.
Neural networks inherently assume a smooth, continuous underlying manifold where small changes in the input space correspond to small changes in the output space. When this assumption is violated, deep learning struggles. Jun Xia et al. (Why Deep Models Often Cannot Beat Non-deep Counterparts on Molecular Property Prediction?) investigated why deep models frequently fail to beat non-deep counterparts on molecular property prediction. They discovered that molecular data spaces are highly irregular and non-smooth; a tiny structural modification to a molecule can radically alter its properties. In these rugged landscapes, tree-based models (like XGBoost and Random Forests) operating on discrete molecular fingerprints outperform deep architectures because they partition the space using hard, orthogonal decision boundaries rather than trying to fit a smooth continuous function.
Smooth Data Manifold (NLP, Images) Irregular/Rugged Space (Molecules, Tabular)
Deep Learning Excels Tree Models Excel
▲ ▲
│ _..-─-.._ │ ┌─┐
│ .' `. │ ┌─┘ └─┐
│ / \ │ │ └─┐
└──┴─────────────┴──► └─┴───────┴─►
Beyond data geometry, traditional models offer a massive pragmatic advantage: computational efficiency. In Clause Topic Classification in German and English Standard Form Contracts, the authors noted that while BERT achieved the highest overall accuracy, simpler models like Logistic Regression provided highly competitive results at a fraction of the computational and environmental cost. When deploying systems in production, the marginal utility of a 2% accuracy gain from a transformer rarely justifies the massive increase in latency and hardware requirements.
Robustness, Noise, and Sequence Constraints
Benchmarking also reveals how different architectures behave under data constraints and noise. For purely sequential or time-series data, recurrent neural networks (LSTMs and GRUs) often edge out both traditional models and standard transformers by explicitly preserving temporal order. This is evident in macro-prediction tasks like drought forecasting (Weiwei Jiang et al. (An evaluation of machine learning and deep learning models for drought prediction using weather data)) and behavioral tracking like student performance prediction from clickstream data (Yutong Liu et al. (Predicting Student Performance Using Clickstream Data and Machine Learning)).
However, when data quality degrades, the vulnerability of deep models becomes apparent. Divya Bhadauria et al. (The Effects of Data Quality on Named Entity Recognition) systematically evaluated Conditional Random Fields (CRFs), LSTMs, and BERT under various noise conditions. They found that while deep models handle minor perturbations well, specific structured noise—such as optical character recognition (OCR) errors—can severely disrupt tokenization and contextual embeddings, degrading deep learning performance to the point where simpler, more rigid statistical models become preferable.
Uncovering Spurious Shortcuts Through Benchmarking
Perhaps the most profound insight generated by comparative evaluation is that high performance does not guarantee genuine understanding. By benchmarking simple models against complex ones, researchers can diagnose whether a deep network has actually learned the underlying logic of a task or merely exploited statistical shortcuts.
This phenomenon was explicitly uncovered by Casper Hansen et al. (Automatic Fake News Detection: Are Models Learning to Reason?). The authors compared Random Forests, LSTMs, and BERT on fact-checking tasks to see if they truly reason by cross-referencing claims with evidence. Surprisingly, they discovered that the deep models often performed best when the claim was completely removed from the input.
This counterintuitive result revealed a critical flaw: the deep models were not "reasoning" at all. Instead, their massive capacity allowed them to overfit to subtle stylistic biases and linguistic artifacts inherent within the evidence text itself. A simpler model, constrained by feature engineering, forces a more transparent relationship with the data, highlighting the degree to which deep learning's apparent superiority can sometimes be an illusion driven by spurious correlations.
Key Foundational Work
Deep Learning for Forecasting Stock Returns in the Cross-Section (2018) — contributed 2 concept elements to this direction.
Ciron: a New Benchmark Dataset for Chinese Irony Detection (2020) — contributed 1 concept elements to this direction.
SSN_NLP_MLRG at SemEval-2020 Task 12: Offensive Language Identification in English, Danish, Greek Using BERT and Machine Learning Approach (2020) — contributed 1 concept elements to this direction.