JP7697400B2 - Communication prediction device and communication prediction method - Google Patents
Communication prediction device and communication prediction method Download PDFInfo
- 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
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は、会話中に適切な発話のタイミングを逸してしまった会話の参加者に、発話を促す会話支援システムを開示する。このシステムでは、会話中の各参加者の非言語行動の計測結果に基づいて、各参加者が任意の時刻に次発話となる確率である次話者確率を推定し、各参加者の次話者確率に基づいて次に発話を行うべき参加者である予測次話者を推定する。
特許文献1の技術では、過去の会話で取得したデータを学習データとして用い、次話者確率を推定するためのモデルを学習するため、データ収集に多大な労力を要する。
The technology in
本発明の目的は、学習用データの収集の労力を低減しつつ、次の発話者を精度良く予測できる技術を提供することにある。 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の実施の形態)
図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
コミュニケーション予測システムは、学習済みモデル50を用いて、会話参加者u1,u2,u3のコミュニケーションに関する情報と、会話参加者u1,u2,u3がSNSに入力した情報とに基づいて、それぞれの会話参加者に関して、当該会話参加者からそれぞれの他の会話参加者への単位時間あたりの話者交替回数を定期的に予測する。予測結果は、図示する行列表現が可能である。単位時間と予測頻度は、実験やシミュレーションにより適宜定めることができ、例えば、単位時間は1分であってよく、予測頻度は1分に1回であってよい。
The communication prediction system uses the trained
図示する例では、発話者である会話参加者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
マイク2は、複数の会話参加者の音声を取得し、取得した音声のデータをコミュニケーション予測装置10に供給する。カメラ4は、複数の会話参加者を撮影し、撮影した画像のデータをコミュニケーション予測装置10に供給する。センサ6は、各会話参加者の身体に取り付けられ、各会話参加者の姿勢を検出し、検出したセンサデータをコミュニケーション予測装置10に供給する。センサ6は、各会話参加者の心拍数などを検出してもよい。
The
コミュニケーション予測装置10は、処理部12、SNSデータ記憶部14、特徴量辞書記憶部16、および学習済みモデル記憶部18を備える。処理部12は、第1取得部20、第1導出部22、学習部24、第2取得部26、音声認識部28、第2導出部30、予測部32、および出力部34を備える。
The
処理部12の構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。
The configuration of the
まず、学習に関する処理について説明する。第1取得部20は、SNSにおいて複数のユーザが入力した情報(以下、SNSデータとも呼ぶ)を取得し、取得したSNSデータをSNSデータ記憶部14に記憶させる。SNSデータは、投稿文の内容、投稿文に対する絵文字などによるリアクション、投稿文に対するリプライ、ユーザのアカウントの画像またはプロフィール画像などの情報を含む。
First, the learning process will be described. The
第1取得部20は、取得したSNSデータに必要に応じて前処理を行い、SNSデータから学習用データを作成し、学習用データを第1導出部22に供給する。前処理は、例えば、投稿文のテキストの整形処理であり、アルファベットやカタカナなどの全角の文字を半角に統一し、顔文字等を削除し、単語分割を実行する処理を含む。
The
第1導出部22は、学習用データから各ユーザの第1特徴量ベクトルを導出する。第1特徴量ベクトルは、言語的特徴量、画像特徴量、関係性特徴量を含む。
The
第1導出部22は、第1取得部20で取得された情報に含まれる複数のユーザが入力した投稿文、投稿文に対するリアクション、投稿文に対するリプライをもとに複数のユーザの言語的特徴量を導出する。言語的特徴量は、ユーザが得意とする話題、ユーザが興味を持っている話題、ユーザの専門性などを表現する。
The
第1導出部22は、対象ユーザが入力した投稿文における各単語の出現頻度と、対象ユーザが入力したリアクションまたはリプライの対象となった他のユーザの投稿文における各単語の出現頻度とをもとに、対象ユーザの言語的特徴量を導出する。対象ユーザが入力したリプライにおける各単語の出現頻度を用いてもよい。つまり、第1導出部22は、対象ユーザが入力した投稿文と、対象ユーザが入力した、他のユーザの投稿文に対する反応に関する情報であるリアクションとリプライをもとに、対象ユーザの言語的特徴量を導出する。
The
図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
図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
第1導出部22は、取得された情報に含まれる対象ユーザが入力した他のユーザの投稿文に対するリアクションとリプライの情報をもとに、対象ユーザと他のユーザとの間の関係性を表す関係性特徴量、および、対象ユーザから他のユーザへの話者交替回数を表す情報を導出する。
The
関係性特徴量は、ネットワーク特徴量とも呼ぶことができ、ユーザ間の関係性を表現する。各ユーザをノードとして、リアクションまたはリプライがあったとき、元の投稿者と、リアクションまたはリプライをしたユーザの間とにエッジを張る。何回もリアクション等があれば、エッジの重みは加算される。 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
第1導出部22は、複数のユーザにおける2人のユーザの組み合わせのそれぞれの関係性特徴量、および、話者交替回数を表す情報も特徴量辞書記憶部16に記憶させる。つまり、特徴量辞書記憶部16は、各ユーザの第1特徴量ベクトルを記憶しているとも言える。
The
学習部24は、第1取得部20で取得された情報に基づいて、複数の会話参加者の中から次の発話者を予測するためのモデルを機械学習し、学習済みモデルを学習済みモデル記憶部18に記憶させる。具体的には、学習部24は、対象ユーザの第1特徴量ベクトルと、他のユーザの第1特徴量ベクトルと、対象ユーザから他のユーザへの話者交替回数を表す情報を特徴量辞書記憶部16から取得し、これらをもとにモデルを学習する。対象ユーザの第1特徴量ベクトルは、対象ユーザの言語的特徴量および画像特徴量と、対象ユーザと他のユーザとの間の関係性特徴量とを含み、例えば、204次元である。他のユーザの第1特徴量ベクトルは、他のユーザの言語的特徴量および画像特徴量と、他のユーザと対象ユーザとの間の関係性特徴量とを含み、例えば、204次元である。対象ユーザと他のユーザとの間の関係性特徴量は、他のユーザと対象ユーザとの間の関係性特徴量と同一であってよい。
The
より詳細には、学習部24は、対象ユーザの言語的特徴量および画像特徴量と、対象ユーザと他のユーザとの間の関係性特徴量と、他のユーザの言語的特徴量および画像特徴量と、他のユーザと対象ユーザとの間の関係性特徴量とを入力とし、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとしてモデルを学習する。学習部24は、複数のユーザのうち2人のユーザごとにモデルを学習することを繰り返す。2人のユーザに関して、対象ユーザから他のユーザへの話者交替回数を表す情報を正解ラベルとした場合と、他のユーザから対象ユーザへの話者交替回数を表す情報を正解ラベルとした場合とで、2回学習できる。2人のユーザごとに学習することで、学習サンプル数を水増しでき、会話参加者数に頑健なモデルができる。例えば、100人のユーザの場合、100×100-100=9900個のサンプル数を確保できる。
More specifically, the
モデルは、例えば、多層ニューラルネットワークモデルである。モデルは、回帰モデルでもよいし、分類モデルでもよい。回帰モデルの場合、学習部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
一方、例えば、ユーザ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
分類モデルの場合、学習部24は、話者交替回数を量子化した値を正解ラベルとして学習する。話者交替回数を量子化した値は、話者交替回数を表す情報である。
In the case of a classification model, the
図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
第1導出部22は、SNSに入力した情報が存在しないユーザも学習の対象とする場合、当該ユーザの固有の特徴量ベクトルに、いずれかのクラスタの代表ユーザの固有の特徴量ベクトルを設定し、特徴量辞書記憶部16に保存する。例えば、システムの管理者等が、SNSデータが存在しないユーザに対して性格が外向的であるか内向的であるかなどを確認し、そのユーザの性格に比較的近いユーザの属するクラスタの代表ユーザの固有の特徴量ベクトルを選択してよい。
When a user who has no information entered into the SNS is also a target for learning, the
第1導出部22は、SNSに入力した情報が存在しないユーザの関係性特徴量と正解ラベルを各クラスタに分類されたユーザに基づいて導出し、特徴量辞書記憶部16に保存する。
The
例えば、ユーザ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
このように、実際の会話参加者が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
次に、学習後、会話参加者による会話中に実行される予測に関する処理について説明する。 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
音声認識部28は、第2取得部26で取得された音声データを音声認識し、音声認識結果に対して必要に応じて前処理を実行し、テキストデータを作成し、テキストデータを第2導出部30に供給する。前処理は、例えば、全角の文字を半角に統一し、人物の固有名詞を匿名化し、単語分割を実行する処理を含む。
The
第2導出部30は、テキストデータに基づいて会話参加者ごとに言語的特徴量を導出する。第2導出部30は、対象の会話参加者の会話内容を表すテキストデータにおける各単語の出現頻度から、当該対象の会話参加者の言語的特徴量を導出する。この言語的特徴量も、図4に示した第1導出部22により導出される言語的特徴量と同じ構造のベクトルであり、次元も同一である。
The
第2導出部30は、センサデータに基づいて会話参加者ごとに画像特徴量を導出する。センサデータにより特定される会話中の会話参加者の姿勢は、会話参加者の性格を表すと考えられる。そこで、第2導出部30は、対象の会話参加者のセンサデータから導出される姿勢から、当該対象の会話参加者の画像特徴量を導出する。この画像特徴量も、第1導出部22により導出される画像特徴量と同じ1次元のベクトルである。
The
第2導出部30は、画像データに基づいて2人の会話参加者の組ごとに関係性特徴量を導出する。第2導出部30は、各会話参加者をノードとして、画像データにより2人の会話参加者の間で視線を向けることまたは頷きがあったことが特定された場合、この2人の会話参加者の間のエッジの重みを増加させる。第2導出部30は、第1導出部22による処理と同様に、複数の会話参加者のノードとエッジをもとに、3次元の関係性特徴量を導出する。つまり、第2導出部30は、対象の会話参加者が他の会話参加者に対して取る行動に関する情報をもとに、対象の会話参加者と他の会話参加者との間の関係性特徴量を導出する。
The
これらの処理は、第2導出部30が、取得されたコミュニケーションに関する情報をもとに、複数の会話参加者のそれぞれの第2特徴量ベクトルを導出することに相当する。第2特徴量ベクトルは、言語的特徴量、画像特徴量、関係性特徴量を含む。第2特徴量ベクトルの次元数は、第1特徴量ベクトルの次元数と同一である。
These processes correspond to the
予測部32は、SNSにおいて複数のユーザが入力した情報に基づいて機械学習されて学習済みモデル記憶部18に記憶されている学習済みモデルを用いて、取得されたコミュニケーションに関する情報に基づいて複数の会話参加者の中から次の発話者を予測する。予測部32は、それぞれの会話参加者に関して、当該会話参加者の発話に続く他の会話参加者のそれぞれの単位時間あたりの会話量を予測する。
The
予測部32は、SNSにおいて複数のユーザが入力した情報から導出された各ユーザの第1特徴量ベクトルを記憶している特徴量辞書記憶部16から、複数の会話参加者のそれぞれの第1特徴量ベクトルを取得する。SNSを利用していない会話参加者が含まれる場合にも、既述のように、その会話参加者の第1特徴量ベクトルも特徴量辞書記憶部16に記憶されている。
The
予測部32は、学習済みモデルを用いて、取得した複数の第1特徴量ベクトルと、導出された複数の第2特徴量ベクトルとに基づいて次の発話者を予測する。予測部32は、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを混合する。具体的には、予測部32は、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとにおける対応する特徴量同士を重み付け加算して第3特徴量ベクトルを導出し、導出された第3特徴量ベクトルを学習済みモデルに入力し、次の発話者を予測する。
The
重みは、言語的特徴量、画像特徴量、関係性特徴量のそれぞれで異なってよい。第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
出力部34は、予測部32で予測された結果を出力する。出力部34は、予測部32で学習済みのモデルから出力される図1の行列を出力してもよい。
The
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
図8は、図2のコミュニケーション予測システム1の予測処理を示すフローチャートである。この処理は、学習が完了した後に実行される。会話が開始されているか判定し(S30)、開始されていなければ(S30のN)、S30に戻る。
Figure 8 is a flowchart showing the prediction process of the
会話が開始されていれば(S30のY)、第2取得部26は、マイク2、カメラ4、センサ6からデータを取得し(S32)、音声認識部28は、音声データを音声認識し、テキストデータを作成する(S34)。
If a conversation has started (Y in S30), the
第2導出部30は、テキストデータ、画像データ、センサデータに基づいて、会話参加者ごとに特徴量を導出する(S36)。第2導出部30は、会話参加者ごとに、特徴量辞書から取得した特徴量と、導出された特徴量とを混合し、特徴量ベクトルを作成する(S38)。予測部32は、作成された特徴量ベクトルを学習済みモデルに入力し、予測する(S40)。会話中であれば(S42のY)、S32に戻る。会話中でなければ(S42のN)、処理を終了する。
The
次に、コミュニケーション予測システム1による処理の具体例を説明する。
[学習]
ユーザAのSNSの投稿文で単語「キャンプ」の出現頻度=100、「釣り」と「政治」の出現頻度=0と想定する。
Next, a specific example of the process performed by the
[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
例えば、第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
画像データとセンサデータから取得される特徴量は、例えば、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
第2導出部30は、センサデータに基づいて、会話参加者ごとに姿勢に関する特徴量を導出する。
The
学習部24は、特徴量辞書記憶部16から複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを連結して第3特徴量ベクトルを導出する。第3特徴量ベクトルは、例えば、204+204=408次元である。
The
学習部24は、対象の会話参加者の第3特徴量ベクトルと、他の会話参加者の第3特徴量ベクトルとを入力とし、対象の会話参加者から他の会話参加者への話者交替回数を表す情報を正解ラベルとしてモデルを学習する。話者交替回数を表す情報は、第1の実施の形態と同じでもよいし、会話実験の結果から導出されてもよい。
The
次に、予測について説明する。学習後に実施される複数の会話参加者による会話中、第2導出部30は、取得されたコミュニケーションに関する情報をもとに、複数の会話参加者のそれぞれの第2特徴量ベクトルを導出する。
Next, prediction will be described. During a conversation between multiple conversation participants that is carried out after learning, the
予測部32は、特徴量辞書記憶部16から、複数の会話参加者のそれぞれの第1特徴量ベクトルを取得し、会話参加者ごとに、取得された第1特徴量ベクトルと、導出された第2特徴量ベクトルとを連結して第3特徴量ベクトルを導出する。予測部32は、導出された第3特徴量ベクトルを学習済みモデルに入力し、次の発話者を予測する。具体的には、予測部32は、対象の会話参加者の第3特徴量ベクトルと、他の会話参加者の第3特徴量ベクトルとを学習済みモデルに入力し、対象の会話参加者から他の会話参加者への単位時間あたりの話者交替回数を出力する。
The
本実施の形態においても、第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
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:
前記学習部は、対象ユーザと他のユーザのそれぞれの画像特徴量も入力とし、モデルを学習する、
ことを特徴とする請求項1に記載のコミュニケーション予測装置。 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 .
複数のユーザの言語的特徴量をクラスタに分類し、
各クラスタを代表する仮想的な代表ユーザの言語的特徴量を導出し、
ソーシャルネットワーキングサービスに入力した情報が存在しないユーザも学習の対象とする場合、当該ユーザの言語的特徴量として、いずれかのクラスタの代表ユーザの言語的特徴量を設定する、
ことを特徴とする請求項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特徴量ベクトルを前記学習済みモデルに入力し、次の発話者を予測する、
ことを特徴とする請求項4に記載のコミュニケーション予測装置。 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特徴量ベクトルを前記学習済みモデルに入力し、次の発話者を予測する、
ことを特徴とする請求項4に記載のコミュニケーション予測装置。 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:
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)
| 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)
| 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 |
-
2022
- 2022-04-18 JP JP2022068321A patent/JP7697400B2/en active Active
Patent Citations (2)
| 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 |