Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7697400B2 - Communication prediction device and communication prediction method - Google Patents
[go: Go Back, main page]

JP7697400B2 - Communication prediction device and communication prediction method - Google Patents

Communication prediction device and communication prediction method Download PDF

Info

Publication number
JP7697400B2
JP7697400B2 JP2022068321A JP2022068321A JP7697400B2 JP 7697400 B2 JP7697400 B2 JP 7697400B2 JP 2022068321 A JP2022068321 A JP 2022068321A JP 2022068321 A JP2022068321 A JP 2022068321A JP 7697400 B2 JP7697400 B2 JP 7697400B2
Authority
JP
Japan
Prior art keywords
users
conversation
information
user
feature vector
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.)
Active
Application number
JP2022068321A
Other languages
Japanese (ja)
Other versions
JP2023158462A (en
Inventor
亮輔 中西
康雄 勝原
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2022068321A priority Critical patent/JP7697400B2/en
Publication of JP2023158462A publication Critical patent/JP2023158462A/en
Application granted granted Critical
Publication of JP7697400B2 publication Critical patent/JP7697400B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、コミュニケーション予測装置およびコミュニケーション予測方法に関する。 The present invention relates to a communication prediction device and a communication prediction method.

特許文献1は、会話中に適切な発話のタイミングを逸してしまった会話の参加者に、発話を促す会話支援システムを開示する。このシステムでは、会話中の各参加者の非言語行動の計測結果に基づいて、各参加者が任意の時刻に次発話となる確率である次話者確率を推定し、各参加者の次話者確率に基づいて次に発話を行うべき参加者である予測次話者を推定する。 Patent Document 1 discloses a conversation support system that encourages participants who have missed the appropriate timing to speak during a conversation to speak. This system estimates the next speaker probability, which is the probability that each participant will be the next to speak at any given time, based on the measurement results of the non-verbal behavior of each participant during the conversation, and estimates the predicted next speaker, who is the participant who should speak next, based on the next speaker probability of each participant.

特開2017-123027号公報JP 2017-123027 A

特許文献1の技術では、過去の会話で取得したデータを学習データとして用い、次話者確率を推定するためのモデルを学習するため、データ収集に多大な労力を要する。 The technology in Patent Document 1 requires a great deal of effort to collect data, since data acquired from past conversations is used as training data to train a model for estimating the next speaker probability.

本発明の目的は、学習用データの収集の労力を低減しつつ、次の発話者を精度良く予測できる技術を提供することにある。 The objective of the present invention is to provide a technology that can accurately predict the next speaker while reducing the effort required to collect training data.

上記課題を解決するために、本発明のある態様のコミュニケーション予測装置は、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報を取得する取得部と、取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習する学習部と、取得された情報に含まれる複数のユーザが入力した投稿文をもとに複数のユーザの言語的特徴量を導出し、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対する反応に関する情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出する導出部と、を備える。前記学習部は、対象ユーザの言語的特徴量と、他のユーザの言語的特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する。 In order to solve the above problem, a communication prediction device according to an embodiment of the present invention includes an acquisition unit that acquires information input by multiple users in a social networking service, a learning unit that performs machine learning to learn a model for predicting a next speaker from multiple conversation participants based on the acquired information, and a derivation unit that derives linguistic features of multiple users based on posted statements input by the multiple users included in the acquired information, and derives relationship features representing relationships between a target user and other users and information representing the number of speaker turns from the target user to other users based on information on reactions of a target user to posted statements of other users input by the target user included in the acquired information . The learning unit receives the linguistic features of the target user, the linguistic features of the other users, and the relationship features between the target user and other users as input, and learns a model using information representing the number of speaker turns from the target user to other users as a correct answer label.

本発明の別の態様もまた、コミュニケーション予測装置である。この装置は、複数の会話参加者による会話中に、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を取得する取得部と、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報に基づいて機械学習された学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて前記複数の会話参加者の中から次の発話者を予測する予測部と、取得されたコミュニケーションに関する情報をもとに、前記複数の会話参加者のそれぞれの第2特徴量ベクトルを導出する導出部と、を備える。前記予測部は、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している記憶部から、前記複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、前記学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する。 Another aspect of the present invention is also a communication prediction device. The device includes an acquisition unit that acquires information about communication between each conversation participant and other conversation participants during a conversation between multiple conversation participants, a prediction unit that predicts a next speaker from among the multiple conversation participants based on the acquired information about communication using a trained model that has been machine-learned based on information input by multiple users in a social networking service , and a derivation unit that derives a second feature vector for each of the multiple conversation participants based on the acquired information about communication . The prediction unit acquires a first feature vector for each of the multiple conversation participants from a storage unit that stores a first feature vector for each user derived from information input by multiple users in the social networking service, and predicts a next speaker based on the acquired first feature vectors and the derived second feature vectors using the trained model.

本発明のさらに別の態様は、コミュニケーション予測方法である。この方法は、コンピュータが実行するコミュニケーション予測方法であって、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報を取得するステップと、取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習するステップと、取得された情報に含まれる複数のユーザが入力した投稿文をもとに複数のユーザの言語的特徴量を導出し、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対する反応に関する情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出するステップと、を備える。前記機械学習するステップにおいて、対象ユーザの言語的特徴量と、他のユーザの言語的特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する。 Yet another aspect of the present invention is a communication prediction method. This method is a communication prediction method executed by a computer, and includes the steps of: acquiring information input by a plurality of users in a social networking service; learning a model for predicting a next speaker from among a plurality of conversation participants based on the acquired information; deriving linguistic features of a plurality of users based on posted statements input by the plurality of users included in the acquired information; and deriving relationship features representing relationships between a target user and other users and information representing the number of speaker turns from the target user to other users based on information on reactions to posted statements input by the target user included in the acquired information . In the machine learning step, the linguistic features of the target user, the linguistic features of the other users, and the relationship features between the target user and other users are input, and a model is learned using information representing the number of speaker turns from the target user to other users as a correct answer label.

本発明のさらに別の態様もまた、コミュニケーション予測方法である。この方法は、コンピュータが実行するコミュニケーション予測方法であって、複数の会話参加者による会話中に、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を取得するステップと、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報に基づいて機械学習された学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて前記複数の会話参加者の中から次の発話者を予測するステップと、取得されたコミュニケーションに関する情報をもとに、前記複数の会話参加者のそれぞれの第2特徴量ベクトルを導出するステップと、を備える。前記予測するステップにおいて、ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している記憶部から、前記複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、前記学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する。 Yet another aspect of the present invention is also a communication prediction method. This method is a communication prediction method executed by a computer, and includes the steps of: acquiring information on communication between each conversation participant and other conversation participants during a conversation between multiple conversation participants; predicting a next speaker from among the multiple conversation participants based on the acquired information on communication using a trained model that has been machine- learned based on information input by multiple users in a social networking service; and deriving a second feature vector for each of the multiple conversation participants based on the acquired information on communication . In the predicting step, a first feature vector for each of the multiple conversation participants is acquired from a storage unit that stores a first feature vector for each user derived from information input by multiple users in a social networking service, and predicting a next speaker based on the acquired first feature vectors and the derived second feature vectors using the trained model.

本発明によれば、学習用データの収集の労力を低減しつつ、次の発話者を精度良く予測できる技術を提供できる。 The present invention provides technology that can accurately predict the next speaker while reducing the effort required to collect training data.

第1の実施の形態のコミュニケーション予測システムの処理の概要を説明するための図である。FIG. 2 is a diagram for explaining an overview of the processing of the communication prediction system according to the first embodiment; 第1の実施の形態のコミュニケーション予測システムの構成を示す図である。FIG. 1 illustrates a configuration of a communication prediction system according to a first embodiment. SNSの情報の一例を示す図である。FIG. 11 is a diagram showing an example of SNS information. 複数のユーザの言語的特徴量の一例を示す図である。FIG. 13 is a diagram illustrating an example of linguistic features of a plurality of users. 話者交替回数と頻度の関係の一例を示す図である。FIG. 13 is a diagram illustrating an example of the relationship between the number of speaker turns and frequency. 複数のユーザの固有の特徴量ベクトルの分布を概略的に示す図である。FIG. 1 is a diagram illustrating a distribution of characteristic feature vectors of multiple users. 図2のコミュニケーション予測システムの学習処理を示すフローチャートである。3 is a flowchart showing a learning process of the communication prediction system of FIG. 2 . 図2のコミュニケーション予測システムの予測処理を示すフローチャートである。3 is a flowchart showing a prediction process of the communication prediction system of FIG. 2 .

(第1の実施の形態)
図1は、第1の実施の形態のコミュニケーション予測システムの処理の概要を説明するための図である。コミュニケーション予測システムは、サイバー空間におけるコミュニケーション情報を用いて、フィジカル空間における複数の会話参加者の会話に関する情報を予測する。以下、3人の会話参加者u1,u2,u3の一例を説明するが、人数は特に限定されない。
(First embodiment)
1 is a diagram for explaining an overview of the process of the communication prediction system according to the first embodiment. The communication prediction system predicts information about a conversation between multiple conversation participants in a physical space by using communication information in a cyberspace. An example of three conversation participants u1, u2, and u3 will be described below, but the number of participants is not particularly limited.

コミュニケーション予測システムは、複数の会話参加者u1,u2,u3による会話中に、会話参加者の音声データと映像データなどを取得し、取得したデータをもとに、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を定期的に取得する。コミュニケーションに関する情報は、会話内容、視線、頷きなどに関する情報を含む。 The communication prediction system acquires voice data, video data, and the like of multiple conversation participants u1, u2, and u3 during a conversation, and periodically acquires information about the communication between each conversation participant and the other conversation participants based on the acquired data. The information about communication includes information about the content of the conversation, gaze, nodding, and the like.

学習済みモデル50は、複数の会話参加者の中から次の発話者を予測するためのモデルであり、ソーシャルネットワーキングサービス(以下、SNSとも呼ぶ)において複数のユーザが入力した投稿文とリアクションなどの情報に基づいて予め機械学習されている。それぞれの会話参加者u1,u2,u3はSNSを利用しており、学習対象の複数のユーザは会話参加者u1,u2,u3を含むことを想定するが、後述のように会話参加者はSNSを利用していなくてもよい。 The trained model 50 is a model for predicting the next speaker from among multiple conversation participants, and has been machine-trained in advance based on information such as posts and reactions entered by multiple users on a social networking service (hereinafter also referred to as SNS). Each of the conversation participants u1, u2, and u3 uses an SNS, and it is assumed that the multiple users to be trained include the conversation participants u1, u2, and u3, but as described below, the conversation participants do not need to use an SNS.

コミュニケーション予測システムは、学習済みモデル50を用いて、会話参加者u1,u2,u3のコミュニケーションに関する情報と、会話参加者u1,u2,u3がSNSに入力した情報とに基づいて、それぞれの会話参加者に関して、当該会話参加者からそれぞれの他の会話参加者への単位時間あたりの話者交替回数を定期的に予測する。予測結果は、図示する行列表現が可能である。単位時間と予測頻度は、実験やシミュレーションにより適宜定めることができ、例えば、単位時間は1分であってよく、予測頻度は1分に1回であってよい。 The communication prediction system uses the trained model 50 to periodically predict, for each conversation participant, the number of speaker turns per unit time from that conversation participant to each of the other conversation participants, based on information regarding the communication between the conversation participants u1, u2, and u3 and information entered into the SNS by the conversation participants u1, u2, and u3. The prediction results can be expressed as a matrix as shown in the figure. The unit time and prediction frequency can be appropriately determined through experiments or simulations; for example, the unit time may be one minute, and the prediction frequency may be once per minute.

図示する例では、発話者である会話参加者u1から、次の発話者である会話参加者u2への単位時間あたりの話者交替回数は「2」であり、会話参加者u3への単位時間あたりの話者交替回数は「20」であると予測されている。 In the illustrated example, the number of speaker turns per unit time from the speaker, conversation participant u1, to the next speaker, conversation participant u2, is predicted to be "2," and the number of speaker turns per unit time to conversation participant u3 is predicted to be "20."

発話者である会話参加者u2から、次の発話者である会話参加者u1への単位時間あたりの話者交替回数は「5」であり、会話参加者u3への単位時間あたりの話者交替回数は「10」であると予測されている。 The number of turns per unit time from the speaker, conversation participant u2, to the next speaker, conversation participant u1, is predicted to be "5," and the number of turns per unit time to conversation participant u3 is predicted to be "10."

発話者である会話参加者u3から、次の発話者である会話参加者u1への単位時間あたりの話者交替回数は「10」であり、会話参加者u2への単位時間あたりの話者交替回数は「3」であると予測されている。 The number of turns per unit time from the speaker, conversation participant u3, to the next speaker, conversation participant u1, is predicted to be "10," and the number of turns per unit time to conversation participant u2 is predicted to be "3."

なお、この例では、発話者と次の発話者が同一である遷移を除外し、その話者交替回数を「0」に固定しているが、用途に応じて、発話者と次の発話者が同一である遷移も話者交替であると定義し、その話者交替回数も予測してもよい。 In this example, transitions in which the first speaker and the next speaker are the same are excluded, and the number of speaker changes is fixed to "0." However, depending on the application, transitions in which the first speaker and the next speaker are the same may also be defined as speaker changes, and the number of speaker changes may also be predicted.

単位時間あたりの話者交替回数は、話者が交替する頻度を表し、話者の遷移確率も表している。例えば、発話者が会話参加者u1である場合、次の発話者が会話参加者u2である確率は、100×2/(2+20)[%]であり、次の発話者が会話参加者u3である確率は、100×20/(2+20)[%]であり、次の発話者は会話参加者u3であることが予測できる。つまり、コミュニケーション予測システムは、複数の会話参加者の中から次の発話者を予測する。 The number of speaker changes per unit time represents the frequency with which speakers change, and also represents the speaker transition probability. For example, if the speaker is conversation participant u1, the probability that the next speaker will be conversation participant u2 is 100 x 2/(2 + 20) [%], and the probability that the next speaker will be conversation participant u3 is 100 x 20/(2 + 20) [%], so it can be predicted that the next speaker will be conversation participant u3. In other words, the communication prediction system predicts the next speaker from among multiple conversation participants.

実際に行われた会話のデータを学習用データとして収集する場合と比較し、SNSデータの収集は労力が低く、より多くのユーザに関するより多くのデータをより短時間で収集できる。そのような大量の学習用データを用いて学習した予測モデルを利用することで、次の発話者を精度良く予測できる。 Compared to collecting data from actual conversations as training data, collecting SNS data requires less effort and allows more data about more users to be collected in a shorter time. By using a prediction model trained using such a large amount of training data, it is possible to accurately predict the next speaker.

次の発話者を予測することで、例えば、予測された次の発話者を複数の会話参加者に知らせることができる。予測された次の発話者と実際の次の発話者が一致しているか否かに応じて、発話が適切なタイミングで行われたか確認することもできる。 By predicting the next speaker, for example, it is possible to inform multiple conversation participants of the predicted next speaker. Depending on whether the predicted next speaker matches the actual next speaker, it is also possible to check whether the speech was delivered at the appropriate time.

また、単位時間あたりの話者交替回数は、単位時間あたりの会話量を表しているとも言える。図1の例では、会話参加者u1の発話に続く会話参加者u2の会話量は「2」であり、会話参加者u1の発話に続く会話参加者u3の会話量は「20」であるとも表現できる。つまり、コミュニケーション予測システムは、それぞれの会話参加者に関して、当該会話参加者の発話に続く他の会話参加者のそれぞれの単位時間あたりの会話量も予測する。また、例えば、会話参加者u1の発話に続く会話参加者u2の会話量と、会話参加者u2の発話に続く会話参加者u1の会話量のそれぞれを、会話参加者u1と会話参加者u2との間の会話量とみなす。そのため、会話参加者u1と会話参加者u2との間の会話量は、「2」+「5」=「7」であると予測される。つまり、コミュニケーション予測システムは、複数の会話参加者における2人の会話参加者の組み合わせのそれぞれにおける単位時間あたりの会話量を予測するとも言える。このように、事前に会話量を予測できる。すなわち、事前に誰がどれだけ話をしそうかを予測できる。 The number of speaker changes per unit time can also be said to represent the amount of conversation per unit time. In the example of FIG. 1, the amount of conversation of the conversation participant u2 following the speech of the conversation participant u1 can also be expressed as "2", and the amount of conversation of the conversation participant u3 following the speech of the conversation participant u1 can also be expressed as "20". In other words, the communication prediction system also predicts the amount of conversation per unit time of each of the other conversation participants following the speech of the conversation participant for each conversation participant. Also, for example, the amount of conversation of the conversation participant u2 following the speech of the conversation participant u1 and the amount of conversation of the conversation participant u1 following the speech of the conversation participant u2 are each regarded as the amount of conversation between the conversation participants u1 and the conversation participants u2. Therefore, the amount of conversation between the conversation participants u1 and the conversation participants u2 is predicted to be "2" + "5" = "7". In other words, the communication prediction system can also be said to predict the amount of conversation per unit time for each combination of two conversation participants among multiple conversation participants. In this way, the amount of conversation can be predicted in advance. In other words, it is possible to predict in advance who is likely to talk and how much.

予測した会話量は、例えば、本出願人が先に出願した特願2021-163089に記載のコミュニケーション支援システムにおいて2人のメンバー間の単位時間当たりの会話量として利用できる。例えば、会話参加者u1,u2,u3のそれぞれの現在のストレス状態値、会話参加者u1と会話参加者u2の間の予測した会話量、会話参加者u1と会話参加者u3の間の予測した会話量から、会話参加者u1の未来のストレス状態値を予測できる。つまり、他者との会話による影響を考慮した個人の未来のストレス状態値を予測できる。 The predicted conversation volume can be used, for example, as the conversation volume per unit time between two members in the communication support system described in Patent Application No. 2021-163089 previously filed by the applicant. For example, the future stress state value of conversation participant u1 can be predicted from the current stress state values of each of conversation participants u1, u2, and u3, the predicted conversation volume between conversation participant u1 and conversation participant u2, and the predicted conversation volume between conversation participant u1 and conversation participant u3. In other words, it is possible to predict an individual's future stress state value taking into account the influence of conversations with others.

図2は、第1の実施の形態のコミュニケーション予測システム1の構成を示す。コミュニケーション予測システム1は、マイク2、カメラ4、センサ6、およびコミュニケーション予測装置10を備える。図示しないが、コミュニケーション予測システム1は、複数のマイク2、複数のカメラ4、および複数のセンサ6を有する。 Figure 2 shows the configuration of the communication prediction system 1 of the first embodiment. The communication prediction system 1 includes a microphone 2, a camera 4, a sensor 6, and a communication prediction device 10. Although not shown, the communication prediction system 1 has multiple microphones 2, multiple cameras 4, and multiple sensors 6.

マイク2は、複数の会話参加者の音声を取得し、取得した音声のデータをコミュニケーション予測装置10に供給する。カメラ4は、複数の会話参加者を撮影し、撮影した画像のデータをコミュニケーション予測装置10に供給する。センサ6は、各会話参加者の身体に取り付けられ、各会話参加者の姿勢を検出し、検出したセンサデータをコミュニケーション予測装置10に供給する。センサ6は、各会話参加者の心拍数などを検出してもよい。 The microphone 2 captures the voices of multiple conversation participants and supplies the captured voice data to the communication prediction device 10. The camera 4 captures images of the multiple conversation participants and supplies the captured image data to the communication prediction device 10. The sensor 6 is attached to the body of each conversation participant, detects the posture of each conversation participant, and supplies the detected sensor data to the communication prediction device 10. The sensor 6 may also detect the heart rate of each conversation participant.

コミュニケーション予測装置10は、処理部12、SNSデータ記憶部14、特徴量辞書記憶部16、および学習済みモデル記憶部18を備える。処理部12は、第1取得部20、第1導出部22、学習部24、第2取得部26、音声認識部28、第2導出部30、予測部32、および出力部34を備える。 The communication prediction device 10 includes a processing unit 12, an SNS data storage unit 14, a feature dictionary storage unit 16, and a trained model storage unit 18. The processing unit 12 includes a first acquisition unit 20, a first derivation unit 22, a learning unit 24, a second acquisition unit 26, a voice recognition unit 28, a second derivation unit 30, a prediction unit 32, and an output unit 34.

処理部12の構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。 The configuration of the processing unit 12 can be realized in hardware terms by the CPU, memory, and other LSIs of any computer, and in software terms by programs loaded into memory, but here we depict functional blocks realized by the cooperation of these. Therefore, it will be understood by those skilled in the art that these functional blocks can be realized in various ways by hardware alone, software alone, or a combination of both.

まず、学習に関する処理について説明する。第1取得部20は、SNSにおいて複数のユーザが入力した情報(以下、SNSデータとも呼ぶ)を取得し、取得したSNSデータをSNSデータ記憶部14に記憶させる。SNSデータは、投稿文の内容、投稿文に対する絵文字などによるリアクション、投稿文に対するリプライ、ユーザのアカウントの画像またはプロフィール画像などの情報を含む。 First, the learning process will be described. The first acquisition unit 20 acquires information entered by multiple users on the SNS (hereinafter also referred to as SNS data) and stores the acquired SNS data in the SNS data storage unit 14. The SNS data includes information such as the content of posted messages, reactions to the posted messages using emoticons and the like, replies to the posted messages, and images or profile images of the user's accounts.

第1取得部20は、取得したSNSデータに必要に応じて前処理を行い、SNSデータから学習用データを作成し、学習用データを第1導出部22に供給する。前処理は、例えば、投稿文のテキストの整形処理であり、アルファベットやカタカナなどの全角の文字を半角に統一し、顔文字等を削除し、単語分割を実行する処理を含む。 The first acquisition unit 20 performs preprocessing on the acquired SNS data as necessary, creates learning data from the SNS data, and supplies the learning data to the first derivation unit 22. The preprocessing is, for example, a formatting process for the text of the posted message, and includes processes for standardizing full-width characters such as alphabets and katakana to half-width characters, deleting emoticons, and performing word segmentation.

第1導出部22は、学習用データから各ユーザの第1特徴量ベクトルを導出する。第1特徴量ベクトルは、言語的特徴量、画像特徴量、関係性特徴量を含む。 The first derivation unit 22 derives a first feature vector for each user from the learning data. The first feature vector includes linguistic features, image features, and relationship features.

第1導出部22は、第1取得部20で取得された情報に含まれる複数のユーザが入力した投稿文、投稿文に対するリアクション、投稿文に対するリプライをもとに複数のユーザの言語的特徴量を導出する。言語的特徴量は、ユーザが得意とする話題、ユーザが興味を持っている話題、ユーザの専門性などを表現する。 The first derivation unit 22 derives linguistic features of multiple users based on the posts, reactions to the posts, and replies to the posts entered by multiple users, which are included in the information acquired by the first acquisition unit 20. The linguistic features express topics that the user is good at, topics that the user is interested in, the user's expertise, etc.

第1導出部22は、対象ユーザが入力した投稿文における各単語の出現頻度と、対象ユーザが入力したリアクションまたはリプライの対象となった他のユーザの投稿文における各単語の出現頻度とをもとに、対象ユーザの言語的特徴量を導出する。対象ユーザが入力したリプライにおける各単語の出現頻度を用いてもよい。つまり、第1導出部22は、対象ユーザが入力した投稿文と、対象ユーザが入力した、他のユーザの投稿文に対する反応に関する情報であるリアクションとリプライをもとに、対象ユーザの言語的特徴量を導出する。 The first derivation unit 22 derives the linguistic feature of the target user based on the frequency of occurrence of each word in the posted text entered by the target user and the frequency of occurrence of each word in the posted text of other users that was the subject of a reaction or reply entered by the target user. The frequency of occurrence of each word in the reply entered by the target user may also be used. In other words, the first derivation unit 22 derives the linguistic feature of the target user based on the posted text entered by the target user and the reaction and reply, which are information entered by the target user regarding reactions to the posted text of other users.

図3は、SNSの情報の一例を示す。図3は、ユーザAが投稿した投稿文60、ユーザBによる投稿文60に対するリプライ62、複数のユーザによるユーザAの投稿に対するリアクション64が表示された画面の例を示す。ユーザAのアカウント画像66、ユーザBのアカウント画像68も表示されている。 Figure 3 shows an example of SNS information. Figure 3 shows an example of a screen displaying a message 60 posted by user A, a reply 62 to the message 60 posted by user B, and reactions 64 to the message posted by user A by multiple users. An account image 66 of user A and an account image 68 of user B are also displayed.

図4は、複数のユーザu1~um(mは2以上の整数)の言語的特徴量の一例を示す。w1~wn(nは2以上の整数)は、単語を表す。行列の各要素は、投稿文における単語の出現頻度を表す。1行が、あるユーザの言語的特徴量を表現するベクトルである。図示する例では、ユーザu1の言語的特徴量のベクトルにおいて、単語w1の出現頻度は「0」、単語w2の出現頻度は「10」である。単語の語彙は非常に多いことから、言語的特徴量は例えば数万次元になり得、行列もスパースになるため、低ランク近似手法(NMF)等を用いて次元削減してよい。次元削減された各ユーザの言語的特徴量は、例えば、200次元であってよい。 Figure 4 shows an example of linguistic features of multiple users u1 to um (m is an integer of 2 or more). w1 to wn (n is an integer of 2 or more) represent words. Each element of the matrix represents the frequency of occurrence of a word in a posted text. One row is a vector representing the linguistic features of a certain user. In the example shown, in the vector of the linguistic features of user u1, the frequency of occurrence of word w1 is "0", and the frequency of occurrence of word w2 is "10". Since the vocabulary of words is very large, the linguistic features can have, for example, tens of thousands of dimensions, and the matrix also becomes sparse, so the dimensions may be reduced using a low-rank approximation method (NMF) or the like. The dimension-reduced linguistic features of each user may have, for example, 200 dimensions.

第1導出部22は、SNSにおける各ユーザを識別するための画像をもとに各ユーザの画像特徴量も導出する。ユーザを識別するための画像は、ユーザのアカウントの画像またはプロフィール画像である。第1導出部22は、アカウント画像などの複数の画素のRGB値をもとに画像特徴量を導出する。第1導出部22は、アカウント画像などを入力として性格を推定するモデルが存在する場合、そのモデルの出力値を画像特徴量としてもよい。画像特徴量は、例えば1次元であり、各ユーザの性格などの個人特性、内的性質を表現する。例えば、画像特徴量の数値が大きいほど外向的な性格を表してもよい。画像特徴量を用いることで、ユーザの性格もモデルに反映させることができ、予測精度を高めることができる。 The first derivation unit 22 also derives image features of each user based on an image for identifying each user in the SNS. The image for identifying a user is an image of the user's account or a profile image. The first derivation unit 22 derives image features based on RGB values of multiple pixels such as an account image. If there is a model that estimates personality using an account image or the like as input, the first derivation unit 22 may use the output value of the model as the image feature. The image feature is, for example, one-dimensional, and represents the individual characteristics and inner nature of each user, such as personality. For example, a larger numerical value of the image feature may represent a more extroverted personality. By using the image feature, the user's personality can also be reflected in the model, and prediction accuracy can be improved.

第1導出部22は、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対するリアクションとリプライの情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出する。 The first derivation unit 22 derives relationship features representing the relationship between the target user and other users and information representing the number of speaker changes from the target user to other users, based on information on reactions and replies to posts by other users entered by the target user contained in the acquired information.

関係性特徴量は、ネットワーク特徴量とも呼ぶことができ、ユーザ間の関係性を表現する。各ユーザをノードとして、リアクションまたはリプライがあったとき、元の投稿者と、リアクションまたはリプライをしたユーザの間とにエッジを張る。何回もリアクション等があれば、エッジの重みは加算される。 Relationship features can also be called network features, and represent the relationships between users. Each user is a node, and when there is a reaction or reply, an edge is created between the original poster and the user who made the reaction or reply. If there are multiple reactions, the weight of the edge is added up.

関係性特徴量の値は、最短経路長、同類選択性、次数などのネットワーク全体の平均と、ある特定の人物間の各値との差であってよい。関係性特徴量は、例えば、最短経路長に基づく値、同類選択性に基づく値、次数に基づく値を含み、3次元である。 The value of the relationship feature may be the difference between the average of the entire network, such as the shortest path length, similar selectivity, or degree, and each value between specific people. The relationship feature is three-dimensional, including, for example, a value based on the shortest path length, a value based on similar selectivity, and a value based on degree.

対象ユーザから他のユーザへの話者交替回数は、所定の関係式に基づいて、対象ユーザが入力した他のユーザの投稿文に対するリアクション等の数が多いほど、大きく導出される。所定の関係式は、例えば、対象ユーザが入力した他のユーザの投稿文に対するリアクション等の数と、実際の会話における対象ユーザから他のユーザへの話者交替回数との関係を近似するように、実験により適宜定めることができる。対象ユーザAから他のユーザBへの話者交替回数と、他のユーザBから対象ユーザAへの話者交替回数とは、区別される。 The number of times the target user takes turns speaking to other users is derived based on a predetermined relational expression, and the greater the number of reactions, etc., input by the target user to posts by other users, the greater the number of times the target user takes turns speaking to other users. The predetermined relational expression can be determined appropriately through experiments, for example, so as to approximate the relationship between the number of reactions, etc., input by the target user to posts by other users, and the number of times the target user takes turns speaking to other users in actual conversations. A distinction is made between the number of times the target user A takes turns speaking to other users B and the number of times the other users B takes turns speaking to the target user A.

第1導出部22は、ユーザごとに言語的特徴量と画像特徴量を連結(concatenate)してユーザに固有の特徴量ベクトルを作成し、この特徴量ベクトルを含む特徴量辞書を作成し、作成した辞書を特徴量辞書記憶部16に記憶させる。1人のユーザの固有の特徴量ベクトルは、例えば、200+1=201次元である。 The first derivation unit 22 concatenates the linguistic features and image features for each user to create a feature vector unique to the user, creates a feature dictionary including this feature vector, and stores the created dictionary in the feature dictionary storage unit 16. The feature vector unique to one user has, for example, 200 + 1 = 201 dimensions.

第1導出部22は、複数のユーザにおける2人のユーザの組み合わせのそれぞれの関係性特徴量、および、話者交替回数を表す情報も特徴量辞書記憶部16に記憶させる。つまり、特徴量辞書記憶部16は、各ユーザの第1特徴量ベクトルを記憶しているとも言える。 The first derivation unit 22 also stores, in the feature dictionary storage unit 16, the relationship features of each combination of two users among the multiple users, and information representing the number of speaker changes. In other words, it can be said that the feature dictionary storage unit 16 stores the first feature vector of each user.

学習部24は、第1取得部20で取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習し、学習済みモデルを学習済みモデル記憶部18に記憶させる。具体的には、学習部24は、対象ユーザの第1特徴量ベクトルと、他のユーザの第1特徴量ベクトルと、対象ユーザから他のユーザへの話者交替回数を表す情報を特徴量辞書記憶部16から取得し、これらをもとにモデルを学習する。対象ユーザの第1特徴量ベクトルは、対象ユーザの言語的特徴量および画像特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを含み、例えば、204次元である。他のユーザの第1特徴量ベクトルは、他のユーザの言語的特徴量および画像特徴量と、他のユーザと対象ユーザとの間の関係性特徴量とを含み、例えば、204次元である。対象ユーザと他のユーザとの間の関係性特徴量は、他のユーザと対象ユーザとの間の関係性特徴量と同一であってよい。 The learning unit 24 performs machine learning on a model for predicting the next speaker from among multiple conversation participants based on the information acquired by the first acquisition unit 20, and stores the learned model in the learned model storage unit 18. Specifically, the learning unit 24 acquires the first feature vector of the target user, the first feature vectors of the other users, and information representing the number of speaker changes from the target user to the other users from the feature dictionary storage unit 16, and learns a model based on these. The first feature vector of the target user includes the linguistic feature and image feature of the target user, and the relationship feature between the target user and the other users, and is, for example, 204 dimensions. The first feature vector of the other users includes the linguistic feature and image feature of the other users, and the relationship feature between the other users and the target user, and is, for example, 204 dimensions. The relationship feature between the target user and the other users may be the same as the relationship feature between the other users and the target user.

より詳細には、学習部24は、対象ユーザの言語的特徴量および画像特徴量と、対象ユーザと他のユーザとの間の関係性特徴量と、他のユーザの言語的特徴量および画像特徴量と、他のユーザと対象ユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する。学習部24は、複数のユーザのうち2人のユーザごとにモデルを学習することを繰り返す。2人のユーザに関して、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとした場合と、他のユーザから対象ユーザへの話者交替回数を表す情報を正解ラベルとした場合とで、2回学習できる。2人のユーザごとに学習することで、学習サンプル数を水増しでき、会話参加者数に頑健なモデルができる。例えば、100人のユーザの場合、100×100-100=9900個のサンプル数を確保できる。 More specifically, the learning unit 24 inputs the linguistic features and image features of the target user, the relationship features between the target user and other users, the linguistic features and image features of the other users, and the relationship features between the other users and the target user, and learns a model using information representing the number of speaker turns from the target user to the other users as the correct answer label. The learning unit 24 repeats learning a model for every two users out of the multiple users. For two users, learning can be performed twice, once when information representing the number of speaker turns from the target user to the other users is used as the correct answer label, and once when information representing the number of speaker turns from the other users to the target user is used as the correct answer label. By learning for every two users, the number of learning samples can be inflated, and a model that is robust to the number of conversation participants can be created. For example, in the case of 100 users, 100 x 100 - 100 = 9900 samples can be secured.

モデルは、例えば、多層ニューラルネットワークモデルである。モデルは、回帰モデルでもよいし、分類モデルでもよい。回帰モデルの場合、学習部24は、話者交替回数の数値を正解ラベルとして学習する。例えば、ユーザAからユーザBへの会話を対象とする場合、ユーザAの204次元の特徴量と、ユーザBの204次元の特徴量が入力となり、SNSデータから導出されたユーザAからユーザBへの話者交替回数である「54」が正解ラベルとなる。 The model is, for example, a multi-layer neural network model. The model may be a regression model or a classification model. In the case of a regression model, the learning unit 24 learns the numerical value of the number of speaker turns as the correct label. For example, in a conversation from user A to user B, the 204-dimensional feature of user A and the 204-dimensional feature of user B are input, and "54", which is the number of speaker turns from user A to user B derived from SNS data, becomes the correct label.

一方、例えば、ユーザBからユーザAへの会話を対象とする場合、ユーザAの204次元の特徴量と、ユーザBの204次元の特徴量が入力となり、SNSデータから導出されたユーザBからユーザAへの話者交替回数である「30」が正解ラベルとなる。 On the other hand, for example, if the target is a conversation from user B to user A, the 204-dimensional feature of user A and the 204-dimensional feature of user B are input, and the number of speaker turns from user B to user A, derived from the SNS data, "30" is the correct label.

ユーザAからユーザBへの話者交替回数と、ユーザBからユーザAへの話者交替回数とを区別して学習するために、2人のユーザの第1特徴量ベクトルの順番を特定するためのベクトルも学習部24に供給されてよい。 In order to distinguish and learn the number of speaker changes from user A to user B and the number of speaker changes from user B to user A, a vector for identifying the order of the first feature vectors of the two users may also be supplied to the learning unit 24.

分類モデルの場合、学習部24は、話者交替回数を量子化した値を正解ラベルとして学習する。話者交替回数を量子化した値は、話者交替回数を表す情報である。 In the case of a classification model, the learning unit 24 learns the quantized value of the number of speaker changes as the correct label. The quantized value of the number of speaker changes is information that represents the number of speaker changes.

図5は、話者交替回数と頻度の関係の一例を示す。話者交替回数がしきい値th1より小さい場合、話者交替回数を「小」と定義する。話者交替回数がしきい値th1以上、しきい値th2未満である場合、話者交替回数を「中」と定義する。話者交替回数がしきい値th2以上の場合、話者交替回数を「大」と定義する。しきい値th1,th2は、予め人が設定する。 Figure 5 shows an example of the relationship between the number of speaker turns and frequency. If the number of speaker turns is smaller than threshold th1, the number of speaker turns is defined as "small." If the number of speaker turns is equal to or greater than threshold th1 and less than threshold th2, the number of speaker turns is defined as "medium." If the number of speaker turns is equal to or greater than threshold th2, the number of speaker turns is defined as "large." Thresholds th1 and th2 are set by a human in advance.

例えば、ユーザAからユーザBへの会話を対象とする場合、ユーザAの204次元の特徴量と、ユーザBの204次元の特徴量が入力となり、SNSデータから導出されたユーザAからユーザBへの話者交替回数である「大」が正解ラベルとなる。 For example, when targeting a conversation from user A to user B, the 204-dimensional feature of user A and the 204-dimensional feature of user B are input, and the number of speaker turns from user A to user B derived from SNS data, "large", is the correct label.

ユーザBからユーザAへの会話を対象とする場合、ユーザAの204次元の特徴量と、ユーザBの204次元の特徴量が入力となり、SNSデータから導出されたユーザBからユーザAへの話者交替回数である「中」が正解ラベルとなる。 When targeting a conversation from user B to user A, the 204-dimensional feature values of user A and the 204-dimensional feature values of user B are input, and the number of speaker turns from user B to user A derived from SNS data, "medium," is the correct label.

ところで、実際の会話参加者がSNSを利用しておらず、その会話参加者のデータがSNSデータに含まれていない可能性がある。この場合、以下の処理を実行する。 However, it is possible that the actual conversation participants do not use SNS, and their data is not included in the SNS data. In this case, the following process is performed.

図6は、複数のユーザの固有の特徴量ベクトルの分布を概略的に示す。固有の特徴量ベクトルの次元は、既述のように例えば201次元であるが、図6では2次元に簡略化している。 Figure 6 shows a schematic distribution of unique feature vectors for multiple users. As mentioned above, the dimension of the unique feature vector is, for example, 201 dimensions, but in Figure 6 it is simplified to 2 dimensions.

第1導出部22は、k-means等を用いた教師なし学習によって複数のユーザの固有の特徴量ベクトルを複数のクラスタに分類し、各クラスタを代表する仮想的な代表ユーザの固有の特徴量ベクトルを導出する。第1導出部22は、クラスタごとに、当該クラスタの複数の特徴量ベクトルの重心を表す代表ユーザの固有の特徴量ベクトルを導出する。図6の例では、5つのクラスタC1~C5に分類され、架空の5人の代表ユーザの5つの固有の特徴量ベクトルV1~V5が導出されている。つまり、100人のユーザが存在する場合、105人分の特徴量が作成される。 The first derivation unit 22 classifies the unique feature vectors of multiple users into multiple clusters by unsupervised learning using k-means or the like, and derives the unique feature vector of a virtual representative user representing each cluster. The first derivation unit 22 derives the unique feature vector of the representative user representing the center of gravity of the multiple feature vectors of the cluster for each cluster. In the example of FIG. 6, the users are classified into five clusters C1 to C5, and five unique feature vectors V1 to V5 are derived for five fictitious representative users. In other words, if there are 100 users, features for 105 users are created.

第1導出部22は、SNSに入力した情報が存在しないユーザも学習の対象とする場合、当該ユーザの固有の特徴量ベクトルに、いずれかのクラスタの代表ユーザの固有の特徴量ベクトルを設定し、特徴量辞書記憶部16に保存する。例えば、システムの管理者等が、SNSデータが存在しないユーザに対して性格が外向的であるか内向的であるかなどを確認し、そのユーザの性格に比較的近いユーザの属するクラスタの代表ユーザの固有の特徴量ベクトルを選択してよい。 When a user who has no information entered into the SNS is also a target for learning, the first derivation unit 22 sets the unique feature vector of the representative user of one of the clusters as the unique feature vector of the user, and stores the unique feature vector in the feature dictionary storage unit 16. For example, a system administrator or the like may check whether a user for whom no SNS data exists has an extroverted or introverted personality, and select the unique feature vector of a representative user of a cluster to which a user whose personality is relatively close to that of the user belongs.

第1導出部22は、SNSに入力した情報が存在しないユーザの関係性特徴量と正解ラベルを各クラスタに分類されたユーザに基づいて導出し、特徴量辞書記憶部16に保存する。 The first derivation unit 22 derives relationship features and correct answer labels for users whose information has not been entered into the SNS based on the users classified into each cluster, and stores them in the feature dictionary storage unit 16.

例えば、ユーザAからユーザBへの話者交替回数が「54」であることが分かっている場合、ユーザAが分類されたクラスタC1からユーザBが分類されたクラスタC3への話者交替回数が「54」であるとみなす。また、ユーザAが分類されたクラスタC1とユーザBが分類されたクラスタC3との間の関係性特徴量は、ユーザAとユーザBとの間の関係性特徴量であるとみなす。 For example, if it is known that the number of speaker changes from user A to user B is "54," the number of speaker changes from cluster C1, in which user A is classified, to cluster C3, in which user B is classified, is considered to be "54." Furthermore, the relationship feature between cluster C1, in which user A is classified, and cluster C3, in which user B is classified, is considered to be the relationship feature between user A and user B.

つまり、SNSに入力した情報が存在しないユーザ(ユーザXとする)をクラスタC1に分類し、ユーザXからユーザBへの会話を対象とする場合、ユーザXの固有の特徴量ベクトルV1およびユーザAとユーザBとの間の関係性特徴量と、ユーザBの固有の特徴量ベクトル70およびユーザBとユーザAとの間の関係性特徴量とが入力となり、ユーザAからユーザBへの話者交替回数である「54」が正解ラベルとなる。 In other words, if a user (say, User X) who has no information entered into the SNS is classified into cluster C1, and the target conversation from User X to User B is the target, User X's unique feature vector V1 and the relationship feature between User A and User B, and User B's unique feature vector 70 and the relationship feature between User B and User A are input, and "54", which is the number of speaker changes from User A to User B, is the correct label.

このように、実際の会話参加者がSNSを利用していない場合であっても、その会話参加者の特徴を表している可能性のある特徴量ベクトルを用いて学習できる。 In this way, even if the actual conversation participants do not use SNS, learning can be done using feature vectors that may represent the characteristics of those conversation participants.

また、何らかの理由でSNSデータに欠損値がある場合、第1導出部22は、学習済みの欠損値推定モデルを用いて欠損値を補完し、欠損値の補完が完了したSNSデータをもとに各ユーザの特徴量ベクトルを導出してもよい。欠損値の補完には、例えば、本出願人が先に出願した特願2021-165372に記載の技術を利用できる。 In addition, if there are missing values in the SNS data for some reason, the first derivation unit 22 may complement the missing values using a trained missing value estimation model, and derive the feature vector of each user based on the SNS data after completion of the missing values. For example, the technology described in Patent Application No. 2021-165372 previously filed by the present applicant may be used to complement the missing values.

次に、学習後、会話参加者による会話中に実行される予測に関する処理について説明する。 Next, we will explain the process of prediction that is performed by conversation participants during a conversation after learning.

第2取得部26は、複数の会話参加者による会話中に、マイク2から供給される音声データ、カメラ4から供給される画像データ、センサ6から供給されるセンサデータを取得し、音声データを音声認識部28に供給し、画像データとセンサデータを第2導出部30に供給する。この処理は、第2取得部26が、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を取得することに相当する。 The second acquisition unit 26 acquires voice data supplied from the microphone 2, image data supplied from the camera 4, and sensor data supplied from the sensor 6 during a conversation between multiple conversation participants, and supplies the voice data to the voice recognition unit 28 and the image data and sensor data to the second derivation unit 30. This process corresponds to the second acquisition unit 26 acquiring information regarding the communication between each conversation participant and the other conversation participants.

音声認識部28は、第2取得部26で取得された音声データを音声認識し、音声認識結果に対して必要に応じて前処理を実行し、テキストデータを作成し、テキストデータを第2導出部30に供給する。前処理は、例えば、全角の文字を半角に統一し、人物の固有名詞を匿名化し、単語分割を実行する処理を含む。 The speech recognition unit 28 performs speech recognition on the speech data acquired by the second acquisition unit 26, performs preprocessing on the speech recognition result as necessary, creates text data, and supplies the text data to the second derivation unit 30. The preprocessing includes, for example, standardizing full-width characters to half-width characters, anonymizing people's proper nouns, and performing word segmentation.

第2導出部30は、テキストデータに基づいて会話参加者ごとに言語的特徴量を導出する。第2導出部30は、対象の会話参加者の会話内容を表すテキストデータにおける各単語の出現頻度から、当該対象の会話参加者の言語的特徴量を導出する。この言語的特徴量も、図4に示した第1導出部22により導出される言語的特徴量と同じ構造のベクトルであり、次元も同一である。 The second derivation unit 30 derives linguistic features for each conversation participant based on the text data. The second derivation unit 30 derives linguistic features for the target conversation participant from the frequency of occurrence of each word in the text data representing the conversation content of the target conversation participant. This linguistic feature is also a vector with the same structure as the linguistic feature derived by the first derivation unit 22 shown in Figure 4, and has the same dimensions.

第2導出部30は、センサデータに基づいて会話参加者ごとに画像特徴量を導出する。センサデータにより特定される会話中の会話参加者の姿勢は、会話参加者の性格を表すと考えられる。そこで、第2導出部30は、対象の会話参加者のセンサデータから導出される姿勢から、当該対象の会話参加者の画像特徴量を導出する。この画像特徴量も、第1導出部22により導出される画像特徴量と同じ1次元のベクトルである。 The second derivation unit 30 derives image features for each conversation participant based on the sensor data. The posture of a conversation participant during a conversation identified by the sensor data is considered to represent the personality of the conversation participant. Therefore, the second derivation unit 30 derives image features of the target conversation participant from the posture derived from the sensor data of the target conversation participant. This image feature is also a one-dimensional vector, like the image feature derived by the first derivation unit 22.

第2導出部30は、画像データに基づいて2人の会話参加者の組ごとに関係性特徴量を導出する。第2導出部30は、各会話参加者をノードとして、画像データにより2人の会話参加者の間で視線を向けることまたは頷きがあったことが特定された場合、この2人の会話参加者の間のエッジの重みを増加させる。第2導出部30は、第1導出部22による処理と同様に、複数の会話参加者のノードとエッジをもとに、3次元の関係性特徴量を導出する。つまり、第2導出部30は、対象の会話参加者が他の会話参加者に対して取る行動に関する情報をもとに、対象の会話参加者と他の会話参加者との間の関係性特徴量を導出する。 The second derivation unit 30 derives relationship features for each pair of two conversation participants based on the image data. The second derivation unit 30 treats each conversation participant as a node, and if the image data identifies that the two conversation participants exchanged glances or nodded with each other, increases the weight of the edge between the two conversation participants. Similar to the processing by the first derivation unit 22, the second derivation unit 30 derives three-dimensional relationship features based on the nodes and edges of multiple conversation participants. In other words, the second derivation unit 30 derives relationship features between a target conversation participant and the other conversation participants based on information regarding the behavior of the target conversation participant toward the other conversation participants.

これらの処理は、第2導出部30が、取得されたコミュニケーションに関する情報をもとに、複数の会話参加者のそれぞれの第2特徴量ベクトルを導出することに相当する。第2特徴量ベクトルは、言語的特徴量、画像特徴量、関係性特徴量を含む。第2特徴量ベクトルの次元数は、第1特徴量ベクトルの次元数と同一である。 These processes correspond to the second derivation unit 30 deriving a second feature vector for each of the multiple conversation participants based on the acquired information about the communication. The second feature vector includes linguistic features, image features, and relationship features. The number of dimensions of the second feature vector is the same as the number of dimensions of the first feature vector.

予測部32は、SNSにおいて複数のユーザが入力した情報に基づいて機械学習されて学習済みモデル記憶部18に記憶されている学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて複数の会話参加者の中から次の発話者を予測する。予測部32は、それぞれの会話参加者に関して、当該会話参加者の発話に続く他の会話参加者のそれぞれの単位時間あたりの会話量を予測する。 The prediction unit 32 predicts the next speaker from among the multiple conversation participants based on the acquired communication information, using a trained model that is machine-learned based on information entered by multiple users on the SNS and stored in the trained model storage unit 18. For each conversation participant, the prediction unit 32 predicts the amount of conversation per unit time of each of the other conversation participants following the speech of the conversation participant.

予測部32は、SNSにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している特徴量辞書記憶部16から、複数の会話参加者のそれぞれの第1特徴量ベクトルを取得する。SNSを利用していない会話参加者が含まれる場合にも、既述のように、その会話参加者の第1特徴量ベクトルも特徴量辞書記憶部16に記憶されている。 The prediction unit 32 acquires the first feature vector of each of the multiple conversation participants from the feature dictionary storage unit 16, which stores the first feature vector of each user derived from information entered by the multiple users on the SNS. Even if a conversation participant who does not use the SNS is included, as described above, the first feature vector of that conversation participant is also stored in the feature dictionary storage unit 16.

予測部32は、学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する。予測部32は、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを混合する。具体的には、予測部32は、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとにおける対応する特徴量同士を重み付け加算して第3特徴量ベクトルを導出し、導出された第3特徴量ベクトルを学習済みモデルに入力し、次の発話者を予測する。 The prediction unit 32 uses the trained model to predict the next speaker based on the acquired multiple first feature vectors and the derived multiple second feature vectors. The prediction unit 32 mixes the acquired first feature vector and the derived second feature vector for each conversation participant. Specifically, the prediction unit 32 derives a third feature vector by performing a weighted addition of corresponding features in the acquired first feature vector and the derived second feature vector for each conversation participant, and inputs the derived third feature vector into the trained model to predict the next speaker.

重みは、言語的特徴量、画像特徴量、関係性特徴量のそれぞれで異なってよい。第1特徴量ベクトルの特定の特徴量に対する重みはゼロであってもよく、その場合、第1特徴量ベクトルの特定の特徴量を第2特徴量ベクトルの特徴量に置換する。重みは、別途、機械学習により求めてもよい。 The weights may be different for the linguistic features, image features, and relationship features. The weight for a specific feature of the first feature vector may be zero, in which case the specific feature of the first feature vector is replaced with the feature of the second feature vector. The weights may be determined separately by machine learning.

より詳細には、予測部32は、対象の会話参加者の第3特徴量ベクトルと、他の会話参加者の第3特徴量ベクトルとを学習済みモデルに入力し、対象の会話参加者から他の会話参加者への単位時間あたりの話者交替回数を出力する。対象の会話参加者の第3特徴量ベクトルは、対象の会話参加者の言語的特徴量および画像特徴量と、対象の会話参加者と他の会話参加者との間の関係性特徴量とを含む。他の会話参加者の第3特徴量ベクトルは、他の会話参加者の言語的特徴量および画像特徴量と、他の会話参加者と対象の会話参加者との間の関係性特徴量とを含む。予測部32は、複数の会話参加者のうち2人の会話参加者ごとに上記の予測処理を繰り返す。2人の会話参加者に関して、2回予測できる。2人の会話参加者の第3特徴量ベクトルの順番を特定するためのベクトルも予測部32に供給されてよい。 More specifically, the prediction unit 32 inputs the third feature vector of the target conversation participant and the third feature vector of the other conversation participants into the learned model, and outputs the number of speaker turns per unit time from the target conversation participant to the other conversation participants. The third feature vector of the target conversation participant includes the linguistic feature and image feature of the target conversation participant, and the relationship feature between the target conversation participant and the other conversation participants. The third feature vector of the other conversation participant includes the linguistic feature and image feature of the other conversation participant, and the relationship feature between the other conversation participant and the target conversation participant. The prediction unit 32 repeats the above prediction process for each two conversation participants out of the multiple conversation participants. Two predictions can be made for two conversation participants. A vector for specifying the order of the third feature vectors of the two conversation participants may also be supplied to the prediction unit 32.

出力部34は、予測部32で予測された結果を出力する。出力部34は、予測部32で学習済みのモデルから出力される図1の行列を出力してもよい。 The output unit 34 outputs the result predicted by the prediction unit 32. The output unit 34 may output the matrix of FIG. 1 output from the model trained by the prediction unit 32.

SNSに入力された情報と、会話中に取得される情報の両方を学習済みモデルに入力することで、会話中のフィジカル空間の情報も反映させて、より精度よく予測できる。 By inputting both the information entered into SNS and the information acquired during conversation into the trained model, it is possible to make more accurate predictions by also reflecting information about the physical space during the conversation.

図7は、図2のコミュニケーション予測システム1の学習処理を示すフローチャートである。第1取得部20は、複数のユーザのSNSデータを取得し(S10)、SNSデータから学習用データを作成する(S12)。第1導出部22は、学習用データから特徴量辞書を作成し、特徴量辞書記憶部16に保存する(S14)。学習部24は、予測モデルを機械学習し(S16)、学習済みモデルを保存し(S18)、処理を終了する。 Figure 7 is a flowchart showing the learning process of the communication prediction system 1 of Figure 2. The first acquisition unit 20 acquires SNS data of multiple users (S10) and creates learning data from the SNS data (S12). The first derivation unit 22 creates a feature dictionary from the learning data and stores it in the feature dictionary storage unit 16 (S14). The learning unit 24 trains a prediction model by machine learning (S16), stores the trained model (S18), and ends the process.

図8は、図2のコミュニケーション予測システム1の予測処理を示すフローチャートである。この処理は、学習が完了した後に実行される。会話が開始されているか判定し(S30)、開始されていなければ(S30のN)、S30に戻る。 Figure 8 is a flowchart showing the prediction process of the communication prediction system 1 of Figure 2. This process is executed after learning is completed. It is determined whether a conversation has started (S30), and if not (N in S30), the process returns to S30.

会話が開始されていれば(S30のY)、第2取得部26は、マイク2、カメラ4、センサ6からデータを取得し(S32)、音声認識部28は、音声データを音声認識し、テキストデータを作成する(S34)。 If a conversation has started (Y in S30), the second acquisition unit 26 acquires data from the microphone 2, camera 4, and sensor 6 (S32), and the voice recognition unit 28 recognizes the voice data and creates text data (S34).

第2導出部30は、テキストデータ、画像データ、センサデータに基づいて、会話参加者ごとに特徴量を導出する(S36)。第2導出部30は、会話参加者ごとに、特徴量辞書から取得した特徴量と、導出された特徴量とを混合し、特徴量ベクトルを作成する(S38)。予測部32は、作成された特徴量ベクトルを学習済みモデルに入力し、予測する(S40)。会話中であれば(S42のY)、S32に戻る。会話中でなければ(S42のN)、処理を終了する。 The second derivation unit 30 derives features for each conversation participant based on the text data, image data, and sensor data (S36). For each conversation participant, the second derivation unit 30 creates a feature vector by mixing the features acquired from the feature dictionary with the derived features (S38). The prediction unit 32 inputs the created feature vector into the trained model and makes a prediction (S40). If a conversation is in progress (Y in S42), the process returns to S32. If a conversation is not in progress (N in S42), the process ends.

次に、コミュニケーション予測システム1による処理の具体例を説明する。
[学習]
ユーザAのSNSの投稿文で単語「キャンプ」の出現頻度=100、「釣り」と「政治」の出現頻度=0と想定する。
Next, a specific example of the process performed by the communication prediction system 1 will be described.
[study]
Assume that the frequency of occurrence of the word "camping" in user A's SNS posts is 100, and the frequencies of occurrence of "fishing" and "politics" are 0.

ユーザBのSNSの投稿文で「釣り」の出現頻度=200、「キャンプ」と「政治」の出現頻度=0と想定する。 Let's assume that the frequency of occurrence of "fishing" in User B's SNS posts is 200, and the frequency of occurrence of "camping" and "politics" is 0.

ユーザCのSNSの投稿文で「キャンプ」と「釣り」の出現頻度=0、「政治」の出現頻度=50と想定する。以下、ユーザA、ユーザB、ユーザCを単にA,B,Cとも表す。 Let us assume that the frequency of occurrence of "camping" and "fishing" in User C's SNS posts is 0, and the frequency of occurrence of "politics" is 50. Hereinafter, User A, User B, and User C will also be simply referred to as A, B, and C.

AとBの間の関係性を示す関係性特徴量=10、AとCの間、BとCの間の関係性を示す関係性特徴量=0と想定する。 Assume that the relationship feature indicating the relationship between A and B is 10, and the relationship feature indicating the relationship between A and C and between B and C is 0.

AからBへの話者交替回数=50、BからAへの話者交替回数=40、AからC、CからA、BからC、CからBへの話者交替回数=0と想定する。 Assume that the number of speaker turns from A to B = 50, the number of speaker turns from B to A = 40, and the number of speaker turns from A to C, C to A, B to C, and C to B = 0.

A,B,Cを含む100人のユーザのSNSデータを用いてモデルを学習する。 The model is trained using SNS data from 100 users, including A, B, and C.

[予測]
3人のユーザA,B,Cで会話中、現在の時刻t1にて学習済みモデルから行列が出力される。
[prediction]
Three users A, B, and C are having a conversation, and a matrix is output from the trained model at the current time t1.

時刻t1までに、Aの発話内容で「キャンプ」の出現頻度=10、「釣り」と「政治」の出現頻度=1と想定する。 Assume that by time t1, the frequency of occurrence of "camping" in A's speech is 10, and the frequency of occurrence of "fishing" and "politics" is 1.

Bの発話内容で「キャンプ」の出現頻度=4、「釣り」と「政治」の出現頻度=1と想定する。 In B's speech, assume that the frequency of occurrence of "camping" is 4, and the frequency of occurrence of "fishing" and "politics" is 1.

Cの発話内容で「キャンプ」の出現頻度=1、「釣り」と「政治」の出現頻度=0と想定する。 In C's speech, assume that the frequency of occurrence of "camping" is 1, and the frequency of occurrence of "fishing" and "politics" is 0.

カメラ4で取得したAとBの間の関係性特徴量(例えば視線交換頻度であり、以下同様)=8、AとCの間の関係性特徴量=1、BとCの間の関係性特徴量=0と想定する。 Let us assume that the relationship feature between A and B captured by camera 4 (e.g., the frequency of eye contact, and so on) = 8, the relationship feature between A and C = 1, and the relationship feature between B and C = 0.

出力された行列において、現在の発話者がAの場合、次の発話者であるBへの話者交替回数=40、次の発話者であるCへの話者交替回数=1と想定する。 In the output matrix, if the current speaker is A, assume that the number of speaker turns to the next speaker, B, is 40, and the number of speaker turns to the next speaker, C, is 1.

現在の発話者がBの場合、次の発話者であるAへの話者交替回数=30、次の発話者であるCへの話者交替回数=0と想定する。 If the current speaker is B, assume that the number of speaker turns to the next speaker, A, is 30, and the number of speaker turns to the next speaker, C, is 0.

現在の発話者がCの場合、次の発話者であるAへの話者交替回数=30、次の発話者であるBへの話者交替回数=20と想定する。 If the current speaker is C, assume that the number of turns to the next speaker, A, is 30, and the number of turns to the next speaker, B, is 20.

実際には時刻t1で発話者がAであった場合、次の発話者はBであり、Aの次にBが発話する会話量は「40」と予測される。 In reality, if the speaker at time t1 is A, the next speaker will be B, and the amount of conversation that B will speak after A is predicted to be "40".

次に、時刻t1の後、時刻t2で行列が出力され、時刻t3で行列が出力される。時刻t2での処理は記載を省略する。 Next, after time t1, a matrix is output at time t2, and a matrix is output at time t3. The processing at time t2 is omitted.

時刻t2からt3までに、Aの発話内容で「キャンプ」、「釣り」、「政治」の出現頻度=0と想定する。 Assume that from time t2 to t3, the frequency of occurrence of "camping," "fishing," and "politics" in A's speech is 0.

Bの発話内容で「キャンプ」、「釣り」、「政治」の出現頻度=0、Cの発話内容で「キャンプ」、「釣り」の出現頻度=0、「政治」の出現頻度=10と想定する。 Assume that in B's speech, the frequency of occurrence of "camping", "fishing", and "politics" = 0, and in C's speech, the frequency of occurrence of "camping" and "fishing" = 0, and the frequency of occurrence of "politics" = 10.

センサで取得したAとBの間の関係性特徴量=0、AとCの間の関係性特徴量=0、BとCの間の関係性特徴量=5と想定する。 Assume that the relationship feature between A and B obtained by the sensor is 0, the relationship feature between A and C is 0, and the relationship feature between B and C is 5.

出力された行列において、現在の発話者がAの場合、次の発話者であるBへの話者交替回数=10、次の発話者であるCへの話者交替回数=20と想定する。 In the output matrix, if the current speaker is A, assume that the number of speaker turns to the next speaker, B, is 10, and the number of speaker turns to the next speaker, C, is 20.

現在の発話者がBの場合、次の発話者であるAへの話者交替回数=10、次の発話者であるCへの話者交替回数=20と想定する。 If the current speaker is B, assume that the number of turns to the next speaker, A, is 10, and the number of turns to the next speaker, C, is 20.

現在の発話者がCの場合、次の発話者であるAへの話者交替回数=0、次の発話者であるBへの話者交替回数=20と想定する。 If the current speaker is C, assume that the number of speaker turns to the next speaker, A, is 0, and the number of speaker turns to the next speaker, B, is 20.

実際には時刻t3で発話者がCであった場合、次の発話者はBであり、Cの次にBが発話する会話量は「20」と予測される。 If the speaker at time t3 is actually C, the next speaker will be B, and the amount of conversation that B will have after C is predicted to be "20".

(第2の実施の形態)
第2の実施の形態では、各ユーザに関してSNSから得られる特徴量と会話中に得られる特徴量とを別々の特徴量として並列に扱うことが、第1の実施の形態と異なる。以下、第1の実施の形態との相違点を中心に説明する。
Second Embodiment
The second embodiment differs from the first embodiment in that the feature amount obtained from the SNS and the feature amount obtained during the conversation for each user are treated in parallel as separate feature amounts. The following mainly describes the differences from the first embodiment.

本実施の形態では、第1の実施の形態の処理に従いSNSデータから学習された学習済みのモデルに対して、追加で学習する。予測対象となる複数の会話参加者により事前に会話実験を行い、会話実験で取得されたデータも用いてモデルを追加で学習する。 In this embodiment, additional learning is performed on the model that has already been trained from SNS data according to the processing of the first embodiment. A conversation experiment is performed in advance with multiple conversation participants to be predicted, and the model is additionally trained using the data obtained from the conversation experiment.

まず、学習について説明する。第2導出部30は、会話実験で取得されたコミュニケーションに関する情報をもとに、複数の会話参加者のそれぞれの第2特徴量ベクトルを導出する。第2特徴量ベクトルは、第1特徴量ベクトルとは異なる特徴量を含むことができ、第1特徴量ベクトルとは異なる次元数であってもよい。そのため、特徴量の設計の自由度を向上できる。 First, the learning will be described. The second derivation unit 30 derives a second feature vector for each of the multiple conversation participants based on information about communication acquired in the conversation experiment. The second feature vector can include features different from the first feature vector, and may have a different number of dimensions from the first feature vector. This improves the degree of freedom in designing the features.

例えば、第2特徴量ベクトルは、言語的特徴量、韻律的特徴量、画像データとセンサデータから取得される特徴量を含んでよい。言語的特徴量は、第1の実施の形態と同じ構造であってよく、例えば、200次元である。 For example, the second feature vector may include linguistic features, prosodic features, and features obtained from image data and sensor data. The linguistic features may have the same structure as in the first embodiment, for example, 200 dimensions.

第2導出部30は、音声データに基づいて会話参加者ごとに韻律的特徴量を導出する。韻律的特徴量は、例えば、2次元であり、音声のピッチに関する特徴量と、音声のパワーに関する特徴量を含んでよい。 The second derivation unit 30 derives prosodic features for each conversation participant based on the speech data. The prosodic features may be, for example, two-dimensional and may include features related to the pitch of the speech and features related to the power of the speech.

画像データとセンサデータから取得される特徴量は、例えば、2次元であり、視線に関する特徴量と、姿勢に関する特徴量を含んでよい。 The features obtained from the image data and sensor data may be, for example, two-dimensional and may include features related to gaze and features related to posture.

第2導出部30は、画像データに基づいて2人の会話参加者の組ごとに視線に関する特徴量を導出する。第2導出部30は、例えば、画像データにより特定される2人の会話参加者の間で視線を向ける頻度が高いほど、この2人の会話参加者の間の視線に関する特徴量を大きく導出してよい。 The second derivation unit 30 derives a feature quantity related to gaze for each pair of two conversation participants based on the image data. For example, the second derivation unit 30 may derive a larger feature quantity related to gaze between the two conversation participants identified by the image data, the higher the frequency of gaze exchange between the two conversation participants.

第2導出部30は、センサデータに基づいて、会話参加者ごとに姿勢に関する特徴量を導出する。 The second derivation unit 30 derives posture-related features for each conversation participant based on the sensor data.

学習部24は、特徴量辞書記憶部16から複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを連結して第3特徴量ベクトルを導出する。第3特徴量ベクトルは、例えば、204+204=408次元である。 The learning unit 24 acquires the first feature vectors of each of the multiple conversation participants from the feature dictionary storage unit 16, and for each conversation participant, concatenates the acquired first feature vector with the derived second feature vector to derive a third feature vector. The third feature vector has, for example, 204 + 204 = 408 dimensions.

学習部24は、対象の会話参加者の第3特徴量ベクトルと、他の会話参加者の第3特徴量ベクトルとを入力とし、対象の会話参加者から他の会話参加者への話者交替回数を表す情報を正解ラベルとしてモデルを学習する。話者交替回数を表す情報は、第1の実施の形態と同じでもよいし、会話実験の結果から導出されてもよい。 The learning unit 24 receives as input the third feature vector of the target conversation participant and the third feature vector of the other conversation participants, and learns a model using information representing the number of speaker turns from the target conversation participant to the other conversation participants as a correct answer label. The information representing the number of speaker turns may be the same as in the first embodiment, or may be derived from the results of a conversation experiment.

次に、予測について説明する。学習後に実施される複数の会話参加者による会話中、第2導出部30は、取得されたコミュニケーションに関する情報をもとに、複数の会話参加者のそれぞれの第2特徴量ベクトルを導出する。 Next, prediction will be described. During a conversation between multiple conversation participants that is carried out after learning, the second derivation unit 30 derives a second feature vector for each of the multiple conversation participants based on the acquired information about the communication.

予測部32は、特徴量辞書記憶部16から、複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを連結して第3特徴量ベクトルを導出する。予測部32は、導出された第3特徴量ベクトルを学習済みモデルに入力し、次の発話者を予測する。具体的には、予測部32は、対象の会話参加者の第3特徴量ベクトルと、他の会話参加者の第3特徴量ベクトルとを学習済みモデルに入力し、対象の会話参加者から他の会話参加者への単位時間あたりの話者交替回数を出力する。 The prediction unit 32 acquires the first feature vector of each of the multiple conversation participants from the feature dictionary storage unit 16, and for each conversation participant, derives a third feature vector by concatenating the acquired first feature vector with the derived second feature vector. The prediction unit 32 inputs the derived third feature vector into the trained model and predicts the next speaker. Specifically, the prediction unit 32 inputs the third feature vector of the target conversation participant and the third feature vectors of the other conversation participants into the trained model, and outputs the number of speaker changes per unit time from the target conversation participant to the other conversation participants.

本実施の形態においても、第1の実施の形態の効果を得ることができる。 The same effects as in the first embodiment can be obtained in this embodiment as well.

なお、実際の適用シーンにおいて確保できるデータが限定的な場合があるため、以下のように入力特徴量を作成してよい。 Note that in actual application scenarios, the amount of data that can be secured may be limited, so input features may be created as follows:

例えば、SNSデータは取得できるが、会話実験のデータが取得できないユーザが存在する場合、そのユーザの第2特徴量ベクトルについて、一様分布等からサンプリングし、架空のデータを作成してよい。あるいは、SNSデータの特徴量に基づいて、会話データが存在する類似ユーザを抽出し、類似ユーザの特徴量を代入してもよい。類似ユーザは、SNSデータによる第1特徴量ベクトルを用いてユーザ間の内積を計算することで抽出できる。 For example, if there is a user for whom SNS data can be obtained but conversation experiment data cannot be obtained, the second feature vector of that user may be sampled from a uniform distribution or the like to create fictitious data. Alternatively, similar users for whom conversation data exists may be extracted based on the features of the SNS data, and the features of the similar users may be substituted. Similar users may be extracted by calculating the inner product between users using the first feature vector from the SNS data.

また、SNSデータは取得できず、会話実験のデータは取得できるユーザが存在する場合、第1の実施の形態におけるクラスタの代表ユーザの特徴量ベクトルを取得する処理を適用できる。SNSデータも会話実験のデータも取得できないユーザが存在する場合、上記2つの処理を併用できる。 In addition, if there are users for whom SNS data cannot be obtained but conversation experiment data can be obtained, the process of obtaining the feature vector of the representative user of the cluster in the first embodiment can be applied. If there are users for whom neither SNS data nor conversation experiment data can be obtained, the above two processes can be used in combination.

以上、実施の形態をもとに本発明を説明した。実施の形態はあくまでも例示であり、各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described above based on the embodiments. The embodiments are merely examples, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each processing process, and that such modifications are also within the scope of the present invention.

たとえば、コミュニケーション予測装置10は、学習を実行しないように構成されてもよい。この場合、コミュニケーション予測装置10は、第1取得部20、第1導出部22、学習部24、SNSデータ記憶部14を備えなくてよい。特徴量辞書と学習済みモデルは、外部から取得する。この場合、機械学習のみを実行する機械学習装置が、コミュニケーション予測装置10とは別の装置として構成されてよい。第1の実施の形態の学習を実行する機械学習装置は、第1取得部20、第1導出部22、学習部24、SNSデータ記憶部14、特徴量辞書記憶部16、および学習済みモデル記憶部18を備える。第2の実施の形態の学習を実行する機械学習装置は、第1取得部20、第1導出部22、学習部24、第2取得部26、音声認識部28、第2導出部30、SNSデータ記憶部14、特徴量辞書記憶部16、および学習済みモデル記憶部18を備える。 For example, the communication prediction device 10 may be configured not to perform learning. In this case, the communication prediction device 10 may not include the first acquisition unit 20, the first derivation unit 22, the learning unit 24, and the SNS data storage unit 14. The feature dictionary and the trained model are acquired from the outside. In this case, the machine learning device that performs only machine learning may be configured as a device separate from the communication prediction device 10. The machine learning device that performs learning of the first embodiment includes the first acquisition unit 20, the first derivation unit 22, the learning unit 24, the SNS data storage unit 14, the feature dictionary storage unit 16, and the trained model storage unit 18. The machine learning device that performs learning of the second embodiment includes the first acquisition unit 20, the first derivation unit 22, the learning unit 24, the second acquisition unit 26, the voice recognition unit 28, the second derivation unit 30, the SNS data storage unit 14, the feature dictionary storage unit 16, and the trained model storage unit 18.

1…コミュニケーション予測システム、10…コミュニケーション予測装置、12…処理部、14…SNSデータ記憶部、16…特徴量辞書記憶部、18…学習済みモデル記憶部、20…第1取得部、22…第1導出部、24…学習部、26…第2取得部、28…音声認識部、30…第2導出部、32…予測部、34…出力部。 1... communication prediction system, 10... communication prediction device, 12... processing unit, 14... SNS data storage unit, 16... feature dictionary storage unit, 18... trained model storage unit, 20... first acquisition unit, 22... first derivation unit, 24... learning unit, 26... second acquisition unit, 28... speech recognition unit, 30... second derivation unit, 32... prediction unit, 34... output unit.

Claims (8)

ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報を取得する取得部と、
取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習する学習部と、
取得された情報に含まれる複数のユーザが入力した投稿文をもとに複数のユーザの言語的特徴量を導出し、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対する反応に関する情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出する導出部と、
を備え
前記学習部は、対象ユーザの言語的特徴量と、他のユーザの言語的特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する、
ことを特徴とするコミュニケーション予測装置。
an acquisition unit that acquires information input by a plurality of users in a social networking service;
A learning unit that performs machine learning to learn a model for predicting the next speaker from among multiple conversation participants based on the acquired information;
a derivation unit that derives linguistic features of a plurality of users based on posted statements input by the plurality of users included in the acquired information, and derives relationship features that represent relationships between the target user and the other users and information that represents the number of times the target user takes turns to speak to the other users based on information regarding reactions to posted statements input by the target user included in the acquired information;
Equipped with
the learning unit receives as input linguistic features of a target user, linguistic features of other users, and relationship features between the target user and the other users, and learns a model using information indicating the number of speaker turns from the target user to the other users as a correct answer label;
A communication prediction device comprising:
前記導出部は、取得された情報に含まれる対象ユーザを識別するための画像と、他のユーザを識別するための画像とをもとに、対象ユーザと他のユーザのそれぞれの画像特徴量を導出し、
前記学習部は、対象ユーザと他のユーザのそれぞれの画像特徴量も入力とし、モデルを学習する、
ことを特徴とする請求項に記載のコミュニケーション予測装置。
The derivation unit derives image feature amounts of the target user and the other users based on an image for identifying the target user and an image for identifying the other users, which are included in the acquired information;
The learning unit also receives image features of the target user and other users as input and learns a model.
The communication prediction device according to claim 1 .
前記導出部は、
複数のユーザの言語的特徴量をクラスタに分類し、
各クラスタを代表する仮想的な代表ユーザの言語的特徴量を導出し、
ソーシャルネットワーキングサービスに入力した情報が存在しないユーザも学習の対象とする場合、当該ユーザの言語的特徴量として、いずれかのクラスタの代表ユーザの言語的特徴量を設定する、
ことを特徴とする請求項に記載のコミュニケーション予測装置。
The lead-out portion is
Classify the linguistic features of multiple users into clusters,
Derive linguistic features of a virtual representative user representing each cluster,
When a user who has not entered any information into the social networking service is also to be the target of learning, the linguistic features of the representative user of one of the clusters are set as the linguistic features of the user.
The communication prediction device according to claim 1 .
複数の会話参加者による会話中に、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を取得する取得部と、
ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報に基づいて機械学習された学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて前記複数の会話参加者の中から次の発話者を予測する予測部と、
取得されたコミュニケーションに関する情報をもとに、前記複数の会話参加者のそれぞれの第2特徴量ベクトルを導出する導出部と、
を備え
前記予測部は、
ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している記憶部から、前記複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、
前記学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する、
ことを特徴とするコミュニケーション予測装置。
an acquisition unit that acquires information regarding communication between each conversation participant and other conversation participants during a conversation between the plurality of conversation participants;
a prediction unit that predicts a next speaker from among the plurality of conversation participants based on acquired communication information, using a trained model that has been machine-learned based on information input by a plurality of users in a social networking service;
a derivation unit that derives a second feature vector for each of the plurality of conversation participants based on the acquired communication information;
Equipped with
The prediction unit is
acquiring a first feature vector of each of the plurality of conversation participants from a storage unit that stores a first feature vector of each user derived from information input by the plurality of users in the social networking service;
predicting a next speaker based on the acquired plurality of first feature vectors and the derived plurality of second feature vectors using the trained model;
A communication prediction device comprising:
前記予測部は、
会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとにおける対応する特徴量同士を重み付け加算して第3特徴量ベクトルを導出し、
導出された第3特徴量ベクトルを前記学習済みモデルに入力し、次の発話者を予測する、
ことを特徴とする請求項に記載のコミュニケーション予測装置。
The prediction unit is
deriving a third feature vector by performing a weighted addition of corresponding features in the acquired first feature vector and the derived second feature vector for each conversation participant;
The derived third feature vector is input into the trained model to predict the next speaker.
5. The communication prediction device according to claim 4 .
前記予測部は、
会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを連結して第3特徴量ベクトルを導出し、
導出された第3特徴量ベクトルを前記学習済みモデルに入力し、次の発話者を予測する、
ことを特徴とする請求項に記載のコミュニケーション予測装置。
The prediction unit is
deriving a third feature vector by concatenating the acquired first feature vector and the derived second feature vector for each conversation participant;
The derived third feature vector is input into the trained model to predict the next speaker.
5. The communication prediction device according to claim 4 .
コンピュータが実行するコミュニケーション予測方法であって、
ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報を取得するステップと、
取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習するステップと、
取得された情報に含まれる複数のユーザが入力した投稿文をもとに複数のユーザの言語的特徴量を導出し、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対する反応に関する情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出するステップと、
を備え
前記機械学習するステップにおいて、対象ユーザの言語的特徴量と、他のユーザの言語的特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する、
ことを特徴とするコミュニケーション予測方法。
1. A computer implemented method for communication prediction, comprising:
acquiring information entered by a plurality of users in a social networking service;
A step of machine learning a model for predicting a next speaker from among a plurality of conversation participants based on the acquired information;
deriving linguistic features of a plurality of users based on the posted statements input by the plurality of users included in the acquired information, and deriving relationship features representing relationships between the target user and the other users and information representing the number of times the target user takes turns to the other users based on information regarding reactions to the posted statements of the other users input by the target user included in the acquired information;
Equipped with
In the machine learning step, the linguistic features of the target user, the linguistic features of the other users, and the relationship features between the target user and the other users are input, and a model is trained using information indicating the number of speaker changes from the target user to the other users as a correct answer label.
A communication prediction method comprising:
コンピュータが実行するコミュニケーション予測方法であって、
複数の会話参加者による会話中に、それぞれの会話参加者と他の会話参加者とのコミュニケーションに関する情報を取得するステップと、
ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報に基づいて機械学習された学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて前記複数の会話参加者の中から次の発話者を予測するステップと、
取得されたコミュニケーションに関する情報をもとに、前記複数の会話参加者のそれぞれの第2特徴量ベクトルを導出するステップと、
を備え
前記予測するステップにおいて、
ソーシャルネットワーキングサービスにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している記憶部から、前記複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、
前記学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する、
ことを特徴とするコミュニケーション予測方法。
1. A computer implemented method for communication prediction, comprising:
acquiring information regarding communication between each of the conversation participants and the other conversation participants during a conversation between the plurality of conversation participants;
predicting a next speaker from among the plurality of conversation participants based on acquired communication information using a trained model that has been machine-learned based on information input by a plurality of users in a social networking service;
deriving a second feature vector for each of the plurality of conversation participants based on the acquired communication information;
Equipped with
In the step of predicting,
acquiring a first feature vector of each of the plurality of conversation participants from a storage unit that stores a first feature vector of each user derived from information input by the plurality of users in the social networking service;
predicting a next speaker based on the acquired plurality of first feature vectors and the derived plurality of second feature vectors using the trained model;
A communication prediction method comprising:
JP2022068321A 2022-04-18 2022-04-18 Communication prediction device and communication prediction method Active JP7697400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022068321A JP7697400B2 (en) 2022-04-18 2022-04-18 Communication prediction device and communication prediction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022068321A JP7697400B2 (en) 2022-04-18 2022-04-18 Communication prediction device and communication prediction method

Publications (2)

Publication Number Publication Date
JP2023158462A JP2023158462A (en) 2023-10-30
JP7697400B2 true JP7697400B2 (en) 2025-06-24

Family

ID=88509329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022068321A Active JP7697400B2 (en) 2022-04-18 2022-04-18 Communication prediction device and communication prediction method

Country Status (1)

Country Link
JP (1) JP7697400B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018146844A (en) 2017-03-07 2018-09-20 コニカミノルタ株式会社 Speaker determination system, speaker determination method and speaker determination program
WO2019093392A1 (en) 2017-11-10 2019-05-16 日本電信電話株式会社 Communication skill evaluation system, device, method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7168223B2 (en) * 2019-10-28 2022-11-09 ハイラブル株式会社 Speech analysis device, speech analysis method, speech analysis program and speech analysis system
JP7048709B2 (en) * 2020-11-27 2022-04-05 株式会社東芝 System and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018146844A (en) 2017-03-07 2018-09-20 コニカミノルタ株式会社 Speaker determination system, speaker determination method and speaker determination program
WO2019093392A1 (en) 2017-11-10 2019-05-16 日本電信電話株式会社 Communication skill evaluation system, device, method, and program

Also Published As

Publication number Publication date
JP2023158462A (en) 2023-10-30

Similar Documents

Publication Publication Date Title
Rahman et al. Predicting the big five personality traits from hand-written text features through semi-supervised learning
CN113360622B (en) User dialogue information processing method and device and computer equipment
Biradar et al. Machine learning tool for exploring sentiment analysis on twitter data
JP7101357B2 (en) Systems, programs, and methods for surveys
WO2018060993A1 (en) Method and system for personality-weighted emotion analysis
JP2022125096A (en) Systems, Programs, and Methods for Questionnaire Surveys
CN109933782B (en) User emotion prediction method and device
CN111078854B (en) Training method and device of question-answer prediction model, and question-answer prediction method and device
CN113704413A (en) Multi-sample-based intention classification method, device, equipment and storage medium
CN114333786B (en) Speech emotion recognition method and related device, electronic device and storage medium
Yagi et al. Predicting multimodal presentation skills based on instance weighting domain adaptation
CN111222854A (en) Interview method, device and equipment based on interview robot and storage medium
CN117370678B (en) Community public opinion monitoring method and related device based on big data
Begum et al. Effective techniques for depression detection on social media: a comprehensive review
KR102610267B1 (en) Method for analyzing status of specific user corresponding to specific avatar by referring to interactions between the specific avatar and other avatars in the metaverse world and providing service to the specific user and device using the same
CN111694954B (en) Image classification method, device and electronic device
JP7697400B2 (en) Communication prediction device and communication prediction method
Abu Shaqra et al. A multi-modal deep learning system for Arabic emotion recognition
CN115063858A (en) Video facial expression recognition model training method, device, equipment and storage medium
CN114780757A (en) Short media label extraction method and device, computer equipment and storage medium
JP7216627B2 (en) INPUT SUPPORT METHOD, INPUT SUPPORT SYSTEM, AND PROGRAM
CN116543798B (en) Emotion recognition methods and devices based on multi-classifiers, electronic devices, media
CN113934843A (en) Article classification method and device based on model fusion
CN117113307A (en) User age prediction methods, devices, equipment and media
CN111340329B (en) Actor evaluation methods, devices and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250401

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250417

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: 20250513

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250526

R150 Certificate of patent or registration of utility model

Ref document number: 7697400

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150