我们探索使用T5(Raffel et al.(2019))将自然语言问题直接转换为SQL语句。与存储在数据库内的信息接口的通用自然语言需要将自然语言问题灵活地转换成数据库查询。性能最好的文本到SQL系统通过首先将问题转换为中间逻辑形式(LF)来完成这项任务(Lyu et al.(2020))。虽然LF提供了方便的中间表示并简化了查询生成,但它们引入了额外的复杂性和注释需求。然而,直接将问题转换为SQL语句的弱监督建模已经证明在没有LF提供的脚手架的情况下更加困难(Min等人(2019))。我们使用T5(Raffel et al.(2019))将问题直接转换为SQL语句,T5是一种预先训练的文本到文本生成模型,经过修改以支持指针生成器风格的解码(见et al.(2017))。我们探索使用问题扩充表模式信息和使用自动生成的银训练数据。由此产生的模型在WikiSQL(Zhong et al.(2017))测试数据集上实现了90.5%的执行准确率,这是弱监督SQL生成的最新技术。与现有技术相比,性能绝对提高了6.6%(Min等人(2019)),接近使用LF的最先进系统的性能。
英文摘要:
We explore using T5 (Raffel et al. (2019)) to directly translate natural language questions into SQL statements. General purpose natural language that interfaces to information stored within databases requires flexibly translating natural language questions into database queries. The best performing text-to-SQL systems approach this task by first converting questions into an intermediate logical form (LF) (Lyu et al. (2020)). While LFs provide a convenient intermediate representation and simplify query generation, they introduce an additional layer of complexity and annotation requirements. However, weakly supervised modeling that directly converts questions to SQL statements has proven more difficult without the scaffolding provided by LFs (Min et al. (2019)). We approach direct conversion of questions to SQL statements using T5 (Raffel et al. (2019)), a pre-trained textto-text generation model, modified to support pointer-generator style decoding (See et al. (2017)). We explore using question augmentation with table schema information and the use of automatically generated silver training data. The resulting model achieves 90.5% execution accuracy on the WikiSQL (Zhong et al. (2017)) test data set, a new state-of-the-art on weakly supervised SQL generation. The performance improvement is 6.6% absolute over the prior state-of-the-art (Min et al. (2019)) and approaches the performance of state-ofthe-art systems making use of LFs.
QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query Language
Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Pengcheng Laboratory(鹏城实验室);The Chinese University of Hong Kong(香港中文大学);Jilin University(吉林大学);Southwest University(西南大学);University of Electronic Science and Technology of China(电子科技大学);Shenzhen University(深圳大学)
From Query to Counsel: Structured Reasoning with a Multi-Agent Framework and Dataset for Legal Consultation
Australian Artificial Intelligence Institute (AAII), University of Technology Sydney(悉尼科技大学澳大利亚人工智能研究所);School of Computer Science, University of Birmingham(伯明翰大学计算机科学学院)
Large Language Models for Structured Clinical Data Analysis: Dual-Agent Grounding and Validation
Harvard Medical School(哈佛医学院);Wayne State University School of Medicine(韦恩州立大学医学院);Women & Infants Hospital of Rhode Island(罗德岛妇女与婴儿医院);Warren Alpert Medical School of Brown University(布朗大学沃伦·阿尔珀特医学院);Duke University School of Medicine(杜克大学医学院)
Budget-Constrained Embodied Perception: Four Resource Walls and a Pre-Registered Evaluation of Access-Structured Perception on Open Models at less than 31B
University of Macau(澳门大学);South China University of Technology(华南理工大学)
Co-adaptive Rule Routing and Constraining for Structured Knowledge Retrieval
University of Georgia(佐治亚大学);Michigan State University(密歇根州立大学);Georgia Institute of Technology(佐治亚理工学院);Amazon(亚马逊);Adobe Systems(奥多比系统公司);PNNL(太平洋西北国家实验室);Texas A&M University(德克萨斯农工大学)
Predicting Query-Item Relationship using Adversarial Training and Robust Modeling Techniques
Kakao Corporation(Kakao 公司)
我们提出了一种有效的方法来预测搜索查询项目的关系。我们结合了预训练的Transformer和LSTM模型,并使用对抗训练、指数移动平均、多采样丢弃和基于多样性的集成来提高模型的鲁棒性,以解决一个非常困难的问题,即针对以前从未见过的查询进行预测。我们所有的策略都专注于提高深度学习模型的鲁棒性,并且适用于使用深度学习模型的任何任务。应用我们的策略,我们在KDD Cup 2022产品替代分类任务中获得第10名。
OsmT: Bridging OpenStreetMap Queries and Natural Language with Open-source Tag-aware Language Models
The Hong Kong Polytechnic University(香港理工大学);WeBank;Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳先进技术研究院,中国科学院);The Hong Kong University of Science and Technology(香港科技大学)
TrustUQA: A Trustful Framework for Unified Structured Data Question Answering
Zhejiang University(浙江大学);University of Manchester(曼彻斯特大学);Ant Group(蚂蚁集团);ZJU-Ant Group Joint Lab of Knowledge Graph(浙江大学-蚂蚁集团知识图谱联合实验室);Zhejiang Key Laboratory of Big Data Intelligent Computing(浙江省大数据智能计算重点实验室)