tabSutra

Structured FM · Explainer

Why language models fall short on tables

A language model can read a table and say something sensible about it. Predicting from a table is a different job. This article sets out where language models fail at it, and what the research shows.

9 minute read · 10 references

Reading a table is not predicting from it

A language model can describe a table, answer a question about one cell, or write the SQL that queries it. These are reading tasks, and language models are good at them.

Prediction is different. To score a loan or forecast demand, a model has to learn how many columns relate to an outcome across thousands of past rows, and then apply that to new rows. A language model can be asked to do this by writing the rows into the prompt as text, one row per line.10

The sections below look at what happens when it is.

Accuracy falls as columns are added

Garnelo and Czarnecki compared a frontier language model with eight classical methods on 31 benchmark datasets, adding columns step by step.1 The language model was the only one of the nine methods whose accuracy fell as the number of columns grew. By about 16 columns, on most datasets it did no better than always guessing the most common class.

They ruled out the obvious explanations. The model could find one relevant column among 60 when asked to. The number of decimal places made no difference. Smaller batches of test rows did not help.

Bordt and colleagues found the same pattern from another angle. Language models learn from a few examples less efficiently than classical statistical methods, and the gap grows as the number of dimensions grows.2

Business tables often have dozens to hundreds of columns. A credit file or a customer record is well past the point where these studies saw accuracy fall.

Rows do not fit, and every row costs money

A prompt has a size limit, and every value in it is paid for in tokens. Garnelo and Czarnecki estimate that a table of 100,000 rows and 20 columns comes to about 16 million input tokens. That is more than the context window of current frontier models. At $5 per million input tokens, one such prompt would cost about $80.1

The table below scales that estimate, at about 8 tokens per cell and $5 per million input tokens. It counts the input of one call only, before any output, retries or repeated runs.

Table sent as textInput tokensInput cost of one call
1,000 rows × 20 columns0.16 million$0.80
10,000 rows × 20 columns1.60 million$8.00
100,000 rows × 20 columns16 million$80
1,000,000 rows × 50 columns400 million$2,000

Business data is larger than this, and it is used again and again. A retailer forecasts millions of SKU and store pairs every week. A lender scores every account every month. Writing the data out as text for every call is slow and expensive. The time to process a prompt also grows with its length, so the wait grows with the table.

Long prompts have a further problem. Liu and colleagues showed that language models use information at the start and the end of a long context better than information in the middle.3 A row in the middle of a long table is read less reliably than a row at either end.

Numbers are read as text

A language model splits text into tokens, and numbers are split too. How they are split depends on the model. Some models split a long number into pieces of up to three digits, read from the left.4

Singh and Strouse showed that this choice alone changes how accurately frontier models do arithmetic. Writing the same numbers with commas, so that they split from the right, made the models more accurate.4 A model whose handling of a number depends on how the number is written is a weak base for predicting amounts.

The same data, laid out differently, gives a different answer

In a table, the order of rows and columns carries no meaning. To a language model, the table is a sequence of text, and order is part of the input.

Liu, Wang and Chen found that language models do worse when a table with the same content is presented in a different structure.5 In a business system, column order depends on how a table was exported. A prediction should not depend on it.

The same request can give a different answer

A credit decision, a reorder quantity or a provision must not change when the same request is run again.

Atil and colleagues ran five language models ten times each on eight tasks, with settings meant to be deterministic. Accuracy varied by up to 15% between runs, and no model gave identical outputs on all the tasks.6

Probabilities are written, not estimated

A lender needs a probability of default it can rely on, not just a ranking. When a language model gives a probability, it writes a number as text. Xiong and colleagues found that language models tend to be overconfident when asked to state their own confidence.7

A model built for tables returns probabilities and ranges as its output. They can be checked against what actually happened.

Memory is mistaken for skill

Language models are trained on much of the public internet, including many public datasets. Bordt and colleagues showed that language models have memorised popular tabular datasets, and do better on them than on datasets released after their training.2 Garnelo and Czarnecki found the same: their model recovered held-out labels of well-known datasets almost perfectly.1

So a good score on a public benchmark can overstate what a language model will do on a company's own data, which it has never seen.

Time series show the same pattern

Several forecasting methods have been built on top of language models. Tan and colleagues removed the language model from three of them, or replaced it with a single attention layer. The forecasts did not get worse, and in most cases they got better. The language model added a large compute cost and no accuracy.8

Where language models do help

Language models are useful around the prediction. They can find the right tables, write the query, explain a result in words, and read free text such as call notes or reviews.

With very few rows, a language model can also bring useful prior knowledge. Gardner and colleagues trained a language model on a large collection of tables. With 1 to 32 examples, it was more accurate than boosted trees and TabPFN.9 The advantage is real, but it sits where there is almost no data. The problems of columns, rows, cost and consistency above still apply.

The prediction itself, on business-scale tables, should come from a model built for tables. tabSutra is designed for that split. An assistant handles the request and finds the data, and tabSutra makes the prediction.

What a model built for tables does differently

ProblemLanguage modeltabSutra
Many columnsAccuracy falls as columns are addedBuilt to read tables with hundreds of columns
Many rowsAbout 8 tokens per cell, paid for in every callReads tens of thousands of rows as context, as data, not text
NumbersSplit into text tokensRead as quantities, on any scale
LayoutThe answer can change with row or column orderThe answer does not change
Repeat runsCan give different answersAlways the same answer
ProbabilitiesWritten as text, often overconfidentPredicted distributions that can be checked
BenchmarksCan be inflated by memorised dataThe current release was pretrained on synthetic data only

References

  1. Garnelo, M. and Czarnecki, W. M. Why Large Language Models Fail at Tabular Prediction. arXiv:2608.02412, 2026. arxiv.org/abs/2608.02412
  2. Bordt, S., Nori, H., Rodrigues, V., Nushi, B. and Caruana, R. Elephants Never Forget: Memorization and Learning of Tabular Data in Large Language Models. arXiv:2404.06209, 2024. arxiv.org/abs/2404.06209
  3. Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F. and Liang, P. Lost in the Middle: How Language Models Use Long Contexts. Transactions of the ACL, 2024. arxiv.org/abs/2307.03172
  4. Singh, A. K. and Strouse, D. Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs. arXiv:2402.14903, 2024. arxiv.org/abs/2402.14903
  5. Liu, T., Wang, F. and Chen, M. Rethinking Tabular Data Understanding with Large Language Models. NAACL, 2024. arxiv.org/abs/2312.16702
  6. Atil, B. et al. Non-Determinism of “Deterministic” LLM Settings. arXiv:2408.04667, 2024. arxiv.org/abs/2408.04667
  7. Xiong, M., Hu, Z., Lu, X., Li, Y., Fu, J., He, J. and Hooi, B. Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs. ICLR, 2024. arxiv.org/abs/2306.13063
  8. Tan, M., Merrill, M. A., Gupta, V., Althoff, T. and Hartvigsen, T. Are Language Models Actually Useful for Time Series Forecasting? NeurIPS, 2024. arxiv.org/abs/2406.16964
  9. Gardner, J., Perdomo, J. C. and Schmidt, L. Large Scale Transfer Learning for Tabular Data via Language Modeling. NeurIPS, 2024. arxiv.org/abs/2406.12031
  10. Fang, X. et al. Large Language Models (LLMs) on Tabular Data: Prediction, Generation, and Understanding. A Survey. Transactions on Machine Learning Research, 2024. arxiv.org/abs/2402.17944

See it on your own data

API access is open to teams on request. The case studies show how tabSutra handles problems in each industry.