arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17574cs.CL
收藏

超越面向IoT防御的Text-to-SQL:一个查询与分类IoT威胁的综合框架

Beyond Text-to-SQL for IoT Defense: A Comprehensive Framework for Querying and Classifying IoT Threats

The University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校)
Ryan Pavlich, Nima Ebadi, Richard Tarbell, Billy Linares, Adrian Tan, Rachael Humphreys, Jayanta Kumar Das, Rambod Ghandiparsi, Hannah Haley, Jerris George, Roc… 展开作者

Ryan Pavlich, Nima Ebadi, Richard Tarbell, Billy Linares, Adrian Tan, Rachael Humphreys, Jayanta Kumar Das, Rambod Ghandiparsi, Hannah Haley, Jerris George, Rocky Slavin, Kim-Kwang Raymond Choo, Glenn Dietrich, Anthony Rios

AI总结:

研究提出包含10,985个text-SQL对的IoT数据集,支持两阶段处理以分类网络流量恶意性,联合训练提升text-to-SQL性能,为LLMs集成领域推理提供测试床。

摘要:

认识到自然语言数据库接口的潜力,先前的研究强调了text-to-SQL系统的开发。尽管该领域取得了实质性进展,但现有研究集中于从文本查询生成SQL语句。然而,更广泛的挑战在于推断返回数据的新信息。我们的研究做出了两项主要贡献来填补这一空白。首先,我们引入了一个新颖的Internet-of-Things (IoT) text-to-SQL数据集,包含10,985个text-SQL对和239,398行网络流量活动。该数据集包含先前text-to-SQL数据集中受限的额外查询类型,特别是时间相关查询。我们的数据集源自智能建筑的IoT生态系统,探索传感器读取和网络流量数据。其次,我们的数据集允许两阶段处理,其中从生成的SQL返回的数据(网络流量)可被分类为恶意或非恶意。结果表明,联合训练查询和推断数据信息可提升整体text-to-SQL性能,几乎匹配显著更大的模型。我们还表明当前大型语言模型(如GPT3.5)难以推断返回数据的新信息,因此我们的数据集为将复杂领域特定推理集成到LLMs提供了新颖的测试床。

英文摘要:

Recognizing the promise of natural language interfaces to databases, prior studies have emphasized the development of text-to-SQL systems. While substantial progress has been made in this field, existing research has concentrated on generating SQL statements from text queries. The broader challenge, however, lies in inferring new information about the returned data. Our research makes two major contributions to address this gap. First, we introduce a novel Internet-of-Things (IoT) text-to-SQL dataset comprising 10,985 text-SQL pairs and 239,398 rows of network traffic activity. The dataset contains additional query types limited in prior text-to-SQL datasets, notably temporal-related queries. Our dataset is sourced from a smart building's IoT ecosystem exploring sensor read and network traffic data. Second, our dataset allows two-stage processing, where the returned data (network traffic) from a generated SQL can be categorized as malicious or not. Our results show that joint training to query and infer information about the data can improve overall text-to-SQL performance, nearly matching substantially larger models. We also show that current large language models (e.g., GPT3.5) struggle to infer new information about returned data, thus our dataset provides a novel test bed for integrating complex domain-specific reasoning into LLMs.

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

↑