Papers › Benchmarking Language Models for Statistical Problem Formulation

Benchmarking Language Models for Statistical Problem Formulation

2 Sep 2026arXiv:2609.01982added by Syntology

Chen Wang, Junzhe Zhao, Xin Cong, Wanlu Deng, Ke Deng

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models (LLMs) are increasingly used as assistants for statistical and data science work, yet existing evaluations largely assume the analysis target is already specified. In practice, users arrive with informal goals and heterogeneous data, leaving the model to decide what statistical task is implied and which data are relevant. We first formalize this upstream step as Statistical Problem Formulation and decompose it into two subtasks: (1) Statistical Problem Classification and (2) Variable Identification & Role Assignment. We then introduce StatFormBench, a benchmark built from five cross-domain statistics textbooks and a data science case library, covering diverse problem types, data representations, and scenario styles. It contains 1,013 samples spanning 20 coarse-grained and 85 fine-grained statistical problem categories. Across 14 open- and closed-source LLMs, the best zero-shot models reach only 72.0 fine-grained classification accuracy and 63.2 variable set overlap. No model performs consistently best across the two subtasks, while enhanced prompting strategies yield only limited or inconsistent gains. We release the benchmark data on Hugging Face at https://huggingface.co/datasets/THU-CongLab/StatFormBench and the evaluation code on GitHub at https://github.com/THU-CongLab/StatFormBench.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2609.01982")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

THU-CongLab/StatFormBench found in paper text by SyntologyMIT report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from THU-CongLab/StatFormBench. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

batch_compare THU-CongLab/StatFormBench/src/evaluation/compare_methods.py found in paper text by Syntology unverified MIT (permissive) · f99b98a63b3afe1b · report
calculate_ratio_set THU-CongLab/StatFormBench/src/evaluation/variable_metrics.py found in paper text by Syntology unverified MIT (permissive) · c61ed1303c292f58 · report
calculate_role_accuracy THU-CongLab/StatFormBench/src/evaluation/role_accuracy.py found in paper text by Syntology unverified MIT (permissive) · 60be0760644d4a82 · report
check_dictionary_structure THU-CongLab/StatFormBench/src/evaluation/llm_evaluator.py found in paper text by Syntology unverified MIT (permissive) · 2fbd2a5b851a9a2d · report
compare_methods0 THU-CongLab/StatFormBench/src/evaluation/compare_methods.py found in paper text by Syntology unverified MIT (permissive) · 1cf8bfe6d1b58003 · report
compare_methods1 THU-CongLab/StatFormBench/src/evaluation/compare_methods.py found in paper text by Syntology unverified MIT (permissive) · a548501f77fb3c93 · report
dict_structure_equal THU-CongLab/StatFormBench/src/evaluation/evaluate_case.py found in paper text by Syntology unverified MIT (permissive) · 2a3f52eea10e0fde · report
dict_to_list THU-CongLab/StatFormBench/src/evaluation/evaluate_case.py found in paper text by Syntology unverified MIT (permissive) · 9f0c439fbb3d2d31 · report
dict_to_set THU-CongLab/StatFormBench/src/evaluation/evaluate_case.py found in paper text by Syntology unverified MIT (permissive) · 7d827dd912aa0411 · report
extract_last_json_safe THU-CongLab/StatFormBench/src/evaluation/json_utils.py found in paper text by Syntology unverified MIT (permissive) · 6b2ab8cf1c5e314e · report
get_output_path THU-CongLab/StatFormBench/src/run_benchmark.py found in paper text by Syntology unverified MIT (permissive) · 0fc2552d1b2f040a · report
jaccard_coefficient THU-CongLab/StatFormBench/src/evaluation/variable_metrics.py found in paper text by Syntology unverified MIT (permissive) · fd2175a0ca7cc8fd · report
process_data_description THU-CongLab/StatFormBench/src/run_benchmark.py found in paper text by Syntology unverified MIT (permissive) · df7986589ff6ad9d · report
process_data_description THU-CongLab/StatFormBench/src/evaluation/llm_evaluate.py found in paper text by Syntology unverified MIT (permissive) · 8056f1cd9ff64e34 · report
validate_evaluation_result THU-CongLab/StatFormBench/src/evaluation/llm_evaluate.py found in paper text by Syntology unverified MIT (permissive) · c116a1f743d804b9 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.01982, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections