Mambular
Mambular, a tabular model that treats the features of a row as a sequence and runs them through Mamba layers.
Tabular and recommender · 403 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 305.7K
- Operations
- 403
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Cited by
- 37 (as of 25 November 2026)
- Authors
- Anton Frederik Thielmann, Manish Kumar, Christoph Weisser and others
- Source
- GitHub: basf/mamba-tabular
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18314
- Graph hash
- 83b1523e11b6c1e04c254e283dedb722d01d0995cd13fa1f8b98abedbe8b3235
- Skeleton hash
- b9b7dd8fc6e11682cc37b0146b1b25ad8a2becb5839e4be231987a89d955f600
- Architecture hash
- ec58223d2bb1f2cd0f86a776cced4f97cfb00d1477b7690d4728e9ebbf9a4f86
- Diagram SHA-256
- 8866b0b484444476d2e2327972a5940b3feee14bbf40fed67b61dcea2757e98c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Mambular is a tabular adaptation of Mamba: it treats the features of a table row as a sequence and passes them through Mamba layers. The paper sets this against a field in which gradient-boosted decision trees have traditionally dominated the analysis of tabular data. Its finding is that interpreting features as a sequence and processing them through structured state-space layers can improve performance.
Each feature takes one position in the sequence, so the sequence length is the number of variables. Categorical features are tokenized and embedded, each with its own distinct vocabulary, and numerical features are encoded and then embedded through a simple linear layer. The embeddings are then passed jointly through a stack of Mamba layers, which include one-dimensional convolutional layers and a state-space model.
For its benchmarks the paper uses a basic configuration with average pooling, no feature interaction layer and no bi-directional processing, and it always places numerical features before categorical ones. In those benchmarks the paper reports CatBoost as the best-performing model overall and Mambular as the top-performing neural model on average across its datasets.
Key idea. The paper adapts Mamba to tabular data by interpreting the features as a sequence and processing them through structured state-space layers.
- Mambular
- tabular deep learning
- tabular data
- state-space model for tables
- sequential tabular model
- tabular regression
- tabular classification
- features as a sequence
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{thielmann2025mambularsequentialmodeltabular,
title={Mambular: A Sequential Model for Tabular Deep Learning},
author={Anton Frederik Thielmann and Manish Kumar and Christoph Weisser and Arik Reuter and Benjamin Säfken and Soheila Samiee},
year={2025},
eprint={2408.06291},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2408.06291},
}