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
JP5557338B2 - Prediction program, prediction device, and method for predicting result event from user's action sentence - Google Patents
[go: Go Back, main page]

JP5557338B2 - Prediction program, prediction device, and method for predicting result event from user's action sentence - Google Patents

Prediction program, prediction device, and method for predicting result event from user's action sentence Download PDF

Info

Publication number
JP5557338B2
JP5557338B2 JP2011010501A JP2011010501A JP5557338B2 JP 5557338 B2 JP5557338 B2 JP 5557338B2 JP 2011010501 A JP2011010501 A JP 2011010501A JP 2011010501 A JP2011010501 A JP 2011010501A JP 5557338 B2 JP5557338 B2 JP 5557338B2
Authority
JP
Japan
Prior art keywords
event
feature vector
learning
result
extracting
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
JP2011010501A
Other languages
Japanese (ja)
Other versions
JP2012150750A (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.)
KDDI Corp
Original Assignee
KDDI 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 KDDI Corp filed Critical KDDI Corp
Priority to JP2011010501A priority Critical patent/JP5557338B2/en
Publication of JP2012150750A publication Critical patent/JP2012150750A/en
Application granted granted Critical
Publication of JP5557338B2 publication Critical patent/JP5557338B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、自然言語処理技術を用いて、ユーザによって記述された文(テキスト)から、様々な結果(例えばトラブル)を予測する技術に関する。   The present invention relates to a technique for predicting various results (for example, trouble) from a sentence (text) described by a user using a natural language processing technique.

従来、トラブル情報データベースから検索されたトラブルの発生原因の数に基づいて、トラブル回避の難易度を算出する技術がある(例えば特許文献1参照)。この技術によれば、トラブル情報データベースは、種別、発生状況、発生原因、対策等を含むトラブル情報を格納する。これは、トラブルの発生原因等が多様であれば、回避しにくいトラブルであろうという仮定をおく。これによって、トラブルを回避することの困難性を明示する。   Conventionally, there is a technique for calculating the difficulty level of trouble avoidance based on the number of causes of trouble searched from a trouble information database (see, for example, Patent Document 1). According to this technique, the trouble information database stores trouble information including type, occurrence status, cause of occurrence, countermeasures, and the like. This assumes that the trouble is difficult to avoid if there are various causes of trouble. This demonstrates the difficulty of avoiding trouble.

また、文から、特定の表現パターンを自然言語処理によって検出し、当該表現パターンに基づいたトラブル発生確率を予測する技術がある(例えば特許文献2参照)。テキストは、例えば業務上のプロジェクトの状況を示す報告書であってもよい。この報告書の中から、プロジェクトの状況を顕著に表す表現パターン(例えば単語及び係り受け関係)を検出する。表現パターン毎にトラブル発生確率が予め記憶されており、検出された表現パターンから、そのプロジェクトに関するトラブル発生確率を算出する。   In addition, there is a technique for detecting a specific expression pattern from a sentence by natural language processing and predicting a trouble occurrence probability based on the expression pattern (see, for example, Patent Document 2). The text may be, for example, a report indicating the status of a business project. From this report, an expression pattern (for example, a word and a dependency relationship) remarkably representing the status of the project is detected. The trouble occurrence probability is stored in advance for each expression pattern, and the trouble occurrence probability related to the project is calculated from the detected expression pattern.

更に、複数の機器を組み合わせたシステムにおけるトラブルを予測する技術がある(例えば特許文献3参照)。この技術によれば、機器又は部品毎に、トラブル情報が予めデータベースに格納されており、その機器構成システム内で用いられている機器又は部品から、対応するトラブルが発生するであろうと推定することができる。   Furthermore, there is a technique for predicting a trouble in a system in which a plurality of devices are combined (see, for example, Patent Document 3). According to this technology, for each device or part, trouble information is stored in a database in advance, and it is estimated that a corresponding trouble will occur from the device or part used in the device configuration system. Can do.

特開2007−199809号公報JP 2007-199809 A 特開2009−230351号公報JP 2009-230351 A 特開2010−211602号公報JP 2010-211162 A

「Twitter API Documentation」、[online]、[平成23年1月16日検索]、インターネット<URL:http://apiwiki.twitter.com/w/page/22554679/Twitter-API-Documentation>“Twitter API Documentation”, [online], [Search January 16, 2011], Internet <URL: http: //apiwiki.twitter.com/w/page/22554679/Twitter-API-Documentation> 「Twitter API 仕様書」、[online]、[平成23年1月16日検索]、インターネット<URL:http://watcher.moe-nifty.com/memo/docs/twitterAPI50.txt>“Twitter API Specification”, [online], [Search January 16, 2011], Internet <URL: http: //watcher.moe-nifty.com/memo/docs/twitterAPI50.txt> 乾健太郎、「自然言語処理と言い換え」、奈良先端科学技術大学院大学、[online]、[平成23年1月16日検索]、インターネット<URL:http://www.cl.ecei.tohoku.ac.jp/~inui/papers/0711Nihongogaku.pdf>Kentaro Inui, “Natural Language Processing”, Nara Institute of Science and Technology, [online], [Search January 16, 2011], Internet <URL: http://www.cl.ecei.tohoku.ac .jp / ~ inui / papers / 0711Nihongogaku.pdf> 浅原正幸、「PrefixSpan-rel -- 系列パターンマイニングツール」、奈良先端科学技術大学院大学、[online]、[平成23年1月16日検索]、インターネット<URL:http://prefixspan-rel.sourceforge.jp/>Masayuki Asahara, “PrefixSpan-rel-Sequence Pattern Mining Tool”, Nara Institute of Science and Technology, [online], [Search January 16, 2011], Internet <URL: http: //prefixspan-rel.sourceforge .jp / > 岡崎直観、辻井潤一、「Conditional Random Fieldsを用いた略語抽出」、東京大学大学院情報理工学系研究科、独立行政法人科学技術振興機構、[online]、[平成23年1月16日検索]、インターネット<URL:http://yans.anlp.jp/symposium/2007/paper/okazaki.pdf>Naoki Okazaki, Junichi Sakurai, “Abbreviation Extraction Using Conditional Random Fields”, Graduate School of Information Science and Technology, The University of Tokyo, Japan Science and Technology Agency, [online], [Search January 16, 2011], Internet <URL: http: //yans.anlp.jp/symposium/2007/paper/okazaki.pdf>

特許文献1及び3に記載された技術によれば、トラブル情報を登録したデータベースを予め備える必要がある。データベースの構築には、個人の習慣に起因するトラブルを予測するために、その個人の行動分析が必要となる。しかし、個人の習慣には、無自覚な行動も存在する。そのため、人手によるデータベースの構築作業が必要となり、高コストとならざるを得ない。従って、トラブルの原因となる習慣を検出し、それによってトラブルを予測することは困難である。   According to the techniques described in Patent Documents 1 and 3, it is necessary to provide in advance a database in which trouble information is registered. To construct a database, it is necessary to analyze an individual's behavior in order to predict a trouble caused by the individual's habits. However, there are also unconscious behaviors in individual habits. For this reason, it is necessary to manually construct a database, which is inevitably expensive. Therefore, it is difficult to detect a habit causing a trouble and thereby predict the trouble.

また、特許文献2に記載された技術によれば、トラブルの発生時の状況を示すプロジェクトの報告文を必要としており、対象となる文が特定されている。また、表現パターンから得られた単語毎に、トラブル時にのみ顕著に記述されるであろう出現可能性の重みを付与する。しかしながら、単語毎に重みを付与するために、単語の表現の揺れ(違い)までは、吸収することができない。   Moreover, according to the technique described in Patent Document 2, a report report of a project indicating a situation at the time of occurrence of a trouble is required, and a target sentence is specified. In addition, for each word obtained from the expression pattern, a weight of appearance possibility that will be remarkably described only at the time of trouble is given. However, since the weight is given to each word, the fluctuation (difference) in the expression of the word cannot be absorbed.

更に、特許文献1から3に記載された技術によれば、予測結果は「トラブル」、即ち悪い結果イベントに限られており、良い結果イベントを予測結果とすることについては対象としていない。また、いずれの技術も、プロジェクトやシステム構成を、トラブルの予測対象としている。   Furthermore, according to the techniques described in Patent Documents 1 to 3, the prediction result is limited to “trouble”, that is, a bad result event, and it is not intended to set a good result event as a prediction result. In addition, in any of the technologies, the project and the system configuration are targeted for trouble prediction.

そこで、本発明は、文に記述されたユーザの日常的な行動イベントに起因して、当該ユーザの習慣に起因する将来的に生ずるであろう結果イベントを予測する予測プログラム、予測装置及び方法を提供することを目的とする。   Accordingly, the present invention provides a prediction program, a prediction device, and a method for predicting a result event that may occur in the future due to a user's habits due to a user's daily behavior event described in a sentence. The purpose is to provide.

本発明によれば、文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測するように、装置に搭載されたコンピュータを機能させる予測プログラムであって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積手段と、
行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出するイベント集合抽出手段と、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する習慣イベント抽出手段と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する特徴ベクトル生成手段と、
学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積手段と、
特徴ベクトル生成手段から出力された特徴ベクトルが、予測モデル蓄積手段に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する予測判定手段と
を有し、予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測するようにコンピュータを機能させることを特徴とする。
According to the present invention, there is provided a prediction program for causing a computer mounted on an apparatus to function so as to predict a result event that will occur in the future for a user due to a user's action event described in a sentence. There,
An action sentence set accumulating means for accumulating the action sentence described by the user and the description time;
Event set extraction means for extracting an event expression from the action sentences stored in the action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
When a plurality of identical event expressions appear within a predetermined period, habit event extracting means for extracting the event as a habit event,
“Feature vector elements” having a large number of event expressions as elements are preset, and feature vector generation means for generating “feature vectors” specifying the presence or absence of corresponding elements for each custom event,
Prediction model storage means for storing in advance a feature vector group learned for each result event from feature vectors based on a large number of behavioral sentences for learning;
A prediction determination unit that determines whether the feature vector output from the feature vector generation unit belongs to a feature vector group for each result event stored in the prediction model storage unit; And causing the computer to function to predict that the resulting event will occur in the future for the user.

本発明の予測プログラムにおける他の実施形態によれば、
多数のユーザによって記述された学習用の行動文及び記述時刻を蓄積している学習行動文集合蓄積手段と、
学習行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する学習イベント集合抽出手段と、
結果イベント表現を予め蓄積した結果イベント表現蓄積手段と、
学習行動文の中で、結果イベント蓄積手段に蓄積された結果イベント表現を検出する結果イベント検出手段と、
検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する学習習慣イベント抽出手段と、
習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成する学習特徴ベクトル生成手段と
を更に有し、
予測モデル蓄積手段は、学習特徴ベクトルを、結果イベント毎に蓄積しているようにコンピュータを機能させることも好ましい。
According to another embodiment of the prediction program of the present invention,
Learning behavior sentence set storage means for accumulating learning behavior sentences and description times described by a large number of users;
A learning event set extraction means for extracting an event expression from the action sentences stored in the learning action sentence set storage means, and extracting a set of “events” consisting of a combination of the event expression and its description time;
A result event expression storage means for storing result event expressions in advance;
A result event detecting means for detecting a result event expression stored in the result event storing means in the learning action sentence;
A learning habit event extracting means for extracting the event as a habit event when a plurality of the same event expressions appear within a predetermined period in the past from the description time of the detected result event expression,
Learning feature vector generation means for generating a learning feature vector specifying the presence or absence of the corresponding element for each habit event,
It is also preferable that the prediction model storage means causes the computer to function so as to store the learning feature vector for each result event.

本発明の予測プログラムにおける他の実施形態によれば、予測判定手段は、予測モデル蓄積手段と一体的に構成された、サポートベクタマシン(Support Vector Machine)の2値分類方式、又は、CRF(Conditional Random Fields、条件付き確率場)の系列ラベリング方式に基づくエンジンであるようにコンピュータを機能させることも好ましい。   According to another embodiment of the prediction program of the present invention, the prediction determination means is a binary classification method of a support vector machine (Support Vector Machine) or CRF (Conditional), which is integrated with the prediction model storage means. It is also preferable to have the computer function as an engine based on a sequence labeling scheme of Random Fields (conditional random fields).

本発明の予測プログラムにおける他の実施形態によれば、習慣イベント抽出手段について、行動文に記述された表現を、上位下位関係や含意関係などを含むオントロジを用いて抽象化し、抽象化された上位概念表現について、所定期間内に複数の同一のイベント表現の出現している場合、それらイベントを習慣イベント群として抽出するようにコンピュータを機能させることも好ましい。   According to another embodiment of the prediction program of the present invention, for the habit event extracting means, the expression described in the action sentence is abstracted using an ontology including upper and lower relations, implication relations, etc. Regarding the concept expression, when a plurality of identical event expressions appear within a predetermined period, it is also preferable to cause the computer to function so as to extract these events as a habit event group.

本発明の予測プログラムにおける他の実施形態によれば、ブログ(Weblog)サーバ又はミニブログサーバから、行動文を取得するコメント文収集手段を更に有するようにコンピュータを機能させることも好ましい。   According to another embodiment of the prediction program of the present invention, it is also preferable that the computer is made to function so as to further include a comment sentence collecting means for acquiring an action sentence from a blog (Weblog) server or a mini blog server.

本発明によれば、文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測する予測装置であって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積手段と、
行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出するイベント集合抽出手段と、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する習慣イベント抽出手段と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する特徴ベクトル生成手段と、
学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積手段と、
特徴ベクトル生成手段から出力された特徴ベクトルが、予測モデル蓄積手段に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する予測判定手段と
を有し、予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測することを特徴とする。
According to the present invention, a prediction device that predicts a result event that may occur in the future for a user due to a user's action event described in a sentence,
An action sentence set accumulating means for accumulating the action sentence described by the user and the description time;
Event set extraction means for extracting an event expression from the action sentences stored in the action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
When a plurality of identical event expressions appear within a predetermined period, habit event extracting means for extracting the event as a habit event,
“Feature vector elements” having a large number of event expressions as elements are preset, and feature vector generation means for generating “feature vectors” specifying the presence or absence of corresponding elements for each custom event,
Prediction model storage means for storing in advance a feature vector group learned for each result event from feature vectors based on a large number of behavioral sentences for learning;
A prediction determination unit that determines whether the feature vector output from the feature vector generation unit belongs to a feature vector group for each result event stored in the prediction model storage unit; It is characterized by predicting that the result event that will be generated will occur in the future for the user.

本発明の予測装置における他の実施形態によれば、
多数のユーザによって記述された学習用の行動文及び記述時刻を蓄積している学習行動文集合蓄積手段と、
学習行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する学習イベント集合抽出手段と、
結果イベント表現を予め蓄積した結果イベント表現蓄積手段と、
行動文の中で、結果イベント蓄積手段に蓄積された結果イベント表現を検出する結果イベント検出手段と、
検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する学習習慣イベント抽出手段と、
習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成する学習特徴ベクトル生成手段と
を更に有し、
予測モデル蓄積手段は、学習特徴ベクトルを、結果イベント毎に蓄積していることも好ましい。
According to another embodiment of the prediction device of the present invention,
Learning behavior sentence set storage means for accumulating learning behavior sentences and description times described by a large number of users;
A learning event set extraction means for extracting an event expression from the action sentences stored in the learning action sentence set storage means, and extracting a set of “events” consisting of a combination of the event expression and its description time;
A result event expression storage means for storing result event expressions in advance;
A result event detecting means for detecting a result event expression stored in the result event storing means in the action sentence;
A learning habit event extracting means for extracting the event as a habit event when a plurality of the same event expressions appear within a predetermined period in the past from the description time of the detected result event expression,
Learning feature vector generation means for generating a learning feature vector specifying the presence or absence of the corresponding element for each habit event,
It is also preferable that the prediction model accumulation unit accumulates learning feature vectors for each result event.

本発明の予測装置における他の実施形態によれば、予測判定手段は、予測モデル蓄積手段と一体的に構成された、サポートベクタマシンの2値分類方式、又は、CRFの系列ラベリング方式に基づくエンジンであるようにコンピュータを機能させることも好ましい。   According to another embodiment of the prediction apparatus of the present invention, the prediction determination means is an engine based on a binary classification method of a support vector machine or a CRF sequence labeling method, which is integrated with a prediction model storage means. It is also preferable to make the computer function so that

本発明によれば、文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測するように、装置を用いた予測方法であって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積部と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積部と
を有し、
行動文集合蓄積部に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する第1のステップと、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する第2のステップと、
習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する第3のステップと、
特徴ベクトルが、予測モデル蓄積部に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する第4のステップと
を有し、予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測することを特徴とする。
According to the present invention, there is provided a prediction method using an apparatus so as to predict a result event that will occur in the future due to a user's action event described in a sentence,
An action sentence set accumulating unit for accumulating the action sentence described by the user and the description time;
“Feature vector elements” with a large number of event expressions as elements, and a prediction model in which feature vector groups learned for each result event are pre-stored from feature vectors based on a large number of learning behavior sentences A storage unit,
A first step of extracting an event expression from the action sentences accumulated in the action sentence set accumulating unit, and extracting a set of “events” composed of a combination of the event expression and the description time;
A second step of extracting the event as a habit event when a plurality of identical event expressions appear within a predetermined period;
A third step of generating a “feature vector” designating the presence or absence of the corresponding element for each habit event;
A fourth step of determining whether the feature vector belongs to any of the feature vector groups for each result event stored in the prediction model storage unit, and the result event determined by the prediction determination unit is It is characterized by predicting that it will occur to the user in the future.

本発明の予測プログラム、予測装置及び方法によれば、文に記述されたユーザの日常的な行動イベントに起因して、当該ユーザの習慣に起因する将来的に生ずるであろう結果イベントを予測することができる。   According to the prediction program, the prediction apparatus, and the method of the present invention, a result event that will occur in the future due to the user's habits due to the user's daily behavior event described in the sentence is predicted. be able to.

行動イベントに対して予測された結果イベントの例を表す説明図である。It is explanatory drawing showing the example of the result event estimated with respect to the action event. 本発明における予測プログラムの機能構成図である。It is a functional block diagram of the prediction program in this invention. 行動文集合蓄積部に蓄積された行動文を表す説明図である。It is explanatory drawing showing the action sentence accumulate | stored in the action sentence set storage part. 図3の行動文から抽出されたイベント表現を表す説明図である。It is explanatory drawing showing the event expression extracted from the action sentence of FIG. 本発明における習慣イベントの抽出を表す第1の説明図である。It is the 1st explanatory view showing extraction of a habit event in the present invention. 本発明における習慣イベントの抽出を表す第2の説明図である。It is the 2nd explanatory view showing extraction of a habit event in the present invention. 本発明における特徴ベクトルの生成を表す説明図である。It is explanatory drawing showing the production | generation of the feature vector in this invention. 本発明における結果イベントの検出を表す説明図である。It is explanatory drawing showing detection of the result event in this invention. 本発明における学習特徴ベクトルの生成を表す説明図である。It is explanatory drawing showing the production | generation of the learning feature vector in this invention.

以下、本発明の実施の形態について、図面を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、行動イベントに対して予測された結果イベントの例を表す説明図である。   FIG. 1 is an explanatory diagram illustrating an example of a result event predicted for a behavior event.

本発明の予測プログラムによれば、個人ユーザの「行動イベント」から、その個人ユーザの習慣に起因する「結果イベント」を予測する。行動イベントが記述された行動文は、例えば、インターネットに接続されたブログやミニブログ(例えばtwitter(登録商標))のようなサイトから収集することができる。このような文には、日記のように、個人ユーザにおける日常的な行動が記述されている。   According to the prediction program of the present invention, the “result event” resulting from the habit of the individual user is predicted from the “behavior event” of the individual user. The action sentence describing the action event can be collected from a site such as a blog or a mini blog (for example, twitter (registered trademark)) connected to the Internet. Such a sentence describes a daily action in an individual user like a diary.

例えば、以下のような、個人ユーザの行動イベントの習慣から、結果イベントが予測できる。
行動「カレーや牛丼を毎日食べる」−>結果「高血圧」
(塩分や脂質が多い食生活習慣)
行動「毎日煙草を吸う」 −>結果「高血圧」
行動「夜更かし」 −>結果「遅刻」
行動「勉強不足」 −>結果「追試・落第」
For example, a result event can be predicted from the behavior of an individual user's behavior event as follows.
Action "Eat curry and beef bowl every day"-> Result "High blood pressure"
(Food habits rich in salt and fat)
Action “Smoking cigarettes every day”-> Result “High blood pressure”
Action "Night Stay"-> Result "Late Late"
Action "Insufficient study"-> Result "Follow-up test / Failure"

ここで、本発明によって予測される結果イベントは、例えば「高血圧」のように、あくまで、個人の行動の習慣に起因する結果に限定する。一方、「地震」「洪水」のような偶発的なイベントや、「戦争」「難民」のような社会的なイベントは、本発明では対象としない。   Here, the result event predicted by the present invention is limited to a result caused by an individual's behavior habit, such as “high blood pressure”. On the other hand, accidental events such as “earthquake” and “flood” and social events such as “war” and “refugee” are not covered by the present invention.

また、本発明については、習慣的(定期的)な行動イベントを習慣イベントとして検出する。また、類似した習慣イベントは、上位概念的に同一の習慣イベントとして検出される。例えば「お昼にラーメンを駅前で食べる」と「牛丼をお昼に食べる」とは、「塩分・脂質の多い食生活」としては同一の行動イベントと見ることが好ましい。   Moreover, about this invention, a habitual (periodic) action event is detected as a habit event. Similar habit events are detected as the same habit events conceptually. For example, “eating ramen in front of the station at noon” and “eating beef bowl at noon” are preferably viewed as the same action event as “a diet rich in salt and fat”.

図2は、本発明における予測プログラムの機能構成図である。   FIG. 2 is a functional configuration diagram of the prediction program in the present invention.

図2の予測プログラムによれば、コメント文収集部100と、行動文集合蓄積部101と、イベント集合抽出部102と、習慣イベント抽出部103と、特徴ベクトル生成部104と、予測モデル蓄積部105と、予測判定部106とを有する。これら機能部は、装置に搭載されたコンピュータを機能させるプログラムを実行することによって実現できる。また、これら機能構成部の処理の流れは、装置における予測方法としても理解される。   According to the prediction program in FIG. 2, the comment sentence collection unit 100, the action sentence set accumulation unit 101, the event set extraction unit 102, the habit event extraction unit 103, the feature vector generation unit 104, and the prediction model accumulation unit 105. And a prediction determination unit 106. These functional units can be realized by executing a program that causes a computer installed in the apparatus to function. The processing flow of these functional components is also understood as a prediction method in the apparatus.

コメント文収集部100は、ブログサーバ又はミニブログサーバから、ユーザによって記述された日常的な行動のコメント文を取得する。取得されたコメント文は、行動文情報蓄積部101に出力される。例えばtwitterサイトサーバよれば、指定したユーザ名に基づくコメント文(tweet)を検索することができる。また、日付を指定することによって、最大1週間分のtweetを検索することもできる。これらAPI仕様については、例えば非特許文献1及び2に記載されている。   The comment sentence collection unit 100 acquires a comment sentence of daily activities described by the user from the blog server or the mini blog server. The acquired comment sentence is output to the action sentence information storage unit 101. For example, according to the twitter site server, a comment sentence (tweet) based on a specified user name can be searched. You can also search for tweets for up to one week by specifying the date. These API specifications are described in Non-Patent Documents 1 and 2, for example.

行動文集合蓄積部101は、コメント文収集部100によって収集された、当該ユーザの行動文(コメント文)及び記述時刻を蓄積している。   The action sentence set accumulation unit 101 accumulates the action sentence (comment sentence) and description time of the user collected by the comment sentence collection unit 100.

図3は、行動文集合蓄積部に蓄積された行動文を表す説明図である。   FIG. 3 is an explanatory diagram illustrating the action sentences accumulated in the action sentence set accumulation unit.

図3によれば、行動文集合蓄積部101は、特定の個人ユーザAによって記述された行動文及び記述時刻を蓄積している。   According to FIG. 3, the action sentence set accumulation unit 101 accumulates action sentences and description times described by a specific individual user A.

イベント集合抽出部102は、行動文集合蓄積部101に蓄積された行動文の中から、「イベント表現」を抽出する。   The event set extraction unit 102 extracts “event expression” from the action sentences accumulated in the action sentence set accumulation unit 101.

図4は、図3の行動文から抽出されたイベント表現を表す説明図である。   FIG. 4 is an explanatory diagram showing event expressions extracted from the action sentence of FIG.

図4によれば、イベント集合抽出部102によって抽出されたイベント表現が、記述時刻に対応付けられている。抽出されたイベント表現は、記述時刻の時系列順にソートされる。   According to FIG. 4, the event expression extracted by the event set extraction unit 102 is associated with the description time. The extracted event expressions are sorted in chronological order of description times.

文は、複数の「語」からなる。「語」とは、言語の構成単位であり、1以上の形態素からなる。形態素とは、ある言語について意味を持つ最小の単位をいい、それ以上分解したら意味をなさなくなる単位まで分解された音素の集合の1つ1つを指す。語には、1つの形態素からなる単純語(例えば「山」)と、複数の形態素からなる複合語(例えば「山登り」)とがある。ここで、「語」というときは、単純語及び複合語のいずれも対象とする。   A sentence consists of a plurality of “words”. A “word” is a structural unit of a language and consists of one or more morphemes. A morpheme is the smallest unit that has meaning for a language, and refers to each of a set of phonemes that have been decomposed into units that no longer make sense after further decomposition. The word includes a simple word (for example, “mountain”) composed of one morpheme and a compound word (for example, “mountain climb”) composed of a plurality of morphemes. Here, when referring to “words”, both simple words and compound words are targeted.

語が集まることにより、句、節、文及び文章が構成される。これは、構文解析器を用いて、係り受け関係にある名詞と動詞又は形容詞との対を「イベント表現」として抽出する。例えば、「弁当を注文」という文は、「弁当」「を」「注文」の3語から構成される。また、語は、文法的な役割を持つ機能語(「を」)と、それ以外の一般的な意味を持つ内容語(「弁当」「注文」)とに大別できる。ここで、「イベント表現」とは、少なくとも名詞と動詞等とからなる内容語を含む文をいう。尚、動詞又は形容詞が無い場合には、名詞が連続している表現を、イベント表現として抽出する。イベント表現は、特定のイベントを表す表現であって、その記述には特に制限はない。   Phrases, clauses, sentences and sentences are composed by gathering words. This uses a syntax analyzer to extract a pair of a noun and a verb or adjective in a dependency relationship as an “event expression”. For example, a sentence “order a lunch” is composed of three words “bento”, “to” and “order”. The words can be broadly classified into function words having a grammatical role (“O”) and content words having other general meanings (“Bento” and “order”). Here, “event expression” means a sentence including a content word composed of at least a noun and a verb. When there is no verb or adjective, an expression in which nouns are continuous is extracted as an event expression. The event expression is an expression representing a specific event, and its description is not particularly limited.

ここで、図4によれば、記述時刻の修正が表されている。イベント表現(例えば「10年前」「今年」)又は機能語(例えば「だった」)を用いて、記述時刻を、「イベント発生時刻(t')」に修正する。   Here, according to FIG. 4, correction of the description time is represented. Using the event expression (for example, “10 years ago”, “this year”) or the function word (for example, “was”), the description time is corrected to “event occurrence time (t ′)”.

例えば、「3日前は、完徹した」の記述時刻は、「2010年10月5日 1:00」である。ここで、「3日前」に基づき、記述時刻は3日分戻され、イベント発生時刻「2010年10月6日 9:00」に修正される。   For example, the description time of “complete three days ago” is “October 5, 2010 1:00”. Here, based on “3 days ago”, the description time is returned by 3 days and is corrected to the event occurrence time “October 6, 2010, 9:00”.

そして、イベント集合抽出部102は、イベント表現と記述時刻との組からなる「イベント」の集合を、習慣イベント抽出部103へ出力する。   Then, the event set extraction unit 102 outputs a set of “events” composed of sets of event expressions and description times to the habit event extraction unit 103.

習慣イベント抽出部103は、当該ユーザにおけるイベント表現の集合を入力し、所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを「習慣イベント」として抽出する。抽出された習慣イベントは、特徴ベクトル生成部104へ出力される。   The habit event extraction unit 103 inputs a set of event expressions for the user, and when a plurality of identical event expressions appear within a predetermined period, the event is extracted as a “habit event”. The extracted habit event is output to the feature vector generation unit 104.

図5は、本発明における習慣イベントの抽出を表す第1の説明図である。   FIG. 5 is a first explanatory diagram showing extraction of habit events in the present invention.

図5によれば、習慣イベント抽出部103は、イベント表現s毎に、その記述時刻tから過去の所定期間内に、同一のイベント表現が出現している場合、そのイベントは、学習習慣イベントE’として抽出される。ここで、「所定期間」とは、例えば24時間や3日間のような、習慣性を有する程度の期間である。過去に他のイベント表現と全く一致しなかった場合、1つのイベントE’とみなす   According to FIG. 5, if the same event expression appears for a predetermined period in the past from the description time t for each event expression s, the habit event extracting unit 103 determines that the event is a learning habit event E. Extracted as'. Here, the “predetermined period” is a period having a habit such as 24 hours or 3 days. If there is no coincidence with other event expressions in the past, it is regarded as one event E '

例えば、「牛丼@駅前」「2010年10月2日 12:00」から見て、過去24時間以内に、「ラーメン@駅前」「2010年10月1日 19:00」のイベントがある。これらは、習慣イベントE’として抽出される。   For example, as seen from “Gyudon @ Ekimae” “October 2, 2010 12:00”, there is an event “Ramen @ Ekimae” “October 1, 2010 19:00” within the past 24 hours. These are extracted as habit events E '.

また、例えば、「3日前は貫徹した」「2010年10月5日 1:00」から見て、過去3日以内に、「夜更かしをする」「2010年10月2日 0:30」のイベントがある。これらは、習慣イベントE’として抽出される。   Also, for example, “Three days ago,” “October 5, 2010 1:00:00”, “Let ’s stay up” and “October 2, 2010 0:30” within the past 3 days. There is an event. These are extracted as habit events E '.

図6は、本発明における習慣イベントの抽出を表す第2の説明図である。   FIG. 6 is a second explanatory diagram showing extraction of habit events in the present invention.

図6によれば、習慣イベント抽出部103は、行動文に記述された表現を、上位下位関係や含意関係などを含む「オントロジ(Ontology)」を用いて抽象化している。そして、抽象化された上位概念表現について、所定期間内に複数の同一のイベント表現の出現している場合、それらイベントを習慣イベント群として抽出する。抽象化したイベント表現同士を比較することによって、学習習慣イベントE’が抽出される。これによって、行動イベントの表現の揺れを解消することができる。   According to FIG. 6, the habit event extracting unit 103 abstracts the expression described in the action sentence using “Ontology” including upper and lower relations and implication relations. If a plurality of identical event expressions appear within a predetermined period of the abstracted high-level concept expression, these events are extracted as habit event groups. A learning habit event E ′ is extracted by comparing the abstracted event expressions. As a result, the shaking of the expression of the action event can be eliminated.

「オントロジ」とは、人工知能技術分野について「概念化の明示的な仕様」と定義されるものである。従来、テキスト検索技術によれば、単語単位の一致又は類似によってのみ検索することができた。これに対し、オントロジとは、当該文の内容を説明する意味情報(メタデータ)を記述する用語を定義する構造をいう。この意味情報は、当該文に付加される。この意味情報を検索対象として文を検索することができる。オントロジを導入することによって、検索対象となる文が単なる単語の集まりとしてではなく、文全体で大きな意味を持ったデータとして扱われる。本発明によれば、行動文のイベント表現を、オントロジを用いて抽象化(意味情報化)することによって、上位概念表現として習慣性を検出することができる。また、オントロジではなく、自然言語処理に対する言い換え技術を用いることもできる(例えば非特許文献3参照)。   “Ontology” is defined as “explicit specification of conceptualization” in the field of artificial intelligence technology. Conventionally, according to the text search technique, it is possible to search only by word unit match or similarity. On the other hand, ontology refers to a structure that defines terms describing semantic information (metadata) that describes the content of the sentence. This semantic information is added to the sentence. A sentence can be searched using this semantic information as a search target. By introducing ontology, the sentence to be searched is not treated as a mere collection of words but as data having a large meaning in the whole sentence. According to the present invention, habituality can be detected as a high-level concept expression by abstracting (eventing information) an event expression of an action sentence using an ontology. Further, a paraphrasing technique for natural language processing can be used instead of ontology (see, for example, Non-Patent Document 3).

また、抽象化されたイベント表現について、パターン検出技術を用いて、イベント集合の中で特徴的に表れるイベントの列を自動的に識別し、得られたイベントの列を学習習慣イベントE’として抽出してもよい。パターン検出技術には、例えば、系列パターンマイニングアルゴリズムであるPrefixSpanがある(例えば非特許文献4参照)。   In addition, using the pattern detection technology for the abstracted event expression, the event sequence that appears characteristically in the event set is automatically identified, and the resulting event sequence is extracted as the learning habit event E ′. May be. As a pattern detection technique, for example, there is PrefixSpan which is a sequence pattern mining algorithm (see, for example, Non-Patent Document 4).

特徴ベクトル生成部104は、習慣イベントを入力し、習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する。ここで、多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されている。そして、特徴ベクトル生成部104は、生成した特徴ベクトルを、予測判定部106へ出力する。   The feature vector generation unit 104 inputs a habit event, and generates a “feature vector” that specifies the presence or absence of the corresponding element for each habit event. Here, “feature vector elements” having a large number of event expressions as elements are preset. Then, the feature vector generation unit 104 outputs the generated feature vector to the prediction determination unit 106.

図7は、本発明における特徴ベクトルの生成を表す説明図である。   FIG. 7 is an explanatory diagram showing generation of feature vectors in the present invention.

図7によれば、習慣イベントE’の集合毎に、特徴ベクトルを生成する。「特徴ベクトル」とは、予め規定されたイベント表現を要素として、各要素(次元)にその有無を割り当てたものである。特徴ベクトルの各要素の初期値は、0である。習慣イベントE’毎に、イベント表現に相当する各要素を1に設定する。この特徴ベクトルの各要素は、システムとして予め規定されたものである。   According to FIG. 7, a feature vector is generated for each set of habit events E ′. The “feature vector” is an element in which a predetermined event expression is used as an element and the presence or absence is assigned to each element (dimension). The initial value of each element of the feature vector is 0. For each habit event E ', each element corresponding to the event expression is set to 1. Each element of the feature vector is defined in advance as a system.

図7によれば、例えば「ラーメン@駅前」及び「牛丼@駅前」の習慣イベントE’では、イベント表現「4.ラーメン駅前」及びイベント表現「9.牛丼@駅前」の要素が「1」となる。   According to FIG. 7, for example, in the custom event E ′ of “Ramen @ Ekimae” and “Gyudon @ Ekimae”, the elements of the event expression “4. Ramen Ekimae” and the event expression “9. "

予測モデル蓄積部105は、学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積している。また、予測モデル蓄積部105は、学習特徴ベクトルを、結果イベント毎に蓄積しているものであってもよい。予測モデル蓄積部105に蓄積されている学習特徴ベクトルの構築については、後述する。   The prediction model accumulation unit 105 accumulates in advance a feature vector group learned for each result event from feature vectors based on a large number of learning behavior sentences. Further, the prediction model accumulation unit 105 may accumulate a learning feature vector for each result event. The construction of learning feature vectors stored in the prediction model storage unit 105 will be described later.

予測判定部106は、特徴ベクトル生成手部104から入力した特徴ベクトルが、予測モデル蓄積部105に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する。予測判定部106は、結果イベントを、当該ユーザに将来生ずるであろうイベントであるイベントとして出力する。   The prediction determination unit 106 determines whether the feature vector input from the feature vector generation unit 104 belongs to a feature vector group for each result event stored in the prediction model storage unit 105. The prediction determination unit 106 outputs the result event as an event that is an event that will occur in the future for the user.

予測判定部106は、予測モデル蓄積部105と一体的に構成された、サポートベクタマシン(Support Vector Machine)の2値分類方式、又は、CRF(Conditional Random Fields、条件付き確率場)の系列ラベリング方式に基づくエンジンであってもよい。   The prediction determination unit 106 is configured integrally with the prediction model storage unit 105, a support vector machine binary classification method, or a CRF (Conditional Random Fields) conditional labeling method. It may be an engine based on

「サポートベクタマシン」とは、線形2値分類器であり、クラスが2つある場合に用いられる。2つのクラスは、それぞれ正クラス及び負クラスと呼ばれ、通常は、分析対象のクラスを正クラスとし、正クラスに属する事例は正例、負クラスに属する事例は負例と呼ばれる。ここでは、特徴ベクトルが正例、学習特徴ベクトルが負例となる。また、「CRF」とは、確率的な分類器である対数線形モデルを、系列ラベリングに適用した方式である(例えば非特許文献5参照)。   The “support vector machine” is a linear binary classifier and is used when there are two classes. The two classes are called a positive class and a negative class, respectively. Usually, a class to be analyzed is a positive class, a case belonging to the positive class is called a positive example, and a case belonging to the negative class is called a negative example. Here, the feature vector is a positive example, and the learning feature vector is a negative example. “CRF” is a method in which a logarithmic linear model, which is a probabilistic classifier, is applied to sequence labeling (see, for example, Non-Patent Document 5).

次に、予測モデル蓄積部105に蓄積された学習特徴ベクトルの生成について説明する。学習段階では、結果イベントを予測するため、結果イベントの発生より前に出現した学習行動イベントから特徴ベクトルを抽出する。そして、結果イベントの原因となりやすい学習習慣イベントを統計的に算出する。   Next, generation of learning feature vectors accumulated in the prediction model accumulation unit 105 will be described. In the learning stage, in order to predict a result event, a feature vector is extracted from a learning behavior event that appears before the occurrence of the result event. Then, a learning habit event that tends to cause a result event is statistically calculated.

予測プログラムは、学習行動文集合蓄積部111と、学習イベント集合抽出部112と、学習習慣イベント抽出部113と、学習特徴ベクトル生成部114と、結果イベント表現蓄積部121と、結果イベント検出部122とを更に有する。これら機能構成部も、装置に搭載されたコンピュータを機能させるプログラムを実行することによって実現できる。   The prediction program includes a learning behavior sentence set accumulation unit 111, a learning event set extraction unit 112, a learning habit event extraction unit 113, a learning feature vector generation unit 114, a result event expression accumulation unit 121, and a result event detection unit 122. It has further. These functional components can also be realized by executing a program that causes a computer installed in the apparatus to function.

学習行動文集合蓄積部111は、多数のユーザによって記述された、学習用の行動文及び記述時刻を蓄積している。行動文集合蓄積部101は、予測対象となるユーザの行動文集合を蓄積しているのに対し、学習行動文集合蓄積部111は、多数のユーザの行動文集合を蓄積している。それ以外は、行動文集合蓄積部101と全く同様である。
学習行動文集合:D
={du1,du2,・・・,dun
(dui:ユーザiの行動文、n:ユーザの人数)
The learning action sentence set accumulation unit 111 accumulates learning action sentences and description times described by a large number of users. The behavioral sentence set accumulation unit 101 accumulates a behavioral sentence set of users to be predicted, while the learning behavioral sentence set accumulation unit 111 accumulates a large number of user behavioral sentence sets. Other than that, the behavior sentence set accumulation unit 101 is exactly the same.
Learning behavior sentence set: D T
D T = {d u1 , d u2 ,..., D un }
(D ui : action sentence of user i, n: number of users)

学習イベント集合抽出部112は、学習行動文集合蓄積部111に蓄積された学習行動文の中から、イベント表現を抽出し、抽出されたイベント表現とその記述時刻との組からなる「イベント」の集合を抽出する。イベント集合抽出部102は、予測対象となるユーザのイベント文集合を抽出しているのに対し、学習イベント集合抽出部112は、多数のユーザについてユーザ毎のイベント文集合を抽出している。それ以外は、イベント集合抽出部102と全く同様である。   The learning event set extraction unit 112 extracts an event expression from the learning action sentences stored in the learning action sentence set storage unit 111, and an “event” composed of a combination of the extracted event expression and its description time. Extract a set. The event set extraction unit 102 extracts a user's event sentence set to be predicted, whereas the learning event set extraction unit 112 extracts an event sentence set for each user for a large number of users. The rest is exactly the same as the event set extraction unit 102.

結果イベント表現蓄積部121は、結果イベント表現を予め蓄積している。結果イベント表現とは、例えば「高血圧」「息切れ」「追試」のように否定的なトラブルの用語であってもよいし、「血圧低下」「体調改善」「進級」のように肯定的な用語であってもよい。   The result event expression storage unit 121 stores result event expressions in advance. The result event expression may be a negative trouble term such as “high blood pressure”, “shortness of breath”, “retest”, or a positive term such as “blood pressure drop”, “physical condition improvement”, “promotion”. It may be.

結果イベント検出部122は、学習行動文集合蓄積部111に蓄積された学習行動文の中で、結果イベント蓄積部121に蓄積された結果イベント表現を検出する。検出された結果イベント表現は、学習習慣イベント抽出部113へ出力される。   The result event detection unit 122 detects the result event expression accumulated in the result event accumulation unit 121 among the learning action sentences accumulated in the learning action sentence set accumulation unit 111. The detected result event expression is output to the learning habit event extracting unit 113.

図8は、本発明における結果イベントの検出を表す説明図である。   FIG. 8 is an explanatory diagram showing detection of a result event in the present invention.

図8によれば、学習イベント集合Eについて、結果イベントの「発生」又は「未発生」に分類される。尚、結果イベント表現の周辺の単語及びその品詞等に基づいて、サポートベクタマシンの2値分類方式、又は、CRFの系列ラベリング方式に基づくエンジン用いて、結果イベントを検出するものであってもよい。   According to FIG. 8, the learning event set E is classified into “occurrence” or “non-occurrence” of the result event. It should be noted that a result event may be detected using an engine based on the binary classification method of the support vector machine or the CRF sequence labeling method based on the surrounding word of the result event expression and its part of speech. .

学習習慣イベント抽出部113は、イベントの集合と、結果イベント表現とを入力する。学習習慣イベント抽出部113は、検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する。尚、学習習慣イベント抽出部113は、習慣イベント抽出部103と同様に、上位下位関係や含意関係などを含むオントロジを用いて抽象化するものであってもよい(図6参照)。学習習慣イベント抽出部113は、習慣イベント抽出部103の処理内容と同様である。抽出された習慣イベントは、学習特徴ベクトル生成部114へ出力される。   The learning habit event extracting unit 113 inputs a set of events and a result event expression. When a plurality of identical event expressions appear within a predetermined period in the past from the description time of the detected event expression, the learning habit event extracting unit 113 extracts the event as a habit event. Note that the learning habit event extracting unit 113 may abstract the learning habit event extracting unit 113 using an ontology including upper and lower relations and implications as in the habit event extracting unit 103 (see FIG. 6). The learning habit event extracting unit 113 is the same as the processing content of the habit event extracting unit 103. The extracted habit event is output to the learning feature vector generation unit 114.

学習特徴ベクトル生成部114は、習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成する。学習特徴ベクトル生成部114は、特徴ベクトル生成部104の処理内容と同様である(図7参照)。学習特徴ベクトル生成部114は、学習特徴ベクトルを、予測モデル蓄積部105へ出力する。予測モデル蓄積部105は、学習特徴ベクトルを、結果イベント毎に蓄積している。   The learning feature vector generation unit 114 generates a learning feature vector that specifies the presence or absence of a corresponding element for each habit event. The learning feature vector generation unit 114 is the same as the processing content of the feature vector generation unit 104 (see FIG. 7). The learning feature vector generation unit 114 outputs the learning feature vector to the prediction model accumulation unit 105. The prediction model accumulation unit 105 accumulates learning feature vectors for each result event.

図9は、本発明における学習特徴ベクトルの生成を表す説明図である。   FIG. 9 is an explanatory diagram showing generation of learning feature vectors in the present invention.

結果イベント表現から過去に習慣的に発生する学習習慣イベントE’は、結果イベントに起因している可能性があると考えられる。学習習慣イベント中で、結果イベントの発生時刻よりも閾値時間前の学習習慣イベントについて、要素(次元)のベクトルの値を1、それ以外を0とする。   The learning habit event E ′ that occurs habitually in the past from the result event expression is considered to be possibly caused by the result event. In the learning habit event, the value of the element (dimension) vector is set to 1 for the learning habit event before the threshold time before the occurrence time of the result event, and the others are set to 0.

尚、生成された学習特徴ベクトルに対して、ベクトル毎に重み付けてもよい。重み付けにも、サポートベクタマシンの2値分類方式、又は、CRFの系列ラベリング方式に基づくエンジンを用いることもできる。例えば、結果イベントの重要度に応じて、その結果イベントが発生した閾値時間前の学習習慣イベントに対しては、高い重み付けをすることもできる。   The generated learning feature vector may be weighted for each vector. An engine based on the binary classification method of the support vector machine or the sequence labeling method of the CRF can also be used for the weighting. For example, according to the importance of the result event, a high weight can be given to the learning habit event before the threshold time when the result event occurs.

単語ごとに重み付けをするのではなく、習慣イベントごとに重み付けすることによって、単語の表現の揺れを吸収することができる。   Instead of weighting each word, weighting each habit event can absorb fluctuations in the expression of the word.

サポートベクタマシンを用いる場合、結果イベントよりも閾値時間前に発生した学習習慣イベントに対する特徴ベクトルを結合し、それを入力とするものであってもよい。また、CRFの系列ラベリング方式を用いる場合、特徴ベクトルとラベルの対の集合とを入力し、前後の習慣イベントに関する特徴ベクトルに基づいて、各特徴ベクトルに対する重みを計算した結果を出力するものであってもよい。   When a support vector machine is used, feature vectors for learning habit events that occurred before a threshold time before a result event may be combined and used as an input. In addition, when the CRF sequence labeling method is used, a feature vector and a set of label pairs are input, and the result of calculating the weight for each feature vector based on the feature vectors related to the habit event before and after is output. May be.

以上、詳細に説明したように、本発明の予測プログラム、予測装置及び方法によれば、文に記述されたユーザの日常的な行動イベントに起因して、当該ユーザの習慣に起因する将来的に生ずるであろう結果イベントを予測することができる。   As described above in detail, according to the prediction program, the prediction apparatus, and the method of the present invention, due to the daily action event of the user described in the sentence, in the future due to the user's habits. The resulting events that will occur can be predicted.

本発明は、健康管理システムや受験支援システムに適用可能であって、個人の習慣に起因する結果(失敗又は成功)を予測することにより、ユーザの生活習慣を改善させることができる。   The present invention is applicable to a health management system and an examination support system, and can improve a user's lifestyle by predicting a result (failure or success) caused by an individual's habit.

本発明によれば、専用のデータベースを構築することなく、個人が日常的に記述している日記やブログなどのコメント文に基づいて、結果イベント(例えばトラブル)を予測できる。即ち、結果イベントが発生した状況が明確に記述された文を必要としない。   According to the present invention, a result event (for example, a trouble) can be predicted based on a comment sentence such as a diary or a blog that an individual describes on a daily basis without constructing a dedicated database. That is, a sentence that clearly describes the situation in which the result event has occurred is not required.

前述した本発明の種々の実施形態について、本発明の技術思想及び見地の範囲の種々の変更、修正及び省略は、当業者によれば容易に行うことができる。前述の説明はあくまで例であって、何ら制約しようとするものではない。本発明は、特許請求の範囲及びその均等物として限定するものにのみ制約される。   Various changes, modifications, and omissions of the above-described various embodiments of the present invention can be easily made by those skilled in the art. The above description is merely an example, and is not intended to be restrictive. The invention is limited only as defined in the following claims and the equivalents thereto.

100 コメント文収集部
101 行動文集合蓄積部
102 イベント集合抽出部
103 習慣イベント抽出部
104 特徴ベクトル生成部
105 予測モデル蓄積部
106 予測判定部
111 学習行動文集合蓄積部
112 学習イベント集合抽出部
113 学習習慣イベント抽出部
114 学習特徴ベクトル生成部
121 結果イベント表現蓄積部
122 結果イベント検出部
2 ミニブログサーバ
DESCRIPTION OF SYMBOLS 100 Comment sentence collection part 101 Action sentence set accumulation part 102 Event set extraction part 103 Habit event extraction part 104 Feature vector generation part 105 Prediction model accumulation part 106 Prediction judgment part 111 Learning action sentence set accumulation part 112 Learning event set extraction part 113 Learning Habit event extraction unit 114 Learning feature vector generation unit 121 Result event expression storage unit 122 Result event detection unit 2 Miniblog server

Claims (9)

文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測するように、装置に搭載されたコンピュータを機能させる予測プログラムであって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積手段と、
前記行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出するイベント集合抽出手段と、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する習慣イベント抽出手段と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、前記習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する特徴ベクトル生成手段と、
学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積手段と、
前記特徴ベクトル生成手段から出力された前記特徴ベクトルが、前記予測モデル蓄積手段に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する予測判定手段と
を有し、前記予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測するようにコンピュータを機能させることを特徴とする予測プログラム。
A prediction program that causes a computer mounted on a device to function so as to predict a result event that will occur in the future to the user due to a user behavior event described in a sentence,
An action sentence set accumulating means for accumulating the action sentence described by the user and the description time;
Event set extraction means for extracting an event expression from the action sentences stored in the action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
When a plurality of identical event expressions appear within a predetermined period, habit event extracting means for extracting the event as a habit event,
A “feature vector element” having a large number of event expressions as elements is preset, and for each habit event, a feature vector generating means for generating a “feature vector” designating the presence or absence of a corresponding element;
Prediction model storage means for storing in advance a feature vector group learned for each result event from feature vectors based on a large number of behavioral sentences for learning;
Prediction prediction means for determining whether the feature vector output from the feature vector generation means belongs to any of the feature vector groups for each result event stored in the prediction model storage means; A prediction program for causing a computer to function so as to predict that a result event determined by the determination means will occur in the future for the user.
多数のユーザによって記述された学習用の行動文及び記述時刻を蓄積している学習行動文集合蓄積手段と、
前記学習行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する学習イベント集合抽出手段と、
結果イベント表現を予め蓄積した結果イベント表現蓄積手段と、
前記学習行動文の中で、前記結果イベント蓄積手段に蓄積された結果イベント表現を検出する結果イベント検出手段と、
検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する学習習慣イベント抽出手段と、
前記習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成する学習特徴ベクトル生成手段と
を更に有し、
前記予測モデル蓄積手段に、前記学習特徴ベクトルを、前記結果イベント毎に蓄積させるようにコンピュータを機能させることを特徴とする請求項1に記載の予測プログラム。
Learning behavior sentence set storage means for accumulating learning behavior sentences and description times described by a large number of users;
Learning event set extraction means for extracting an event expression from the action sentences stored in the learning action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
A result event expression storage means for storing result event expressions in advance;
A result event detecting means for detecting a result event expression stored in the result event storing means in the learning action sentence;
A learning habit event extracting means for extracting the event as a habit event when a plurality of the same event expressions appear within a predetermined period in the past from the description time of the detected result event expression,
Learning feature vector generation means for generating a learning feature vector designating the presence or absence of a corresponding element for each habit event,
The prediction program according to claim 1, wherein the computer is caused to function so that the prediction model storage unit stores the learning feature vector for each result event.
前記予測判定手段は、前記予測モデル蓄積手段と一体的に構成された、サポートベクタマシン(Support Vector Machine)の2値分類方式、又は、CRF(Conditional Random Fields、条件付き確率場)の系列ラベリング方式に基づくエンジンであるようにコンピュータを機能させることを特徴とする請求項1又は2に記載の予測プログラム。   The prediction judging means is a binary classification method of Support Vector Machine or a CRF (Conditional Random Fields) series labeling method, which is integrated with the prediction model storage means. The prediction program according to claim 1 or 2, wherein the computer functions so as to be an engine based on the above. 前記習慣イベント抽出手段について、前記行動文に記述された表現を、上位下位関係や含意関係などを含むオントロジを用いて抽象化し、抽象化された上位概念表現について、所定期間内に複数の同一のイベント表現の出現している場合、それらイベントを習慣イベント群として抽出するようにコンピュータを機能させることを特徴とする請求項1から3のいずれか1項に記載の予測プログラム。   About the habit event extracting means, the expression described in the action sentence is abstracted using an ontology including upper and lower relations, implication relations, etc., and a plurality of the same upper concept expressions are abstracted within a predetermined period. 4. The prediction program according to claim 1, wherein when an event expression appears, the computer is caused to function so as to extract the events as a habit event group. 5. ブログ(Weblog)サーバ又はミニブログサーバから、前記行動文を取得するコメント文収集手段を更に有するようにコンピュータを機能させることを特徴とする請求項1から4のいずれか1項に記載の予測プログラム。   5. The prediction program according to claim 1, further comprising a comment sentence collecting unit configured to acquire the action sentence from a blog (Weblog) server or a mini blog server. . 文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測する予測装置であって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積手段と、
前記行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出するイベント集合抽出手段と、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する習慣イベント抽出手段と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、前記習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する特徴ベクトル生成手段と、
学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積手段と、
前記特徴ベクトル生成手段から出力された前記特徴ベクトルが、前記予測モデル蓄積手段に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する予測判定手段と
を有し、前記予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測することを特徴とする予測装置。
A prediction device for predicting a result event that may occur in the future for a user due to a user action event described in a sentence,
An action sentence set accumulating means for accumulating the action sentence described by the user and the description time;
Event set extraction means for extracting an event expression from the action sentences stored in the action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
When a plurality of identical event expressions appear within a predetermined period, habit event extracting means for extracting the event as a habit event,
A “feature vector element” having a large number of event expressions as elements is preset, and for each habit event, a feature vector generating means for generating a “feature vector” designating the presence or absence of a corresponding element;
Prediction model storage means for storing in advance a feature vector group learned for each result event from feature vectors based on a large number of behavioral sentences for learning;
Prediction prediction means for determining whether the feature vector output from the feature vector generation means belongs to any of the feature vector groups for each result event stored in the prediction model storage means; A prediction apparatus for predicting that a result event determined by the determination means will occur in the future for the user.
多数のユーザによって記述された学習用の行動文及び記述時刻を蓄積している学習行動文集合蓄積手段と、
前記学習行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する学習イベント集合抽出手段と、
結果イベント表現を予め蓄積した結果イベント表現蓄積手段と、
前記行動文の中で、前記結果イベント蓄積手段に蓄積された結果イベント表現を検出する結果イベント検出手段と、
検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する学習習慣イベント抽出手段と、
前記習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成する学習特徴ベクトル生成手段と
を更に有し、
前記予測モデル蓄積手段に、前記学習特徴ベクトルを、前記結果イベント毎に蓄積させることを特徴とする請求項6に記載の予測装置。
Learning behavior sentence set storage means for accumulating learning behavior sentences and description times described by a large number of users;
Learning event set extraction means for extracting an event expression from the action sentences stored in the learning action sentence set storage means, and extracting a set of “events” consisting of a set of the event expression and its description time;
A result event expression storage means for storing result event expressions in advance;
A result event detecting means for detecting a result event expression stored in the result event storing means in the action sentence;
A learning habit event extracting means for extracting the event as a habit event when a plurality of the same event expressions appear within a predetermined period in the past from the description time of the detected result event expression,
Learning feature vector generation means for generating a learning feature vector designating the presence or absence of a corresponding element for each habit event,
The prediction apparatus according to claim 6, wherein the prediction feature storage unit stores the learning feature vector for each result event.
文に記述されたユーザの行動イベントに起因して、当該ユーザに将来的に生ずるであろう結果イベントを予測するように、装置を用いた予測方法であって、
ユーザによって記述された行動文及び記述時刻を蓄積している行動文集合蓄積部と、
多数のイベント表現を要素とした「特徴ベクトルの要素」が予め設定されており、学習用の多数の行動文に基づく特徴ベクトルから、結果イベント毎に学習された特徴ベクトル群を予め蓄積した予測モデル蓄積部と
を有し、
前記行動文集合蓄積部に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出する第1のステップと、
所定期間内に複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出する第2のステップと、
前記習慣イベント毎に、該当する要素の有無を指定した「特徴ベクトル」を生成する第3のステップと、
前記特徴ベクトルが、前記予測モデル蓄積部に蓄積された結果イベント毎の特徴ベクトル群のいずれに属するか否かを判定する第4のステップと
を有し、前記予測判定手段によって判定された結果イベントが、当該ユーザに将来生ずるであろうと予測することを特徴とする予測方法。
A prediction method using a device to predict a result event that will occur in the future for the user due to a user behavior event described in a sentence,
An action sentence set accumulating unit for accumulating the action sentence described by the user and the description time;
“Feature vector elements” with a large number of event expressions as elements, and a prediction model in which feature vector groups learned for each result event are pre-stored from feature vectors based on a large number of learning behavior sentences A storage unit,
A first step of extracting an event expression from the action sentences stored in the action sentence set storage unit, and extracting a set of “events” composed of a set of the event expression and its description time;
A second step of extracting the event as a habit event when a plurality of identical event expressions appear within a predetermined period;
A third step of generating a “feature vector” designating the presence or absence of a corresponding element for each habit event;
And a fourth step of determining whether the feature vector belongs to any of the feature vector groups for each result event stored in the prediction model storage unit, and the result event determined by the prediction determination unit Predicting that the user will occur in the future.
多数のユーザによって記述された学習用の行動文及び記述時刻を蓄積している学習行動文集合蓄積部と、
結果イベント表現を予め蓄積した結果イベント表現蓄積部と
を有し、
前記学習行動文集合蓄積手段に蓄積された行動文の中から、イベント表現を抽出し、該イベント表現とその記述時刻との組からなる「イベント」の集合を抽出するステップと、
前記行動文の中で、前記結果イベント蓄積手段に蓄積された結果イベント表現を検出するステップと、
検出された結果イベント表現の記述時刻から過去の所定期間内に、複数の同一のイベント表現が出現している場合、そのイベントを習慣イベントとして抽出するステップと、
前記習慣イベント毎に、該当する要素の有無を指定した学習特徴ベクトルを生成するステップと
を更に有し、
前記予測モデル蓄積手段に、前記学習特徴ベクトルを、前記結果イベント毎に蓄積させることを特徴とする請求項8に記載の予測方法。
A learning behavior sentence set accumulation unit that accumulates learning behavior sentences and description times described by a large number of users;
A result event expression storage unit that stores result event expressions in advance;
Extracting an event expression from the action sentences stored in the learning action sentence set accumulating means, and extracting a set of “events” consisting of a set of the event expression and its description time;
Detecting a result event expression stored in the result event storage means in the action sentence;
If a plurality of identical event expressions appear within a predetermined period in the past from the description time of the detected result event expression, extracting the event as a habit event; and
Generating a learning feature vector that specifies the presence or absence of a corresponding element for each habit event,
The prediction method according to claim 8, wherein the learning feature vector is stored in the prediction model storage unit for each of the result events.
JP2011010501A 2011-01-21 2011-01-21 Prediction program, prediction device, and method for predicting result event from user's action sentence Active JP5557338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011010501A JP5557338B2 (en) 2011-01-21 2011-01-21 Prediction program, prediction device, and method for predicting result event from user's action sentence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011010501A JP5557338B2 (en) 2011-01-21 2011-01-21 Prediction program, prediction device, and method for predicting result event from user's action sentence

Publications (2)

Publication Number Publication Date
JP2012150750A JP2012150750A (en) 2012-08-09
JP5557338B2 true JP5557338B2 (en) 2014-07-23

Family

ID=46792922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011010501A Active JP5557338B2 (en) 2011-01-21 2011-01-21 Prediction program, prediction device, and method for predicting result event from user's action sentence

Country Status (1)

Country Link
JP (1) JP5557338B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704598B (en) * 2019-09-29 2023-01-17 北京明略软件系统有限公司 Statement information extraction method, extraction device and readable storage medium
CN112213976B8 (en) * 2020-10-07 2022-01-28 陈仲凯 Smart home humidification control method and system based on big data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002183647A (en) * 2000-12-11 2002-06-28 Nippon Telegr & Teleph Corp <Ntt> Inspection abnormality occurrence prediction device, inspection abnormality occurrence prediction method, inspection abnormality occurrence prediction table creation method, program recording medium thereof, and health education support system
JP4799120B2 (en) * 2005-10-14 2011-10-26 株式会社内田洋行 Intention inference system, method and program using personal behavior characteristics
JP5027082B2 (en) * 2008-09-02 2012-09-19 ヤフー株式会社 Action history analysis method, apparatus and program
JP5197491B2 (en) * 2009-05-29 2013-05-15 日本電信電話株式会社 Action recommendation device, method and program
WO2010146811A1 (en) * 2009-06-19 2010-12-23 株式会社日立製作所 Behavior suggestion device and method

Also Published As

Publication number Publication date
JP2012150750A (en) 2012-08-09

Similar Documents

Publication Publication Date Title
Burnap et al. Hate speech, machine classification and statistical modelling of information flows on Twitter: Interpretation and communication for policy decision making
He et al. Dynamic joint sentiment-topic model
Liu et al. Named entity recognition for tweets
CA3041844C (en) Systems and methods for event detection and clustering
Avvenuti et al. GSP (Geo-Semantic-Parsing): geoparsing and geotagging with machine learning on top of linked data
Bhonde et al. Sentiment analysis based on dictionary approach
Ghag et al. Comparative analysis of the techniques for sentiment analysis
US8880390B2 (en) Linking newsworthy events to published content
Wang et al. Socially-informed timeline generation for complex events
Mehmood et al. An enhanced lexicon-based approach for sentiment analysis: a case study on illegal immigration
JP5762996B2 (en) Prediction program, prediction device, and method for predicting result event from user&#39;s action sentence
Kedzie et al. Real-time web scale event summarization using sequential decision making
Hangya et al. Target-oriented opinion mining from tweets
Koshy et al. Applying social media in emergency response: an attention-based bidirectional deep learning system for location reference recognition in disaster tweets: R. Koshy and S. Elango
Zhao et al. A marker-based neural network system for extracting social determinants of health
Frisli Semi-supervised self-training for COVID-19 misinformation detection: analyzing Twitter data and alternative news media on Norwegian Twitter
JP5557338B2 (en) Prediction program, prediction device, and method for predicting result event from user&#39;s action sentence
Stephanie et al. Study of violence against women and its characteristics through the application of text mining techniques
Jarang et al. Behaviour analysis using word embedding & machine learning on social media
Wang et al. MISE: Meta-knowledge inheritance for social media-based stressor estimation
Yan et al. Emotional responses through COVID-19 in Singapore
Liu et al. PychoAgent: Psychology-driven LLM Agents for Explainable Panic Prediction on Social Media during Sudden Disaster Events
Inyaem et al. Named-entity techniques for terrorism event extraction and classification
Liu et al. Online hot event discovery based on association link network
Boland et al. Public discourse about COVID-19 vaccinations: a computational analysis of the relationship between public concerns and policies

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130814

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140526

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140530

R150 Certificate of patent or registration of utility model

Ref document number: 5557338

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150