Computation and Language · arXiv:2609.34783 v1 · submitted 28 Sep 2026 · 12 references
TQTS-Bench: A Multi-Syntax Benchmark for Text-to-Query over Time-Series Databases
The paper says
“Large language models (LLMs) have significantly advanced natural language querying over relational databases, yet their ability to query time-series databases (TSDBs) remains largely unassessed.”
more of the abstract
Existing benchmarks fail to adequately capture the non-unified query syntaxes, diverse application domains, and unique time-specific query intents inherent to TSDBs. To address this gap, we introduce TQTS-BENCH, a multi-syntax benchmark for evaluating text-to-query capabilities over TSDBs. TQTS-BENCH contains 6,125 high-quality question-answering (QA) pairs spanning 97 TSDBs, 23 distinct query syntaxes, 22 application domains, and 4 types of time-specific query intents. It is constructed through a human-centric AI-assisted workflow, where all QA pairs are carefully reviewed and revised by domain experts to ensure quality and correctness. Extensive evaluations of advanced LLMs and state-of-the-art text-to-query methods reveal challenges in querying TSDBs. Even the best-performing model evaluated, Claude-Opus-5, achieves only 48.98% execution accuracy, while humans reach 87.34%. Error analysis reveals that this performance gap mainly stems from the heterogeneous query syntaxes across different TSDBs, misinterpretation of time-specific intents, and incorrect schema linking. These findings highlight new opportunities to narrow the gap between current LLM capabilities and the requirements of TSDB queries in real-world applications. The benchmark is available at: https://anonymous.4open.science/r/TQTS-Bench-00CD.
from the abstract
Pith says
Machine review · deepseek-v4-flash · 29 Sep 2026 · 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. A genuinely useful multi-syntax TSDB benchmark with unusually thorough construction docs; the headline numbers would stand on firmer ground with agreement stats, run counts, and clarity on who the human experts are. This line is wrong
2 major objections · 6 minor
How often objections from reviews like this one are right: not yet measured
Not checked: figures, code, what the 12 references say.
The paper says, at Sec. 3.2.2, App. B.2, App. C.2, Table 1
The review did not quote this passage.
Pith says: Objection 1 of 2 · major
The central validity claims—gold-set correctness and the 87.34% human baseline—rest on the verification protocol, but no reliability evidence is reported. Specifically: (1) no inter-annotator agreement rate, adjudication frequency, or revised-pair count is given anywhere in Sec. 3.2.2 or App. B.2, so 'rigorous cross-validation' (Sec. 3.2.2) is asserted rather than measured; (2) the acceptance criterion is that both annotators obtain results 'consistent with the unverified answer,' where the unverified answer is itself LLM-generated under the App.
more of objection 1
D prompts—two annotators who share a misinterpretation of an LLM-generated question would still pass, so the check is not fully independent; (3) App. C.2 does not state that the human-evaluation experts are external to construction, so 87.34% could be an insider upper bound rather than an estimate of independent human performance; and (4) the headline comparison is cross-set: models are scored on all 6,125 pairs (Table 1 has no star on model rows), while humans are scored on a single random 10% subset, and model EX on that same subset is not reported. I request that the authors report agreement/adjudication statistics, state explicitly whether the human-evaluation experts are independent of the annotators and adjudicators, and report model EX on the identical 10% subset along with a confidence interval for the human estimate.
The paper says, at Sec. 4.4, Table 3, App. C.6
The review did not quote this passage.
Pith says: Objection 2 of 2 · major
The ablation supports the syntax-difficulty conclusion through the within-subset improvement from 0.00% to 32.21% EX after converting TSDBs to RDBs, which is reasonable. However, the supporting comparison—'lower than BIRD (56.91%) but higher than Spider 2.0-lite (22.94%)'—is not a controlled one: BIRD and Spider 2.0-lite are scored on their full evaluation sets with different question distributions, whereas the 32.21% figure is on a filtered subset of TQTS-BENCH containing only syntax-only error cases (App.
more of objection 2
C.6). The conclusion that poor performance is 'due not to the difficulty of the questions but to the diverse query syntaxes' (Sec. 4.4) should either be backed by a matched comparison (same model, same conversion protocol, on an unfiltered or proportionately filtered converted set) or softened to a claim about the filtered subset. As written, the cross-benchmark numbers invite an apples-to-oranges reading.
6 minor objections
The paper says, at Table 1
Pith says: minor objection 1 of 6
All EX figures in Table 1 are single point estimates with no run counts, variance, or confidence intervals; the paper should state the decoding protocol (e.g., greedy, single run) and ideally report variance over runs or seeds, particularly because these numbers anchor the headline claims.
The paper says, at Fig. 5 and Sec. 4.3
Pith says: minor objection 2 of 6
The three error-type proportions in Fig. 5 sum to 153.81% because cases are multi-labeled; this is clarified only later in App. C.6, so the main-text caption should state that percentages are per-case multi-label and need not sum to 100%.
show 4 more
The paper says, at App. C.4
Pith says: minor objection 3 of 6
The paper uses 'Prom-Copilot' in App. C.4 but 'PromCopilot' everywhere else, including the reference entry; the spelling should be unified.
The paper says, at Sec. 4.3
Pith says: minor objection 4 of 6
The error taxonomy is derived from a single weak model (DeepSeek-V4-Pro), which the authors acknowledge; adding an error analysis for a stronger model (e.g., Claude-Opus-5) would confirm that the taxonomy is not an artifact of one model's particular failure modes.
The paper says, at App. A.3.2, Fig. 9(b)
Pith says: minor objection 5 of 6
The statement that the intent distribution is 'consistent with real-world information-seeking demands' is presented without a cited source or an operational definition of that expectation; either add a reference or phrase the claim as an observation about the seed QAs.
The paper says, at Abstract (title page)
Pith says: minor objection 6 of 6
The running title on the first page reads 'MULTI-SYNTAXBENCHMARK' and 'OVER TIME-SERIESDATABASES' without spaces; the typesetting should be fixed.
What would settle it
Run a blind re-verification study on a stratified random sample (e.g., 300 QA pairs from the released benchmark) using fresh annotators who did not participate in construction: have them independently write queries, judge answerability, and compare their accepted answers to the published gold under the match policy; report pairwise agreement (Cohen's kappa) and exact-answer match rate. Separately, have the same fresh annotators attempt the human-evaluation 10% subset and report their EX with a confidence interval. If fresh annotators' gold-agreement or EX falls well below the paper's 87.34%, or if gold disagreement is nontrivial, the verified-gold and human-baseline claims are not established.
from the skeptic's reading
How the review went
4 readings by deepseek-v4-flash · 29 Sep 2026
- Reader holds up, with conditions
- Skeptic agrees
- Editor wrote the verdict above
- Referee major revision: 2 major objections, 6 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
This one deserves a serious referee. It fills a real gap: every prior TQTS benchmark is single- or dual-syntax (TEFD on Flux, PromCopilot on PromQL, Dranca et al. on two syntaxes in one domain), and TQTS-Bench's 23 syntaxes across 97 databases and 22 domains is a step change, not incremental. The time-intent taxonomy (I1-I4 time-specific, nine intents total) with worked examples in Table 5 is thoughtful, and the construction documentation is unusually thorough for this genre: 600+ annotator hours, 30,774 executed verification queries, a two-independent-annotator verification with adjudication, and prompts reproduced in full in Appendix D. The ablation holding questions constant while converting TSDBs to SQL (0% to 32.21%) is a clean design and honestly framed - it shows syntax is a large factor, and the authors do state the converted result sits between BIRD and Spider 2.0-lite. The soft spots are measurement hygiene, and they sit exactly where the headline claims live. First, no inter-annotator agreement rate, no adjudication frequency, no revised-pair count anywhere - gold-set quality is asserted, not measured. Second, and this is the one I'd press hardest: the human baseline is one point estimate on a 10% subset with no confidence interval, and the paper never states the human experts are external to construction. If they are the same annotators or adjudicators who wrote and verified the gold, 87.34% is an insider upper bound, and the headline human-versus-model gap rests on it. I'm not claiming the gold is wrong - the two-annotator independence plus adjudication is a strong practical check - but the stress test's shared-misinterpretation worry is real in a narrow form: consistency with an LLM-generated unverified answer catches obvious errors, not a reading of an ambiguous question that both annotators and the generator happen to share. Third, every EX in Table 1 is a single point estimate with no run counts; the 2-3 point gaps between GPT-6-Sol and Claude are not meaningful without variance. Minor items: the 0.00% ablation row is by construction (curated syntax-only-error subset), though the appendix discloses this; the error-category percentages overlap (75.29% syntax + 61.43% intent + 17.09% schema), which the paper acknowledges in C.6; and the benchmark data sits behind an anonymous link I cannot inspect. None of this is fatal and all of it is addressable. The RDB-methods-don't-transfer finding is robust regardless - 0.5-6% EX on a syntax those methods were never built for. Send this to review; require the agreement stats, error bars or at least run counts, and a statement on who the human experts are.
The strongest objection
The benchmark's central claim is that TQTS-BENCH contains 6,125 verified QA pairs and that humans reach 87.34% EX while the best LLM reaches only 48.98%. The load-bearing step is QA verification (Sec. 3.2.2): two annotators independently hand-write queries, and a pair is accepted when both results are 'consistent with the unverified answer'; disagreements escalate to an adjudicator. Yet no agreement rate, adjudication frequency, or revised-pair count is reported, so gold-set quality is asserted rather than measured. The 'unverified answer' is itself LLM-generated under the App. D prompts, so consistency with it is not a fully independent check: the procedure catches obvious errors but not a shared misinterpretation of an LLM-generated question. The same concern transfers to the human baseline (App. C.2), which is run with 'human experts' using the same annotation tool; the paper does not state that these experts are external to construction. If they are the annotators/adjudicators who wrote or revised the gold, 87.34% is an insider upper bound rather than an estimate of independently measured human performance. No confidence interval accompanies the 10%-subset estimate either. None of this demonstrates error, but the headline human-vs-model gap depends on exactly these unmeasured quantities.
The paper is a benchmark-resource paper, so its value rests on the gold QA pairs and on the reported human-vs-model gap. The weakest link is the human verification loop in Sec. 3.2.2 and the human baseline in App. C.2: both depend on annotator behavior that is described but never quantified. In particular, if the human baseline was produced by the same experts who constructed and adjudicated the gold, the 87.34% figure is an insider upper bound, not an independent estimate of human performance. This is not an internal inconsistency: the pipeline is documented, the visual tool is described, and the evaluation protocol is standard. It is an unverified empirical premise. The concern is concrete and addressable via a fresh-annotator re-verification study, and the reader's CONDITIONAL verdict already reflects this fragility. I therefore keep the verdict unchanged rather than escalating to REJECT, because a large gap between models and expert insiders could survive external replication even if the exact magnitude changes.
The referee's report
If the reliability claims hold, this is a substantial and useful contribution: it is the first broad multi-syntax TQTS benchmark, the construction protocol (double human query-writing, adjudication, iterative revision) is thoughtfully designed, and the appendix material—including full prompts, the visual-analytics tool interface, executor counts, and detailed error case studies (Figs. 6, 7, 18–21)—is unusually transparent. The headline finding, that frontier LLMs (48.98% EX) fall far short of an independently verifiable human skill level (87.34%), is falsifiable and of clear interest to the text-to-query community. The paper also ships the benchmark publicly and reports concrete effort statistics (30,774 executions, 600+ hours), which strengthens reproducibility. The main risk to significance is that the gold-set quality and the human baseline are asserted through a verification procedure whose reliability is not quantified, and that the headline human-vs-model gap compares scores on different evaluation sets.
Pith's reading of the paper (a machine's summary, not the authors')
This paper claims that text-to-query over time-series databases is a distinct and largely unmet challenge, and that a dedicated benchmark can measure it. It introduces TQTS-BENCH, a collection of 6,125 question–answer pairs spanning 97 time-series databases, 23 query syntaxes, 22 application domains, and 4 time-specific query intents. On this benchmark the best LLM evaluated reaches 48.98% execution accuracy while humans reach 87.34%, and a syntax-focused ablation raises accuracy from 0% to 32.21% when time-series databases are converted to relational SQL. A sympathetic reader would care because, if the benchmark is valid, it is the first broad measure of how far current models are from usable natural-language querying of real time-series systems, and it localizes the bottleneck to syntax knowledge rather than question comprehension.
What carries the argument. The load-bearing object is TQTS-BENCH itself, organized around a nine-intent taxonomy: four time-specific intents (window aggregation and resampling, temporal change analysis, time localization, relationship analysis) and five time-agnostic intents (conditional filtering, statistical computation, sort and rank, metadata query, domain-knowledge dependency). The benchmark's validity rests on a human-centric verification workflow in which two annotators independently hand-write and execute queries for each candidate pair and an adjudicator resolves disagreements, plus a match policy that transforms long-to-wide result formats before comparing execution outputs so that semantically identical queries returning differently pivoted tables are not falsely marked wrong.
Core claim. The central claim is that TQTS-BENCH, a multi-syntax benchmark built through a human-centric, AI-assisted workflow with double-blind human verification, is a valid and comprehensive instrument for evaluating text-to-query over time-series databases, and that current models fall far short of human capability on it. The paper reports that the best model, Claude-Opus-5, achieves 48.98% execution accuracy versus a human baseline of 87.34%, that existing RDB text-to-query methods mostly score below 10%, and that the dominant failure is query syntax errors at 75.29% of sampled incorrect cases, followed by intent-understanding errors at 61.43% and schema-linking errors at 17.09%. The syntax-focus ablation, restricted to cases whose only error is syntax, improves execution accuracy from 0% to 32.21% when the time-series databases are converted to relational SQL with the questions unchanged, which the authors read as evidence that the models understand the questions but lack the target query syntaxes.
The premise it rests on. The benchmark's validity and its 87.34% human baseline both rest on the claim that the two-annotator-plus-adjudicator verification is unbiased and internally consistent, yet the paper reports no inter-annotator agreement rate and the questions themselves are first generated by an LLM under prompts that constrain them to specific intent combinations.
If the paper is right (Pith's inferences, not the authors')
Future text-to-query methods for time-series databases will be evaluated across 23 syntaxes at once, making single-syntax systems such as PromQL-only or Flux-only approaches visibly incomplete.
Because syntax knowledge, not question comprehension, is identified as the main bottleneck, improving models' grasp of TSDB query languages should yield outsized gains on this benchmark.
Time-specific intents such as window resampling and change analysis account for 65.41% of intent-understanding errors, so progress on temporal reasoning is a concrete requirement that existing RDB text-to-SQL work does not address.
RDB text-to-SQL methods transfer poorly (most below 10% execution accuracy), implying that porting relational methods to time-series requires redesign rather than adaptation.
If the 87.34% human baseline on the sampled 10% subset holds for the full benchmark, the gap implies models need a step change, not tuning: the best LLM trails humans by roughly 38 points on a task where a competence checklist can already be drawn from the intent taxonomy.
The paper's seven-category schema taxonomy (from relational tables to metric–label series, device trees, and property graphs) suggests schema linking for time-series must become schema-structure-aware; a concrete testable extension is whether dedicated linkers for each structure type close the 17% schema-linking error share.
A natural validity check the paper does not run: compare the LLM-generated, intent-constrained questions against the naturally collected 1,405 seed QAs to test whether the constraint prompts bias the benchmark toward the nine-intent taxonomy and away from rare real-world query phrasings.
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
Large language models (LLMs) have significantly advanced natural language querying over relational databases, yet their ability to query time-series databases (TSDBs) remains largely unassessed. Existing benchmarks fail to adequately capture the non-unified query syntaxes, diverse application domains, and unique time-specific query intents inherent to TSDBs. To address this gap, we introduce TQTS-BENCH, a multi-syntax benchmark for evaluating text-to-query capabilities over TSDBs. TQTS-BENCH contains 6,125 high-quality question-answering (QA) pairs spanning 97 TSDBs, 23 distinct query syntaxes, 22 application domains, and 4 types of time-specific query intents. It is constructed through a human-centric AI-assisted workflow, where all QA pairs are carefully reviewed and revised by domain experts to ensure quality and correctness. Extensive evaluations of advanced LLMs and state-of-the-art text-to-query methods reveal challenges in querying TSDBs. Even the best-performing model evaluated, Claude-Opus-5, achieves only 48.98% execution accuracy, while humans reach 87.34%. Error analysis reveals that this performance gap mainly stems from the heterogeneous query syntaxes across different TSDBs, misinterpretation of time-specific intents, and incorrect schema linking. These findings highlight new opportunities to narrow the gap between current LLM capabilities and the requirements of TSDB queries in real-world applications. The benchmark is available at: https://anonymous.4open.science/r/TQTS-Bench-00CD.
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-29
The authors' main claim, as the classifier picked it out 0.62
“These findings highlight new opportunities to narrow the gap between current LLM capabilities and the requirements of TSDB queries in real-world applications.”
How the main claim is stated: asserted 0.69
What the abstract itself states, as probabilities: claims first 0.19 · states limitation 0.44 · human participants 0.57 · controlled comparison 0.43 · randomized assignment 0.01 · states quantitative result 0.99 · compares with prior results 0.74 · mentions code or data availability 0.94
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 |
|---|---|---|---|---|
| Large language models (LLMs) have significantly advanced natural language querying over relational databases, yet their ability to query time-series databases (TSDBs) remains largely unassessed. | background 0.61 | 0.07 | 0.03 | asserted 1.00 |
| Existing benchmarks fail to adequately capture the non-unified query syntaxes, diverse application domains, and unique time-specific query intents inherent to TSDBs. | gap 0.98 | 0.09 | 0.04 | asserted 1.00 |
| To address this gap, we introduce TQTS-BENCH, a multi-syntax benchmark for evaluating text-to-query capabilities over TSDBs. | contribution 1.00 | 0.93 | 0.06 | asserted 0.99 |
| TQTS-BENCH contains 6,125 high-quality question-answering (QA) pairs spanning 97 TSDBs, 23 distinct query syntaxes, 22 application domains, and 4 types of time-specific query intents. | contribution 0.77 | 0.93 | 0.06 | asserted 1.00 |
| It is constructed through a human-centric AI-assisted workflow, where all QA pairs are carefully reviewed and revised by domain experts to ensure quality and correctness. | method 0.99 | 0.91 | 0.02 | asserted 1.00 |
| Extensive evaluations of advanced LLMs and state-of-the-art text-to-query methods reveal challenges in querying TSDBs. | result 0.87 | 0.92 | 0.12 | asserted 1.00 |
| Even the best-performing model evaluated, Claude-Opus-5, achieves only 48.98% execution accuracy, while humans reach 87.34%. | result 1.00 | 0.94 | 0.16 | asserted 1.00 |
| Error analysis reveals that this performance gap mainly stems from the heterogeneous query syntaxes across different TSDBs, misinterpretation of time-specific intents, and incorrect schema linking. | interpretation 0.82 | 0.95 | 0.32 | asserted 1.00 |
| These findings highlight new opportunities to narrow the gap between current LLM capabilities and the requirements of TSDB queries in real-world applications. | interpretation 0.89 | 0.58 | 0.49 | asserted 0.69 |
| The benchmark is available at: https://anonymous.4open.science/r/TQTS-Bench-00CD. | contribution 0.89 | 0.40 | 0.02 | asserted 0.97 |
What kind of paper the classifier reports this is: dataset or benchmark 1.00 · 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-29: 1 request, 7,678 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 (21)
Figures are the authors', reproduced from the paper.
References (12)
- [1] The question must express a real, meaningful query need for the target database and accurately re- flect the specified target intent combination. Include an intent only when it is genuinely required by the question on Pith
- [2] Use only entities, data meanings, and domain conventions supported by the schema and database context, so that the question can be answered using the target database on Pith
- [3] Express the user’s information need in natural, clear, and unambiguous English. Do not mechanically turn physical field names or a query statement into a question, and do not describe query implementation steps on Pith
- [4] Do not combine unrelated objectives merely to satisfy the target intent combination. Do not assume schema elements, data meanings, domain knowledge, or database capabilities that were not provided on Pith
- [5] Do not generate tasks such as forecasting, anomaly detection, or pattern clustering that require separate algorithmic models and cannot be completed by querying the target TSDB alone. Output format: Return exactly one JSON object, with no explanation or Markdown code fence. Th... on Pith
- [8] Generate one query that can actually be executed in{TARGET TSDB}. Use the query syntax supported by that database type; do not default to the syntax of another database system. The query must fully and accurately express the goal, conditions, and temporal semantics of Q, and i... on Pith
- [9] Use only objects that actually exist in the schema and data meanings and domain conventions provided in the database context. Do not invent fields, data, or query results on Pith
- [10] Do not add analysis goals, conditions, or result content that Q does not request, and do not change Q to accommodate a particular query formulation on Pith
- [11] If the target database is accessible, execute A, check that execution succeeds, that the result is non- empty and valid, and that the result answers Q; revise A if the check fails. Unless Q explicitly asks for a nonexistent entity or an empty result, an empty result does not c... on Pith
- [12] If Q conflicts with the schema or database context, or if information needed for a correct query is missing, do not guess a query statement. Output format: 28 Return exactly one JSON object, with no explanation or Markdown code fence.questionmust reproduce Q exactly,intentsmus... on Pith
- [2017] doi: 10.1109/TKDE.2017.2740932. Kimi Team, Tongtong Bai, Yifan Bai, Yiping Bao, Jianfeng Cai, Xinyuan Cai, Peizhou Cao, Yux- uan Cao, Ziwei Chai, Y . Charles, et al. Kimi K3: Open frontier intelligence.arXiv preprint arXiv:2607.24653, 2026. Fangyu Lei, Jixuan Chen, Yuxiao Ye, ... on PitharXiv
- [2026] URLhttps://arxiv.org/abs/2608.30320. Ngoc Phuoc An V o, Octavian Popescu, Irene Manotas, and Vadim Sheinin. Tackling temporal questions in natural language interface to databases. InProceedings of the Conference on Em- pirical Methods in Natural Language Processing: Industry T... on PithPith's reviewarXiv
Cited by 1 Pith paper
Reviewed papers on Pith that cite this one. The full citation record
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