LLMs can reason over tables, but when tables outgrow the context budget, retrieving relevant rows is only part of the solution. A retrieved subset may omit information required for an exact aggregate; even complete evidence may remain difficult for an LLM to use. We introduce TableRouter, a training-free framework that analyzes each query, then chooses between two routes: a computation route, which derives question-conditioned statistics from the full table, and a coverage route, which retrieves relevant rows and column summaries. The chosen context is passed to a frozen LLM in one call. Across three LLMs and three large-table benchmarks, TableRouter outperforms the strongest of six single-call baselines in all nine settings by 1.2-18.3 accuracy points, using 77-95% fewer estimated FLOPs than truncated-table prompting, with indexing amortized across questions. The gains extend to long tables from databases not used in earlier experiments, where TableRouter achieves 35.8% with Qwen2.5-7B, versus 16.4% for the strongest external baseline. A controlled experiment shows that explicitly providing computed statistics improves accuracy by up to 40.0 points, even when all answer-determining rows are available. These results distinguish evidence access from evidence use: long-table reasoning depends on how information is represented, not only on which rows are retrieved.
Figures & tables
Figure 1: Observed accuracy across three LLMs and three benchmarks. TableRouter leads the six primary external baselines in each setting. Radial ranges are 0–100% for TQA-Bench and 0–50% otherwise. Under each label: TableRouter, then the strongest baseline in its color. Values appear in Table 1 ; internal context policies are compared separately in Table 4 .
Figure 3: TableRouter workflow. Full-table statistics and ranked rows support query-dependent evidence construction. The gate g (Eq. 3 ) selects the context passed to a frozen LLM in a single call.
TQA-Bench (1,200)
BirdQA-R (304)
DataBench-Test-L (311)
Method
Q2.5
L3.1
Q3.5
Q2.5
L3.1
Q3.5
Q2.5
L3.1
Q3.5
Truncated table
66.2
71.0
84.1
17.4
13.5
23.4
31.2
28.0
23.5
BM25-Nat
70.6
67.5
86.5
18.1
16.8
25.3
31.5
22.5
24.4
BM25-2K
71.0
64.9
80.2
16.8
17.4
25.3
26.4
23.8
28.9
Dense-2K
54.3
51.4
59.7
13.8
13.5
20.1
25.4
19.0
23.2
LLMLingua-2
57.0
51.5
61.7
17.4
11.5
14.1
17.7
13.8
12.9
Table 1: Observed accuracy (%) across three LLMs and benchmarks. Q2.5, L3.1, and Q3.5 denote Qwen2.5-7B, Llama-3.1-8B, and Qwen3.5-9B. Underlines mark the strongest of six primary baselines. † : paired question-level intervals against all six baselines exclude zero. ‡ : strengthened TAP4LLM control, outside the 54-comparison family (Table 8 ). Internal configurations appear in Table 4 .
Figure 4: Accuracy versus estimated compute for the main external-baseline comparison with Qwen2.5-7B, Llama-3.1-8B, and Qwen3.5-9B (logarithmic horizontal axis). Costs include LLM prefill/decoding and preprocessing as defined in Eq. ( 6 ), with table indexes amortized across questions. Internal configurations are compared in Table 4 and Appendix D .
Method
Accuracy
Prompt tokens
Truncated table
9.0
23,479
BM25-Nat
12.7
12,399
BM25-2K
13.4
2,144
Dense-2K
11.7
2,142
LLMLingua-2
16.4
1,517
TAP4LLM
13.0
1,202
Table 2: Post-freeze BIRD results with Qwen2.5-7B: accuracy (%) and mean prompt tokens across 299 questions and 55 tables.
LLM
Rows
+Statistics
Gain [95% CI]
Qwen2.5-7B
40.0
80.0
+40.0 [26.7, 55.6]
Llama-3.1-8B
37.8
71.1
+33.3 [17.8, 48.9]
Qwen3.5-9B
86.7
93.3
+6.7 [0.0, 15.6]
Table 3: Fixed-row evidence-use control on 45 BirdQA-R questions: accuracy (%) with identical answer-determining rows, without and with computed statistics. Intervals are paired 95% question-level bootstrap intervals. Selection uses gold queries; contexts are not cost-matched.
Configuration
TQA
Bird
DB-L
TableRouter
75.9/23.5
34.5/78.1
42.4/34.6
Coverage Alone
79.8/27.7
24.7/90.5
32.5/48.1
Computation-First
64.0/8.4
35.5/73.6
40.8/29.7
Table 4: Evidence-construction policies with Qwen2.5-7B: accuracy (%) / estimated TFLOPs per question.
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
Parameter
Value
Computation / coverage evidence caps
600 / 2,000 tokens
Statistic lines / conditions / hops
18 / 4 / 2
Numeric / categorical targets
3 / 2
Encoder input cap
512 tokens
Small-table computation bypass
n≤60 , fits 600
Selective anchor
∣Rt∣≤max(5,0.2n)
Appendix
Table 5: Implementation constants for the primary TableRouter policy.
Cue family
Implementation words and patterns
Aggregation
sum, total, combined, overall, average, avg, mean, median, count, how many, number of, difference
Extremes
highest, largest, maximum, most, biggest, greatest, top, best, lowest, smallest, minimum, least, fewest, worst; top, first, bottom or last k ; k highest; highest k
Count
how many, number of, count
Frequency
most common, frequent, popular or often; mode; appears most; occurs most; most … entries, records or rows; least or fewest … common, frequent, popular or often
Ratio
ratio, percent, percentage, proportion, share, fraction, times as, times more, times less
Difference
difference, differ, subtract…, minus, how much or many more, less, fewer, higher or lower
Appendix
Table 6: Lexical cue families. Whole-word matching is used except for the prefix stems subtract and correlat ; comparison symbols are recognized directly.
Figure 5: Evidence use with identical rows. Left: rows-only versus rows plus computed statistics. Right: paired accuracy gains and 95% question-level bootstrap intervals on 45 selected BirdQA-R questions.
Figure 6: Hybrid-2000 minus Coverage Alone at a shared 2K evidence cap. Each point shows the accuracy gain, with its paired 95% question-level interval. Both benchmarks have positive gains for all three LLMs.
LLM
BirdQA-R
DataBench-Test-L
Qwen2.5-7B
+10.5 [5.6, 15.1]
+11.9 [7.4, 17.4]
Llama-3.1-8B
+9.5 [5.6, 13.8]
+6.4 [1.6, 10.9]
Qwen3.5-9B
+6.2 [2.0, 10.2]
+14.1 [10.0, 18.6]
Appendix
Table 7: Shared-budget accuracy gains (points) and paired 95% question-level intervals for Hybrid-2000 minus Coverage Alone.
Figure 7: Accuracy versus estimated per-question compute for the three main evidence policies with Qwen2.5-7B. Each panel is one benchmark; accuracy and cost are not normalized across datasets.
Figure 8: Post-freeze BIRD accuracy with Qwen2.5-7B, covering 299 questions on 55 tables. The six external baselines are shown in gray; internal policy controls are distinguished from the primary TableRouter result.
Set
LLM
TAP+Stats
TableRouter
Gain
TQA
Q2.5
47.5
75.9
+28.4
L3.1
52.8
76.6
+23.8
Q3.5
58.1
87.8
+29.7
Bird
Q2.5
16.4
34.5
+18.1
L3.1
14.8
30.9
+16.1
Q3.5
19.7
41.8
+22.0
Appendix
Table 8: Accuracy (%) against TAP4LLM with column statistics and a 2K evidence cap. Gains are TableRouter minus the control, calculated before rounding.
Figure 9: Accuracy by operation on 1,660 mixed-type TQA-Bench questions, Qwen2.5-7B. Each pair compares TableRouter and Coverage Alone; labels give paired accuracy differences (points). The source tables are shared with the main TQA-Bench evaluation.
Figure 10: Descriptive accuracy differences (points) between TableRouter and the strongest primary baseline within each source-table size bin and LLM. BirdQA-R and DataBench-Test-L subsets are shown; the zero cell is an observed tie, not a significance claim.
Figure 11: TableRouter estimated per-question compute by benchmark and LLM: LLM inference plus amortized index construction. Labels are rounded totals (TFLOPs); small accounted online terms can cause differences from the sum of displayed components.
Set
LLM
LLM TF
Index TF
Total TF
TQA
Q2.5
22.9
0.6
23.5
L3.1
29.1
0.6
29.8
Q3.5
28.3
0.6
29.0
Bird
Q2.5
13.7
64.4
78.1
L3.1
20.3
64.4
84.7
Q3.5
20.4
64.4
84.8
Appendix
Table 9: Estimated TFLOPs per question for TableRouter, including amortized indexing. Entries are rounded independently.
Figure 12: Measured median warm-index response latency (seconds), Qwen2.5-7B on A100 80GB. Initial TableRouter index construction is excluded; the comparison concerns already indexed tables.
TQA-Bench
BirdQA-R
DataBench-Test-L
Configuration
Acc.
TF
Acc.
TF
Acc.
TF
TableRouter
75.9
23.5
34.5
78.1
42.4
34.6
Without lexical grounding
75.9
23.5
34.5
77.8
44.7
33.0
Ranked rows in coverage branch
75.9
23.3
33.6
78.2
41.2
34.7
Ranked Rows Only
76.6
27.4
18.1
90.5
26.7
48.2
One prototype ( K=1 )
77.0
23.5
35.2
77.8
43.4
34.6
Appendix
Table 10: Qwen2.5-7B component controls: accuracy (%) and estimated per-question TFLOPs. Ranked Rows Only is a separate complete policy; other row substitutions change the coverage branch.
Figure 13: Post hoc policy outcomes by the route selected by TableRouter. Bars show answers recovered and lost relative to the alternative complete evidence policy; labels give net differences. These are not estimates of a causal effect of an isolated component.
Table question answering with large language models remains difficult to scale: tables range from compact to million-token sizes, while questions require precise grounding of columns, values, and computations. Existing methods often specialize in a fixed inference strategy, which is brittle across different table scales and model capabilities. Full-table reading is efficient for compact inputs but suffers from irrelevant context. Table reduction helps long inputs but depends on reliable evidence localization, while execution is required when tables exceed the model context window and remains sensitive to schema and value grounding errors. We propose TableRoute, a capability-aware routing framework with evidence-conditioned inference for scalable TableQA. TableRoute first generates validated question--table evidence and identifies the required operations, then routes each instance among these three strategies according to serialized table length and calibrated estimates of how reliably the base model handles these operations. The validated evidence supports the selected route by grounding columns, values, and conditions. Across WikiTQ, WTQ-L, BirdQA, and TableBench, TableRoute consistently improves accuracy through complementary routing and evidence conditioning across table scales, while reducing online token cost. Code will be made available upon publication.
Large Language Models (LLMs) have shown strong performance on table question answering, yet their accuracy often degrades as table size increases. We find that this degradation is not uniform across question types. Localization-sensitive questions are particularly affected by irrelevant table content, while questions requiring broader evidence may still benefit from full-table reasoning. Based on this observation, we propose a question-adaptive framework that dynamically selects between localized and full-table reasoning. The framework constructs question-specific sub-tables through operation-aware table decomposition and uses the predicted question type to determine the appropriate reasoning mode. We further introduce silver reference sub-tables for evaluating evidence selection and construct SLQA, a benchmark based on real-world long tables. Experiments on WikiTQ and SLQA show that localization is particularly effective for lookup and local reasoning questions, while adaptive selection between localized and full-table reasoning achieves the best overall performance. These results highlight that long-table QA requires deciding not only how to localize, but also when to localize. Our code and datasets will be made available upon publication of the paper.
Large Language Models (LLMs) have shown strong capabilities in table reasoning, but their effectiveness degrades as tables grow in size and complexity due to irrelevant context and difficulty localizing the evidence required for reasoning. Existing approaches typically reason over either the full table or a single reduced view, which can still obscure important row-column relationships. We introducePARTAB (Partition-Aware Reasoning overTables), a framework that constructs a structured evidence interface between the LLM and the table. PARTAB represents query-relevant evidence as semantically coherent, row-linked table regions and performs hierarchical selection over column groups and row-level partitions before composing the selected evidence for answer generation. We evaluate PARTAB on multiple table reasoning benchmarks, covering question answering, fact verification, and numerical reasoning. PARTAB consistently improves over full-table prompting and several recent table reasoning methods, achieving strong performance on WikiTableQuestions and TabFact while remaining competitive on numerical reasoning. Additional analyses show that semantic partitioning and targeted evidence selection improve evidence localization, substantially reduce the reasoning context, and provide larger benefits on complex tables. These results demonstrate the value of structured, partition aware evidence construction for scalable table reasoning.