Patent ID: 11861307
Assignee: NATIONAL INSTITUTE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. A computer-implemented dialogue system including a question-answering system, a separate responding system, and a selecting unit, the computer-implemented dialogue system comprising:
one or more computer processors configured to:
determine if a natural language sentence is a request;
generate, using a classification model trained in advance if the natural language sentence is determined to be a request, a classification code indicating one of a plurality of request classes to which the request belongs;
paraphrase, using a request paraphrasing model trained in advance if the natural language sentence is determined to be a request, a request represented by the natural language sentence and the classification code to a request having a higher probability of getting a right response from the question-answering system than the natural language sentence;
generate, if the natural language sentence is determined to be a request, an answer to the request by inputting the request having a higher probability of getting a right response to the question-answering system, wherein:
the classification model is implemented by a convolutional neural network trained in advance using a plurality of training data items each including a first request and a classification code indicating a class to which the first request belongs, and
the convolutional neural network includes multiple sets of layers, each set of layers comprising:
an input layer including multiple instances of word vectors in the natural language sentence that are collectively represented as a matrix “T”, wherein a number “M” feature maps of feature map “O” are applied to the matrix T;
a convolutional layer; and
a pooling layer, wherein an element of each feature map “O” is computed by applying a filter represented by fj (1≤j≤M) to an “N”-gram comprised of consecutive “N” word vectors and “N” is an arbitrary natural number and “O” is calculated using an equation of O=f(Wfj·xi′j:N-1+bij), where weight WfJ is a real matrix of d×N dimensions, bias bij is a real number, and “·” represents an elementwise multiplication followed by summation of results produced by the elementwise multiplication, and f(x)=max (0, x) (normalized linear function);

generate, using the separate responding system if the natural language sentence is determined not to be a request, an appropriate response to the natural language sentence; and
select, using the selecting unit, either an answer output from the question-answering system or the appropriate response generated by the separate responding system based on whether the natural language sentence is determined to be a request.