Invention Grant
- Patent Title: Neural network based translation of natural language queries to database queries
-
Application No.: US16894495Application Date: 2020-06-05
-
Publication No.: US11526507B2Publication Date: 2022-12-13
- Inventor: Victor Zhong , Caiming Xiong , Richard Socher
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Fenwick & West LLP
- Main IPC: G06F16/2452
- IPC: G06F16/2452 ; G06N3/04 ; G06N3/08 ; G06N7/00

Abstract:
A computing system uses neural networks to translate natural language queries to database queries. The computing system uses a plurality of machine learning based models, each machine learning model for generating a portion of the database query. The machine learning models use an input representation generated based on terms of the input natural language query, a set of columns of the database schema, and the vocabulary of a database query language, for example, structured query language SQL. The plurality of machine learning based models may include an aggregation classifier model for determining an aggregation operator in the database query, a result column predictor model for determining the result columns of the database query, and a condition clause predictor model for determining the condition clause of the database query. The condition clause predictor is based on reinforcement learning.
Public/Granted literature
- US20200301925A1 NEURAL NETWORK BASED TRANSLATION OF NATURAL LANGUAGE QUERIES TO DATABASE QUERIES Public/Granted day:2020-09-24
Information query