Patent ID: 11921711
Assignee: ALIBABA GROUP HOLDING LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
computing co-attention for an unstructured search query and a context string to learn a correspondence between a token of the unstructured search query and a token of the context string;
computing self-attention for the unstructured search query to learn a correspondence between a plurality of tokens of the unstructured search query;
computing self-attention for the context string based on trained structural attention heads comprising at least a structural attention head trained across all tokens of the context string and a plurality of structural attention heads trained for each respective individual token of the context string, a structural attention head comprising a weight vector, wherein each feature of the weight vector corresponds to a different token of the context string;
computing the self-attention-computed search query and the self-attention-computed context string by a multi-pointer-generator; and
outputting a structured database query based on minimizing output of a cost function, causing a database management system to return results of the structured database query answering the unstructured search query.