arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17001cs.AIcs.CLcs.DB
收藏

Sonar-TS: 为时间序列数据库的自然语言查询设计的搜索-验证方法

Sonar-TS: Search-Then-Verify Natural Language Querying for Time Series Databases

Jiangxi University of Finance and Economics(江西财经大学);Griffith University(格里菲斯大学);Yunnan University(云南大学);Microsoft Research Asia(微软亚洲研究院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Zhao Tan, Yiji Zhao, Shiyu Wang, Chang Xu, Yuxuan Liang, Xiping Liu, Shirui Pan, Ming Jin

AI总结:

本文提出Sonar-TS,一种神经符号框架,用于解决时间序列数据库的自然语言查询问题,通过搜索-验证流程处理连续形态意图和超长历史数据,引入NLQTSBench基准进行评估,展示了该方法在复杂时间查询中的有效性。

摘要:

自然语言查询时间序列数据库(NLQ4TSDB)旨在帮助非专家用户从大量时间记录中检索有意义的事件、区间和摘要。然而,现有的文本到SQL方法未针对连续形态意图(如形状或异常)进行设计,而时间序列模型在处理超长历史时面临挑战。为解决这些问题,我们提出Sonar-TS,一种神经符号框架,通过搜索-验证流程处理NLQ4TSDB。类似于主动声纳,它利用特征索引通过SQL ping候选窗口,随后通过生成的Python程序锁定并验证候选者与原始信号。为了实现有效的评估,我们引入NLQTSBench,这是第一个大规模基准,专门针对NLQ在TSDB规模的历史数据。我们的实验突显了该领域独特的挑战,并展示了Sonar-TS在传统方法无法处理的复杂时间查询中的有效性。本文首次系统研究了NLQ4TSDB,提供了一个通用框架和评估标准,以促进未来研究。

英文摘要:

Natural Language Querying for Time Series Databases (NLQ4TSDB) aims to assist non-expert users retrieve meaningful events, intervals, and summaries from massive temporal records. However, existing Text-to-SQL methods are not designed for continuous morphological intents such as shapes or anomalies, while time series models struggle to handle ultra-long histories. To address these challenges, we propose Sonar-TS, a neuro-symbolic framework that tackles NLQ4TSDB via a Search-Then-Verify pipeline. Analogous to active sonar, it utilizes a feature index to ping candidate windows via SQL, followed by generated Python programs to lock on and verify candidates against raw signals. To enable effective evaluation, we introduce NLQTSBench, the first large-scale benchmark designed for NLQ over TSDB-scale histories. Our experiments highlight the unique challenges within this domain and demonstrate that Sonar-TS effectively navigates complex temporal queries where traditional methods fail. This work presents the first systematic study of NLQ4TSDB, offering a general framework and evaluation standard to facilitate future research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑