SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.02013 · AAAI · 2024

SwitchTab: Switched Autoencoders Are Effective Tabular Learners

Qi Zhao, Jing Wu, Chen Li, Cheng Ji, Shengjie Liu, Suiyao Chen, Renat Sergazinov, Chongchao Zhao, Tianpei Xie, Hanqing Guo, Daniel Cociorva, Hakan Brunzell

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 8 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Alcoholrithm/TabularS3L — 6 of 8
FunctionStatusWhere it lives
BaseBackboneConfig Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("0d6f7a3e666be774")
BaseEmbeddingConfig Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("70e55be994d5f0a7")
Decoder Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("69bb1412fb74ae75")
FeatureTokenizer Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("eaeaa331c4efb57c")
Projector Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("042f6295d2f20765")
TS3LEmbeddingModule Ran Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("6dd6f4ba173ad9c9")
SwitchTab Not yet run Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("27476cf787096e92")
TS3LModule Not yet run Alcoholrithm/TabularS3L/ts3l/models/switchtab/switchtab.py
code served (permissive licence) · get_code("e94fc1c479804dcf")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Self-supervised representation learning methods have achieved significant success in computer vision and natural language processing (NLP), where data samples exhibit explicit spatial or semantic dependencies. However, applying these methods to tabular data is challenging due to the less pronounced dependencies among data samples. In this paper, we address this limitation by introducing SwitchTab, a novel self-supervised method specifically designed to capture latent dependencies in tabular data. SwitchTab leverages an asymmetric encoder-decoder framework to decouple mutual and salient features among data pairs, resulting in more representative embeddings. These embeddings, in turn, contribute to better decision boundaries and lead to improved results in downstream tasks. To validate the effectiveness of SwitchTab, we conduct extensive experiments across various domains involving tabular data. The results showcase superior performance in end-to-end prediction tasks with fine-tuning. Moreover, we demonstrate that pre-trained salient embeddings can be utilized as plug-and-play features to enhance the performance of various traditional classification methods (e.g., Logistic Regression, XGBoost, etc.). Lastly, we highlight the capability of SwitchTab to create explainable representations through visualization of decoupled mutual and salient features in the latent space.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.02013")
get_code_for_paper("2401.02013")
have("2401.02013")

Connect an agent — have() is free.