[go: up one dir, main page]

JP2013012012A - Dialogue rule alteration device, dialogue rule alteration method, and dialogue rule alteration program - Google Patents

Dialogue rule alteration device, dialogue rule alteration method, and dialogue rule alteration program Download PDF

Info

Publication number
JP2013012012A
JP2013012012A JP2011143942A JP2011143942A JP2013012012A JP 2013012012 A JP2013012012 A JP 2013012012A JP 2011143942 A JP2011143942 A JP 2011143942A JP 2011143942 A JP2011143942 A JP 2011143942A JP 2013012012 A JP2013012012 A JP 2013012012A
Authority
JP
Japan
Prior art keywords
rule
node
category
dialog
dialogue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011143942A
Other languages
Japanese (ja)
Other versions
JP5393732B2 (en
Inventor
Kiyoshi Nitta
清 新田
Tatsuhiko Himuro
達彦 氷室
Masatoshi Shibuya
正利 渋谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2011143942A priority Critical patent/JP5393732B2/en
Publication of JP2013012012A publication Critical patent/JP2013012012A/en
Application granted granted Critical
Publication of JP5393732B2 publication Critical patent/JP5393732B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】ユーザに負担をかけることなく、当該ユーザの趣向に即して対話エージェントシステムの対話ルールを変更することができる対話ルール変更装置及び対話ルール変更方法を提供すること。
【解決手段】対話ルール変更装置1は、入力メッセージに対応する処理手順が定められた検出ノードと、応答メッセージに対応する処理手順が定められた動作ノードと、検出ノードと動作ノードとの接続関係を示すエッジとから構成されるデータであり、各ノードに対応するメッセージに複数のカテゴリの少なくともいずれかが付されたデータを対話ルールとして記憶する対話ルールDB134と、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、各ノードに対応するメッセージのカテゴリとに基づいて、対話ルールを変更する対話ルール変更部144と、を備える。
【選択図】図2
Disclosed is a dialog rule changing device and a dialog rule changing method capable of changing a dialog rule of a dialog agent system in accordance with the user's preference without imposing a burden on the user.
An interaction rule changing device includes a detection node having a processing procedure corresponding to an input message, an operation node having a processing procedure corresponding to a response message, and a connection relationship between the detection node and the operation node. A dialogue rule DB 134 for storing data in which at least one of a plurality of categories is attached to a message corresponding to each node as a dialogue rule, and an action history on the user's web An interaction rule changing unit 144 that changes the interaction rule based on the user interest category determined based on the message category corresponding to each node.
[Selection] Figure 2

Description

本発明は、入力メッセージに対し、予め設定された対話ルールに従って応答メッセージを出力する対話エージェントシステムの対話ルールを変更する対話ルール変更装置、対話ルール変更方法及び対話ルール変更プログラムに関する。   The present invention relates to an interaction rule changing device, an interaction rule changing method, and an interaction rule changing program for changing an interaction rule of an interaction agent system that outputs a response message to an input message in accordance with an interaction rule set in advance.

近年、ユーザ端末からメッセージを受け付けたことに応じて、このメッセージに対応するメッセージをユーザ端末に出力する対話エージェントシステムが普及している。そして、このような対話エージェントシステムにおいて、ユーザ端末から受け付けたメッセージに対して多様なメッセージの出力を行ったり、このユーザ端末のユーザに適したメッセージの出力を行ったりする手法が提案されている。   In recent years, an interactive agent system that outputs a message corresponding to a message to the user terminal in response to receiving the message from the user terminal has become widespread. In such an interactive agent system, a method for outputting various messages to a message received from a user terminal or outputting a message suitable for the user of the user terminal has been proposed.

例えば、特許文献1には、ユーザからのメッセージと、このメッセージに対応して出力するメッセージとの関係を知識構造(対話ルール)として記憶しておき、ユーザからメッセージを受け付けたことに応じて、このメッセージに含まれる単語に基づいて、対話ルールを変更する方法が提案されている。   For example, Patent Literature 1 stores a relationship between a message from a user and a message output corresponding to the message as a knowledge structure (dialog rule), and in response to receiving a message from the user, A method for changing the dialogue rule based on the word included in the message has been proposed.

特開2009−223720号公報JP 2009-223720 A

しかしながら、特許文献1に記載の方法では、ユーザが、対話ルールにおける所定のメッセージを変更したい場合、この所定のメッセージに直接関連するメッセージが対話エージェントシステムから出力されるまで、対話エージェントシステムとメッセージの交換を繰り返す必要がある。したがって、特許文献1に記載の方法では、所望するメッセージに対応する対話ルールを変更するのがユーザにとって煩雑である。   However, in the method described in Patent Document 1, when a user wants to change a predetermined message in the dialog rule, the dialog agent system and the message are not updated until a message directly related to the predetermined message is output from the dialog agent system. It is necessary to repeat the exchange. Therefore, in the method described in Patent Document 1, it is complicated for the user to change the conversation rule corresponding to a desired message.

さらに、特許文献1に記載の方法では、ユーザが対話エージェントシステムとメッセージの交換を行うことで対話ルールが変更される。このため、メッセージ交換のやりとりにおいて、ユーザが自身の趣向に即していないメッセージを入力してしまい、その結果、ユーザの趣向に合わない対話ルールに変更される可能性がある。よって、特許文献1に記載の方法では、ユーザが、自身の趣向に即して対話ルールを変更できないおそれがある。   Furthermore, in the method described in Patent Document 1, the interaction rule is changed by the user exchanging messages with the interaction agent system. For this reason, in the exchange of messages, the user inputs a message that does not conform to his / her preference, and as a result, there is a possibility that the conversation rule is changed to a user's preference. Therefore, in the method described in Patent Document 1, there is a possibility that the user cannot change the conversation rule according to his / her preference.

本発明は、ユーザに負担をかけることなく、当該ユーザの趣向に即して対話エージェントシステムの対話ルールを変更することができる対話ルール変更装置、対話ルール変更方法及び対話ルール変更プログラムを提供することを目的とする。   The present invention provides an interaction rule changing device, an interaction rule changing method, and an interaction rule changing program capable of changing an interaction rule of an interaction agent system according to the user's preference without imposing a burden on the user. With the goal.

(1)入力メッセージに対し、予め設定された対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールを変更する対話ルール変更装置であって、前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータを前記対話ルールとして記憶する対話ルール記憶手段と、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて、前記対話ルールを変更する対話ルール変更手段と、を備える対話ルール変更装置。   (1) An interaction rule changing device for changing the interaction rule of an interaction agent system that outputs a response message to an input message in accordance with a predetermined interaction rule, and a processing procedure corresponding to the input message is defined Data composed of a detection node, an operation node for which a processing procedure corresponding to the response message is determined, and an edge indicating a connection relationship between the detection node and the operation node, Dialog rule storage means for storing data to which a message category is attached as the dialog rule, a user interest category determined based on a user's behavior history on the web, and a message category corresponding to each of the nodes A dialogue rule changing means for changing the dialogue rule based on the dialogue rule. Le changing device.

(1)の対話ルール変更装置は、対話ルール変更手段により、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、各ノードに対応するメッセージのカテゴリとに基づいて、対話ルールを変更する。   The dialog rule changing device of (1) determines a dialog rule based on the user interest category determined based on the user's behavior history on the web and the message category corresponding to each node by the dialog rule changing means. change.

このように、(1)の対話ルール変更装置は、ユーザの行動履歴に基づいたユーザ関心カテゴリによって対話ルールを変更するので、ユーザから対話ルールの変更操作を受け付けることを必要としない。さらに、ユーザの行動履歴に基づいたユーザ関心カテゴリは、ユーザの趣向に即しているため、(1)の対話ルール変更装置は、ユーザに負担をかけることなく、当該ユーザの趣向に即して対話エージェントシステムの対話ルールを変更することができる。   As described above, the dialog rule changing device (1) changes the dialog rule according to the user interest category based on the user's behavior history, and therefore does not need to accept the dialog rule changing operation from the user. Furthermore, since the user interest category based on the user's behavior history is in accordance with the user's preference, the dialog rule changing device in (1) is in accordance with the user's preference without imposing a burden on the user. The interaction rule of the interaction agent system can be changed.

(2)前記ユーザ関心カテゴリが付された前記検出ノード及び前記動作ノードの少なくともいずれかを含む新規対話ルールを生成する対話ルール生成手段を備え、前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールに対して前記対話ルール生成手段により生成された新規対話ルールを追加する、(1)に記載の対話ルール変更装置。   (2) A dialog rule generating unit that generates a new dialog rule including at least one of the detection node and the action node to which the user interest category is attached, and the dialog rule changing unit is stored in the dialog rule storage unit. The dialog rule changing device according to (1), wherein a new dialog rule generated by the dialog rule generating means is added to the stored dialog rule.

(2)の対話ルール変更装置は、対話ルール生成手段により、ユーザ関心カテゴリが付された検出ノード及び動作ノードの少なくともいずれかを含む新規対話ルールを生成し、対話ルール変更手段により、対話ルール記憶手段に記憶されている対話ルールに対して生成された新規対話ルールを追加する。このようにすることで、(2)の対話ルール変更装置は、ユーザ関心カテゴリに対応する対話ルールを新たに追加して、ユーザの趣向に対応する対話ルールを増加させることができる。   In the dialog rule changing device of (2), the dialog rule generating means generates a new dialog rule including at least one of the detection node and the action node to which the user interest category is attached, and the dialog rule changing means stores the dialog rule storage. A new dialogue rule generated for the dialogue rule stored in the means is added. By doing in this way, the dialog rule change apparatus of (2) can add the dialog rule corresponding to a user interest category newly, and can increase the dialog rule corresponding to a user preference.

(3)前記カテゴリは、階層を有し、前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードに対して、前記対話ルール生成手段により生成された新規対話ルールを下位となるように追加する、(2)に記載の対話ルール変更装置。   (3) The category has a hierarchy, and the interaction rule changing unit is a detection node or action node to which a category higher than the user interest category in the interaction rule stored in the interaction rule storage unit is attached. The dialog rule changing device according to (2), wherein a new dialog rule generated by the dialog rule generating means is added so as to be subordinate.

(3)の対話ルール変更装置は、対話ルール変更手段により、対話ルール記憶手段に記憶されている対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードに対して、対話ルール生成手段により生成された新規対話ルールを下位となるように追加する。このようにすることで、(3)の対話ルール変更装置は、ユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードからユーザ関心カテゴリに対応する対話に違和感なく遷移させることができる。   In the dialog rule changing device of (3), the dialog rule is applied to the detection node or the action node to which the higher category of the user interest category in the dialog rule stored in the dialog rule storage means is added by the dialog rule changing means. A new dialogue rule generated by the generation unit is added so as to be in a lower level. By doing in this way, the dialog rule changing device of (3) can make a transition from the detection node or the action node with the higher category of the user interest category to the dialogue corresponding to the user interest category without a sense of incongruity.

(4)前記対話ルール生成手段は、前記対話ルール記憶手段に記憶された前記対話ルールにおける前記ユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードに付されたカテゴリを前記ユーザ関心カテゴリに変更するとともに、前記抽出されたノードに対応するメッセージを、前記ユーザ関心カテゴリと、前記上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する、(3)に記載の対話ルール変更装置。   (4) The dialogue rule generation unit extracts a node connected to a lower level of a node to which a higher category of the user interest category in the dialogue rule stored in the dialogue rule storage unit is extracted. Change the category attached to the node to the user interest category and change the message corresponding to the extracted node to a message corresponding to both the user interest category and the higher category. The dialog rule changing device according to (3), which generates a dialog rule.

(4)の対話ルール変更装置は、対話ルール生成手段により、対話ルール記憶手段に記憶された対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードに付されたカテゴリをユーザ関心カテゴリに変更するとともに、抽出されたノードに対応するメッセージを、ユーザ関心カテゴリと、上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する。このようにすることで、(4)の対話ルール変更装置は、既存のノードの構造を利用して、ユーザ関心カテゴリが付されたノードを効率よく生成することができる。   In the dialog rule changing device of (4), the dialog rule generating means extracts a node connected to a lower level of the node to which the higher category of the user interest category in the dialog rule stored in the dialog rule storing means is attached, Change the category attached to the extracted node to the user interest category, and change the message corresponding to the extracted node to a message corresponding to both the user interest category and the higher-level category. Generate rules. By doing in this way, the dialog rule change apparatus of (4) can generate | occur | produce the node to which the user interest category was attached | subjected efficiently using the structure of the existing node.

(5)前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリが付されている動作ノードと、複数のエッジを介して当該動作ノードの上位に間接的に接続されている検出ノードとを接続するエッジを、前記対話ルール記憶手段に記憶されている前記対話ルールに追加する、(1)から(4)のいずれかに記載の対話ルール変更装置。   (5) The dialogue rule changing unit is indirectly connected to an action node to which the user interest category in the dialogue rule stored in the dialogue rule storage unit is assigned and a higher level of the action node via a plurality of edges. The dialog rule changing device according to any one of (1) to (4), wherein an edge that connects a detection node that is connected to the communication rule is added to the dialog rule stored in the dialog rule storage means.

(5)の対話ルール変更装置は、対話ルール変更手段により、対話ルール記憶手段に記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードと、複数のエッジを介して当該動作ノードの上位に間接的に接続されている検出ノードとを接続するエッジを、対話ルール記憶手段に記憶されている対話ルールに追加する。このようにすることで、(5)の対話ルール変更装置は、少ない対話回数で、ユーザの趣向に対応する対話に遷移させることができる。   In the dialog rule changing device of (5), the dialog rule changing means assigns an action node to which the user interest category in the dialog rule stored in the dialog rule storage means is attached, and the action node via a plurality of edges. An edge that connects a detection node that is indirectly connected to a higher level is added to the dialogue rule stored in the dialogue rule storage means. By doing in this way, the dialog rule changing device of (5) can make a transition to a dialog corresponding to the user's taste with a small number of dialogs.

(6)前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリが付されている動作ノードに対して複数のエッジを介して上位に間接的に接続されている動作ノードに対応する応答メッセージを、前記ユーザ関心カテゴリの名称を含む応答メッセージに変更する、(1)から(5)のいずれかに記載の対話ルール変更装置。   (6) The dialogue rule changing means is indirectly connected to a higher level through a plurality of edges to the operation node to which the user interest category in the dialogue rule stored in the dialogue rule storage means is attached. The interaction rule changing device according to any one of (1) to (5), wherein a response message corresponding to an operation node being changed is changed to a response message including a name of the user interest category.

(6)の対話ルール変更装置は、対話ルール変更手段により、対話ルール記憶手段に記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードに対して複数のエッジを介して上位に間接的に接続されている動作ノードに対応する応答メッセージを、ユーザ関心カテゴリの名称を含む応答メッセージに変更する。ここで、ユーザ関心カテゴリの名称を含む応答メッセージが出力された場合、ユーザは、当該応答メッセージが出力されない場合に比べて、ユーザ関心カテゴリに対応するメッセージを入力する可能性が高い。よって、(6)の対話ルール変更装置は、ユーザ関心カテゴリに対応する動作ノードに遷移する確率を増加させることができる。   In the dialog rule changing device of (6), the dialog rule changing means indirectly indirectly through a plurality of edges with respect to the operation node to which the user interest category in the dialog rule stored in the dialog rule storage means is attached. The response message corresponding to the operation node connected to the user is changed to a response message including the name of the user interest category. Here, when a response message including the name of the user interest category is output, the user is more likely to input a message corresponding to the user interest category than when the response message is not output. Therefore, the dialog rule changing device of (6) can increase the probability of transition to an operation node corresponding to the user interest category.

(7)前記対話ルール記憶手段は、前記エッジに対して、当該エッジに関連付けられている遷移先の動作ノードへの遷移確率を対応付けて記憶し、前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールに、前記ユーザ関心カテゴリの上位のカテゴリが付された検出ノードに対応する複数のエッジが記憶されている場合において、前記ユーザ関心カテゴリが付された動作ノードに対応するエッジが当該複数のエッジに含まれているとき、前記ユーザ関心カテゴリが付された動作ノードに対応するエッジの遷移確率が他のエッジの遷移確率に比べて高くなるように前記複数のエッジそれぞれの遷移確率を調整する、(1)から(6)のいずれかに記載の対話ルール変更装置。   (7) The dialogue rule storage means stores a transition probability to the transition destination operation node associated with the edge in association with the edge, and the dialogue rule change means stores the dialogue rule storage. In the case where a plurality of edges corresponding to detection nodes to which a higher category of the user interest category is added are stored in the interaction rule stored in the means, the action node to which the user interest category is attached When the corresponding edge is included in the plurality of edges, the plurality of edges so that the transition probability of the edge corresponding to the operation node with the user interest category is higher than the transition probability of the other edges. The dialog rule changing device according to any one of (1) to (6), which adjusts each transition probability.

(7)の対話ルール変更装置は、ユーザ関心カテゴリの上位のカテゴリが付された検出ノードに対応する複数のエッジが記憶されている場合において、ユーザ関心カテゴリが付された動作ノードに対応するエッジが当該複数のエッジに含まれているとき、ユーザ関心カテゴリが付された動作ノードに対応するエッジの遷移確率が他のエッジの遷移確率に比べて高くなるように複数のエッジそれぞれの遷移確率を調整する。このようにすることで、(7)の対話ルール変更装置は、ユーザ関心カテゴリが付された動作ノードへの遷移確率を増加させて、ユーザと対話エージェントシステムとの間で、ユーザの趣向に対応する対話が行われやすいようにすることができる。   In the dialog rule changing device of (7), when a plurality of edges corresponding to a detection node to which a higher category of the user interest category is assigned are stored, an edge corresponding to an operation node to which the user interest category is assigned Are included in the plurality of edges, the transition probability of each of the plurality of edges is set so that the transition probability of the edge corresponding to the operation node assigned with the user interest category is higher than the transition probability of the other edges. adjust. By doing in this way, the dialog rule changing device of (7) increases the probability of transition to the operation node to which the user interest category is attached, and copes with the user's preference between the user and the dialog agent system. It is possible to make it easy to have a dialogue.

(8)前記ユーザのウェブ上の行動履歴を記憶する行動履歴記憶手段と、前記行動履歴記憶手段に記憶されている前記行動履歴に基づいて、前記ユーザ関心カテゴリを決定する関心カテゴリ決定手段と、を備え、前記対話ルール変更手段は、前記関心カテゴリ決定手段により決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて、前記対話ルールを変更する、(1)から(7)のいずれかに記載の対話ルール変更装置。   (8) An action history storage unit that stores an action history on the web of the user; an interest category determination unit that determines the user interest category based on the action history stored in the action history storage unit; The interaction rule changing unit changes the interaction rule based on the user interest category determined by the interest category determination unit and the message category corresponding to each of the nodes. 7) The dialogue rule changing device according to any one of 7).

このように、(8)の対話ルール変更装置は、関心カテゴリ決定手段により、行動履歴記憶手段に記憶されている行動履歴に基づいて、ユーザ関心カテゴリを決定し、対話ルール変更手段により、関心カテゴリ決定手段により決定されたユーザ関心カテゴリと、各ノードに対応するメッセージのカテゴリとに基づいて、対話ルールを変更することができる。   In this way, in the dialog rule changing device of (8), the interest category determining means determines the user interest category based on the action history stored in the action history storage means, and the dialog rule changing means determines the interest category. The interaction rule can be changed based on the user interest category determined by the determination unit and the message category corresponding to each node.

(9)入力メッセージに対し、予め定められた対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールをコンピュータが変更する対話ルール変更方法であって、前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータである対話ルールを、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて変更する、対話ルール変更方法。   (9) A dialogue rule changing method in which a computer changes the dialogue rule of the dialogue agent system that outputs a response message to an input message according to a predetermined dialogue rule, and a processing procedure corresponding to the input message is determined. The detection node, the operation node for which the processing procedure corresponding to the response message is determined, and the edge indicating the connection relationship between the detection node and the operation node, And changing the interaction rule, which is data to which the message category is attached, based on the user interest category determined based on the user's behavior history on the web, and the message category corresponding to each of the nodes, How to change dialogue rules.

(10)入力メッセージに対し、予め定められた対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールの変更をコンピュータに実行させる対話ルール変更プログラムであって、前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータでる対話ルールを、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて変更するステップ、を前記コンピュータに実行させる対話ルール変更プログラム。   (10) A dialog rule changing program for causing a computer to execute the change of the dialog rule of the dialog agent system that outputs a response message to an input message according to a predetermined dialog rule, and a processing procedure corresponding to the input message Each of the nodes is a data comprising a detection node for which a response procedure is determined, an operation node for which a processing procedure corresponding to the response message is determined, and an edge indicating a connection relationship between the detection node and the operation node The interaction rule, which is the data with the message category attached to the user, is changed based on the user interest category determined based on the user's behavior history on the web and the message category corresponding to each node. Step for causing the computer to execute an interactive rule change program Lamb.

これら対話ルール変更方法及び対話ルールプログラムによれば、(1)に係る発明と同様の効果を奏する。   According to these dialogue rule changing method and dialogue rule program, the same effects as the invention according to (1) are obtained.

本発明によれば、ユーザに負担をかけることなく、当該ユーザの趣向に即して対話エージェントシステムの対話ルールを変更することができる対話ルール変更装置、対話ルール変更方法及び対話ルール変更プログラムを提供することができる。   According to the present invention, there is provided an interaction rule changing device, an interaction rule changing method, and an interaction rule changing program capable of changing an interaction rule of an interaction agent system according to the user's preference without imposing a burden on the user. can do.

第1実施形態に係る対話ルール変更装置とその周辺装置との関係を示す図である。It is a figure which shows the relationship between the dialogue rule change apparatus which concerns on 1st Embodiment, and its peripheral device. 第1実施形態に係る対話ルール変更装置の機能構成を示す図である。It is a figure which shows the function structure of the dialogue rule change apparatus which concerns on 1st Embodiment. 第1実施形態に係る行動履歴DBを示す図である。It is a figure which shows action history DB which concerns on 1st Embodiment. 第1実施形態に係るカテゴリ辞書DBを示す図である。It is a figure which shows category dictionary DB which concerns on 1st Embodiment. 第1実施形態に係るカテゴリDBを示す図である。It is a figure which shows category DB which concerns on 1st Embodiment. 第1実施形態に係る対話ルールDBを示す図である。It is a figure which shows dialog rule DB which concerns on 1st Embodiment. 第1実施形態に係る対話ルールの模式図である。It is a schematic diagram of the dialogue rule which concerns on 1st Embodiment. 第1実施形態に係る対話ルール変更装置による、入力メッセージに対して予め定められた対話ルールに従って応答メッセージを出力する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which outputs a response message according to the dialogue rule predetermined with respect to the input message by the dialogue rule change apparatus which concerns on 1st Embodiment. 第2実施形態に係る対話ルール変更装置の機能構成を示す図である。It is a figure which shows the function structure of the dialogue rule change apparatus which concerns on 2nd Embodiment. 第2実施形態に係る対話ルールDBを示す図である。It is a figure which shows dialog rule DB which concerns on 2nd Embodiment. 第2実施形態に係る対話ルールの模式図である。It is a schematic diagram of the dialogue rule which concerns on 2nd Embodiment. 第2実施形態に係る対話ルールが変更された例を示す図(その1)である。It is the figure (the 1) which shows the example by which the dialogue rule which concerns on 2nd Embodiment was changed. 第2実施形態に係る対話ルールが変更された例を示す図(その2)である。It is a figure (the 2) which shows the example by which the dialogue rule which concerns on 2nd Embodiment was changed. 第2実施形態に係る対話ルールが変更された例を示す図(その3)である。It is a figure (the 3) which shows the example by which the dialogue rule which concerns on 2nd Embodiment was changed.

以下、本発明の実施形態について図を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1実施形態]
[機能構成]
図1は、第1実施形態に係る対話ルール変更装置1とその周辺装置との関係を示す図である。対話ルール変更装置1は、LAN等の通信ネットワークにより、対話エージェントシステム2と複数のウェブサーバ3とに通信可能に接続されている。
[First Embodiment]
[Function configuration]
FIG. 1 is a diagram illustrating a relationship between the dialog rule changing device 1 according to the first embodiment and its peripheral devices. The dialog rule changing device 1 is communicably connected to the dialog agent system 2 and the plurality of web servers 3 via a communication network such as a LAN.

対話ルール変更装置1は、入力メッセージに対して予め設定された対話ルールに従って応答メッセージを出力する対話エージェントシステム2の対話ルールを変更する。対話ルール変更装置1の詳細は、後述する。   The dialogue rule changing device 1 changes the dialogue rule of the dialogue agent system 2 that outputs a response message in accordance with a dialogue rule set in advance with respect to the input message. Details of the dialog rule changing device 1 will be described later.

対話エージェントシステム2は、LAN等の通信ネットワークにより対話ルール変更装置1と通信可能に接続されているとともに、LANやインターネット等の通信ネットワークにより複数のユーザ端末4と通信可能に接続されている。対話エージェントシステム2は、ユーザ端末4から入力メッセージを受け付ける。そして、対話エージェントシステム2は、予め設定された対話ルールに従って、受け付けた入力メッセージに対応する応答メッセージをこのユーザ端末4に対して出力する。   The dialogue agent system 2 is communicably connected to the dialogue rule changing device 1 via a communication network such as a LAN, and is connected to a plurality of user terminals 4 via a communication network such as a LAN or the Internet. The dialogue agent system 2 receives an input message from the user terminal 4. Then, the dialogue agent system 2 outputs a response message corresponding to the accepted input message to the user terminal 4 in accordance with a preset dialogue rule.

ウェブサーバ3は、検索サーバやミニブログサーバやブログサーバ等であり、ウェブ上で、複数のユーザ端末4に対して各種サービスを提供する。   The web server 3 is a search server, a mini blog server, a blog server, or the like, and provides various services to a plurality of user terminals 4 on the web.

なお、図1に示される矢印は、データの流れを示しており、矢印と併せて示される文字列は、データの内容を示している。例えば、対話ルール変更装置1から対話エージェントシステム2に向かう矢印は、対話ルールが対話ルール変更装置1から対話エージェントシステム2に送信(又は参照)されることを示している。また、対話エージェントシステム2から対話ルール変更装置1に向かう矢印は、対話ログが対話エージェントシステム2から対話ルール変更装置1に送信されることを示している。また、ウェブサーバ3から対話ルール変更装置1に向かう矢印は、行動履歴に係る情報がウェブサーバ3から対話ルール変更装置1に送信されることを示している。   In addition, the arrow shown in FIG. 1 has shown the flow of data, and the character string shown with the arrow has shown the content of data. For example, an arrow from the dialogue rule changing device 1 to the dialogue agent system 2 indicates that the dialogue rule is transmitted (or referred to) from the dialogue rule changing device 1 to the dialogue agent system 2. An arrow from the dialogue agent system 2 to the dialogue rule changing device 1 indicates that a dialogue log is transmitted from the dialogue agent system 2 to the dialogue rule changing device 1. An arrow from the web server 3 to the interaction rule changing device 1 indicates that information related to the action history is transmitted from the web server 3 to the interaction rule changing device 1.

図2は、第1実施形態に係る対話ルール変更装置1の機能構成を示す図である。
対話ルール変更装置1は、操作部11と、表示部12と、記憶部13と、制御部14と、を備える。
FIG. 2 is a diagram illustrating a functional configuration of the conversation rule changing device 1 according to the first embodiment.
The interaction rule changing device 1 includes an operation unit 11, a display unit 12, a storage unit 13, and a control unit 14.

操作部11は、例えば、キーボード及びポインティング・デバイス(マウス、トラッキングボール等)により構成され、操作者から直接的な入力を受け付ける。
表示部12は、例えば、液晶ディスプレイやプラズマディスプレイ等の各種ディスプレイにより構成され、対話ルール変更装置1の機能に関する情報を表示する。
The operation unit 11 includes, for example, a keyboard and a pointing device (mouse, tracking ball, etc.), and receives a direct input from the operator.
The display unit 12 is configured by various displays such as a liquid crystal display and a plasma display, for example, and displays information related to the function of the dialog rule changing device 1.

記憶部13は、行動履歴記憶手段としての行動履歴DB131と、カテゴリ辞書情報記憶手段としてのカテゴリ辞書DB132と、カテゴリDB133と、対話ルール記憶手段としての対話ルールDB134とを備える。   The storage unit 13 includes an action history DB 131 as an action history storage unit, a category dictionary DB 132 as a category dictionary information storage unit, a category DB 133, and an interaction rule DB 134 as an interaction rule storage unit.

行動履歴DB131は、ユーザ端末4に対するウェブサーバ3の利用履歴を行動履歴として記憶する。行動履歴には、ウェブサーバ3における検索履歴と、ブログ又はミニブログへの投稿内容と、ユーザ端末4がアクセスしたウェブページの内容との少なくともいずれかが含まれる。   The action history DB 131 stores a use history of the web server 3 for the user terminal 4 as an action history. The action history includes at least one of the search history in the web server 3, the content posted on the blog or miniblog, and the content of the web page accessed by the user terminal 4.

図3は、第1実施形態に係る行動履歴DB131を示す図である。
図3に示すように、行動履歴DB131は、ユーザを識別するユーザIDと、ユーザの行動履歴の行動種別と、行動履歴の内容とを関連付けて記憶する。行動履歴の内容は、行動種別が「検索」の場合、検索キーワードを示し、行動種別が「ミニブログ」又は「ブログ」の場合、投稿内容を示し、「ウェブ閲覧」の場合、閲覧されたウェブページのスニペットを示している。なお、行動履歴DB131に記憶される行動履歴には、対話エージェントシステム2におけるユーザ端末4との対話ログや、メールのメッセージ本文や、ウェブショッピングにおける商品の購入履歴等、他の行動履歴も含まれる。
FIG. 3 is a diagram illustrating the action history DB 131 according to the first embodiment.
As illustrated in FIG. 3, the behavior history DB 131 stores a user ID for identifying a user, a behavior type of the user's behavior history, and the content of the behavior history in association with each other. The content of the action history indicates the search keyword when the action type is “search”, indicates the posted content when the action type is “mini-blog” or “blog”, and indicates the viewed web when it is “web browsing” Shows a snippet of the page. Note that the behavior history stored in the behavior history DB 131 includes other behavior histories such as a dialogue log with the user terminal 4 in the dialogue agent system 2, a message body of an email, and a purchase history of a product in web shopping. .

図4は、第1実施形態に係るカテゴリ辞書DB132を示す図である。
図4に示すように、カテゴリ辞書DB132は、カテゴリと、カテゴリに対応する単語とを関連付けてカテゴリ辞書情報として記憶する。
FIG. 4 is a diagram showing the category dictionary DB 132 according to the first embodiment.
As shown in FIG. 4, the category dictionary DB 132 stores the category and the word corresponding to the category in association with each other as category dictionary information.

図5は、第1実施形態に係るカテゴリDB133を示す図である。
図5に示すように、カテゴリは、複数の階層を有している。すなわち、カテゴリDB133は、上位のカテゴリと、この上位のカテゴリより1つ下の階層のカテゴリである下位のカテゴリとを関連付けて記憶する。
FIG. 5 is a diagram showing the category DB 133 according to the first embodiment.
As shown in FIG. 5, the category has a plurality of hierarchies. That is, the category DB 133 stores an upper category and a lower category, which is a category one level lower than the upper category, in association with each other.

図5に示すように、例えば、「カレー店:六本木」カテゴリの上位のカテゴリとして「六本木」カテゴリが存在し、「カレー店:神保町」カテゴリの上位のカテゴリとして、「神保町」カテゴリが存在する。さらに、「六本木」カテゴリ及び「神保町」カテゴリの上位のカテゴリとして、「地域」カテゴリが存在する。   As shown in FIG. 5, for example, a “Roppongi” category exists as an upper category of the “Curry store: Roppongi” category, and a “Jimbocho” category exists as a category higher than the “Curry store: Jimbocho” category. Furthermore, as an upper category of the “Roppongi” category and the “Jimbocho” category, there is a “region” category.

対話ルールDB134は、対話ルールを記憶する。
対話ルールは、入力メッセージに対応する処理手順が定められた検出ノードと、応答メッセージに対応する処理手順が定められた動作ノードと、検出ノードと動作ノードとの接続関係を示すエッジとから構成されるグラフ構造のデータである。
第1実施形態では、対話ルールDB134に一の対話ルールのみ記憶されており、この対話ルールは、対話エージェントシステム2を介して複数のユーザ端末4のユーザに利用される。
The dialogue rule DB 134 stores dialogue rules.
The dialogue rule is composed of a detection node in which a processing procedure corresponding to an input message is defined, an operation node in which a processing procedure corresponding to a response message is defined, and an edge indicating a connection relationship between the detection node and the operation node. The data of the graph structure.
In the first embodiment, only one dialogue rule is stored in the dialogue rule DB 134, and this dialogue rule is used by users of a plurality of user terminals 4 via the dialogue agent system 2.

図6は、第1実施形態に係る対話ルールDB134を示す図である。
図6に示すように、対話ルールDB134は、ノードに関連する情報を記憶するノードテーブル135と、エッジに関連する情報を記憶するエッジテーブル136とを備える。
FIG. 6 is a diagram showing the dialogue rule DB 134 according to the first embodiment.
As shown in FIG. 6, the interaction rule DB 134 includes a node table 135 that stores information related to nodes, and an edge table 136 that stores information related to edges.

ノードテーブル135は、ノードを識別するノードIDと、ノードの種別を示すノード種別と、メッセージに対応する処理手順を示す処理内容と、ノードに付されているカテゴリとを関連付けて記憶する。   The node table 135 associates and stores a node ID for identifying a node, a node type indicating a node type, a processing content indicating a processing procedure corresponding to a message, and a category assigned to the node.

つまり、対話ルールDB134に記憶されている対話ルールでは、各ノード(検出ノード及び動作ノード)に対し、そのメッセージ(各ノードの処理手順に対応するメッセージ)に対応するカテゴリが付されている。ここで、メッセージにカテゴリが付されているとは、メッセージに対してカテゴリを示すカテゴリの情報(例えば、カテゴリの名称や、カテゴリを識別するカテゴリコード)が付されていることをいう。   That is, in the dialogue rule stored in the dialogue rule DB 134, a category corresponding to the message (message corresponding to the processing procedure of each node) is assigned to each node (detection node and operation node). Here, the category is attached to the message means that the category information (for example, category name or category code for identifying the category) indicating the category is attached to the message.

エッジテーブル136は、接続元のノードのノードIDを示す接続元ノードIDと、接続先のノードのノードIDを示す接続先ノードIDとを関連付けて記憶する。   The edge table 136 stores a connection source node ID indicating the node ID of the connection source node and a connection destination node ID indicating the node ID of the connection destination node in association with each other.

接続元ノードと接続先ノードとのいずれか一方は検出ノードであり、他方は動作ノードである。つまり、接続元ノードと接続先ノードとは、検出ノードと動作ノードとの接続関係、すなわち、エッジを示している。なお、対話エージェントシステム2は、第1実施形態の対話ルールに対応する検出ノードに対応する動作ノードが複数存在する場合、ランダムに一の動作ノードを特定し、当該動作ノードに遷移する。   One of the connection source node and the connection destination node is a detection node, and the other is an operation node. That is, the connection source node and the connection destination node indicate a connection relationship between the detection node and the operation node, that is, an edge. When there are a plurality of operation nodes corresponding to the detection node corresponding to the interaction rule of the first embodiment, the interaction agent system 2 randomly identifies one operation node and makes a transition to the operation node.

図7は、第1実施形態に係る対話ルールの模式図である。
図7に示される破線ブロックは検出ノードを示しており、実線ブロックは動作ノードを示している。また、これらのブロックには、ノードIDが付されている。また、各ブロック同士を繋ぐ矢印はエッジを示しており、具体的には、始点(矢がない側)が接続元ノードを示し、終点(矢がある側)が接続先ノードを示している。例えば、ノードID「N1」のノードとノードID「N2」のノードとを接続する矢印は、接続元ノードがノードID「N1」の検出ノードであり、接続先ノードがノードID「N2」の動作ノードであることを示している。
FIG. 7 is a schematic diagram of a dialogue rule according to the first embodiment.
A broken line block shown in FIG. 7 indicates a detection node, and a solid line block indicates an operation node. Also, node IDs are assigned to these blocks. Moreover, the arrow which connects each block has shown the edge, and specifically, the start point (side without an arrow) shows a connection origin node, and the end point (side with an arrow) has shown the connection destination node. For example, the arrow connecting the node with the node ID “N1” and the node with the node ID “N2” is an operation in which the connection source node is the detection node with the node ID “N1” and the connection destination node is the node ID “N2”. Indicates a node.

図2に戻り、制御部14は、対話ルール変更装置1に係る各機能を統括的に制御する。制御部14は、集計部141と、関心カテゴリ決定手段としての関心カテゴリ決定部142と、対話ルール生成手段としての対話ルール生成部143と、対話ルール変更手段としての対話ルール変更部144とを備える。   Returning to FIG. 2, the control unit 14 comprehensively controls each function related to the dialogue rule changing device 1. The control unit 14 includes a totaling unit 141, an interest category determination unit 142 as an interest category determination unit, an interaction rule generation unit 143 as an interaction rule generation unit, and an interaction rule change unit 144 as an interaction rule change unit. .

集計部141は、複数のユーザそれぞれの行動履歴をカテゴリごとに集計する。
具体的には、集計部141は、行動履歴DB131に記憶されているユーザIDごとに以下の処理を行う。すなわち、集計部141は、行動履歴DB131に記憶されている行動履歴の形態素解析を行い、単語を抽出する。そして、集計部141は、抽出された単語をカテゴリ辞書DB132に記憶されているカテゴリに分類し、分類された単語をカテゴリごとに集計することで、行動履歴をカテゴリごとに集計する。なお、集計部141は、行動履歴から単語を抽出する場合において、一の行動履歴に同一の単語が複数含まれているとき、1個の単語のみを抽出するようにしてもよい。
The totaling unit 141 totals the action history of each of a plurality of users for each category.
Specifically, the totalization unit 141 performs the following process for each user ID stored in the action history DB 131. That is, the totalization unit 141 performs morphological analysis of the action history stored in the action history DB 131 and extracts words. The totaling unit 141 classifies the extracted words into categories stored in the category dictionary DB 132, and totals the classified history for each category, thereby totaling the action history for each category. In addition, when extracting the word from the action history, the counting unit 141 may extract only one word when a plurality of the same words are included in one action history.

また、集計部141は、行動履歴DB131に記憶されている行動履歴が、閲覧されたウェブページのスニペットである場合、文書分類器を用いて当該スニペットをカテゴリに分類するようにしてもよい。すなわち、予めスニペットと、当該スニペットに対応するカテゴリの組み合わせを教師データとして文書分類器の学習を行った後、集計部141は、閲覧されたウェブページのスニペットを、この文書分類器を用いてカテゴリに分類するようにしてもよい。   Further, when the action history stored in the action history DB 131 is a snippet of a browsed web page, the counting unit 141 may classify the snippet into a category using a document classifier. That is, after learning the document classifier using a combination of a snippet and a category corresponding to the snippet as teacher data in advance, the counting unit 141 uses the document classifier to classify the snippet of the browsed web page as a category. You may make it classify | categorize into.

関心カテゴリ決定部142は、行動履歴DB131に記憶されている行動履歴に基づいて、ユーザIDごとに、ユーザの関心話題のカテゴリであるユーザ関心カテゴリを決定する。具体的には、関心カテゴリ決定部142は、ユーザIDごとに、集計部141により集計された集計値が相対的に高い1又は複数のカテゴリを、ユーザ関心カテゴリに決定する。   The interest category determination unit 142 determines the user interest category, which is the category of the user's interest topic, for each user ID based on the behavior history stored in the behavior history DB 131. Specifically, the interest category determination unit 142 determines, for each user ID, one or a plurality of categories having a relatively high aggregate value aggregated by the aggregation unit 141 as the user interest category.

対話ルール生成部143は、複数のユーザそれぞれについて、関心カテゴリ決定部142により決定されたユーザ関心カテゴリが付された検出ノード及び動作ノードの少なくともいずれかを含む新規対話ルールを生成する。   The interaction rule generation unit 143 generates, for each of a plurality of users, a new interaction rule including at least one of a detection node and an action node to which the user interest category determined by the interest category determination unit 142 is attached.

具体的には、対話ルール生成部143は、対話ルールDB134に記憶された対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードに付されたカテゴリをユーザ関心カテゴリに変更するとともに、抽出されたノードに対応するメッセージを、ユーザ関心カテゴリと、上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する。   Specifically, the dialogue rule generation unit 143 extracts a node connected to a lower level of a node to which a higher category of the user interest category in the dialogue rule stored in the dialogue rule DB 134 is added. The attached category is changed to the user interest category, and a message corresponding to the extracted node is changed to a message corresponding to both the user interest category and the upper category, thereby generating a new interaction rule.

対話ルール生成部143の処理について以下に詳述する。
まず、対話ルール生成部143は、カテゴリDB133を参照して、ユーザ関心カテゴリに対して1階層又は複数階層上位のカテゴリのうち、一の上位のカテゴリを特定する。そして、対話ルール生成部143は、対話ルールDB134に記憶された対話ルールにおいて、特定された上位のカテゴリが付されたノード(検出ノード及び動作ノード)を特定し、このノードの下位に直接的又は間接的に接続された1又は複数のノードを抽出する。ここで、抽出とは、対話ルールDB134に記憶されている対話ルールにおいて抽出対象となったノードに基づいて新たなノードを複製することをいい、抽出対象となったノードの内容が変更されるものではない。
The processing of the dialogue rule generation unit 143 will be described in detail below.
First, the dialogue rule generation unit 143 refers to the category DB 133 and identifies one higher-level category among categories one level higher than the user interest category. Then, the dialogue rule generation unit 143 identifies the node (detection node and action node) to which the identified higher category is added in the dialogue rule stored in the dialogue rule DB 134, and directly or directly below this node. Extract one or more indirectly connected nodes. Here, extraction refers to duplicating a new node based on the node that is the extraction target in the conversation rule stored in the conversation rule DB 134, and the content of the node that is the extraction target is changed. is not.

ここで、特定された上位のカテゴリが、ユーザ関心カテゴリに対して1階層上位のカテゴリである場合、対話ルール生成部143は、当該上位のカテゴリが付されたノードから、1階層下位のノードまでを対象として1又は複数のノードを抽出する。   Here, when the identified higher category is a category one level higher than the user interest category, the dialogue rule generation unit 143 performs the process from the node to which the higher category is attached to the node one level lower. One or more nodes are extracted for.

他方、特定された上位のカテゴリが、ユーザ関心カテゴリに対して複数階層上位のカテゴリである場合、対話ルール生成部143は、当該上位のカテゴリが付されたノードから、この階層分下位のノードまでを対象として複数のノードを抽出する。例えば、上位のカテゴリが、ユーザ関心カテゴリに対して3階層上位のカテゴリである場合、対話ルール生成部143は、当該上位のカテゴリが付されたノードから、3階層分下位のノードを抽出する。   On the other hand, when the identified higher category is a category higher in the hierarchy than the user interest category, the interaction rule generation unit 143 starts from the node with the higher category to the node lower in the hierarchy. A plurality of nodes are extracted for. For example, when the upper category is a category that is three layers higher than the user interest category, the interaction rule generation unit 143 extracts the lower layer of three layers from the node with the higher category.

続いて、対話ルール生成部143は、抽出されたノードの少なくとも一部について、ノードに付されたカテゴリをユーザ関心カテゴリに変更するとともに、抽出されたノードに対応するメッセージを、ユーザ関心カテゴリと、このユーザ関心カテゴリの上位のカテゴリとの双方に対応するメッセージに変更することによって、新規対話ルールを生成する。   Subsequently, the interaction rule generation unit 143 changes the category attached to the node to the user interest category for at least a part of the extracted nodes, and sends a message corresponding to the extracted node to the user interest category, A new interaction rule is generated by changing the message to correspond to both the higher category of the user interest category.

ここで、特定された上位のカテゴリが、ユーザ関心カテゴリに対して1階層上位のカテゴリである場合、対話ルール生成部143は、当該上位のカテゴリが付されたノードから、1階層下位のノードに付されたカテゴリをユーザ関心カテゴリに変更する。   Here, when the identified upper category is a category one level higher than the user interest category, the dialogue rule generation unit 143 changes the node having the higher category from the node to which the upper category is added to the node one layer lower. The attached category is changed to the user interest category.

他方、特定された上位のカテゴリが、ユーザ関心カテゴリに対して複数階層上位のカテゴリである場合、対話ルール生成部143は、抽出された複数階層のノードのうち最下層のノードに付されているカテゴリをユーザ関心カテゴリに変更する。そして、対話ルール生成部143は、最下層のノードの1つ上位の階層のノードに付されているカテゴリをユーザ関心カテゴリの1つ上位のカテゴリに変更する。このように、対話ルール生成部143は、複数階層それぞれのノードに付されたカテゴリを、それぞれの階層に対応したカテゴリに変更する。   On the other hand, when the identified higher category is a category that is higher in the hierarchy than the user interest category, the interaction rule generation unit 143 is attached to the lowermost node among the extracted nodes in the multiple hierarchy. Change the category to the user interest category. Then, the dialogue rule generation unit 143 changes the category assigned to the node one level higher than the lowest layer node to the category one level higher than the user interest category. As described above, the dialogue rule generation unit 143 changes the category assigned to each node in the plurality of hierarchies to a category corresponding to each hierarchy.

また、対話ルール生成部143は、カテゴリがユーザ関心カテゴリに変更されたノードのメッセージを以下のように変更する。まず、対話ルール生成部143は、このユーザ関心カテゴリに対応するユーザIDに関連付けられている行動履歴を行動履歴DB131から抽出する。そして、対話ルール生成部143は、抽出された行動履歴について形態素解析を行って単語を抽出し、抽出された単語から、ユーザ関心カテゴリと、このユーザ関心カテゴリの上位のカテゴリとの双方に対する共起率が相対的に高い単語を特定する。そして、対話ルール生成部143は、変更前のメッセージについて、共起率が相対的に高い単語を含むメッセージに変更する。なお、対話ルール生成部143は、共起率が高い単語を特定する場合に、行動履歴DB131に記憶されている行動履歴に限らず、ウェブ検索の検索結果やウェブページの内容に基づいて、共起率が高い単語を特定するようにしてもよい。   Further, the dialogue rule generation unit 143 changes the message of the node whose category is changed to the user interest category as follows. First, the dialogue rule generation unit 143 extracts an action history associated with the user ID corresponding to this user interest category from the action history DB 131. Then, the dialogue rule generation unit 143 performs morphological analysis on the extracted action history to extract words, and from the extracted words, co-occurrence for both the user interest category and a category higher than the user interest category Identify words with relatively high rates. And the dialogue rule production | generation part 143 changes the message before a change to the message containing the word with a relatively high co-occurrence rate. In addition, when specifying a word with a high co-occurrence rate, the dialogue rule generation unit 143 is not limited to the action history stored in the action history DB 131, but based on the search result of the web search and the content of the web page. You may make it identify the word with a high incidence rate.

具体的な例について、図5〜図7を用いて説明を行う。例えば、ユーザ関心カテゴリが「カレー店:神保町」である場合、対話ルール生成部143は、上位のカテゴリとして「地域」を特定する。図5に示されているように、「地域」カテゴリは、「カレー店:神保町」カテゴリに対して2階層上位のカテゴリである。続いて、対話ルール生成部143は、当該上位のカテゴリ「地域」が付されたノードから2階層分下位のノードまでを対象として複数のノード(ノードIDが「N4」、「N6」、「N7」のノード)を抽出(複製)する。続いて、対話ルール生成部143は、抽出された複数階層のノードのうち最下層のノード(ノードIDが「N6」、「N7」のノード)に付されているカテゴリ「カレー:六本木」を、ユーザ関心カテゴリ「カレー:神保町」に変更する。ここで、抽出された複数階層のノードのうち最下層のノードのメッセージを、外部のグルメサイト等を「カレー」及び「神保町」で検索して、ユーザ関心カテゴリ「カレー:神保町」に対応する店名を含むメッセージに変更する。続いて、対話ルール生成部143は、最下層のノードの1つ上位の階層のノード(ノードIDが「N4」のノード)に付されているカテゴリ「六本木」を、ユーザ関心カテゴリの上位のカテゴリ「神保町」に変更する。   A specific example will be described with reference to FIGS. For example, when the user interest category is “curry store: Jimbocho”, the dialogue rule generation unit 143 specifies “region” as a higher category. As shown in FIG. 5, the “region” category is a category two levels higher than the “curry store: Jimbocho” category. Subsequently, the dialogue rule generation unit 143 includes a plurality of nodes (node IDs “N4”, “N6”, “N7”) from the node assigned the upper category “region” to the node lower by two layers. ”Node) is extracted (duplicated). Subsequently, the dialogue rule generation unit 143 selects the category “curry: Roppongi” attached to the lowermost node (nodes with node IDs “N6” and “N7”) among the extracted nodes in the plurality of layers. Change the user interest category to “Curry: Jimbocho”. Here, the name of the store corresponding to the user interest category “Curry: Jimbocho” is searched by searching the external gourmet site etc. with “Curry” and “Jimbocho” for the messages of the lowest layer node among the extracted nodes of multiple layers. Change to a message containing Subsequently, the dialogue rule generation unit 143 sets the category “Roppongi” attached to the node in the hierarchy one level higher than the lowest layer node (the node having the node ID “N4”) as a category higher than the user interest category. Change to “Jimbocho”.

また、上記実施形態(第1実施形態)では、対話ルール生成部143は、対話ルールDB134に記憶された対話ルールから、ノードを抽出する場合に、抽出されたノードにおいて、ユーザ関心カテゴリが付されたノードが、最下位となるように抽出することとしたが、これに限らない。例えば、ユーザ関心カテゴリが付されたノードの下位のノードを抽出し、当該下位のノードのメッセージ及びカテゴリを変更するようにしてもよい。   In the above embodiment (first embodiment), when the interaction rule generation unit 143 extracts a node from the interaction rule stored in the interaction rule DB 134, the user interest category is assigned to the extracted node. However, the present invention is not limited to this. For example, a lower node of a node to which the user interest category is attached may be extracted, and the message and category of the lower node may be changed.

この場合について、図5〜図7を用いて説明を行う。例えば、ユーザ関心カテゴリが、「神保町」である場合、対話ルール生成部143は、この「神保町」の上位カテゴリとして「地域」を特定し、この「地域」の下位のカテゴリとして「六本木」を特定する。そして、対話ルール生成部143は、「六本木」が付されたノードの下位のノードを対象として複数のノード(ノードIDが「N4」、「N6」、「N7」のノード)を抽出(複製)する。続いて、対話ルール生成部143は、抽出された複数階層のノードのうちユーザ関心カテゴリが「六本木」のノード(ノードIDが「N4」のノード)に付されているカテゴリを、ユーザ関心カテゴリ「神保町」に変更する。ここで、このノード(ノードIDが「N4」のノード)の下位のノード(ノードIDが「N6」、「N7」のノード)のメッセージを、外部のグルメサイト等を「カレー」及び「神保町」で検索して、ユーザ関心カテゴリ「カレー:神保町」に対応する店名を含むメッセージに変更する。   This case will be described with reference to FIGS. For example, when the user interest category is “Jimbocho”, the dialogue rule generation unit 143 specifies “region” as a higher category of this “Jimbocho” and specifies “Roppongi” as a lower category of this “region”. To do. Then, the dialogue rule generation unit 143 extracts (duplicates) a plurality of nodes (nodes with node IDs “N4”, “N6”, and “N7”) for nodes below the node to which “Roppongi” is attached. To do. Subsequently, the dialogue rule generation unit 143 assigns the category assigned to the node having the user interest category “Roppongi” (the node having the node ID “N4”) among the extracted nodes in the plurality of layers to the user interest category “ Change to "Jimbocho". Here, messages of nodes lower than this node (nodes with node ID “N4”) (nodes with node IDs “N6” and “N7”) are sent to external gourmet sites, etc. “Curry” and “Jimbocho” To change to a message including the store name corresponding to the user interest category “Curry: Jimbocho”.

対話ルール変更部144は、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、各ノード(検出ノード及び動作ノード)に対応するメッセージに付されたカテゴリとに基づいて、対話ルールDB134に記憶された対話ルールを変更する。   The dialogue rule changing unit 144 is based on the user interest category determined based on the user's behavior history on the web and the category attached to the message corresponding to each node (detection node and action node). The dialogue rule stored in the DB 134 is changed.

具体的には、対話ルール変更部144は、対話ルールDB134に記憶されている対話ルールに対して対話ルール生成部143により生成された新規対話ルールを追加する。ここで、対話ルール変更部144は、カテゴリDB133を参照して、ユーザ関心カテゴリの上位のカテゴリを特定する。そして、対話ルール変更部144は、特定された上位のカテゴリが付された検出ノード又は動作ノードに対して対話ルール生成部143により生成された新規対話ルールが下位となるように、この新規対話ルールを追加する。   Specifically, the dialog rule changing unit 144 adds a new dialog rule generated by the dialog rule generating unit 143 to the dialog rule stored in the dialog rule DB 134. Here, the dialogue rule changing unit 144 refers to the category DB 133 and specifies a higher category of the user interest category. Then, the dialog rule changing unit 144 sets the new dialog rule so that the new dialog rule generated by the dialog rule generating unit 143 is lower than the detected node or action node to which the specified higher category is attached. Add

ここで、対話ルール変更部144は、ノードテーブル135に記憶されているノードIDと重複しないように、生成された新規対話ルールのノードIDを生成するとともに、生成されたノードIDに対応するエッジを生成する。また、対話ルール変更部144は、生成された新規対話ルールの最上位のノードが検出ノードである場合、特定された上位のカテゴリが付された動作ノードを接続元ノードとし、新規対話ルールの最上位のノードを接続先ノードとするエッジを生成する。また、対話ルール変更部144は、生成された新規対話ルールの最上位のノードが動作ノードである場合、特定された上位のカテゴリが付された検出ノードを接続元ノードとし、新規対話ルールの最上位のノードが接続先ノードとするエッジを生成する。そして、対話ルール変更部144は、生成された新規対話ルールと生成されたエッジとを対話ルールDB134(ノードテーブル135及びエッジテーブル136)に記憶させる。   Here, the dialog rule changing unit 144 generates a node ID of the generated new dialog rule so that it does not overlap with the node ID stored in the node table 135, and also generates an edge corresponding to the generated node ID. Generate. In addition, when the highest node of the generated new dialog rule is the detection node, the dialog rule changing unit 144 sets the operation node with the identified higher category as the connection source node, and sets the highest level of the new dialog rule. An edge having a higher node as a connection destination node is generated. In addition, when the highest node of the generated new dialog rule is an action node, the dialog rule changing unit 144 sets the detected node with the identified higher category as the connection source node, and sets the highest level of the new dialog rule. An upper node generates an edge as a connection destination node. Then, the dialog rule changing unit 144 stores the generated new dialog rule and the generated edge in the dialog rule DB 134 (the node table 135 and the edge table 136).

[フローチャート]
続いて、対話ルール変更装置1における処理の流れについて説明する。
図8は、第1実施形態に係る対話ルール変更装置1による、入力メッセージに対して予め定められた対話ルールに従って応答メッセージを出力する処理の流れを示すフローチャートである。
[flowchart]
Next, the flow of processing in the dialogue rule changing device 1 will be described.
FIG. 8 is a flowchart showing a flow of processing for outputting a response message in accordance with a predetermined dialogue rule for the input message by the dialogue rule changing apparatus 1 according to the first embodiment.

ステップS1において、制御部14(集計部141)は、ユーザの行動履歴をカテゴリごとに集計する。具体的には、制御部14(集計部141)は、行動履歴DB131に記憶されている行動履歴の形態素解析を行って単語を抽出し、抽出された単語をカテゴリ辞書DB132に記憶されているカテゴリに分類する。そして、制御部14(集計部141)は、分類された単語をカテゴリごとに集計することで、行動履歴をカテゴリごとに集計する。ステップS1の集計処理は、複数のユーザの行動履歴それぞれに対して行われる。   In step S1, the control unit 14 (aggregation unit 141) aggregates the user's behavior history for each category. Specifically, the control unit 14 (aggregation unit 141) performs a morphological analysis of the action history stored in the action history DB 131 to extract words, and the extracted words are stored in the category dictionary DB 132. Classify into: Then, the control unit 14 (aggregation unit 141) aggregates the action history for each category by totaling the classified words for each category. The tabulation process in step S1 is performed for each of a plurality of user action histories.

ステップS2において、制御部14(関心カテゴリ決定部142)は、複数のユーザそれぞれについて、ステップS1において集計されたカテゴリの集計値が相対的に高い1又は複数のカテゴリを、ユーザ関心カテゴリに決定する。   In step S2, the control unit 14 (interest category determination unit 142) determines, for each of a plurality of users, one or a plurality of categories having a relatively high aggregate value of the categories aggregated in step S1 as user interest categories. .

ステップS3において、制御部14(対話ルール生成部143)は、複数のユーザそれぞれについて、ステップS2において決定されたユーザ関心カテゴリが付された検出ノード及び動作ノードの少なくともいずれかを含む新規対話ルールを生成する。具体的には、制御部14(対話ルール生成部143)は、対話ルールDB134に記憶された対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードの少なくとも1つについて、当該ノードに付されたカテゴリをユーザ関心カテゴリに変更するとともに、当該ノードに対応するメッセージを、ユーザ関心カテゴリと上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する。ステップS3の処理は、ステップS2において決定された全てのユーザ関心カテゴリに対して行われる。   In step S3, the control unit 14 (interaction rule generation unit 143) creates, for each of a plurality of users, a new interaction rule including at least one of a detection node and an action node to which the user interest category determined in step S2 is attached. Generate. Specifically, the control unit 14 (interaction rule generation unit 143) extracts a node connected to a lower level of a node to which a higher category of the user interest category in the interaction rule stored in the interaction rule DB 134 is attached, For at least one of the extracted nodes, the category attached to the node is changed to the user interest category, and the message corresponding to the node is changed to a message corresponding to both the user interest category and the higher-level category. To generate a new interaction rule. The process of step S3 is performed for all user interest categories determined in step S2.

ステップS4において、制御部14(対話ルール変更部144)は、対話ルールDB134に記憶されている対話ルールの変更を行う。具体的には、制御部14(対話ルール変更部144)は、カテゴリDB133を参照してユーザ関心カテゴリの上位のカテゴリを特定し、特定された上位のカテゴリが付された検出ノード又は動作ノードに対して、ステップS3において生成された新規対話ルールが下位となるように、新規対話ルールを追加する。ステップS4の処理は、ステップS3において生成された全ての対話ルールに対して行われる。   In step S4, the control unit 14 (interaction rule changing unit 144) changes the interaction rule stored in the interaction rule DB 134. Specifically, the control unit 14 (dialog rule changing unit 144) refers to the category DB 133 to identify a higher category of the user interest category, and to the detection node or action node to which the identified higher category is attached. On the other hand, a new interaction rule is added so that the new interaction rule generated in step S3 is at a lower level. The process in step S4 is performed for all the dialogue rules generated in step S3.

以上、第1実施形態によれば、対話ルール変更装置1は、対話ルール変更部144により、ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、各ノードに対応するメッセージのカテゴリとに基づいて、対話ルールを変更する。   As described above, according to the first embodiment, the interaction rule changing device 1 includes the user interest category determined by the interaction rule changing unit 144 based on the user's behavior history on the web, and the message category corresponding to each node. Based on the above, change the interaction rule.

このように、対話ルール変更装置1は、ユーザの行動履歴に基づいたユーザ関心カテゴリによって対話ルールを変更するので、ユーザから対話ルールの変更操作を受け付けることを必要としない。さらに、ユーザの行動履歴に基づいたユーザ関心カテゴリは、ユーザの趣向に即しているため、対話ルール変更装置1は、ユーザに負担をかけることなく、当該ユーザの趣向に即して対話エージェントシステム2の対話ルールを変更することができる。   Thus, since the interaction rule changing device 1 changes the interaction rule according to the user interest category based on the user's behavior history, it is not necessary to accept an operation for changing the interaction rule from the user. Furthermore, since the user interest category based on the user's behavior history is in accordance with the user's preference, the dialogue rule changing apparatus 1 does not place a burden on the user, and the dialogue agent system in accordance with the user's preference. Two interaction rules can be changed.

また、対話ルール変更装置1は、対話ルール生成部143により、ユーザ関心カテゴリが付された検出ノード及び動作ノードの少なくともいずれかを含む新規対話ルールを生成し、対話ルール変更部144により、対話ルールDB134に記憶されている対話ルールに対して生成された新規対話ルールを追加する。このようにすることで、対話ルール変更装置1は、ユーザ関心カテゴリに対応する対話ルールを新たに追加して、ユーザの趣向に対応する対話ルールを増加させることができる。   In addition, the dialog rule changing device 1 generates a new dialog rule including at least one of the detection node and the action node to which the user interest category is attached by the dialog rule generating unit 143, and the dialog rule changing unit 144 generates the dialog rule A new dialogue rule generated for the dialogue rule stored in the DB 134 is added. By doing in this way, the dialog rule change apparatus 1 can add the dialog rule corresponding to a user interest category newly, and can increase the dialog rule corresponding to a user preference.

また、対話ルール変更装置1は、対話ルール生成部143により、対話ルールDB134に記憶された対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードに付されたカテゴリをユーザ関心カテゴリに変更するとともに、抽出されたノードに対応するメッセージを、ユーザ関心カテゴリと、上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する。このようにすることで、対話ルール変更装置1は、既存のノードの構造を利用して、ユーザ関心カテゴリが付されたノードを効率よく生成することができる。   Further, the dialog rule changing device 1 extracts and extracts, by the dialog rule generation unit 143, nodes connected to the lower level of the node to which the higher category of the user interest category in the dialog rules stored in the dialog rule DB 134 is attached. New interaction rule by changing the category attached to the selected node to the user interest category and changing the message corresponding to the extracted node to the message corresponding to both the user interest category and the upper category. Is generated. By doing in this way, the interaction rule change apparatus 1 can generate | occur | produce the node to which the user interest category was attached | subjected efficiently using the structure of the existing node.

また、対話ルール変更装置1は、対話ルール変更部144により、対話ルールDB134に記憶されている対話ルールにおけるユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードに対して、対話ルール生成部143により生成された新規対話ルールを下位となるように追加する。このようにすることで、対話ルール変更装置1は、ユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードからユーザ関心カテゴリに対応する対話に違和感なく遷移させることができる。   In addition, the dialog rule changing device 1 generates a dialog rule for a detection node or action node to which a category higher than the user interest category in the dialog rule stored in the dialog rule DB 134 is attached by the dialog rule changing unit 144. The new dialogue rule generated by the unit 143 is added so as to be subordinate. By doing in this way, the interaction rule changing device 1 can make a transition from the detection node or the action node with the higher category of the user interest category to the interaction corresponding to the user interest category without a sense of incongruity.

また、対話ルール変更装置1は、複数のユーザの行動履歴それぞれに基づいて、対話ルールDB134に記憶されている一の対話ルールの変更を行う。このようにすることで、対話ルール変更装置1は、効率的に対話ルールの規模を大きくすることができる。   Further, the dialogue rule changing device 1 changes one dialogue rule stored in the dialogue rule DB 134 based on each of a plurality of user action histories. By doing in this way, the dialogue rule change device 1 can efficiently increase the scale of the dialogue rule.

また、対話ルール変更装置1は、関心カテゴリ決定部142により、行動履歴DB131に記憶されている行動履歴に基づいて、ユーザ関心カテゴリを決定し、対話ルール変更部144により、関心カテゴリ決定部142により決定されたユーザ関心カテゴリと、各ノードに対応するメッセージのカテゴリとに基づいて、対話ルールを変更することができる。   Further, in the conversation rule changing device 1, the interest category determining unit 142 determines the user interest category based on the behavior history stored in the behavior history DB 131, and the conversation rule changing unit 144 uses the interest category determining unit 142 to determine the user interest category. The interaction rules can be changed based on the determined user interest category and the message category corresponding to each node.

[第2実施形態]
[機能構成]
図9は、本発明の第2実施形態に係る対話ルール変更装置1Aの機能構成を示す図である。
本実施形態に示される対話ルール変更装置1Aは、対話ルールが複数のユーザそれぞれに対応して複数存在する点と、対話ルールのエッジに対して、当該エッジに関連付けられている遷移先(接続先)の動作ノードへの遷移確率を対応付けて記憶する点と、複数の対話ルールそれぞれに対して個別に対話ルールを変更しうる点とが、第1実施形態と異なり、その他の機能は、第1実施形態に示される対話ルール変更装置1と同様である。
[Second Embodiment]
[Function configuration]
FIG. 9 is a diagram showing a functional configuration of the dialog rule changing device 1A according to the second embodiment of the present invention.
The dialog rule changing device 1A shown in the present embodiment has a plurality of dialog rules corresponding to each of a plurality of users and a transition destination (connection destination) associated with the edge of the dialog rule. Unlike the first embodiment, the point that the transition probability to the operation node of () is stored in association with each other and the point that the conversation rule can be individually changed for each of the plurality of interaction rules is different from the first embodiment. This is the same as the dialogue rule changing device 1 shown in the embodiment.

対話ルール変更装置1Aの記憶部13Aは、対話ルールDB134Aを備え、対話ルール変更装置1Aの制御部14Aは、対話ルール変更部144Aとを備える。   The storage unit 13A of the interaction rule changing device 1A includes an interaction rule DB 134A, and the control unit 14A of the interaction rule changing device 1A includes an interaction rule changing unit 144A.

対話ルールDB134Aは、複数の対話ルールを記憶しており、これら複数の対話ルールそれぞれは、複数のユーザそれぞれに対応している。   The dialogue rule DB 134A stores a plurality of dialogue rules, and each of the plurality of dialogue rules corresponds to a plurality of users.

図10は、第2実施形態に係る対話ルールDB134Aを示す図である。
図10に示すように、対話ルールDB134Aは、ノードに関連する情報を記憶するノードテーブル135Aと、エッジに関連する情報を記憶するエッジテーブル136Aとを記憶する。
FIG. 10 is a diagram showing the dialogue rule DB 134A according to the second embodiment.
As illustrated in FIG. 10, the interaction rule DB 134A stores a node table 135A that stores information related to nodes and an edge table 136A that stores information related to edges.

ノードテーブル135Aは、ユーザIDと、ノードIDと、ノード種別と、処理内容と、カテゴリとを関連付けて記憶する。
エッジテーブル136Aは、ユーザIDと、接続元ノードIDと、接続先ノードIDと、接続元のノードIDから接続先ノードIDへの遷移確率とを関連付けて記憶する。すなわち、エッジテーブル136Aは、エッジに対して、当該エッジに関連付けられている遷移先(接続先)の動作ノードへの遷移確率を対応付けて記憶する。
The node table 135A stores a user ID, a node ID, a node type, a processing content, and a category in association with each other.
The edge table 136A stores a user ID, a connection source node ID, a connection destination node ID, and a transition probability from the connection source node ID to the connection destination node ID in association with each other. That is, the edge table 136A stores the transition probability to the operation node of the transition destination (connection destination) associated with the edge in association with the edge.

なお、第2実施形態では、一の対話ルールDB134Aに対してノードテーブル135A及びエッジテーブル136Aをそれぞれ1つずつ記憶させることとしたが、対話ルールDB134Aを複数設けたり、一の対話ルールDB134Aに対してノードテーブル135A及びエッジテーブル136Aを複数記憶させたり、ユーザ端末4に対して個別にノードテーブル135A及びエッジテーブル136Aを複数記憶させたりして複数のユーザそれぞれに対応するようにしてもよい。そして、対話ルール生成部143により生成された対話ルールを、一のユーザのみが利用できるように、当該ユーザに対応する対話ルールにのみ追加するようにしてもよい。   In the second embodiment, one node table 135A and one edge table 136A are stored in one dialog rule DB 134A. However, a plurality of dialog rule DBs 134A are provided or one dialog rule DB 134A is stored. Thus, a plurality of node tables 135A and edge tables 136A may be stored, or a plurality of node tables 135A and edge tables 136A may be stored individually in the user terminal 4 so as to correspond to each of a plurality of users. Then, the dialog rule generated by the dialog rule generation unit 143 may be added only to the dialog rule corresponding to the user so that only one user can use it.

図11は、第2実施形態に係る対話ルールの模式図である。
図11に示されるように、第2実施形態に係る対話ルールには、第1実施形態に係る対話ルールに、遷移確率が付されている点で異なる。すなわち、各エッジに付されている数値は、遷移確率である。
FIG. 11 is a schematic diagram of a dialogue rule according to the second embodiment.
As shown in FIG. 11, the dialog rule according to the second embodiment is different in that a transition probability is added to the dialog rule according to the first embodiment. That is, the numerical value given to each edge is a transition probability.

対話ルール変更部144Aは、第1実施形態において説明した機能に加えて、ユーザ関心カテゴリに関連付けられたユーザIDに対応する対話ルールの変更を行う機能を有する。   The dialog rule changing unit 144A has a function of changing the dialog rule corresponding to the user ID associated with the user interest category in addition to the functions described in the first embodiment.

すなわち、対話ルール変更部144Aは、対話ルールDB134Aに記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードと、複数のエッジを介して当該動作ノードの上位に間接的に接続されている検出ノードとを接続するエッジを、対話ルールDB134Aに記憶されている対話ルールに追加する。   In other words, the dialog rule changing unit 144A is indirectly connected to the operation node to which the user interest category in the dialog rule stored in the dialog rule DB 134A is attached and the higher level of the operation node via a plurality of edges. The edge that connects the detected node is added to the interaction rule stored in the interaction rule DB 134A.

具体的には、対話ルール変更部144Aは、カテゴリDB133を参照して、ユーザ関心カテゴリに対して1階層又は複数階層上位のカテゴリを特定する。そして、対話ルール変更部144Aは、特定された上位のカテゴリのいずれかが付されている検出ノードのうち、ユーザ関心カテゴリが付されているノードと間接的に接続されている検出ノードを特定する。そして、対話ルール変更部144Aは、ユーザ関心カテゴリが付されているノードと、特定された検出ノードとを接続するエッジを生成するとともに、生成されたエッジと、当該ユーザ関心カテゴリに対応しているユーザIDとを対話ルールDB134Aに記憶させることによって、新たに生成されたエッジを対話ルールに追加する。また、対話ルール変更部144Aは、新たに生成されたエッジが追加された後、このエッジの接続元ノードに関連付けられている下位のエッジの遷移確率が等しくなるように、遷移確率を変更する。ここで、対話ルール変更部144Aは、同一のユーザ関心カテゴリが付されている動作ノードが複数存在する場合、一の動作ノードをランダムで選択し、エッジを生成する処理を行う。   Specifically, the dialogue rule changing unit 144A refers to the category DB 133 and identifies a category that is one or more layers above the user interest category. Then, the dialogue rule changing unit 144A specifies a detection node that is indirectly connected to the node to which the user interest category is attached among the detection nodes to which any one of the identified higher categories is attached. . Then, the dialogue rule changing unit 144A generates an edge connecting the node to which the user interest category is attached and the identified detection node, and corresponds to the generated edge and the user interest category. By storing the user ID in the dialogue rule DB 134A, the newly generated edge is added to the dialogue rule. In addition, after the newly generated edge is added, the dialogue rule changing unit 144A changes the transition probability so that the transition probabilities of the lower edges associated with the connection source node of this edge become equal. Here, when there are a plurality of operation nodes to which the same user interest category is attached, the dialogue rule changing unit 144A selects one operation node at random and performs processing for generating an edge.

具体的な例について、図5、図10及び図11を用いて説明を行う。例えば、図11に示される対話ルールにおいて、ユーザ関心カテゴリに対応するユーザIDが「u001」、ユーザ関心カテゴリが「カレー店:六本木」である場合、対話ルール変更部144Aは、上位のカテゴリとして「カレー」を特定する。そして、対話ルール変更部144Aは、「カレー」カテゴリが付されている検出ノードであって、ユーザ関心カテゴリ「カレー店:六本木」が付されているノード(ノードID「N6」、「N7」のノード)と間接的に接続されている検出ノードとして、ノードID「N1」のノードを特定する。ここで、対話ルール変更部144Aは、同一のユーザ関心カテゴリが付されている動作ノードが複数存在するため、一の動作ノードとしてノードID「N6」のノードを選択する。そして、対話ルール変更部144Aは、ユーザ関心カテゴリ「カレー店:六本木」が付されているノード(ノードID「N6」のノード)と、特定された検出ノード(ノードID「N1」のノード)とを接続するエッジを生成し、生成されたエッジと、ユーザIDが「u001」とを関連付けて対話ルールDB134Aに記憶させることによって、新たに生成されたエッジを対話ルールに追加する。この場合、ノードが新たに追加された対話ルールは、図12に示されるものとなる。   A specific example will be described with reference to FIGS. 5, 10, and 11. For example, in the dialogue rule shown in FIG. 11, when the user ID corresponding to the user interest category is “u001” and the user interest category is “curry store: Roppongi”, the dialogue rule changing unit 144A sets “ Identify curry. Then, the dialog rule changing unit 144A is a detection node to which the “curry” category is attached, and the nodes to which the user interest category “curry store: Roppongi” is attached (node IDs “N6” and “N7”). The node having the node ID “N1” is specified as the detection node indirectly connected to the node. Here, since there are a plurality of operation nodes to which the same user interest category is attached, the dialogue rule changing unit 144A selects the node having the node ID “N6” as one operation node. Then, the dialogue rule changing unit 144A includes a node (node ID “N6”) to which the user interest category “curry store: Roppongi” is attached, and the identified detection node (node ID “N1”). Are generated, and the generated edge and the user ID “u001” are associated with each other and stored in the interaction rule DB 134A, whereby the newly generated edge is added to the interaction rule. In this case, the dialogue rule in which the node is newly added is as shown in FIG.

また、対話ルール変更部144Aは、対話ルールDB134Aに記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードに対して複数のエッジを介して上位に間接的に接続されている動作ノードに対応する応答メッセージを、当該ユーザ関心カテゴリの名称を含む応答メッセージに変更する。   The interaction rule changing unit 144A is an operation node that is indirectly connected to a higher level through a plurality of edges with respect to an operation node to which a user interest category in the interaction rule stored in the interaction rule DB 134A is attached. Is changed to a response message including the name of the user interest category.

具体的には、対話ルール変更部144Aは、カテゴリDB133を参照して、ユーザ関心カテゴリに対して1階層又は複数階層上位のカテゴリを特定する。そして、対話ルール変更部144Aは、特定された上位のカテゴリのいずれかが付されている動作ノードを特定する。特定されたノードは、ユーザ関心カテゴリに対して、複数のエッジを介して間接的に上位に接続されている動作ノードとなる。そして、対話ルール変更部144Aは、特定された動作ノードに対応する応答メッセージを、ユーザ関心カテゴリの名称を含む応答メッセージに変更する。なお、ユーザ関心カテゴリの名称を含むとは、ユーザ関心カテゴリの名称の全て又は一部を含むことをいう。   Specifically, the dialogue rule changing unit 144A refers to the category DB 133 and identifies a category that is one or more layers above the user interest category. Then, the dialogue rule changing unit 144A specifies an operation node to which any one of the specified higher categories is attached. The identified node is an operation node that is indirectly connected to the user interest category via a plurality of edges. Then, the dialogue rule changing unit 144A changes the response message corresponding to the identified action node to a response message including the name of the user interest category. In addition, including the name of a user interest category means including all or part of the name of a user interest category.

具体的な例について、図5、図10及び図11を用いて説明を行う。例えば、ユーザ関心カテゴリに対応するユーザIDが「u001」、ユーザ関心カテゴリが「カレー:キーマ」である場合、対話ルール変更部144Aは、上位のカテゴリとして「カレー:種類」を特定する。続いて、対話ルール変更部144Aは、「カレー:種類」カテゴリが付されている動作ノード(ノードID「N8」のノード)を、上位のカテゴリのいずれかが付されている動作ノードに特定する。続いて、対話ルール変更部144Aは、図13に示すように、この動作ノードの応答メッセージをユーザ関心カテゴリの名称を含む応答メッセージ(例えば、「どんなカレーが好き?私はキーマカレーが好き」)に変更する。   A specific example will be described with reference to FIGS. 5, 10, and 11. For example, when the user ID corresponding to the user interest category is “u001” and the user interest category is “curry: keema”, the dialogue rule changing unit 144A specifies “curry: type” as the upper category. Subsequently, the dialogue rule changing unit 144A identifies the operation node to which the “curry: type” category is attached (the node having the node ID “N8”) as the operation node to which any one of the upper categories is assigned. . Subsequently, as shown in FIG. 13, the dialog rule changing unit 144A uses the response message of this action node as a response message including the name of the user interest category (for example, “What kind of curry do you like? I like Keema curry”) Change to

また、対話ルール変更部144Aは、対話ルールDB134Aに記憶されている対話ルールに、ユーザ関心カテゴリの上位のカテゴリが付された検出ノードに対応する複数のエッジが記憶されている場合において、ユーザ関心カテゴリが付された動作ノードに対応するエッジが当該複数のエッジに含まれているとき、ユーザ関心カテゴリを示すカテゴリが付された動作ノードに対応するエッジの遷移確率が他のエッジの遷移確率に比べて高くなるように複数のエッジそれぞれの遷移確率を調整する。   Further, the dialogue rule changing unit 144A, when the plurality of edges corresponding to the detection node to which the higher category of the user interest category is added to the dialogue rule stored in the dialogue rule DB 134A, When the edge corresponding to the operation node with the category is included in the plurality of edges, the transition probability of the edge corresponding to the operation node with the category indicating the user interest category becomes the transition probability of the other edge. The transition probabilities of each of the plurality of edges are adjusted so as to be higher than each other.

具体的な例について、図5、図10及び図11を用いて説明を行う。例えば、ユーザ関心カテゴリに対応するユーザIDが「u001」、ユーザ関心カテゴリが「六本木」である場合、対話ルール変更部144Aは、上位のカテゴリとして「カレー」を特定する。続いて、対話ルール変更部144Aは、「カレー」カテゴリが付されている検出ノード(ノードID「N1」のノード)を接続元ノードとする複数のエッジの遷移確率について、ユーザ関心カテゴリ「六本木」を示すカテゴリが付された動作ノード(ノードID「N3」のノード)を接続先ノードとするエッジの遷移確率が、他の動作ノードを接続先ノードとするエッジの遷移確率に比べて高くなるように調整する。例えば、図14に示すように、対話ルール変更部144Aは、接続元ノードがノードID「N1」のノードであり、接続先ノードがノードID「N3」のノードであるエッジの遷移確率を「0.8」、接続元ノードがノードID「N1」のノードであり、接続先ノードがノードID「N2」のノードであるエッジの遷移確率を「0.2」に調整する。   A specific example will be described with reference to FIGS. 5, 10, and 11. For example, when the user ID corresponding to the user interest category is “u001” and the user interest category is “Roppongi”, the dialogue rule changing unit 144A specifies “curry” as the upper category. Subsequently, the dialogue rule changing unit 144A determines the user interest category “Roppongi” for the transition probabilities of a plurality of edges having the detection node (the node with the node ID “N1”) to which the “curry” category is attached as the connection source node. The transition probability of an edge having an operation node (node ID “N3”) to which the category indicating “” is attached as a connection destination node is higher than the transition probability of an edge having another operation node as a connection destination node. Adjust to. For example, as illustrated in FIG. 14, the dialogue rule changing unit 144A sets the transition probability of an edge whose connection source node is a node with a node ID “N1” and whose connection destination node is a node with a node ID “N3” to “0”. .8 ”, the transition probability of the edge where the connection source node is the node with the node ID“ N1 ”and the connection destination node is the node with the node ID“ N2 ”is adjusted to“ 0.2 ”.

また、対話ルール変更部144Aは、一のユーザに対して複数のユーザ関心カテゴリが決定されている場合において、同一の検出ノードを接続元ノードとした動作ノードであって、それぞれが異なるユーザ関心カテゴリが付された動作ノードが存在するとき、これら異なるユーザ関心カテゴリが付された動作ノードの遷移確率を調整する。すなわち、対話ルール変更部144Aは、集計部141により集計された集計値が多いユーザ関心カテゴリの遷移確率が相対的に高くなるように遷移確率を調整する。   In addition, the dialogue rule changing unit 144A is an operation node having the same detection node as a connection source node when a plurality of user interest categories are determined for one user, and each user interest category is different. When there is an operation node marked with, the transition probabilities of these operation nodes with different user interest categories are adjusted. In other words, the dialog rule changing unit 144A adjusts the transition probability so that the transition probability of the user interest category having a large total value aggregated by the totalization unit 141 is relatively high.

第2実施形態によれば、第1実施形態において説明した効果に加え、以下のような効果がある。   According to the second embodiment, in addition to the effects described in the first embodiment, there are the following effects.

対話ルール変更装置1Aは、対話ルール変更部144Aにより、対話ルールDB134Aに記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードと、複数のエッジを介して当該動作ノードの上位に間接的に接続されている検出ノードとを接続するエッジを、対話ルールDB134Aに記憶されている対話ルールに追加する。このようにすることで、対話ルール変更装置1Aは、少ない対話回数で、ユーザの趣向に対応する対話に遷移させることができる。   The interaction rule changing device 1A is indirectly connected to the operation node to which the user interest category in the interaction rule stored in the interaction rule DB 134A is assigned by the interaction rule changing unit 144A, and the operation node via the plurality of edges. An edge that connects a detection node that is automatically connected is added to the interaction rule stored in the interaction rule DB 134A. By doing in this way, the dialog rule changing device 1A can make a transition to a dialog corresponding to the user's taste with a small number of dialogs.

また、対話ルール変更装置1Aは、対話ルール変更部144Aにより、対話ルールDB134Aに記憶されている対話ルールにおけるユーザ関心カテゴリが付されている動作ノードに対して複数のエッジを介して上位に間接的に接続されている動作ノードに対応する応答メッセージを、ユーザ関心カテゴリの名称を含む応答メッセージに変更する。ここで、ユーザ関心カテゴリの名称を含む応答メッセージが出力された場合、ユーザは、当該応答メッセージが出力されない場合に比べて、ユーザ関心カテゴリに対応するメッセージを入力する可能性が高い。よって、対話ルール変更装置1Aは、ユーザ関心カテゴリに対応する動作ノードに遷移する確率を増加させることができる。   Further, the dialog rule changing device 1A is indirectly connected to a higher level through a plurality of edges with respect to the operation node to which the user interest category in the dialog rule stored in the dialog rule DB 134A is attached by the dialog rule changing unit 144A. The response message corresponding to the operation node connected to is changed to a response message including the name of the user interest category. Here, when a response message including the name of the user interest category is output, the user is more likely to input a message corresponding to the user interest category than when the response message is not output. Therefore, the interaction rule changing device 1A can increase the probability of transition to an operation node corresponding to the user interest category.

また、対話ルール変更装置1Aは、ユーザ関心カテゴリの上位のカテゴリが付された検出ノードに対応する複数のエッジが記憶されている場合において、ユーザ関心カテゴリが付された動作ノードに対応するエッジが当該複数のエッジに含まれているとき、ユーザ関心カテゴリが付された動作ノードに対応するエッジの遷移確率が他のエッジの遷移確率に比べて高くなるように複数のエッジそれぞれの遷移確率を調整する。このようにすることで、対話ルール変更装置1Aは、ユーザ関心カテゴリが付された動作ノードへの遷移確率を増加させて、ユーザと対話エージェントシステム2との間で、ユーザの趣向に対応する対話が行われやすいようにすることができる。   Further, in the case where a plurality of edges corresponding to the detection node to which the higher category of the user interest category is stored, the interaction rule changing device 1A has an edge corresponding to the operation node to which the user interest category is attached. When included in the multiple edges, adjust the transition probabilities of each of the multiple edges so that the transition probabilities of the edges corresponding to the action nodes with user interest categories are higher than the transition probabilities of other edges To do. By doing in this way, the dialog rule changing device 1A increases the probability of transition to the operation node to which the user interest category is assigned, and the dialog corresponding to the user's preference between the user and the dialog agent system 2. Can be made easier.

なお、本実施形態(第1実施形態及び第2実施形態)において、上記対話ルール変更装置1及び1A、対話エージェントシステム2、ウェブサーバ3及びユーザ端末4は、コンピュータ及びその周辺装置に適用される。本実施形態における各部は、コンピュータ及びその周辺装置が備えるハードウェア並びに当該ハードウェアを制御するソフトウェアによって構成される。   In the present embodiment (first embodiment and second embodiment), the dialog rule changing devices 1 and 1A, the dialog agent system 2, the web server 3, and the user terminal 4 are applied to a computer and its peripheral devices. . Each unit in the present embodiment is configured by hardware included in a computer and its peripheral devices, and software that controls the hardware.

上記ハードウェアには、制御部としてのCPU(Central Processing Unit)の他、記憶部、通信装置、表示装置、入力装置及び出力装置が含まれる。記憶部としては、例えば、メモリ(RAM:Random Access Memory、ROM:Read Only Memory等)、ハードディスクドライブ(HDD:Hard Disk Drive)及び光ディスク(CD:Compact Disk、DVD:Digital Versatile Disk等)ドライブが挙げられる。通信装置としては、例えば、各種有線及び無線インターフェース装置が挙げられる。表示装置としては、例えば、液晶ディスプレイやプラズマディスプレイ等の各種ディスプレイが挙げられる。入力装置としては、例えば、キーボード及びポインティング・デバイス(マウス、トラッキングボール、タッチパッド等)、GPS(Global Positioning System)等を利用した位置取得装置、タイマ、マイク等が挙げられる。出力装置としては、例えば、音声を出力するための音声合成装置が挙げられる。   The hardware includes a storage unit, a communication device, a display device, an input device, and an output device in addition to a CPU (Central Processing Unit) as a control unit. Examples of the storage unit include a memory (RAM: Random Access Memory, ROM: Read Only Memory, etc.), a hard disk drive (HDD: Hard Disk Drive), and an optical disk (CD: Compact Disc, DVD: Digital Versatile Drive, etc.). It is done. Examples of the communication device include various wired and wireless interface devices. Examples of the display device include various displays such as a liquid crystal display and a plasma display. Examples of the input device include a keyboard, a pointing device (mouse, tracking ball, touch pad, etc.), a position acquisition device using GPS (Global Positioning System), a timer, a microphone, and the like. Examples of the output device include a speech synthesizer for outputting speech.

上記ソフトウェアには、上記ハードウェアを制御するコンピュータ・プログラムやデータが含まれる。コンピュータ・プログラムやデータは、記憶部により記憶され、制御部により適宜実行、参照される。また、コンピュータ・プログラムやデータは、通信回線を介して配布されることも可能であり、CD−ROM等のコンピュータ可読媒体に記録して配布されることも可能である。   The software includes a computer program and data for controlling the hardware. The computer program and data are stored in the storage unit, and are appropriately executed and referenced by the control unit. The computer program and data can be distributed via a communication line, or can be recorded on a computer-readable medium such as a CD-ROM and distributed.

以上、上記実施形態について説明したが、上記実施形態は例示に過ぎず、図面に示す構成要素、データ構造及びフローチャート等は適宜変更可能である。また、上記実施形態に記載された本発明の効果は、上記実施形態から生じる最も好適な効果を列挙したに過ぎず、上記実施形態に記載したものに限定されるものではない。   The above embodiment has been described above. However, the above embodiment is merely an example, and components, data structures, flowcharts, and the like illustrated in the drawings can be changed as appropriate. In addition, the effects of the present invention described in the above embodiment are merely enumerated the most preferable effects resulting from the above embodiment, and are not limited to those described in the above embodiment.

上記実施形態では、集計部141が、カテゴリ辞書DB132に基づいて行動履歴に含まれる単語を分類することとしたが、文書分類器を用いて分類を行ってもよい。   In the above embodiment, the totalization unit 141 classifies the words included in the action history based on the category dictionary DB 132, but the classification may be performed using a document classifier.

また、上記実施形態では、対話ルールを対話ルール変更装置1、1Aに記憶することとしたが、これに限らず、対話エージェントシステム2等、他のシステムやサーバ等に記憶させるようにしてもよい。この場合、対話ルール変更装置1、1Aは、他のシステムやサーバ等に記憶された対話ルールを変更するようにしてもよい。   In the above embodiment, the dialog rule is stored in the dialog rule changing device 1 or 1A. However, the present invention is not limited to this, and the dialog rule may be stored in another system or server such as the dialog agent system 2. . In this case, the interaction rule changing device 1 or 1A may change the interaction rule stored in another system or server.

また、上記実施形態(第2実施形態)では、動作ノードに対する遷移確率を設定することとしたが、さらに、遷移確率を時間帯、地域別に設定できるようにしてもよい。すなわち、エッジテーブル136Aに記憶されている遷移確率を、時間帯(例えば、日中、夕方、夜等)別に記憶させて、対話エージェントシステム2が、時間帯に応じて、対話ルールに適用する遷移確率を変更するようにしてもよい。例えば、深夜や早朝の時間帯である場合に、対話エージェントシステム2が、レストランの推薦に係るメッセージを出力せずにレシピに係るメッセージを出力するようにしてもよい。   In the above embodiment (second embodiment), the transition probability for the operation node is set. However, the transition probability may be set for each time zone and region. That is, the transition probabilities stored in the edge table 136A are stored for each time zone (for example, daytime, evening, night, etc.), and the dialogue agent system 2 applies the dialogue rule according to the time zone. The probability may be changed. For example, when it is a time zone of midnight or early morning, the dialogue agent system 2 may output a message related to a recipe without outputting a message related to restaurant recommendation.

また、エッジテーブル136Aに記憶されている遷移確率を、地域別に記憶させて、対話エージェントシステム2が、ユーザ端末4から位置を取得し、当該位置に基づいて対話ルールに適用する遷移確率を変更するようにしてもよい。また、エッジテーブル136Aが、これら時間帯別、地域別に遷移確率を記憶し、対話エージェントシステム2が、これら遷移確率を時間帯及びユーザ端末の位置に基づいて適宜変更するようにしてもよい。例えば、ユーザ端末4が六本木に位置している場合に、対話エージェントシステム2が、神保町に係るメッセージを出力せずに六本木に係るメッセージを出力するようにしてもよい。   Further, the transition probability stored in the edge table 136A is stored for each region, and the dialog agent system 2 acquires the position from the user terminal 4, and changes the transition probability applied to the dialog rule based on the position. You may do it. Alternatively, the edge table 136A may store transition probabilities for each time zone and each region, and the dialog agent system 2 may appropriately change these transition probabilities based on the time zone and the position of the user terminal. For example, when the user terminal 4 is located in Roppongi, the dialogue agent system 2 may output a message related to Roppongi without outputting a message related to Jimbocho.

1 対話ルール変更装置
11 操作部
12 表示部
13、13A 記憶部
14、14A 制御部
131 行動履歴DB
132 カテゴリ辞書DB
133 カテゴリDB
134、134A 対話ルールDB
141 集計部
142 関心カテゴリ決定部
143 対話ルール生成部
144、144A 対話ルール変更部
DESCRIPTION OF SYMBOLS 1 Dialog rule change apparatus 11 Operation part 12 Display part 13, 13A Storage part 14, 14A Control part 131 Action history DB
132 Category Dictionary DB
133 Category DB
134, 134A Dialog rule DB
141 Aggregation unit 142 Interest category determination unit 143 Dialog rule generation unit 144, 144A Dialog rule change unit

Claims (10)

入力メッセージに対し、予め設定された対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールを変更する対話ルール変更装置であって、
前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータを前記対話ルールとして記憶する対話ルール記憶手段と、
ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて、前記対話ルールを変更する対話ルール変更手段と、
を備える対話ルール変更装置。
An interaction rule changing device for changing the interaction rule of an interaction agent system that outputs a response message according to an interaction message set in advance with respect to an input message,
It is composed of a detection node in which a processing procedure corresponding to the input message is defined, an operation node in which a processing procedure corresponding to the response message is defined, and an edge indicating a connection relationship between the detection node and the operation node. Dialogue rule storage means for storing, as the dialogue rule, data with a message category attached to each node,
An interaction rule changing means for changing the interaction rule based on a user interest category determined based on a user's behavior history on the web and a message category corresponding to each node;
A dialogue rule changing device comprising:
前記ユーザ関心カテゴリが付された前記検出ノード及び前記動作ノードの少なくともいずれかを含む新規対話ルールを生成する対話ルール生成手段を備え、
前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールに対して前記対話ルール生成手段により生成された新規対話ルールを追加する、
請求項1に記載の対話ルール変更装置。
Interaction rule generation means for generating a new interaction rule including at least one of the detection node and the action node to which the user interest category is attached,
The interaction rule changing unit adds a new interaction rule generated by the interaction rule generation unit to the interaction rule stored in the interaction rule storage unit.
The dialog rule changing device according to claim 1.
前記カテゴリは、階層を有し、
前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリの上位のカテゴリが付された検出ノード又は動作ノードに対して、前記対話ルール生成手段により生成された新規対話ルールを下位となるように追加する、
請求項2に記載の対話ルール変更装置。
The category has a hierarchy,
The dialog rule changing means is generated by the dialog rule generating means for a detection node or action node to which a category higher than the user interest category in the dialog rule stored in the dialog rule storage means is attached. Add new conversation rules to the lower level,
The dialog rule changing device according to claim 2.
前記対話ルール生成手段は、前記対話ルール記憶手段に記憶された前記対話ルールにおける前記ユーザ関心カテゴリの上位のカテゴリが付されたノードの下位に接続されたノードを抽出し、抽出されたノードに付されたカテゴリを前記ユーザ関心カテゴリに変更するとともに、前記抽出されたノードに対応するメッセージを、前記ユーザ関心カテゴリと、前記上位のカテゴリとの双方に対応するメッセージに変更することによって新規対話ルールを生成する、
請求項3に記載の対話ルール変更装置。
The dialogue rule generation means extracts a node connected to a lower level of a node to which a higher category of the user interest category in the dialogue rule stored in the dialogue rule storage means is added, and attaches the extracted node to the extracted node. A new interaction rule by changing a message corresponding to the extracted node to a message corresponding to both the user interest category and the higher-level category. Generate,
The dialog rule changing device according to claim 3.
前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリが付されている動作ノードと、複数のエッジを介して当該動作ノードの上位に間接的に接続されている検出ノードとを接続するエッジを、前記対話ルール記憶手段に記憶されている前記対話ルールに追加する、
請求項1から4のいずれかに記載の対話ルール変更装置。
The interaction rule changing unit is indirectly connected to an operation node to which the user interest category in the interaction rule stored in the interaction rule storage unit is attached, and a higher level of the operation node via a plurality of edges. Adding an edge connecting to the detected detection node to the interaction rule stored in the interaction rule storage means;
The dialog rule changing device according to claim 1.
前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールにおける前記ユーザ関心カテゴリが付されている動作ノードに対して複数のエッジを介して上位に間接的に接続されている動作ノードに対応する応答メッセージを、前記ユーザ関心カテゴリの名称を含む応答メッセージに変更する、
請求項1から5のいずれかに記載の対話ルール変更装置。
The dialogue rule changing means is indirectly connected to a higher level through a plurality of edges with respect to an operation node to which the user interest category in the dialogue rule stored in the dialogue rule storage means is attached. Changing the response message corresponding to the operation node to a response message including the name of the user interest category;
The dialog rule changing device according to claim 1.
前記対話ルール記憶手段は、前記エッジに対して、当該エッジに関連付けられている遷移先の動作ノードへの遷移確率を対応付けて記憶し、
前記対話ルール変更手段は、前記対話ルール記憶手段に記憶されている前記対話ルールに、前記ユーザ関心カテゴリの上位のカテゴリが付された検出ノードに対応する複数のエッジが記憶されている場合において、前記ユーザ関心カテゴリが付された動作ノードに対応するエッジが当該複数のエッジに含まれているとき、前記ユーザ関心カテゴリが付された動作ノードに対応するエッジの遷移確率が他のエッジの遷移確率に比べて高くなるように前記複数のエッジそれぞれの遷移確率を調整する、
請求項1から6のいずれかに記載の対話ルール変更装置。
The dialogue rule storage means stores the transition probability to the transition destination operation node associated with the edge in association with the edge,
In the case where a plurality of edges corresponding to a detection node to which a higher category of the user interest category is added to the interaction rule stored in the interaction rule storage unit, the interaction rule changing unit is stored. When an edge corresponding to the operation node to which the user interest category is attached is included in the plurality of edges, the transition probability of the edge corresponding to the operation node to which the user interest category is attached is the transition probability of another edge. Adjusting the transition probability of each of the plurality of edges to be higher than
The dialogue rule changing device according to any one of claims 1 to 6.
前記ユーザのウェブ上の行動履歴を記憶する行動履歴記憶手段と、
前記行動履歴記憶手段に記憶されている前記行動履歴に基づいて、前記ユーザ関心カテゴリを決定する関心カテゴリ決定手段と、を備え、
前記対話ルール変更手段は、前記関心カテゴリ決定手段により決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて、前記対話ルールを変更する、
請求項1から7のいずれかに記載の対話ルール変更装置。
An action history storage means for storing an action history on the user's web;
Interest category determination means for determining the user interest category based on the action history stored in the action history storage means,
The interaction rule changing unit changes the interaction rule based on a user interest category determined by the interest category determining unit and a message category corresponding to each node.
The dialogue rule changing device according to any one of claims 1 to 7.
入力メッセージに対し、予め定められた対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールをコンピュータが変更する対話ルール変更方法であって、
前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータである対話ルールを、
ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて変更する、
対話ルール変更方法。
A dialog rule changing method in which a computer changes the dialog rule of a dialog agent system that outputs a response message in accordance with a predetermined dialog rule for an input message,
It is composed of a detection node in which a processing procedure corresponding to the input message is defined, an operation node in which a processing procedure corresponding to the response message is defined, and an edge indicating a connection relationship between the detection node and the operation node. A dialogue rule that is a data to which the category of the message is attached to each node.
Change based on the user interest category determined based on the user's behavior history on the web and the message category corresponding to each node;
How to change dialogue rules.
入力メッセージに対し、予め定められた対話ルールに従って応答メッセージを出力する対話エージェントシステムの前記対話ルールの変更をコンピュータに実行させる対話ルール変更プログラムであって、
前記入力メッセージに対応する処理手順が定められた検出ノードと、前記応答メッセージに対応する処理手順が定められた動作ノードと、前記検出ノードと前記動作ノードとの接続関係を示すエッジとから構成されるデータであり、前記各ノードに対してそのメッセージのカテゴリが付されたデータでる対話ルールを、
ユーザのウェブ上の行動履歴に基づいて決定されたユーザ関心カテゴリと、前記各ノードに対応するメッセージのカテゴリとに基づいて変更するステップ、
を前記コンピュータに実行させる対話ルール変更プログラム。
A dialog rule changing program for causing a computer to change the dialog rule of the dialog agent system that outputs a response message in accordance with a predetermined dialog rule for an input message,
It is composed of a detection node in which a processing procedure corresponding to the input message is defined, an operation node in which a processing procedure corresponding to the response message is defined, and an edge indicating a connection relationship between the detection node and the operation node. And an interaction rule that is data with a message category attached to each node.
Changing based on a user interest category determined based on a user's behavior history on the web and a message category corresponding to each of the nodes;
An interaction rule changing program for causing the computer to execute
JP2011143942A 2011-06-29 2011-06-29 Dialog rule changing device, dialog rule changing method, and dialog rule changing program Active JP5393732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011143942A JP5393732B2 (en) 2011-06-29 2011-06-29 Dialog rule changing device, dialog rule changing method, and dialog rule changing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011143942A JP5393732B2 (en) 2011-06-29 2011-06-29 Dialog rule changing device, dialog rule changing method, and dialog rule changing program

Publications (2)

Publication Number Publication Date
JP2013012012A true JP2013012012A (en) 2013-01-17
JP5393732B2 JP5393732B2 (en) 2014-01-22

Family

ID=47685854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011143942A Active JP5393732B2 (en) 2011-06-29 2011-06-29 Dialog rule changing device, dialog rule changing method, and dialog rule changing program

Country Status (1)

Country Link
JP (1) JP5393732B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014157465A (en) * 2013-02-15 2014-08-28 Yahoo Japan Corp Interactive script operation instruction execution device, interaction script operation instruction execution method, and program
JP2016024328A (en) * 2014-07-18 2016-02-08 ヤフー株式会社 Information processing system, information processing method, and information processing program
JP2016045583A (en) * 2014-08-20 2016-04-04 ヤフー株式会社 Response generation apparatus, response generation method, and response generation program
JP2016045574A (en) * 2014-08-20 2016-04-04 ヤフー株式会社 Information processing device, information processing method, and information processing program
JP2017151931A (en) * 2016-02-26 2017-08-31 ヤフー株式会社 Dialog decision system, dialogue decision method, dialogue decision program, and terminal device
JP2018037094A (en) * 2017-11-02 2018-03-08 ヤフー株式会社 Information processing apparatus, information processing method, and information processing program
JP2018181250A (en) * 2017-04-21 2018-11-15 Kddi株式会社 Device, program and method for generating dialogue scenario according to context
JP2018181041A (en) * 2017-04-17 2018-11-15 日本電信電話株式会社 Dialogue rule selection apparatus, dialogue apparatus, dialogue rule selection method, dialogue method, dialogue rule selection program, and dialogue program
JP6570792B1 (en) * 2018-11-29 2019-09-04 三菱電機株式会社 Dialogue device, dialogue method, and dialogue program
JP2020190957A (en) * 2019-05-22 2020-11-26 株式会社日立製作所 Interaction policy transition device, interaction policy transition method, and interaction policy transition system
US12027161B2 (en) 2018-05-01 2024-07-02 Ntt Docomo, Inc. Dialogue device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001357053A (en) * 2000-06-12 2001-12-26 Matsushita Electric Ind Co Ltd Dialogue device
JP2009223720A (en) * 2008-03-18 2009-10-01 Yahoo Japan Corp Script creation support method and program for natural language interaction agent
JP2010140154A (en) * 2008-12-10 2010-06-24 Yahoo Japan Corp Device, method, and program for sorting retrieval result

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001357053A (en) * 2000-06-12 2001-12-26 Matsushita Electric Ind Co Ltd Dialogue device
JP2009223720A (en) * 2008-03-18 2009-10-01 Yahoo Japan Corp Script creation support method and program for natural language interaction agent
JP2010140154A (en) * 2008-12-10 2010-06-24 Yahoo Japan Corp Device, method, and program for sorting retrieval result

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014157465A (en) * 2013-02-15 2014-08-28 Yahoo Japan Corp Interactive script operation instruction execution device, interaction script operation instruction execution method, and program
JP2016024328A (en) * 2014-07-18 2016-02-08 ヤフー株式会社 Information processing system, information processing method, and information processing program
JP2016045583A (en) * 2014-08-20 2016-04-04 ヤフー株式会社 Response generation apparatus, response generation method, and response generation program
JP2016045574A (en) * 2014-08-20 2016-04-04 ヤフー株式会社 Information processing device, information processing method, and information processing program
JP2017151931A (en) * 2016-02-26 2017-08-31 ヤフー株式会社 Dialog decision system, dialogue decision method, dialogue decision program, and terminal device
JP2018181041A (en) * 2017-04-17 2018-11-15 日本電信電話株式会社 Dialogue rule selection apparatus, dialogue apparatus, dialogue rule selection method, dialogue method, dialogue rule selection program, and dialogue program
JP2018181250A (en) * 2017-04-21 2018-11-15 Kddi株式会社 Device, program and method for generating dialogue scenario according to context
JP2018037094A (en) * 2017-11-02 2018-03-08 ヤフー株式会社 Information processing apparatus, information processing method, and information processing program
US12027161B2 (en) 2018-05-01 2024-07-02 Ntt Docomo, Inc. Dialogue device
JP6570792B1 (en) * 2018-11-29 2019-09-04 三菱電機株式会社 Dialogue device, dialogue method, and dialogue program
WO2020110249A1 (en) * 2018-11-29 2020-06-04 三菱電機株式会社 Dialog device, dialog method, and dialog program
JP2020190957A (en) * 2019-05-22 2020-11-26 株式会社日立製作所 Interaction policy transition device, interaction policy transition method, and interaction policy transition system
JP7249203B2 (en) 2019-05-22 2023-03-30 株式会社日立製作所 Dialogue policy migration device, dialogue policy migration method, and dialogue policy migration system

Also Published As

Publication number Publication date
JP5393732B2 (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP5393732B2 (en) Dialog rule changing device, dialog rule changing method, and dialog rule changing program
US11461342B2 (en) Predicting intent of a search for a particular context
CN107291792B (en) Method and system for determining related entities
US20250036698A1 (en) Linking to a search result
CN102779114B (en) It is supported using the unstructured data of automatically rule generation
CN104516910B (en) The content recommendation in client server environment
US20130304469A1 (en) Information processing method and apparatus, computer program and recording medium
US20230113420A1 (en) Predicting accuracy of submitted data
US20180144743A1 (en) Providing prompt in an automated dialog session based on selected content of prior automated dialog session
EP3022666A1 (en) Third party search applications for a search system
US20160098444A1 (en) Corpus Management Based on Question Affinity
JP2017525026A (en) Generating a contextual search presentation
CN107567620A (en) Instant search suggestion based on context
US20170132198A1 (en) Provide interactive content generation for document
US20160034957A1 (en) Generating Advertisements for Search Results Associated With Entities Based on Aggregated Entity Bids
CN112136127A (en) Action indicator for search operation output element
JP6593873B2 (en) Information analysis apparatus and information analysis method
US10963528B2 (en) Personalized content suggestions in computer networks
US20200394194A1 (en) Multi-vertical entity-based search system
JP6162134B2 (en) Social page trigger
US20170192644A1 (en) Accessing Additional Search Results Functionality Using Gestures
CN111344694A (en) Interfaces to Distributed Network Systems
JP2019185620A (en) Message processor and program
JP6509364B2 (en) Search service providing apparatus, method and computer program
WO2016028948A1 (en) Method for record selection to avoid negatively impacting latency

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130702

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130815

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130830

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130924

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131015

R150 Certificate of patent or registration of utility model

Ref document number: 5393732

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250