Calibrated Confidence Estimation for Tabular Question Answering
Organizations: Independent Researcher
Abstract
Large language models (LLMs) are increasingly deployed for tabular question answering, yet calibration on structured data is largely unstudied. This paper presents the first systematic comparison of five confidence estimation methods across five frontier LLMs and two tabular QA benchmarks. All models are severely overconfident (smooth ECE 0.35-0.64 versus 0.10-0.15 reported for textual QA). A consistent self-evaluation versus perturbation dichotomy replicates across both benchmarks and all four fully-covered models: self-evaluation methods (verbalized, P(True)) achieve AUROC 0.42-0.76, while perturbation methods (semantic entropy, self-consistency, and our Multi-Format Agreement) achieve AUROC 0.78-0.86. Per-model paired bootstrap tests reject the null at p<0.001 after Holm-Bonferroni correction, and a 3-seed check on GPT-4o-mini gives a per-seed standard deviation of only 0.006. The paper proposes Multi-Format Agreement (MFA), which exploits the lossless and deterministic serialization variation unique to structured data (Markdown, HTML, JSON, CSV) to estimate confidence at 20% lower API cost than sampling baselines. MFA reduces ECE by 44-63%, generalizes across all four models on TableBench (mean AUROC 0.80), and combines complementarily with sampling: an MFA + self-consistency ensemble lifts AUROC from 0.74 to 0.82. A secondary contribution, structure-aware recalibration, improves AUROC by +10 percentage points over standard post-hoc methods.
Figures & tables
| Model | N | Acc. | Conf. | Gap | smECE | ECE 10 | AUROC |
|---|---|---|---|---|---|---|---|
| GPT-4o | 2000 | .762 | .995 | 23.4pp | .345 | .234 | .522 |
| DeepSeek-V3 | 2000 | .693 | .985 | 29.2pp | .404 | .292 | .543 |
| Llama-3.3-70B | 2000 | .690 | .985 | 29.6pp | .401 | .302 | .523 |
| GPT-4o-mini | 2000 | .656 | .955 | 29.9pp | .638 | .300 | .664 |
| Gemini 2.5 Flash | 2000 | .655 | .889 | 23.5pp | .400 | .235 | .812 |
| Model | Method | Acc. | Conf. | ECE 10 | AUROC |
|---|---|---|---|---|---|
| GPT-4o ( ) | Verbalized | .762 | .995 | .234 | .522 |
| MFA | .792 | .897 | .105 | .782 | |
| Gemini 2.5 Flash | Verbalized | .655 | .889 | .235 | .812 |
| MFA | .741 | .729 | .088 | .776 | |
| DeepSeek-V3 | Verbalized | .693 | .985 | .292 | .543 |
| MFA | .723 | .847 | .124 | .753 |
| Model | Method | Acc. | ECE 10 | AUROC [95% CI] | Calls/q |
|---|---|---|---|---|---|
| Llama-3.3-70B | Verbalized | .330 | .586 | .697 [.671, .722] | 1 |
| P(True) | .330 | .502 | .624 [.587, .660] | 2 | |
| MFA (ours) | .343 | .295 | .776 [.744, .806] | 4 | |
| Self-Consistency | .425 | .223 | .854 [.828, .878] | 5 | |
| Semantic Entropy | .423 | .145 | .858 [.834, .882] | 5 | |
| Gemini 2.5 Flash | Verbalized | .371 | .316 | .756 [.725, .787] | 1 |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| Community | Calibration? | Tabular QA? |
|---|---|---|
| LLM calibration | ✓Extensively | Never |
| Text-to-SQL calibration | ✓Emerging | ✓SQL only |
| Tabular QA systems (TabLaP, STaR) | ✓One method each | ✓Extensively |
| Tabular QA benchmarks | Never | ✓Extensively |
| This work | ✓Five methods compared | ✓Two benchmarks |
| Model (Provider) | Verb | P(True) | MFA | SC | SE |
|---|---|---|---|---|---|
| Llama-3.3-70B (Together) | |||||
| Gemini 2.5 Flash (Google) | |||||
| GPT-4o-mini (OpenAI) | T † | T † | |||
| DeepSeek-V3 (Together) | T | – | – | ||
| GPT-4o (OpenAI) | T | – | – | – |
| Method | Type | Acc. | ECE 10 | AUROC [95% CI] | Calls/q |
| Self-evaluation methods | |||||
| Verbalized [ Xiong et al., 2024 ] | self-eval | .690 | .302 | .522 [.514, .533] | 1 |
| P(True) [ Kadavath et al., 2022 ] | self-eval | .716 | .281 | .568 [.550, .587] | 2 |
| Input/output perturbation methods | |||||
| MFA (ours) | input-perturb | .696 | .169 | .737 [.717, .763] | 4 |
| Semantic Entropy [ Kuhn et al., 2023 ] | output-perturb | .804 | .087 | .753 [.724, .776] | 5 |
| Model | Method | Acc. | Conf. | ECE 10 | AUROC |
|---|---|---|---|---|---|
| Gemini 2.5 Flash | Verbalized | .655 | .889 | .235 | .812 |
| P(True) | .745 | .511 | .240 | .507 | |
| GPT-4o-mini | Verbalized | .656 | .955 | .300 | .664 |
| P(True) | .668 | .582 | .282 | .608 | |
| Llama-3.3-70B | Verbalized | .690 | .985 | .302 | .523 |
| P(True) | .716 | .614 | .281 | .568 |
| Model | Pert. method | Self-eval | AUROC | 95% CI | Sig. | |
| Best-vs-best (cluster maxima) | ||||||
| Llama-3.3-70B | SE (.858) | verb (.697) | ||||
| Gemini 2.5 Flash | SE (.814) | verb (.756) | ||||
| DeepSeek-V3 | MFA (.852) | verb (.675) | ||||
| GPT-4o-mini | SE (.835) | verb (.747) | ||||
| Worst-vs-best (cluster minimum perturbation vs cluster maximum self-eval) | ||||||
| Method | ECE 10 | Brier | AUROC |
|---|---|---|---|
| Raw verbalized | .315 | .313 | .518 |
| Temperature scaling | .148 | .238 | .518 |
| Platt scaling | .029 | .216 | .518 |
| Isotonic regression | .032 | .216 | .518 |
| Structure-aware (ours) | .031 | .210 | .619 |
| Recalibration Features | ECE 10 | AUROC |
|---|---|---|
| Confidence only (Platt scaling) | .032 | .518 |
| + Table dimensions ( rows, cols) | .031 | .588 |
| + Column type distribution (4 features) | .032 | .519 |
| + Query complexity (word count, op keywords) | .034 | .596 |
| Full structure-aware (all 8 features) | .031 | .619 |
| Comparison | AUROC | 95% CI | Sig. | |
|---|---|---|---|---|
| MFA vs. Verbalized | ||||
| MFA vs. P(True) | ||||
| MFA vs. Self-Consistency | ns | |||
| MFA vs. Semantic Entropy | ns |
| Model | Acc. | ECE 10 | smECE | AUROC | Calls/q | |
|---|---|---|---|---|---|---|
| Gemini 2.5 Flash | 2 | .720 | .080 | .110 | .726 | 2 |
| 3 | .735 | .077 | .123 | .765 | 3 | |
| 4 | .741 | .088 | .154 | .776 | 4 | |
| GPT-4o-mini | 2 | .655 | .214 | .292 | .674 | 2 |
| 3 | .662 | .194 | .313 | .721 | 3 | |
| 4 | .666 | .176 | .304 | .744 | 4 |
| Model | Format Subset | AUROC | ECE 10 |
|---|---|---|---|
| Gemini 2.5 Flash | Best (json+csv) | .720 | — |
| Mean over 6 pairs | .712 | — | |
| Markdown + CSV + JSON | .765 | .081 | |
| Markdown + HTML + CSV | .762 | .078 | |
| HTML + JSON + CSV (most div.) | .770 | .075 | |
| All four formats | .776 | .088 |
| Model | Method | ECE 10 | AUROC | |
|---|---|---|---|---|
| Gemini 2.5 Flash | MFA only | .095 | .785 | — |
| P(True) only | .240 | .507 | — | |
| CISC (MFA + P(True)) | .088 | .792 | 0.7 | |
| GPT-4o-mini | MFA only | .165 | .735 | — |
| P(True) only | .282 | .608 | — | |
| CISC (MFA + P(True)) | .217 | .746 | 0.5 |
| Question Type | Acc(V) | Acc(M) | AUROC(V) | AUROC(M) | AUROC | |
|---|---|---|---|---|---|---|
| Temporal | 128 | .812 | .844 | .516 | .762 | |
| Superlative | 249 | .735 | .799 | .528 | .758 | |
| Other | 248 | .746 | .806 | .511 | .738 | |
| Count/Sum | 883 | .581 | .599 | .523 | .726 | |
| Lookup | 443 | .747 | .833 | .537 | .733 | |
| Comparison | 34 | .706 | .735 | .550 | .553 |
| Method | AUROC | ECE 10 | AUROC | Weights |
| MFA alone | .728 | .163 | — | — |
| SC alone | .742 | .192 | — | — |
| SE alone | .729 | .168 | — | — |
| MFA + SC | .807 | .173 | ||
| MFA + SE | .796 | .159 | ||
| MFA + SC + SE | .819 | .172 |
| Method | Accuracy | ECE 10 | AUROC |
|---|---|---|---|
| Verbalized (strict) | .660 | .331 | .522 |
| Verbalized (fuzzy) | .690 | .302 | .522 |
| MFA (strict) | .669 | .196 | .745 |
| MFA (fuzzy) | .720 | .148 | .740 |
| Model | Exact | Numeric | Fuzzy | Contain. | None |
|---|---|---|---|---|---|
| GPT-4o | 189 | 173 | 8 | 9 | 116 |
| GPT-4o-mini | 688 | 513 | 13 | 73 | 688 |
| Gemini | 519 | 457 | 148 | 174 | 690 |
| Llama-3.3-70B | 729 | 566 | 10 | 48 | 621 |
| DeepSeek-V3 | 716 | 562 | 24 | 58 | 614 |
| Model | ECE 10 | ECE 15 | ECE 20 | Brier | AUROC |
|---|---|---|---|---|---|
| GPT-4o (n=2000) | .234 | .234 | .234 | .234 | .522 |
| GPT-4o-mini | .300 | .300 | .300 | .304 | .664 |
| Gemini 2.5 Flash | .235 | .235 | .235 | .182 | .812 |
| Llama-3.3-70B | .302 | .302 | .302 | .300 | .522 |
| DeepSeek-V3 | .292 | .292 | .292 | .291 | .543 |
| Error Type | GPT-4o-mini | Gemini | Llama | DeepSeek |
|---|---|---|---|---|
| Aggregation | 434 | 312 | 298 | 305 |
| Filtering | 98 | 87 | 92 | 89 |
| Temporal | 82 | 76 | 71 | 74 |
| Format mismatch | — | 174 | 48 | 58 |
| Refusal | — | 30 | — | — |
| Unknown | 150 | 95 | 120 | 102 |
Confidence Estimation in Language Models
Confidence estimation in language models measures whether a model’s uncertainty signals predict answer correctness and support reliable decisions.
See all 246 papers