arXiv(opens in a new tab)Computer ScienceNov 2021Cited by 8 papers on PaperVantage

Manuscript Offprint

arXiv:2106.03253

Tabular data: Deep learning is not all you need

Ravid Shwartz-Ziv, Amitai Armon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A key element in solving real-life data science problems is selecting the types of models to use. Tree ensemble models (such as XGBoost) are usually recommended for classification and regression problems with tabular data. However, several deep learning models for tabular data have recently been proposed, claiming to outperform XGBoost for some use cases. This paper explores whether these deep models should be a recommended option for tabular data by rigorously comparing the new deep models to XGBoost on various datasets. In addition to systematically comparing their performance, we consider the tuning and computation they require. Our study shows that XGBoost outperforms these deep models across the datasets, including the datasets used in the papers that proposed the deep models. We also demonstrate that XGBoost requires much less tuning. On the positive side, we show that an ensemble of deep models and XGBoost performs better on these datasets than XGBoost alone.

Keywords Tabular data ⋅\cdot Deep neural networks ⋅\cdot Tree-based models ⋅\cdot Hyperparameter optimization

1 Introduction

Deep neural networks have demonstrated great success across various domains, including images, audio, and text (Devlin et al., 2019; He et al., 2016; van den Oord et al., 2016). There are several canonical architectures for encoding raw data into meaningful representations in these domains. These canonical architectures usually perform well in real-world applications.

In real-world applications, the most common data type is tabular data, comprising samples (rows) with the same set of features (columns). Tabular data is used in practical applications in many fields, including medicine, finance, manufacturing, climate science, and many other applications that are based on relational databases. During the last decade, traditional machine learning methods, such as gradient-boosted decision trees (GBDT) (Chen and Guestrin, 2016), still dominated tabular data modeling and showed superior performance over deep learning. In spite of their theoretical advantages (Shwartz-Ziv et al., 2018; Poggio et al., 2020; Piran et al., 2020), deep neural networks pose many challenges when applied to tabular data, such as lack of locality, data sparsity (missing values), mixed feature types (numerical, ordinal, and categorical), and lack of prior knowledge about the dataset structure (unlike with text or images). Moreover, deep neural networks are perceived as a "black box" approach – in other words, they lack transparency or interpretability of how input data are transformed into model outputs (Shwartz-Ziv and Tishby, 2017). Although the “no free lunch” principle (Wolpert and Macready, 1997) always applies, tree-ensemble algorithms, such as XGBoost, are considered the recommended option for real-life tabular data problems (Chen and Guestrin, 2016; Friedman, 2001; Prokhorenkova et al., 2018a).

Recently, there have been several attempts to develop deep networks for tabular data (Arik and Pfister, 2021; Katzir et al., 2021; Popov et al., 2020), some of which have been claimed to outperform GBDT. However, each work in this field used different datasets since there is no standard benchmark (such as ImageNet (Deng et al., 2009) or GLUE (Wang et al., 2018)). As a result, it is challenging to compare tabular data models accurately, noting that some lack open-source implementations. In addition, papers that attempted to compare these models often did not optimize them equally. Thus, it became unclear whether deep learning models for tabular data surpass GBDT and which deep learning models perform best. These obscurities impede the research and development process and make the conclusions from these papers unclear. As the number of papers on deep learning for tabular data is rising, we believe it is time to rigorously review recent developments in this area and provide more substantiated conclusions that will serve as a basis for future research. The main purpose of this study is to explore whether any of the recently proposed deep models should indeed be a recommended choice for tabular dataset problems. There are two parts to this question: (1) Are the models more accurate, especially for datasets that did not appear in the paper that proposed them? (2) How long do training and hyperparameter search take in comparison to other models?

To answer these questions, we evaluate these recently proposed deep learning models and XGBoost on diverse tabular datasets with the same tuning protocol. We analyze the deep models proposed in four recent papers using eleven datasets, nine of which were used in these papers. We show that in most cases, each deep model performs best on the datasets used in its respective paper but significantly worse on other datasets. Additionally, our study shows that XGBoost usually outperforms deep models on these datasets. Furthermore, we demonstrate that the hyperparameter search process was much shorter for XGBoost. On the positive side, we examine the performance of an ensemble of deep models combined with XGBoost and show that this ensemble gives the best results. It also performs better than an ensemble of deep models without XGBoost, or an ensemble of classical models.

Of course, any selection of tabular datasets cannot represent the full diversity of this type of data, and the ”no free lunch“ principle means that no one model is always better or worse than any other model. Still, our systematic study demonstrates that deep learning is currently not all we need for tabular data, despite the recent significant progress.

The paper is organized as follows: Section 2 provides a background and overview of the models for tabular data. Next, section 3 presents the experimental setup and results. Finally, the discussion, conclusions, and suggested future work are included in section 4.

References (37)