Machine Learning · arXiv:2609.31306 v3 · submitted 25 Sep 2026
Benchmarking Attention for Tabular Foundation Models
The paper says
“Tabular in-context learners such as TabPFN, Mitra, or ConTextTab rely on alternating row and column attention over 2D sequences of latent embeddings.”
more of the abstract
These attention patterns differ markedly from the one-dimensional case in language models: row attention involves longer sequences while column attention operates on much shorter ones, and the strided memory layout of tabular data makes producing contiguous tensors costly. Moreover, the hidden dimensions used in current models are small compared to recent language models. Yet efficient attention has been studied mostly for one-dimensional sequences, leaving the two-dimensional tabular setting unexplored. To this end, we create a reproducible benchmarking setup and study the unique characteristics of tabular attention across several backends – Torch SDPA (efficient and cuDNN), FlashAttention-2/3/4, and the inference-only backends vLLM and SageAttention – measuring forward and backward throughput across realistic tabular shapes on three GPU generations (A100, H100, B200). We find that the optimal backend choice differs between column and row attention and varies across hardware as well as model specifics: While the FlashAttention implementations tailored for each GPU generation perform overall best, they are at times outperformed by CuDNN in the case of column attention at longer sequences with cross-over points depending on the head dimension. Among inference-only backends, SageAttention performs well for row attention and large sequences beyond 16\,k rows. Our reproducible benchmark lays the foundation for future improvements to table-native attention. The self-contained benchmarking and evaluation code is openly available at: https://github.com/SAP-samples/tabular-attention-benchmark
from the abstract
Pith says
Machine review · deepseek-v4-flash · 28 Sep 2026 · of version 1 of the paper; version 3 is newer · what was read was not recorded · not checked by a person
It can be wrong. Challenge this review or reply to it.
Holds up, with conditions. Careful, reproducible tabular-attention benchmark with a genuinely useful copy-overhead analysis; the deployment recommendation outruns the N×N measurements, and Appendix A.2 is a TODO placeholder sitting directly on the contested inference claim. This line is wrong
2 major objections · 5 minor
How often objections from reviews like this one are right: not yet measured
Not checked: figures, code, what the references say.
The paper says, at Section 3 ('Attention patterns', b70–b72); Section 5, Eq. (2); Section 4 (inference recommendations)
The review did not quote this passage.
Pith says: Objection 1 of 2 · major
The representativeness claim for single-query inference is unsupported and is load-bearing for the paper's practical recommendations. All measurements use N×N bidirectional attention with both Q and K of length N, and the roofline argument in Eq. (2) derives OI = N/2 and a ridge point near N≈1000 from that regime.
more of objection 1
In the deployment regime the paper claims to represent, row-attention inference has a single query (Q length 1) against K and V of length N, so forward FLOPs are O(N) rather than O(N²), the operational intensity is approximately 0.5 FLOP/byte at every sequence length, the compute-bound crossover never occurs, and the O(N) copy cost is never amortized. The mechanistic story that justifies 'FA3/FA4 dominate row attention by avoiding costly tensor copies and showing better sequence scaling' (b175) therefore has no force in that regime, and the measured ranking — governed by compute saturation at N×N — need not transfer to a regime governed by kernel launch overhead, achieved strided-read bandwidth, and absolute copy cost. The authors acknowledge the idealization (b70) but the asserted representativeness (b72) is precisely what is unverified, and the appendix section that would settle it (A.2, 'A Note on Tabular Attention in different Model Families') is an unfinished TODO placeholder. I ask the authors to either (a) add measurements with Q length 1 against long K/V (this also directly tests the SageAttention-for-inference recommendation), or (b) restrict the claims to the training (full-table) regime, for which the N×N results are sound, and mark the inference recommendations as untested hypotheses.
The paper says, at Section 5 (Eq. (3), Figure 4, right) and Appendix B figures (n=None captions)
The review did not quote this passage.
Pith says: Objection 2 of 2 · major
The quantitative copy-overhead decomposition that anchors the central conclusion is shown for exactly one configuration (H100, H=12, D=64), and the supplementary figures that are invoked to establish 'consistent patterns' report their repetition count as 'n=None' in the captions (Figures 7–14), so the reader cannot tell whether the ±1σ bands rest on 3 or 50 repetitions.
more of objection 2
Given the cross-over points in the head-dimension ablation (Figure 3) and the batch-size sensitivity admitted in the limitation statement (b184), the paper should either add one or two additional decompositions (e.g., D=32 on H100, or the B200/FA4 case) or explicitly state that the copy-dominance story is quantified only for the single presented configuration, with the other configurations supporting only qualitative agreement.
5 minor objections
The paper says, at Appendix A.2
Pith says: minor objection 1 of 5
Appendix A.2 consists of a single 'TODO:' line placeholder; it should be completed with the promised discussion of cross-attention, masked attention, and TabICL-style layouts, or removed, since a submitted manuscript should not ship an unfinished appendix that the main text implicitly relies on.
The paper says, at Appendix B.2–B.3
Pith says: minor objection 2 of 5
There are several typos that should be cleaned up, e.g., 's slightly idealized' (Section 3), 'THe result', 'bascially', 'irregardless', and 'configrations' in Appendix B.
show 3 more
The paper says, at Figure 3 caption
Pith says: minor objection 3 of 5
The caption states D∈{16,...,256} while the legend shows only D∈{16,32,64,128}; please clarify how many head dimensions were actually swept and which are plotted.
The paper says, at Figure 15 and Appendix C.2
Pith says: minor objection 4 of 5
The claimed 11–14% throughput improvement of the agent-optimized FA4 kernel should be stated numerically in the caption or text together with the variance across repetitions and the sequence-length range in which the regression occurs, rather than relying on a figure without visible error bars.
The paper says, at Appendix B.1
Pith says: minor objection 5 of 5
The batch-size sweep (Figure 5) is run with the cuDNN backend only, so it supports cuDNN's own batch invariance but not invariance of the cross-backend rankings; given that b184 explicitly allows larger batches to 'alter the relative standing of backends', an explicit acknowledgment that rank invariance across backends was not swept would be appropriate.
What would settle it
Measure the actual single-query cross-attention shape using the released benchmark: for row attention, Q of shape (num_test, H, C=64, D=64) and K, V of shape (num_train, H, 64, 64), bf16, on H100, with num_train ∈ {1024, 4096, 16384} and num_test small (1–32). Compare forward throughput of SDPA (efficient), SDPA (cuDNN), and FA3, and check whether the FA3-over-cuDNN order from the N×N curves (Fig. 1b) is preserved at every num_train. If cuDNN or SDPA (efficient) wins at any realistic num_train — plausible because the regime is memory-bound and the K/V copy is a fixed O(N) tax never amortized by quadratic compute — then the b175 deployment recommendation must be revised and the b72 representativeness claim withdrawn or re-scoped to training.
from the skeptic's reading
How the review went
4 readings by deepseek-v4-flash · 28 Sep 2026
- Reader holds up, with conditions
- Skeptic partly agrees
- Editor wrote the verdict above
- Referee major revision: 2 major objections, 5 minor
Not run on this paper: the simulated authors' defence.
Pith did not check this review's objections against the paper.
The review in full
The review in brief, machine-written
What you should know: this is a careful, well-released benchmark of attention backends for 2D tabular row/column attention, and the copy-overhead analysis is the real new analytical result. The deployment recommendation overreaches: the N×N symmetric measurements may not transfer to single-query inference, and the appendix section that would settle it is unfinished.
What is actually good: it is the first systematic backend characterization for the tabular 2D setting, across A100/H100/B200, several head-dimension configurations, forward and backward, with code and raw results released. The protocol is exemplary — CUDA events, L2 flush, clock stabilization, 3–50 repetitions, ±1σ, wrappers validated against a naive math backend. Section 5 is the strongest part: OI = N/2, ridge near N≈1000, and measured strided-copy bandwidth fed into a simple additive model that tracks cuDNN well at medium row lengths (N=256–1024), with the deviation at long N honestly attributed to FA3's kernel efficiency rather than swept under the model. There are no fitted parameters tuning conclusions to reproduce measurements; the circularity burden is genuinely low. The agent-based FA4 optimization in Appendix C shows uncommon scientific hygiene — failed directions, composability failures, and the fact that row attention did not improve are all reported.
The soft spot is the load-bearing claim. For training, where the full table is attended, N×N is the real shape and the measurements stand. But the paper asserts (b72) the symmetric setup is "close to the single-query inference case," and that is wrong or at least unverified. Real tabular inference is cross-attention with asymmetric Q/K lengths; at Q length 1 the forward FLOPs are O(N), not O(N²), so the operational intensity is ~0.5 FLOP/byte at every N — memory-bound at all lengths, the copy overhead is never amortized by quadratic compute, and the FA3 "better sequence scaling" justification loses its force. Appendix A.2, precisely where this would be discussed, reads "TODO: Discuss cross-attention, masked attention, TabICL-like layouts." The authors are honest about idealizing the setup (b70); the problem is the representativeness assertion and the deployment recommendations that rest on it.
Minor: several appendix figure captions omit repetition counts ("n=None"), and the B=1 limitation is acknowledged but real.
Bottom line: solid, honest empirical work with a released repo and a genuine analytical contribution. The training-facing results are reliable. The inference-facing claims need either asymmetric-regime measurements or explicit rescoping. This deserves a serious referee.
The strongest objection
The central claim (b175) is that FA3/FA4 dominate row attention 'by avoiding costly tensor copies and showing better sequence scaling.' The mechanistic support is Section 5: Eq. 2 gives OI = N/2, the ridge point sits near N≈1000, and row attention 'transitions toward the compute-bound regime,' so the O(N) copy overhead is amortized by O(N²) compute. But this is derived for N×N attention, with both Q and K of length N. The deployment regime the paper claims to represent (b70, b72) is single-query inference, where Q has length 1 and K,V come from the training rows. There the forward FLOPs are 4·H·N·D — linear, not quadratic — so the operational intensity is ~0.5 FLOP/byte at every N, far below the ridge point. The regime is memory-bound at all sequence lengths, the 'better sequence scaling' argument has no force, and the copy cost is never amortized. The ranking measured at N×N — where cuDNN/FA tradeoffs are governed by compute saturation — need not match the query-length-1 ranking, where kernel launch overhead, achieved bandwidth for strided K/V reads, and the absolute copy cost dominate. The authors openly acknowledge the idealization (b70) and assert representativeness (b72), but the assertion is precisely what is unverified, and the appendix section that would settle it (A.2, 'A Note on Tabular Attention in different Model Families') is an unfinished TODO placeholder. Note that this does not invalidate the training-facing results — during training the full table is attended so N×N is representative, and the backward-pass measurements stand — but it undercuts the deployment recommendation that mixes cuDNN/SageAttention/FA based on the N×N curves. This is a scope-of-claim problem, not a measurement-quality problem: the protocol (L2 flush, clock stabilization, released code and raw results) is exemplary for what it measures.
The reader's weakest_assumption — that the benchmark substitutes full bidirectional attention for the cross-attention/masking actually used by TabPFN, Mitra, and ConTextTab — is correct, and I partially agree with it. My independent pass sharpens the concern beyond 'backend rankings may not transfer': the paper's own mechanistic explanation for FA3's row-attention advantage, the Section 5 roofline (Eq. 2, OI=N/2, ridge at N≈1000, transition to compute-bound), is structurally inapplicable to single-query inference, where a query length of 1 makes forward FLOPs linear in N. The very argument the paper uses to show the copy overhead is amortized ('better sequence scaling') cannot hold in the regime the paper claims to represent (b72). That is a concrete, falsifiable failure of the transfer argument rather than a vague worry about kernel idiosyncrasies. The authors do acknowledge the idealization (b70) and list kernel-isolation limits (b182), and I give full credit to the careful protocol — CUDA-event timing with L2 flush, clock stabilization, cold-cache measurement, released code and raw result files — so the N×N findings stand on their own. What remains unresolved is the specific representativeness claim (b72) and the deployment recommendation built on it; the appendix section dedicated to cross-attention and masking (A.2) is an unfinished TODO. This does not invalidate the training-oriented conclusions or the copy-overhead analysis for N×N attention, which is why I hold the paper at CONDITIONAL rather than REJECT: the fix is a single-query cross-attention measurement, or a re-scoping of the inference claims. The reader's verdict is unchanged in direction; my contribution is making the transfer failure mechanistic and therefore testable.
The referee's report
If the results hold, the paper fills a genuine gap: efficient attention has been optimized almost exclusively for LLM-shaped 1D sequences, while tabular models use 2D row/column attention with small head dimensions and strided layouts. The measurement protocol is a genuine strength — CUDA-event timing, L2 cache flushing, clock stabilization, 3–50 repetitions with ±1σ, and wrapper validation against a naive math backend — and Section 5's quantitative decomposition, where t_FA3 + t_copy tracks the cuDNN measurements at medium sequence lengths (Figure 4, right), is a credible, parameter-free attribution of the observed gap. Because the measured objects are independently developed external backends on external hardware, the claims are non-circular, and the released code and raw results make the study reproducible. The main risk is the unverified transfer of the N×N rankings to the single-query inference regime that the paper explicitly claims to represent (b70–b72).
Pith's reading of the paper (a machine's summary, not the authors')
This paper asks which attention kernel implementation is fastest for tabular foundation models — transformer-based in-context learners such as TabPFN, Mitra and ConTextTab that alternate attention across rows and across columns of a 2D embedding tensor. It argues that the two attentions live in different regimes: column attention runs over short, contiguous sequences and is memory-bound, while row attention runs over long, strided sequences where the cost of making tensors contiguous can dominate. Benchmarking seven backends on three GPU generations, it finds the optimal choice depends on the attention pattern: SDPA (efficient) wins very short column sequences, cuDNN wins longer column sequences, and FlashAttention-3/4 win row attention by accepting strided tensors and avoiding copies. The upshot is a mixed-backend strategy, with a roofline analysis attributing the row-attention gap to copy overhead rather than to the mathematics of attention. The reproducible benchmark and code are released with the paper.
What carries the argument. The load-bearing object is the five-dimensional tabular layout $(B,R,C,H,D)$ and the asymmetry it creates: column attention runs along a contiguous memory dimension (a zero-copy reshape plus one output copy), while row attention requires a transpose to $(B\cdot C,H,R,D)$ that is non-contiguous and forces three $.\text{contiguous}()$ copies for Q, K and V — unless the backend supports strided tensors, as FlashAttention-3/4 do. The paper also builds a roofline model: forward attention has operational intensity OI $= N/2$ FLOPs per byte, giving a ridge point near $N \approx 1000$ on the H100; column attention below that is memory-bound, row attention above it transitions to compute-bound. The measured copy bandwidth $\beta_{\text{copy}}$ saturates around 1.45 TB/s, well below peak HBM, because the strided read pattern prevents full bandwidth utilization — which explains why the copy dominates in the medium regime, where it costs $O(N)$ but has not yet been amortized against the $O(N^2)$ attention compute.
Core claim. The paper's central claim is that there is no single best attention backend for tabular transformers; the right backend depends on the attention pattern and on the GPU. For column attention — short sequences, contiguous memory, memory-bound with operational intensity $N/2$ — NVIDIA's cuDNN backend is best or near-best across hardware, with SDPA (efficient) winning only the shortest column counts through lower kernel-launch overhead. For row attention — long sequences, strided memory — FlashAttention-3 and FlashAttention-4 win by operating directly on strided tensors, avoiding the three $.\text{contiguous}()$ copies that cuDNN and SDPA require; the paper estimates that this copy tax dominates runtime in the medium row-sequence regime and grows linearly in head dimension $D$. The performance gap between best and worst backend can exceed 3$\times$ for a given shape, so backend selection matters in tabular deep learning.
The premise it rests on. The benchmark measures full bidirectional attention on synthetic tensors, while the real tabular models it claims to serve use cross-attention (test-row queries against training keys and values) or masked attention, and the paper's appendix leaves that discussion unfinished; the claim that the setup is 'close to the single-query inference case' is load-bearing, and that claim is questionable because single-query attention has a query length of 1 against long key sequences, a materially different kernel regime from the $N \times N$ attention measured.
If the paper is right (Pith's inferences, not the authors')
Practitioners should adopt a mixed-backend strategy: cuDNN for column attention and FlashAttention-3 (FlashAttention-4 on Blackwell) for row attention, falling back to SDPA (efficient) for very short column counts.
Backend choice can shift throughput by more than 3$\times$ for a fixed shape, so kernel selection matters as much as architecture in tabular transformer training.
For inference-only deployment on the H100, SageAttention's quantized attention becomes competitive on row attention beyond 16k rows, at the cost of approximate numerics that must be validated for accuracy.
Head-dimension constraints change the recommendation: FlashAttention-4 requires head dimensions of 128 on Hopper and 64/128 on Blackwell, which excludes it from small-head models such as TabPFNv2 and TabICL.
On future hardware with higher compute-to-bandwidth ratios, the memory-bound regime extends to longer column sequences and the relative copy tax on row attention grows, further favouring backends with strided-tensor support.
The paper's claim that full bidirectional attention is 'close to the single-query inference case' is the least tested part of the setup: single-query cross-attention has a query length of 1 against long keys, a kernel regime not measured here, and the rankings may not transfer — the appendix itself leaves the cross-attention discussion unfinished as a TODO.
A column-first layout $(B,C,R,H,D)$ should flip the roles of row and column attention; the paper shows the copy cost is layout-symmetric, which suggests a direct test of whether the mixed-backend recommendation survives the flip.
The agent-optimization results, where individual kernel improvements did not compose, point to shape-specialized compile-time dispatch (per-sequence-length kernels) as a more practical route to table-native attention than a single universally-tuned kernel.
An end-to-end comparison on a real tabular model would settle practical value: kernel-level gains may shrink once surrounding embedding and MLP layers dominate wall-clock time.
Check this review
Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.
How often reviews like this one are right
Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.
How often objections from reviews like this one are right: not yet measured
Reviews by people
This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.
The paper
Abstract
Tabular in-context learners such as TabPFN, Mitra, or ConTextTab rely on alternating row and column attention over 2D sequences of latent embeddings. These attention patterns differ markedly from the one-dimensional case in language models: row attention involves longer sequences while column attention operates on much shorter ones, and the strided memory layout of tabular data makes producing contiguous tensors costly. Moreover, the hidden dimensions used in current models are small compared to recent language models. Yet efficient attention has been studied mostly for one-dimensional sequences, leaving the two-dimensional tabular setting unexplored. To this end, we create a reproducible benchmarking setup and study the unique characteristics of tabular attention across several backends – Torch SDPA (efficient and cuDNN), FlashAttention-2/3/4, and the inference-only backends vLLM and SageAttention – measuring forward and backward throughput across realistic tabular shapes on three GPU generations (A100, H100, B200). We find that the optimal backend choice differs between column and row attention and varies across hardware as well as model specifics: While the FlashAttention implementations tailored for each GPU generation perform overall best, they are at times outperformed by CuDNN in the case of column attention at longer sequences with cross-over points depending on the head dimension. Among inference-only backends, SageAttention performs well for row attention and large sequences beyond 16\,k rows. Our reproducible benchmark lays the foundation for future improvements to table-native attention. The self-contained benchmarking and evaluation code is openly available at: https://github.com/SAP-samples/tabular-attention-benchmark
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.
abstract compiled · 2026-09-28
The authors' main claim, as the classifier picked it out 1.00
“We find that the optimal backend choice differs between column and row attention and varies across hardware as well as model specifics: While the FlashAttention implementations tailored for each GPU generation perform overall best, they are at times outperformed by CuDNN in the case of column attention at longer sequences with cross-over points depending on the head dimension.”
How the main claim is stated: asserted 1.00
What the abstract itself states, as probabilities: claims first 0.29 · states limitation 0.39 · human participants 0.02 · controlled comparison 0.27 · randomized assignment 0.01 · states quantitative result 0.89 · compares with prior results 0.81 · mentions code or data availability 0.99
The abstract, sentence by sentence
This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.
| Sentence | Role | The authors' own work | States the main conclusion | Strength |
|---|---|---|---|---|
| Tabular in-context learners such as TabPFN, Mitra, or ConTextTab rely on alternating row and column attention over 2D sequences of latent embeddings. | background 1.00 | 0.04 | 0.02 | asserted 1.00 |
| These attention patterns differ markedly from the one-dimensional case in language models: row attention involves longer sequences while column attention operates on much shorter ones, and the strided memory layout of tabular data makes producing contiguous tensors costly. | background 0.99 | 0.15 | 0.03 | asserted 1.00 |
| Moreover, the hidden dimensions used in current models are small compared to recent language models. | background 0.99 | 0.10 | 0.02 | asserted 1.00 |
| Yet efficient attention has been studied mostly for one-dimensional sequences, leaving the two-dimensional tabular setting unexplored. | gap 1.00 | 0.04 | 0.02 | asserted 1.00 |
| To this end, we create a reproducible benchmarking setup and study the unique characteristics of tabular attention across several backends -- Torch SDPA (efficient and cuDNN), FlashAttention-2/3/4, and the inference-only backends vLLM and SageAttention -- measuring forward and backward throughput across realistic tabular shapes on three GPU generations (A100, H100, B200). | contribution 0.57 | 0.97 | 0.04 | asserted 0.99 |
| We find that the optimal backend choice differs between column and row attention and varies across hardware as well as model specifics: While the FlashAttention implementations tailored for each GPU generation perform overall best, they are at times outperformed by CuDNN in the case of column attention at longer sequences with cross-over points depending on the head dimension. | result 1.00 | 0.96 | 0.77 | asserted 1.00 |
| Among inference-only backends, SageAttention performs well for row attention and large sequences beyond 16\,k rows. | result 1.00 | 0.93 | 0.09 | asserted 1.00 |
| Our reproducible benchmark lays the foundation for future improvements to table-native attention. | future work 0.81 | 0.59 | 0.14 | asserted 0.90 |
| The self-contained benchmarking and evaluation code is openly available at: https://github.com/SAP-samples/tabular-attention-benchmark | contribution 0.94 | 0.68 | 0.03 | asserted 0.99 |
What kind of paper the classifier reports this is: dataset or benchmark 0.74 · evidence from observation or experiment 0.98
What was examined, and what was not
Sources read
- arXiv listing abstract v1
Not examined
- full text
- figures and tables
- references and citing sentences
- relations to other papers
Levels run
- P abstract
Not run
- S sections
- T body sentences
- C citations
- R cross-paper relations
How the labels were made
Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-28: 1 request, 7,109 input tokens.
Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON
Figures (14)
Figures are the authors', reproduced from the paper.
Challenges and discussion
Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.
Come back by email
A short list of the week's newly reviewed papers. Nothing is sent until you confirm from your inbox, and every email has a link that stops it. No account.
No comments yet.
Sign in to comment