Trained sequence-to-sequence conversion of database queries
AssigneeAlibaba Group Holding Limited
InventorsYifan He, Qiong Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlibaba Group Holding Limited
InventorsYifan He, Qiong Zhang
Estimating the term…
Methods and systems are provided for sequence-to-sequence conversion from unstructured search queries to structured database queries, so that lay persons may retrieve information from relational databases without specialized knowledge of database query languages. An encoder module and a decoder module of a learning model are trained to convert an unstructured search query to an intermediate feature vector by computing co-attention and self-attention based on a context string and a database schema, encoding the database schema in the context string by application of self-attention between the context string containing tokens of the database schema with learned structural attention heads which relate the token to logic of the database. Training is performed using labeled training datasets which include structured database queries which are normalized by parsing into a semantic representation thereof, followed by linearization.
A method comprising:
A system comprising:
A computer-readable storage medium storing computer-readable instructions executable by one or more processors, that when executed by the one or more processors, cause the one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.