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
JP7043243B2 - Classification device, classification method, and program - Google Patents
[go: Go Back, main page]

JP7043243B2 - Classification device, classification method, and program - Google Patents

Classification device, classification method, and program Download PDF

Info

Publication number
JP7043243B2
JP7043243B2 JP2017241660A JP2017241660A JP7043243B2 JP 7043243 B2 JP7043243 B2 JP 7043243B2 JP 2017241660 A JP2017241660 A JP 2017241660A JP 2017241660 A JP2017241660 A JP 2017241660A JP 7043243 B2 JP7043243 B2 JP 7043243B2
Authority
JP
Japan
Prior art keywords
category
existing
categories
new content
value
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
JP2017241660A
Other languages
Japanese (ja)
Other versions
JP2019109662A (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.)
Yahoo Japan Corp
Original Assignee
Yahoo Japan Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yahoo Japan Corp filed Critical Yahoo Japan Corp
Priority to JP2017241660A priority Critical patent/JP7043243B2/en
Publication of JP2019109662A publication Critical patent/JP2019109662A/en
Application granted granted Critical
Publication of JP7043243B2 publication Critical patent/JP7043243B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

特許法第30条第2項適用 開催日 :平成29年9月4日(シンポジウム2日目) 集会名 :NLP若手の会(YANS)第12回シンポジウム 開催場所:沖縄かりゆしアーバンリゾート・ナハ(沖縄県那覇市前島3-25-1)Application of Article 30, Paragraph 2 of the Patent Act Date: September 4, 2017 (Symposium 2nd day) Meeting name: NLP Young People's Association (YANS) 12th Symposium Venue: Okinawa Kariyushi Urban Resort Naha (Okinawa) 3-25-1 Maejima, Naha City, Okinawa Prefecture)

本発明は、分類装置、データ構造、分類方法、およびプログラムに関する。 The present invention relates to a classification device, a data structure, a classification method, and a program.

従来、ブログやWEBニュースなどの時間の経過とともに蓄積される大規模テキストストリームからの話題抽出(トピック分析)を行い、過去や新規トピックとの対応関係、トピックの進化過程を抽出する技術が知られている。 Conventionally, the technology of extracting topics (topic analysis) from large-scale text streams accumulated over time such as blogs and WEB news, and extracting correspondence with past and new topics, and the evolution process of topics has been known. ing.

特開2009-187395号公報Japanese Unexamined Patent Publication No. 2009-187395

しかしながら、従来の技術では、ニュース記事などのコンテンツを保持しておく数には限りがあり、どういったコンテンツであれば残しておくべきなのかが十分に検討されていなかった。 However, in the conventional technology, the number of contents such as news articles to be retained is limited, and what kind of contents should be retained has not been sufficiently examined.

本発明は、上記の課題に鑑みてなされたものであり、より効果的にコンテンツを選り分けることができる分類装置、データ構造、分類方法、およびプログラムを提供することを目的としている。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a classification device, a data structure, a classification method, and a program capable of more effectively sorting contents.

本発明の一態様は、新規コンテンツを取得する取得部と、前記取得部により前記新規コンテンツが取得された場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定する学習処理部と、を備える分類装置である。 In one aspect of the present invention, an acquisition unit for acquiring new content and a category to which the new content is classified by reinforcement learning when the new content is acquired by the acquisition unit are included in a plurality of existing categories. It is a classification device including a learning processing unit that determines whether to select from the above or to generate a new category and classify it into the generated category.

本発明の一態様によれば、より効果的にコンテンツを選り分けることができる分類装置、データ構造、分類方法、およびプログラムを提供することができる。 According to one aspect of the present invention, it is possible to provide a classification device, a data structure, a classification method, and a program capable of sorting contents more effectively.

実施形態の分類装置100を含むコンテンツ分類システム1の一例を示す図である。It is a figure which shows an example of the content classification system 1 including the classification apparatus 100 of an embodiment. 実施形態の分類装置100の構成の一例を示す図である。It is a figure which shows an example of the structure of the classification apparatus 100 of an embodiment. 新規コンテンツCTをカテゴリに分類する方法を説明するための図である。It is a figure for demonstrating the method of classifying a new content CT into a category. 学習処理部114による一連の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of processing by a learning processing unit 114. トピックベクトルを更新する処理を模式的に示す図である。It is a figure which shows typically the process of updating a topic vector. 新着記事と既存トピックとを入れ替える処理を模式的に示す図である。It is a figure which shows typically the process of exchanging a new article and an existing topic. 新着記事を既存トピックに分類しない処理を模式的に示す図である。It is a figure which shows typically the process which does not classify a new article into an existing topic. 本実施形態の強化学習によって得られた報酬の結果の一例を示す図である。It is a figure which shows an example of the result of the reward obtained by the reinforcement learning of this embodiment. 実施形態の分類装置100のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of the classification apparatus 100 of an embodiment.

以下、本発明を適用した分類装置、データ構造、分類方法、およびプログラムを、図面を参照して説明する。 Hereinafter, the classification device, the data structure, the classification method, and the program to which the present invention is applied will be described with reference to the drawings.

[概要]
分類装置は、一以上のプロセッサによって実現される。分類装置は、新規コンテンツを取得した場合、強化学習によってパラメータが決定された価値関数に基づいて、新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成してそのカテゴリに分類するのかを決定する。これによって、分類装置は、効果的にコンテンツを選り分けることができる。
[Overview]
The classifier is implemented by one or more processors. When the classification device acquires new content, it selects a new category from a plurality of existing categories based on the value function whose parameters are determined by reinforcement learning. Decide if you want to generate it and put it in that category. This allows the classification device to effectively sort the content.

より具体的には、分類装置は、既存の複数のカテゴリの中から一つのカテゴリを消去して新規コンテンツの分類先とする。この結果、保持しておくカテゴリの数を一定数に保ちながら、コンテンツを適したカテゴリに分類することができる。 More specifically, the classification device deletes one category from the existing plurality of categories and sets it as the classification destination of the new content. As a result, the content can be classified into suitable categories while keeping the number of categories to be retained constant.

本実施形態におけるコンテンツは、例えば、ブログやウェブサイトなどに掲載される記事であり、テキストを含むコンテンツである。また、コンテンツは、オークションなどに出品される商品またはサービスを掲載するコンテンツ(テキストと画像を含むもの)であってもよいし、投稿サイトなどに投稿される動画、画像、または音声などのコンテンツであってもよい。 The content in the present embodiment is, for example, an article posted on a blog, a website, or the like, and is content including text. In addition, the content may be content (including text and images) that posts a product or service to be put up for auction, or content such as video, image, or audio posted on a posting site or the like. There may be.

[全体構成]
図1は、実施形態の分類装置100を含むコンテンツ分類システム1の一例を示す図である。実施形態におけるコンテンツ分類システム1は、例えば、一以上の情報提供装置10(10-1~10-n;nは任意の自然数)と、分類装置100とを備える。これらの装置は、例えば、ネットワークNWを介して互いに接続される。
[overall structure]
FIG. 1 is a diagram showing an example of a content classification system 1 including the classification device 100 of the embodiment. The content classification system 1 in the embodiment includes, for example, one or more information providing devices 10 (10-1 to 10-n; n is an arbitrary natural number) and a classification device 100. These devices are connected to each other, for example, via a network NW.

図1に示す各装置は、ネットワークNWを介して種々の情報を送受信する。ネットワークNWは、例えば、無線基地局、Wi‐Fiアクセスポイント、通信回線、プロバイダ、インターネットなどを含む。なお、図1に示す各装置の全ての組み合わせが相互に通信可能である必要はなく、ネットワークNWは、一部にローカルなネットワークを含んでもよい。 Each device shown in FIG. 1 transmits and receives various information via the network NW. The network NW includes, for example, a radio base station, a Wi-Fi access point, a communication line, a provider, the Internet, and the like. It should be noted that not all combinations of the devices shown in FIG. 1 need to be able to communicate with each other, and the network NW may include a local network in part.

情報提供装置10は、例えば、上述した種々のコンテンツを配信するサーバ装置である。 The information providing device 10 is, for example, a server device that distributes the various contents described above.

分類装置100は、一以上の情報提供装置10からコンテンツを収集する。例えば、分類装置100は、情報提供装置10から配信されたコンテンツ(例えばニュース記事など)を収集する。そして、分類装置100は、収集したコンテンツをカテゴリに分類する。例えば、コンテンツがニュースサイトに掲載されるような記事である場合、分類装置100は、記事をトピック(カテゴリの一例)に分類する。 The classification device 100 collects content from one or more information providing devices 10. For example, the classification device 100 collects contents (for example, news articles) distributed from the information providing device 10. Then, the classification device 100 classifies the collected contents into categories. For example, when the content is an article to be posted on a news site, the classification device 100 classifies the article into a topic (an example of a category).

図2は、実施形態の分類装置100の構成の一例を示す図である。例えば、分類装置100は、通信部102と、制御部110と、記憶部130とを備える。 FIG. 2 is a diagram showing an example of the configuration of the classification device 100 of the embodiment. For example, the classification device 100 includes a communication unit 102, a control unit 110, and a storage unit 130.

通信部102は、例えば、NIC(Network Interface Card)等の通信インターフェースやDMA(Direct Memory Access)コントローラを含む。通信部102は、ネットワークNWを介して、情報提供装置10などと通信する。 The communication unit 102 includes, for example, a communication interface such as a NIC (Network Interface Card) and a DMA (Direct Memory Access) controller. The communication unit 102 communicates with the information providing device 10 and the like via the network NW.

制御部110は、例えば、取得部112と、学習処理部114とを備える。これらの構成要素は、例えば、CPU(Central Processing Unit)などのプロセッサが記憶部130に格納されたプログラムを実行することにより実現される。また、制御部110の構成要素の一部または全部は、LSI(Large Scale Integration)、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、またはGPU(Graphics Processing Unit)などのハードウェア(回路部;circuitry)により実現されてもよいし、ソフトウェアとハードウェアの協働によって実現されてもよい。 The control unit 110 includes, for example, an acquisition unit 112 and a learning processing unit 114. These components are realized by, for example, a processor such as a CPU (Central Processing Unit) executing a program stored in the storage unit 130. Further, some or all of the components of the control unit 110 are hardware such as LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), or GPU (Graphics Processing Unit). It may be realized by (circuit unit; circuitry), or it may be realized by the cooperation of software and hardware.

記憶部130は、例えば、HDD(Hard Disc Drive)、フラッシュメモリ、EEPROM(Electrically Erasable Programmable Read Only Memory)、ROM(Read Only Memory)、RAM(Random Access Memory)などにより実現される。記憶部130には、ファームウェアやアプリケーションプログラムなどの各種プログラムの他に、収集されたコンテンツCTや、価値関数情報FXなどが記憶される。価値関数情報FXとは、後述する価値関数を定義した情報である。 The storage unit 130 is realized by, for example, an HDD (Hard Disc Drive), a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), a ROM (Read Only Memory), a RAM (Random Access Memory), or the like. In addition to various programs such as firmware and application programs, the storage unit 130 stores the collected content CT, value function information FX, and the like. Value function information FX is information that defines a value function described later.

取得部112は、通信部102を用いて、情報提供装置10などと通信を行い、コンテンツCTを取得する。そして、取得部112は、取得したコンテンツCTを記憶部130に記憶させる。 The acquisition unit 112 uses the communication unit 102 to communicate with the information providing device 10 and the like to acquire the content CT. Then, the acquisition unit 112 stores the acquired content CT in the storage unit 130.

学習処理部114は、取得部112により新たにコンテンツCTが取得された場合、この新たなコンテンツ(以下、新規コンテンツと称する)を、強化学習と呼ばれる機械学習の手法によってパラメータが決定された価値関数に基づいてカテゴリに分類する。価値関数とは、例えば、コンテンツCTが分類されるカテゴリの現在の状態がどの程度良い状態であるのかを評価する関数である。状態の良さとは、例えば、そのカテゴリに含まれるコンテンツCTを保持した場合に将来にわたって得られる報酬の量によって決定される。 When the content CT is newly acquired by the acquisition unit 112, the learning processing unit 114 uses a value function whose parameters are determined by a machine learning method called reinforcement learning for the new content (hereinafter referred to as new content). Classify into categories based on. The value function is, for example, a function for evaluating how good the current state of the category in which the content CT is classified is. Good condition is determined, for example, by the amount of rewards that will be obtained in the future if the content CT included in that category is retained.

例えば、カテゴリに分類されたコンテンツCTが記事である場合、その記事を保持しておくことで得られる報酬は、PV(Page View)数やCTR(Click Through Rate)などであってよい。また、例えば、カテゴリに分類されたコンテンツCTが動画や画像、音声である場合、それらのコンテンツCTを保持しておくことで得られる報酬は、視聴回数や閲覧数、再生数、お気に入り登録数などであってよいし、カテゴリに分類されたコンテンツCTがオークションの出品商品などである場合、それらのコンテンツCTを保持しておくことで得られる報酬は、落札回数や落札金額、閲覧数、入札回数、入札金額などであってよい。 For example, when the content CT classified into a category is an article, the reward obtained by holding the article may be the number of PV (Page View), CTR (Click Through Rate), or the like. Further, for example, when the content CTs classified into categories are moving images, images, and sounds, the rewards obtained by holding those content CTs include the number of views, views, views, and favorites. If the content CTs classified into categories are items for auction, the rewards obtained by holding those content CTs are the number of successful bids, the amount of successful bids, the number of views, and the number of bids. , Bid amount, etc.

図3は、新規コンテンツCTをカテゴリに分類する方法を説明するための図である。図中A~Dの其々は、互いに異なるカテゴリの種類を表している。例えば、学習処理部114は、カテゴリに分類する対象の新規コンテンツCTをベクトルに変換し、このベクトル(以下、新規コンテンツベクトルと称する)を、各カテゴリをベクトル化したカテゴリベクトル、または各カテゴリに既に分類された一以上の既存コンテンツのベクトル(以下、既存コンテンツベクトルと称する)と比較することで、新規コンテンツベクトルがどのカテゴリに該当するのか、またはいずれのカテゴリにも該当しないのかを判定する。 FIG. 3 is a diagram for explaining a method of classifying the new content CT into categories. In the figure, each of A to D represents a category type different from each other. For example, the learning processing unit 114 converts the new content CT to be classified into categories into a vector, and converts this vector (hereinafter referred to as a new content vector) into a category vector obtained by vectorizing each category, or already into each category. By comparing with one or more classified existing content vectors (hereinafter referred to as existing content vectors), it is determined which category the new content vector falls into or does not fall into any category.

例えば、学習処理部114は、新規コンテンツCTがテキストである場合、TF(Term Frequency)‐IDF(Inverse Document Frequency)やOkapi BM25bなどの形態素解析手法を利用してテキストを単語(形態素)に分割し、その分割した単語の出現頻度などの統計量を各要素とする多次元ベクトルを新規コンテンツベクトルとして導出してよい。また、学習処理部114は、新規コンテンツCTが複数存在する場合、複数の新規コンテンツCTの其々を要素とするマトリクスと、複数の新規コンテンツCTのうち一つ以上のコンテンツを検索したことのある複数のユーザの其々を要素とするマトリクスとを乗算して得られる多次元ベクトルを、新規コンテンツベクトルとして導出してよい。この際、学習処理部114は、ユーザが新規コンテンツCTを閲覧した閲覧数などの統計量を、多次元のベクトルに含まれる各ユーザの要素の重みとしてよい。 For example, when the new content CT is a text, the learning processing unit 114 divides the text into words (morphemes) by using a morphological analysis method such as TF (Term Frequency) -IDF (Inverse Document Frequency) or Okapi BM25b. , A multidimensional vector whose elements are statistics such as the frequency of appearance of the divided words may be derived as a new content vector. Further, when a plurality of new content CTs exist, the learning processing unit 114 may have searched a matrix having each of the plurality of new content CTs as an element and one or more contents among the plurality of new content CTs. A multidimensional vector obtained by multiplying a matrix having each of a plurality of users as an element may be derived as a new content vector. At this time, the learning processing unit 114 may use a statistic such as the number of views of the new content CT by the user as the weight of each user's element included in the multidimensional vector.

また、学習処理部114は、主成分分析(Principal Component Analysis:PCA)やAutoEncodeなどの次元圧縮法を利用して、新規コンテンツベクトルとして導出される多次元ベクトルの次元数を減らしてもよい。 Further, the learning processing unit 114 may reduce the number of dimensions of the multidimensional vector derived as a new content vector by using a dimensional compression method such as Principal Component Analysis (PCA) or AutoEncoder.

また、学習処理部114は、単語のマトリクスとコンテンツのマトリクスとを乗算した多次元ベクトル(行列)や、コンテンツのマトリクスとユーザのマトリクスとを乗算した多次元ベクトル(行列)を、非負値行列因子分解(Non-negative Matrix Factorization:NMF)などの行列分解によって低ランクの(次元数がより少ない)行列に変更してもよい。 Further, the learning processing unit 114 uses a non-negative matrix factor as a multidimensional vector (matrix) obtained by multiplying a word matrix and a content matrix, or a multidimensional vector (matrix) obtained by multiplying a content matrix and a user matrix. It may be changed to a low rank (less number of dimensions) matrix by matrix decomposition such as decomposition (Non-negative Matrix Factorization: NMF).

また、学習処理部114は、新規コンテンツCTがテキストである場合、テキスト内のある着目する単語の前後に出現する単語を予測するタスクを学習するword2vecやdoc2vecといったアルゴリズムを利用することで、新規コンテンツベクトルの各要素とする特徴ベクトルを副次的に得てもよい。 Further, when the new content CT is a text, the learning processing unit 114 uses algorithms such as word2vec and doc2vec to learn a task of predicting a word appearing before and after a word of interest in the text, thereby using the new content. A feature vector as each element of the vector may be obtained as a secondary.

また、学習処理部114は、新規コンテンツをカテゴリに分類する際に参照する価値関数のパラメータを、強化学習によって学習(決定)する。例えば、学習処理部114は、Q学習(Q-learning)と呼ばれる強化学習手法を利用して、新規コンテンツをカテゴリに分類したときに得られる報酬を基に、価値関数のパラメータを再決定する。強化学習の詳細については後述する。 Further, the learning processing unit 114 learns (determines) the parameters of the value function referred to when classifying the new content into categories by reinforcement learning. For example, the learning processing unit 114 redetermines the parameters of the value function based on the reward obtained when the new content is classified into categories by using a reinforcement learning method called Q-learning. The details of reinforcement learning will be described later.

[カテゴリ分類処理]
以下、フローチャートに即して学習処理部114によるカテゴリ分類の処理の流れを説明する。図4は、学習処理部114による一連の処理の流れを示すフローチャートである。本フローチャートの処理は、例えば、取得部112により新規コンテンツCTが取得された場合に実行される。以下のフローチャートの説明では、一例として、コンテンツCTが「記事」であるものとし、更に、その記事のカテゴリが「トピック」であるものとして説明する。
[Category classification processing]
Hereinafter, the flow of the category classification processing by the learning processing unit 114 will be described according to the flowchart. FIG. 4 is a flowchart showing a flow of a series of processes by the learning process unit 114. The process of this flowchart is executed, for example, when a new content CT is acquired by the acquisition unit 112. In the following description of the flowchart, as an example, the content CT is assumed to be an "article", and the category of the article is assumed to be a "topic".

まず、学習処理部114は、取得部112により新着記事(新規コンテンツCTの一例)がある時刻tに取得されると、式(1)に基づいて、新着記事をベクトル化した新着記事ベクトルxと、複数の既存トピックの其々のトピックkをベクトル化したトピックベクトルxとの類似度を導出し、トピックベクトルxごとに導出した類似度のうち、最も大きい類似度が閾値s以上であるのか否かを判定する(S100)。式中、Tは転置を表している。 First, when the learning processing unit 114 acquires a new article (an example of a new content CT) at a certain time t by the acquisition unit 112, the new article vector x 0 is a vector of the new article based on the equation (1). And, the similarity with the topic vector x k obtained by vectorizing each topic k of a plurality of existing topics is derived, and among the similarity derived for each topic vector x k , the largest similarity is the threshold value s or more. It is determined whether or not there is (S100). In the formula, T represents transposition.

Figure 0007043243000001
Figure 0007043243000001

トピックベクトルxは、例えば、トピックkに既に分類された一以上の記事(以下、既存記事と称する)の其々がベクトル化された既存記事ベクトルの集合を平均したベクトルである。この際、各既存記事ベクトルには重みが付与され、トピックベクトルxは、複数の既存記事ベクトルの重み付き平均であってよい。この場合、重みは、例えば、記事の鮮度(入稿時点からの時間の短さ)に応じて大きくなるように設定されるとよい。 The topic vector x k is, for example, a vector obtained by averaging a set of existing article vectors in which one or more articles (hereinafter referred to as existing articles) already classified into the topic k are vectorized. At this time, a weight is given to each existing article vector, and the topic vector x k may be a weighted average of a plurality of existing article vectors. In this case, the weight may be set to increase according to the freshness of the article (short time from the time of submission), for example.

例えば、既存記事ベクトルの集合平均であるトピックベクトルxは式(2)によって表される。Kは、既存トピックの総数を表し、kは、K個のトピックのうち着目するトピックを表している。例えば、図3の例では、A~Dのトピック(カテゴリの一例)が存在するため、Kは4となる。 For example, the topic vector x k , which is the set average of existing article vectors, is expressed by Eq. (2). K represents the total number of existing topics, and k represents the topic of interest among the K topics. For example, in the example of FIG. 3, since the topics A to D (an example of the category) exist, K is 4.

Figure 0007043243000002
Figure 0007043243000002

式(1)に示すように、例えば、学習処理部114は、K個のトピックベクトルの集合{x}中から着目する1つのトピックベクトルxを選択し、転置した新着記事ベクトルxと、選択したトピックベクトルxとのコサイン類似度を導出する。この際、新着記事ベクトルxと、トピックベクトルxとは、例えば、同じ基底(基底ベクトル)の線形和によって表されるものとする。 As shown in the equation (1), for example, the learning processing unit 114 selects one topic vector x k of interest from the set {x k } of K topic vectors, and transposes the new article vector x 0 . , Derives the cosine similarity with the selected topic vector x k . At this time, it is assumed that the new article vector x 0 and the topic vector x k are represented by, for example, a linear sum of the same basis (base vector).

学習処理部114は、K個のトピックベクトルの集合{x}の中から、前回選択したトピックベクトルxと異なる1つのトピックベクトルxk+1を選択し、再度、転置した新着記事ベクトルxとのコサイン類似度を導出する。学習処理部114は、この処理をK回繰り返すことで、各トピックベクトルxについて、新着記事ベクトルxとのコサイン類似度を導出する。そして、学習処理部114は、トピックベクトルxごとに導出したコサイン類似度のうち、最も大きいコサイン類似度が閾値s以上であるのか否かを判定する。 The learning processing unit 114 selects one topic vector x k + 1 , which is different from the previously selected topic vector x k , from the set of K topic vectors {x k }, and again with the transposed new article vector x 0 . Derivation of the cosine similarity of. By repeating this process K times, the learning processing unit 114 derives the cosine similarity with the new article vector x 0 for each topic vector x k . Then, the learning processing unit 114 determines whether or not the largest cosine similarity among the cosine similarity derived for each topic vector x k is the threshold value s or more.

学習処理部114は、最も大きい類似度(例えばコサイン類似度)が閾値s以上であると判定した場合、新着記事が既存トピックの続報であると判定し、式(3)に基づいて、1~Kまでの複数のトピックの中から、新着記事ベクトルxとの類似度が最も大きい既存のトピックベクトルxに対応した1つのトピックを選択する(S102)。 When the learning processing unit 114 determines that the maximum similarity (for example, cosine similarity) is equal to or higher than the threshold value s, the learning processing unit 114 determines that the new article is a follow-up report of an existing topic, and based on the equation (3), 1 to 1 to From a plurality of topics up to K, one topic corresponding to the existing topic vector x k having the highest similarity to the new article vector x 0 is selected (S102).

Figure 0007043243000003
Figure 0007043243000003

式(3)におけるk(-)は、新着記事ベクトルxとの類似度が最も大きい既存のトピックベクトルxに対応した既存トピックを表している。なお、(-)は、記号のバーを表すものとする。 The k (-) in the equation (3) represents an existing topic corresponding to the existing topic vector x k having the highest degree of similarity to the new article vector x 0 . In addition, (-) represents a bar of a symbol.

次に、学習処理部114は、既存トピックの続報として判定した新着記事を既存トピックに分類し、価値関数情報FXが示す価値関数に基づいて、選択した既存のトピックk(-)のトピックベクトルxk(-)を更新する(S104)。 Next, the learning processing unit 114 classifies the new article determined as a follow-up report of the existing topic into the existing topic, and based on the value function indicated by the value function information FX, the topic vector x of the selected existing topic k (-). Update k (−) (S104).

例えば、学習処理部114は、式(4)に基づいて、新着記事ベクトルxと、既存トピックk(-)をベクトル化したトピックベクトルxk(-)との重み付き和を導出し、このトピックベクトルxk(-)を、各ベクトルの重み付き和で表されるベクトルに変更する。 For example, the learning processing unit 114 derives a weighted sum of the new article vector x 0 and the topic vector x k (-) obtained by vectorizing the existing topic k (-) based on the equation (4). Change the topic vector x k (-) to a vector represented by the weighted sum of each vector.

Figure 0007043243000004
Figure 0007043243000004

式(4)におけるα(-)は、新着記事ベクトルxの重みを表し、(1-α(-))は、トピックベクトルxk(-)の重みを表している。重みα(-)は、例えば、式(5)によって導出されてよい。 Α (−) in the equation (4) represents the weight of the new article vector x 0 , and (1-α (−)) represents the weight of the topic vector x k (−) . The weight α (−) may be derived, for example, by the equation (5).

Figure 0007043243000005
Figure 0007043243000005

式(5)におけるV({x})は、トピックkの価値関数を表している。価値関数は、例えば、V(x;{x.},t)として定義される。例えば、学習処理部114は、式(5)において、トピックkの価値関数によって導出される値、すなわちトピックkの価値が最大となる新着記事ベクトルxの重みαを、式(4)の重みα(-)として決定する。 V ({x k }) in equation (5) represents the value function of topic k. The value function is defined as, for example, V (x k ; {x.}, T). For example, in the equation (5), the learning processing unit 114 sets the value derived by the value function of the topic k, that is, the weight α of the new article vector x 0 that maximizes the value of the topic k, to the weight α of the equation (4). Determined as α (-).

図5は、トピックベクトルを更新する処理を模式的に示す図である。例えば、ベクトル空間が二次元空間である場合、既存トピックA~Dは円として表される。この各トピックに対応した円内部の空間では、トピックとの類似度が閾値s以上となることを表している。例えば、新着記事が既存トピックA~Dのうち、既存トピックB内に含まれる場合、新着記事との類似度が最も大きくなるトピックは、トピックBとなる。この場合、新着記事とトピックBとの重み付き和がトピックベクトルとして表されたトピックB#が、新しいトピックBとなる。すなわち、新着記事が分類されたトピックは、基底ベクトルによって表現されるベクトル空間内において、そのトピックに含まれる記事の記事ベクトルを包含する部分空間として、削除されたトピックに含まれる記事の記事ベクトルを包含する部分空間からシフト移動する。 FIG. 5 is a diagram schematically showing a process of updating a topic vector. For example, if the vector space is a two-dimensional space, the existing topics A to D are represented as circles. In the space inside the circle corresponding to each topic, it indicates that the similarity with the topic is equal to or higher than the threshold value s. For example, when a new article is included in the existing topic B among the existing topics A to D, the topic having the highest degree of similarity to the new article is the topic B. In this case, the topic B # in which the weighted sum of the new article and the topic B is represented as a topic vector becomes the new topic B. That is, the topic in which the new article is classified has the article vector of the article included in the deleted topic as a subspace containing the article vector of the article contained in the topic in the vector space represented by the basis vector. Shift from the contained subspace.

このように、学習処理部114は、新着記事が既存トピックのいずれかと類似している場合、新着記事が既存トピックに関連する話題の記事であると判定し、この新着記事を既存トピックに分類する。そして、学習処理部114は、新着記事の分類先の既存トピックのトピックベクトルを変更し、既存トピックの性質を更新する。これによって、例えば、ある話題で共通する複数の記事が立て続けに取得された場合、後に取得された記事ほど、先に取得された記事が分類されたトピックに類似しやすくなるため、記事のトレンド(流行)に合わせてトピックの性質を変化させることができる。この結果、記事の分類精度を向上させることができる。 In this way, when the new article is similar to any of the existing topics, the learning processing unit 114 determines that the new article is an article of a topic related to the existing topic, and classifies this new article into the existing topic. .. Then, the learning processing unit 114 changes the topic vector of the existing topic to which the new article is classified, and updates the property of the existing topic. As a result, for example, when multiple articles that are common to a topic are acquired in quick succession, the articles acquired later are more likely to resemble the topics in which the articles acquired earlier are classified. The nature of the topic can be changed according to the trend). As a result, the accuracy of article classification can be improved.

一方、学習処理部114は、S100の処理において、最も大きい類似度(例えばコサイン類似度)が閾値s未満であると判定した場合、新着記事が既存トピックの続報ではなく、新しいトピックの記事であると判定し、新着記事を新たなトピックとしたときの全トピックの集合(K+1)の中から、任意の1つのトピックk´を選択する(S106)。 On the other hand, when the learning processing unit 114 determines that the maximum similarity (for example, cosine similarity) is less than the threshold value s in the processing of S100, the new article is not a follow-up report of the existing topic but an article of the new topic. Is determined, and any one topic k'is selected from the set of all topics (K + 1) when the new article is set as a new topic (S106).

次に、学習処理部114は、全トピックの集合(K+1)の中から、選択したトピックk´を除き、そのトピックk´を除いた残りの複数のトピックを組み合わせる(S108)。 Next, the learning processing unit 114 excludes the selected topic k'from the set of all topics (K + 1), and combines the remaining plurality of topics excluding the topic k'(S108).

次に、学習処理部114は、価値関数情報FXが示す価値関数に基づいて、組み合わせた複数のトピックの其々の価値を導出し、これらの価値の総和を導出する(S110)。例えば、トピックの価値の総和は、式(6)によって表現されてよい。 Next, the learning processing unit 114 derives the value of each of the combined plurality of topics based on the value function indicated by the value function information FX, and derives the sum of these values (S110). For example, the sum of the values of a topic may be expressed by equation (6).

Figure 0007043243000006
Figure 0007043243000006

次に、学習処理部114は、トピックの集合(K+1)の中で、全ての組み合わせについて、トピックの価値の総和を導出したか否かを判定し(S112)、未だ全ての組み合わせについて、トピックの価値の総和を導出していないと判定した場合、S106の処理に戻り、前回と異なるトピックをトピックk´として選択する。 Next, the learning processing unit 114 determines whether or not the sum of the values of the topics has been derived for all the combinations in the set of topics (K + 1) (S112), and the topic is still for all the combinations. If it is determined that the sum of values has not been derived, the process returns to S106 and a topic different from the previous one is selected as the topic k'.

一方、学習処理部114は、全ての組み合わせについて、トピックの価値の総和を導出したと判定した場合、トピックの価値の総和が最大となるトピックの組み合わせ時に除いていたトピックk´を選択する(S114)。 On the other hand, when the learning processing unit 114 determines that the sum of the values of the topics has been derived for all the combinations, the learning processing unit 114 selects the topic k'excluded at the time of the combination of the topics having the maximum sum of the values of the topics (S114). ).

例えば、学習処理部114は、上述したS106からS114までの処理を、式(7)に基づいて行ってよい。 For example, the learning processing unit 114 may perform the above-mentioned processing from S106 to S114 based on the equation (7).

Figure 0007043243000007
Figure 0007043243000007

式(7)におけるk(-)は、あるトピックk´のトピックベクトルxk´を除いたときに、残りのトピックベクトルxを組み合わせた複数のトピックベクトルの集合{x}の価値の総和V{x}(式(6)参照)が最大となる場合、そのトピックベクトルの集合{x}として複数のトピックベクトルxを組み合わせたときに除いておいたトピックベクトルxk´に対応したトピックk´を表している。また、式(7)におけるk´=0は、新着記事ベクトルxのことを表している。 K (-) in the equation (7) is the sum of the values of a set of a plurality of topic vectors {x k } in which the remaining topic vectors x k are combined when the topic vector x k'of a certain topic k'is excluded. When V {x k } (see equation (6)) becomes maximum, it corresponds to the topic vector x k'excluded when a plurality of topic vectors x k are combined as a set {x k } of the topic vectors. Represents the topic k'. Further, k'= 0 in the equation (7) represents the new article vector x 0 .

次に、学習処理部114は、トピックk(-)が既存トピックであるのか否かを判定する(S116)。例えば、学習処理部114は、S106の処理で、全トピックの集合(K+1)の中から、既存トピックをトピックk´として選択し、更に、このトピックk´が、価値の総和V{x}が最大となったときに除かれていたトピックk(-)であった場合、トピックk(-)が既存トピックであると判定する。 Next, the learning processing unit 114 determines whether or not the topic k (−) is an existing topic (S116). For example, the learning processing unit 114 selects an existing topic as the topic k'from the set of all topics (K + 1) in the processing of S106, and further, this topic k'is the total value V {x k }. If the topic k (-) was excluded when was maximized, it is determined that the topic k (-) is an existing topic.

一方、学習処理部114は、S106の処理で、全トピックの集合(K+1)の中から、1つのトピックとして扱った新着記事をトピックk´として選択し、更に、このトピックk´が、価値の総和V{x}が最大となったときに除かれていたトピックk(-)であった場合、トピックk(-)が既存トピックではなく、新着記事であると判定する。 On the other hand, the learning processing unit 114 selects a new article treated as one topic from the set of all topics (K + 1) as the topic k'in the processing of S106, and further, this topic k'is of value. If the topic k (-) was excluded when the sum V {x k } was maximized, it is determined that the topic k (-) is not an existing topic but a new article.

学習処理部114は、トピックk(-)が既存トピックであると判定した場合、すなわち、いずれかの既存トピックを除いたときに、少なくとも新着記事を含むトピックの集合の価値の総和が最大となった場合、式(8)に基づいて、新着記事を、トピックk(-)として選択された既存トピックと入れ替える(S118)。 When the learning processing unit 114 determines that the topic k (-) is an existing topic, that is, when any of the existing topics is excluded, at least the sum of the values of the set of topics including the new article becomes the maximum. If so, the new article is replaced with the existing topic selected as the topic k (−) based on the formula (8) (S118).

Figure 0007043243000008
Figure 0007043243000008

例えば、学習処理部114は、式(8)に示すように、トピックk(-)として選択した既存トピックのトピックベクトルxk(-)を、新着記事ベクトルxに定義し直すことで、新着記事と既存トピックとを入れ替える。 For example, the learning processing unit 114 redefines the topic vector x k (-) of the existing topic selected as the topic k (-) to the new article vector x 0 , as shown in the equation (8). Swap articles with existing topics.

図6は、新着記事と既存トピックとを入れ替える処理を模式的に示す図である。例えば、新着記事と各既存トピックとの類似度が閾値s未満である場合、図示の例のように、新着記事は、いずれのトピックにも含まれない。このとき、例えば、既存トピックCを除いて新着記事を含めたトピックの集合の価値の総和が最大となった場合、学習処理部114は、図示の例のように、既存トピックCを破棄(消去)し、新着記事を新たなトピックC#として追加する。 FIG. 6 is a diagram schematically showing a process of replacing a new article with an existing topic. For example, when the similarity between the new article and each existing topic is less than the threshold value s, the new article is not included in any of the topics as shown in the illustrated example. At this time, for example, when the total value of the set of topics including new articles excluding the existing topic C becomes the maximum, the learning processing unit 114 discards (deletes) the existing topic C as shown in the illustrated example. ) And add the new article as a new topic C #.

一方、学習処理部114は、トピックk(-)が既存トピックではなく、新着記事であると判定した場合、すなわち、新着記事を除いたときに、既存トピックのみを含むトピックの集合の価値の総和が最大となった場合、新着記事を、既存トピックのいずれにも分類せずに破棄する(S120)。これによって本フローチャートの処理が終了する。 On the other hand, when the learning processing unit 114 determines that the topic k (-) is not an existing topic but a new article, that is, when the new article is excluded, the sum of the values of the set of topics including only the existing topic. When is the maximum, the new article is discarded without being classified into any of the existing topics (S120). This ends the processing of this flowchart.

図7は、新着記事を既存トピックに分類しない処理を模式的に示す図である。例えば、新着記事と各既存トピックとの類似度が閾値s未満である場合、図示の例のように、新着記事は、いずれの既存トピックにも含まれない。このとき、例えば、新着記事を除いた既存トピックA~Dの集合の価値の総和が最大となった場合、学習処理部114は、図示の例のように、新着記事をいずれの既存トピックにも分類せず、この新着記事を破棄する。 FIG. 7 is a diagram schematically showing a process of not classifying a new article into an existing topic. For example, when the similarity between the new article and each existing topic is less than the threshold value s, the new article is not included in any of the existing topics as shown in the illustrated example. At this time, for example, when the sum of the values of the sets of the existing topics A to D excluding the new articles is maximized, the learning processing unit 114 puts the new articles into any existing topic as shown in the illustrated example. Discard this new article without classifying it.

[価値関数の強化学習]
以下、学習処理部114による価値関数の強化学習について説明する。例えば、学習処理部114は、Q学習の手法を利用して、上述した価値関数Vのパラメータを学習する。以下に説明する価値関数Vは、例えば、入力層と、一以上の中間層(隠れ層)と、出力層とをもつニューラルネットワークによって実現されるものとする。価値関数情報FXには、例えば、ニューラルネットワークを構成するニューロン(ユニット)の結合情報や結合係数(後述するニューラルネットワークのモデルパラメータ)などの各種情報が含まれる。例えば、入力層のユニット数は6つ以上とし、出力層のユニット数を1つとし、中間層は3層以上とし、各中間層のユニット数を128とし、中間層の各層間において全てのユニット同士を互いに結合させるものとする。また、各中間層のユニットの活性化関数は、正規化線形関数(ReLU関数)であってもよいし、シグモイド関数や、ステップ関数、その他の関数などであってもよい。
[Reinforcement learning of value function]
Hereinafter, reinforcement learning of the value function by the learning processing unit 114 will be described. For example, the learning processing unit 114 learns the parameters of the value function V described above by using the Q-learning method. It is assumed that the value function V described below is realized by, for example, a neural network having an input layer, one or more intermediate layers (hidden layers), and an output layer. The value function information FX includes various information such as connection information of neurons (units) constituting the neural network and connection coefficients (model parameters of the neural network described later). For example, the number of units in the input layer is 6 or more, the number of units in the output layer is 1, the number of intermediate layers is 3 or more, the number of units in each intermediate layer is 128, and all the units in each layer of the intermediate layer. They shall be connected to each other. Further, the activation function of the unit of each intermediate layer may be a rectified linear function (ReLU function), a sigmoid function, a step function, or other functions.

例えば、ニューラルネットワークの入力層には、以下の複数の素性のうち一部または全部が入力され、その(それらの)入力に応じて出力層から既存トピックの価値を示す値が出力されるように構成される。すなわち、価値関数は、以下の複数の素性のうち一部または全部を変数とする関数であってよい。 For example, the input layer of a neural network is input with some or all of the following multiple elements, and the output layer outputs a value indicating the value of an existing topic according to the input (these). It is composed. That is, the value function may be a function in which some or all of the following plurality of elements are variables.

素性1:既存トピックに含まれる記事のベクトルの重み付き平均値。
素性2:全記事のベクトルの重み付き平均値。
素性3:既存トピックとの類似度のうち、値の大きい上位所定数の類似度。
素性4:トピックが生成されてから経過した時間。
素性5:既存トピックに新着記事が最後に分類されてから経過した時間。
素性6:既存トピックに含まれる記事数。
Identity 1: Weighted average value of the vector of articles contained in the existing topic.
Identity 2: Weighted average of all article vectors.
Identity 3: The degree of similarity with the upper predetermined number of high values among the degree of similarity with existing topics.
Identity 4: Time elapsed since the topic was created.
Identity 5: The time elapsed since the last new article was classified into an existing topic.
Identity 6: The number of articles included in the existing topic.

例えば、素性1は、既存トピックの基準となるベクトル(トピックベクトル)を表しており、式(4)のように、既存トピックに含まれる一以上の記事の其々の記事ベクトルの重み付き平均で表される。 For example, element 1 represents a vector (topic vector) that serves as a reference for an existing topic, and is a weighted average of each article vector of one or more articles included in the existing topic as shown in equation (4). expressed.

例えば、素性2は、トピックに関係なく、全ての記事ベクトルの重み付き平均で表される。このとき、各記事ベクトルには、取得時刻が早いものほど大きな重みが付与されてよい。例えば、記事Aが取得された後に記事Bが取得された場合、記事Bの記事ベクトルの重みは、記事Aの記事ベクトルの重みよりも大きくてよい。これによって、今入稿されている記事のトレンドと、既存トピックのトレンドとを比較することができる。 For example, identity 2 is represented by a weighted average of all article vectors, regardless of topic. At this time, the earlier the acquisition time, the larger the weight may be given to each article vector. For example, when the article B is acquired after the article A is acquired, the weight of the article vector of the article B may be larger than the weight of the article vector of the article A. This allows you to compare trends in articles that are currently being submitted with trends in existing topics.

例えば、素性3は、新着記事に対する複数の既存トピックの其々の類似度のうち、上位5つといった所定数の類似度で表される。学習処理部114は、類似度が大きいほど出力される価値が大きくなるようにニューラルネットワークを学習させる。素性3として、全ての類似度を入力せず、上位所定数の類似度のみを入力することで、既存トピックの数Kが変動しても同じニューラルネットワークを継続して利用することができる。 For example, the identity 3 is represented by a predetermined number of similarities, such as the top five, among the similarities of the plurality of existing topics to the new article. The learning processing unit 114 trains the neural network so that the output value increases as the degree of similarity increases. By inputting only the upper predetermined number of similarities without inputting all the similarities as the element 3, the same neural network can be continuously used even if the number K of the existing topic fluctuates.

例えば、素性4および5は経過時間で表され、学習処理部114は、後述するQ学習によってニューラルネットワークのパラメータを更新することで、これらの経過時間が長いほど出力される価値が小さくなるようにニューラルネットワークを学習させる。 For example, the elements 4 and 5 are represented by elapsed time, and the learning processing unit 114 updates the parameters of the neural network by Q-learning, which will be described later, so that the longer these elapsed times are, the smaller the output value becomes. Train a neural network.

例えば、素性6は記事数で表され、学習処理部114は、Q学習によってニューラルネットワークのパラメータを更新することで、この記事数が多いほど出力される価値が大きくなるようにニューラルネットワークを学習させる。 For example, the element 6 is represented by the number of articles, and the learning processing unit 114 updates the parameters of the neural network by Q-learning so that the larger the number of articles, the greater the output value. ..

学習処理部114は、Q学習の手法を応用した式(9)に基づいて、ニューラルネットワークのパラメータθを決定する。式(9)は、強化学習の対象とする問題がモデル化されたものである。パラメータθとは、ある時刻tにおけるニューラルネットワークのモデルパラメータを表している。モデルパラメータは、例えば、ニューラルネットワークの中間層において、ある層のユニットから、より深い層のユニットにデータが出力される際に、出力データに対して付与される重みを含む。また、ニューラルネットワークのモデルパラメータは、各層の固有のバイアス成分などを含んでもよい。 The learning processing unit 114 determines the parameter θ of the neural network based on the equation (9) to which the Q-learning method is applied. Equation (9) is a model of the problem targeted for reinforcement learning. The parameter θ represents a model parameter of the neural network at a certain time ti . The model parameters include, for example, in the middle layer of the neural network, the weight given to the output data when the data is output from the unit of one layer to the unit of the deeper layer. Further, the model parameters of the neural network may include a bias component peculiar to each layer.

Figure 0007043243000009
Figure 0007043243000009

式(9)における第1項のr(k,ti+1)は、ある時刻tよりも時間が進んだ将来の時刻ti+1において、既存トピックkに新着記事が追加された場合に加算される報酬を表している。時刻tおよび時刻ti+1は、新着記事が投稿サイトなどに入稿された時刻、または投稿サイトなどに入稿された新着記事が取得部112によって取得された時刻を表している。時刻ti+1において、既存トピックkに新着記事が追加(分類)されない場合、r(k,ti+1)の項は0となる。なお、報酬rは、1または0のような予め決められた定数であってもよいし、PV数のように実際に得られた何らかの実測値であってもよい。 The first term r (k, ti + 1 ) in the equation (9) is added when a new article is added to the existing topic k at a future time ti + 1 that is ahead of a certain time ti + 1. It represents a reward. The time ti and the time ti + 1 represent the time when the new article is submitted to the posting site or the like, or the time when the new article submitted to the posting site or the like is acquired by the acquisition unit 112. If no new article is added (classified) to the existing topic k at time ti + 1 , the term of r (k, ti + 1 ) becomes 0. The reward r may be a predetermined constant such as 1 or 0, or may be some actually obtained measured value such as the number of PVs.

また、式(9)における第2項のVθ´(x;{x.},ti+1)は、時刻ti+1における既存トピックkの価値(予測値)を表している。θ´は、時刻ti+1におけるニューラルネットワークのモデルパラメータを表している。第2項のVθ´は、「第1価値」の一例である。 Further, V θ '(x k ; {x.}, Ti + 1 ) of the second term in the equation (9) represents the value (predicted value) of the existing topic k at the time ti + 1 . θ'represents the model parameters of the neural network at time ti + 1 . The second term V θ'is an example of the “first value”.

また、第2項のe^γ(ti+1-t)は、時刻ti+1における既存トピックkの価値を低下させる係数項(割引率)を表している。γは負の定数であり、新着記事の取得間隔(ti+1-t)が大きくなるほどeの値が小さくなる。すなわち、第2項の係数項eは、新着記事の取得間隔(ti+1-t)が大きくなるほど、将来の時刻ti+1における既存トピックkの価値をより低下させる。 Further, the second term e ^ γ (ti + 1 − ti) represents a coefficient term (discount rate) that reduces the value of the existing topic k at the time ti + 1 . γ is a negative constant, and the value of e decreases as the acquisition interval (ti + 1 − ti) of new articles increases. That is, the coefficient term e of the second term further reduces the value of the existing topic k at the future time ti + 1 as the acquisition interval (ti + 1 − ti) of the new article increases.

式(9)における第3項のVθ(x;{x.},t)は、時刻tにおける既存トピックkの価値(予測値)を表している。θは、時刻tにおけるニューラルネットワークのモデルパラメータを表している。ニューラルネットワークのモデルパラメータは、時間が経過するのに応じて誤差逆伝搬によって更新されるため、上述したθ´とθは、互いに異なるパラメータを表している。すなわち、第3項Vθは、時刻ti+1において使用されるパラメータθ´に更新される前のパラメータθによって調整されたニューラルネットワークにより出力される既存トピックkの価値を表している。第3項のVθは、「第2価値」の一例である。 The V θ (x k ; {x. } , Ti) of the third term in the equation (9) represents the value (predicted value) of the existing topic k at the time ti. θ represents the model parameter of the neural network at time ti . Since the model parameters of the neural network are updated by error backpropagation over time, θ'and θ described above represent parameters that are different from each other. That is, the third term V θ represents the value of the existing topic k output by the neural network adjusted by the parameter θ before being updated to the parameter θ ′ used at time ti + 1 . V θ in the third term is an example of “second value”.

例えば、現在時刻が時刻tであるものとしたときに、学習処理部114が、将来時刻ti+1において、上述したフローチャートの処理に従って新着記事を既存トピックに分類すると予測する。この場合、学習処理部114は、式(9)を参照し、予測した将来時刻ti+1における報酬(第1項)と、予測した将来時刻ti+1における既存トピックkの価値(第2項)との和を導出する。この際、学習処理部114は、時刻tから時刻ti+1までの時間差に応じて、予測した将来時刻ti+1における既存トピックkの価値を低下させる。そして、学習処理部114は、導出した和から、現在時刻tにおける既存トピックkの価値(第3項)を減算した値の二乗が最小となるパラメータθを探索する。 For example, assuming that the current time is time ti + 1, it is predicted that the learning processing unit 114 classifies new articles into existing topics according to the processing of the above-mentioned flowchart at the future time ti + 1 . In this case, the learning processing unit 114 refers to the equation (9), and determines the reward at the predicted future time ti + 1 (first term) and the value of the existing topic k at the predicted future time ti + 1 (second term). Is derived. At this time, the learning processing unit 114 reduces the value of the existing topic k at the predicted future time ti + 1 according to the time difference from the time ti + 1. Then, the learning processing unit 114 searches for the parameter θ that minimizes the square of the value obtained by subtracting the value (third term) of the existing topic k at the current time ti from the derived sum.

学習処理部114は、探索の結果得られたパラメータθとなるように、誤差逆伝搬によってニューラルネットワークの重みを調整する。これによって、異なる時点における既存トピックkの価値の差分が小さくなるように、現在時点tにおいて予測された既存トピックkの価値が修正される。例えば、学習処理部114は、上述したフローチャートの処理が実行される度に、コンテンツの分類結果をフィードバックさせながら、強化学習によって価値関数Vのパラメータθを更新する。このような処理によって、カテゴリ分類時に、強化学習によってパラメータθが決定された価値関数Vが参照されることになるため、コンテンツの分類精度を向上させることができる。 The learning processing unit 114 adjusts the weight of the neural network by error back propagation so that the parameter θ obtained as a result of the search is obtained. As a result, the value of the existing topic k predicted at the current time point ti is modified so that the difference in the value of the existing topic k at different time points becomes small. For example, the learning processing unit 114 updates the parameter θ of the value function V by reinforcement learning while feeding back the classification result of the content each time the processing of the above-mentioned flowchart is executed. By such processing, the value function V whose parameter θ is determined by reinforcement learning is referred to at the time of category classification, so that the content classification accuracy can be improved.

図8は、本実施形態の強化学習によって得られた報酬の結果の一例を示す図である。図中の縦軸は、式(9)の報酬rの値(スコア)を表し、横軸は、強化学習を継続した時間を表している。また、図中LN1は、本実施形態の強化学習によって得られた各トピックの報酬rの総和の変化を表し、LN2は、新着記事を優先的に残すようにしたときの各トピックの報酬rの総和の変化を表している。また、図中LN3は、最後に記事が分類されてから経過した時間が最も長いトピック(最も古いトピック)と新着記事とを入れ替えるようにしたときの各トピックの報酬rの総和の変化を表し、LN4は、最も記事数が少ないトピックと新着記事とを入れ替えるようにしたときの各トピックの報酬rの総和の変化を表している。また図中LN5は、ベクトル空間において、他のトピックと空間領域が被らないトピックほど優先的に残すようにしたときの各トピックの報酬rの総和の変化を表している。これらの各報酬rの総和は、所定値によって正規化されている。所定値は、新着記事が取得された場合に、K個のトピックのうちランダムに選んだいずれか1つのトピックと新着記事とを入れ替えるようにしたときの各トピックの報酬rの総和である。 FIG. 8 is a diagram showing an example of the result of the reward obtained by the reinforcement learning of the present embodiment. The vertical axis in the figure represents the value (score) of the reward r in the equation (9), and the horizontal axis represents the time during which reinforcement learning is continued. Further, LN1 in the figure represents a change in the total sum of rewards r of each topic obtained by reinforcement learning of the present embodiment, and LN2 is a reward r of each topic when new articles are preferentially left. It represents a change in sum. In addition, LN3 in the figure represents the change in the sum of rewards r for each topic when the topic with the longest time elapsed since the last article was classified (the oldest topic) and the new article are replaced. LN4 represents the change in the sum of the rewards r of each topic when the topic with the smallest number of articles is replaced with the new article. Further, LN5 in the figure represents a change in the sum of rewards r of each topic when the topic that does not cover the space area with other topics is preferentially left in the vector space. The sum of each of these rewards r is normalized by a predetermined value. The predetermined value is the sum of the rewards r of each topic when a new article is acquired and one of the randomly selected topics out of the K topics is replaced with the new article.

図示の例のように、ある程度の時間が経過した場合、LN1は、LN2~5の全てよりスコアが高くなっており、LN2~5のヒューリスティックな手法に比べて、本実施形態における強化学習の方が実際に得られる報酬を多くすることができる。 As shown in the illustrated example, when a certain amount of time has passed, LN1 has a higher score than all of LN2 to 5, and the reinforcement learning in this embodiment is compared with the heuristic method of LN2 to 5. Can actually get more rewards.

以上説明した実施形態によれば、新規コンテンツ(例えば新着記事)を取得する取得部112と、取得部112により新規コンテンツが取得された場合、強化学習によってパラメータが学習された価値関数に基づいて、新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成してそのカテゴリに分類するのかを決定する学習処理部114とを備えることによって、価値が最も小さくなることが予測されるカテゴリ(例えばトピック)から優先的に消去するができる。この結果、例えば、最も古いカテゴリから順に消去していくようなヒューリスティックな手法を採用するよりも、残しておくべきコンテンツとそうでないコンテンツとをより効率良く選り分けることができる。 According to the embodiment described above, when the acquisition unit 112 for acquiring new content (for example, a new article) and the acquisition unit 112 acquire new content, the parameters are learned by reinforcement learning based on the value function. It is most valuable by having a learning processing unit 114 that determines whether to select the category to which the new content is classified from among a plurality of existing categories or to generate a new category and classify it into that category. It can be preferentially deleted from categories (for example, topics) that are expected to become smaller. As a result, for example, it is possible to more efficiently sort out the contents that should be kept and the contents that should not be kept, rather than adopting a heuristic method in which the oldest category is deleted in order.

また、上述した実施形態によれば、新着記事を既存トピックに分類する場合、その既存トピックを表すトピックベクトルを変更するため、入稿される記事のトレンドに合わせてトピックの性質を変化させることができる。この結果、記事の分類精度を向上させることができる。また、記事の代わりに、オークションに出品された商品などをコンテンツとした場合、出品トレンドに合わせてカテゴリの性質を変化させることができる。 Further, according to the above-described embodiment, when a new article is classified into an existing topic, the topic vector representing the existing topic is changed, so that the nature of the topic can be changed according to the trend of the submitted article. can. As a result, the accuracy of article classification can be improved. In addition, when the content is a product put up for auction instead of an article, the nature of the category can be changed according to the selling trend.

また、上述した実施形態によれば、価値が最も小さくなることが予測されるトピックと新規コンテンツとを入れ替えるため、カテゴリを新規に作成することができる。例えば、一般的なカテゴリ分類の手法は、予め性質が規定されたカテゴリの中からコンテンツの分類先を決めるものであり、現在用意されているカテゴリのいずれにも該当しない未知なコンテンツが得られた場合、そのコンテンツはいずれのカテゴリにも分類されない。これに対して、本実施形態では、価値が小さいカテゴリと新規コンテンツとを入れ替えるため、その性質について定義されていない未知のコンテンツが得られた際に、そのコンテンツが既存カテゴリに該当しないことから、その新規コンテンツとの類似度を基に、性質の近いコンテンツを集めて新しいカテゴリを生成することができる。 Further, according to the above-described embodiment, a new category can be created in order to replace the topic whose value is predicted to be the smallest with the new content. For example, the general category classification method determines the content classification destination from the categories whose properties are defined in advance, and unknown content that does not correspond to any of the currently prepared categories was obtained. If so, the content does not fall into any category. On the other hand, in the present embodiment, since the category with low value is replaced with the new content, when unknown content whose property is not defined is obtained, the content does not correspond to the existing category. Based on the degree of similarity with the new content, it is possible to collect contents with similar properties and generate a new category.

また、上述した実施形態によれば、新着記事の取得間隔(ti+1-t)が大きくなるほど、将来の時刻ti+1における既存トピックの価値を低下させるため、より学習精度を向上させることができる。 Further, according to the above-described embodiment, as the acquisition interval (ti + 1 - ti ) of new articles increases, the value of the existing topic at the future time ti + 1 decreases, so that the learning accuracy can be further improved. ..

一般的な強化学習の場合、割引率γは、時間に依らず一定である場合が多い。定数の割引率γを使用した場合、例えば、記事が頻繁に入稿されている場合、前回の記事の入稿からほとんど時間が経過していないのにも関わらず、既存トピックの将来の価値を大きく下げてしまう傾向にある。これに対して、本実施形態では、割引率γを新着記事の取得間隔に応じて変化させるため、既存トピックの将来の価値を精度良く予測することができる。 In the case of general reinforcement learning, the discount rate γ is often constant regardless of time. Using a constant discount rate γ, for example, if an article is frequently trafficked, the future value of an existing topic, even though little time has passed since the last article was trafficked. It tends to drop significantly. On the other hand, in the present embodiment, since the discount rate γ is changed according to the acquisition interval of new articles, the future value of the existing topic can be predicted accurately.

<ハードウェア構成>
上述した実施形態の分類装置100は、例えば、図9に示すようなハードウェア構成により実現される。図9は、実施形態の分類装置100のハードウェア構成の一例を示す図である。
<Hardware configuration>
The classification device 100 of the above-described embodiment is realized by, for example, a hardware configuration as shown in FIG. FIG. 9 is a diagram showing an example of the hardware configuration of the classification device 100 of the embodiment.

分類装置100は、NIC100-1、CPU100-2、RAM100-3、ROM100-4、フラッシュメモリやHDDなどの二次記憶装置100-5、およびドライブ装置100-6が、内部バスあるいは専用通信線によって相互に接続された構成となっている。ドライブ装置100-6には、光ディスクなどの可搬型記憶媒体が装着される。二次記憶装置100-5、またはドライブ装置100-6に装着された可搬型記憶媒体に格納されたプログラムがDMAコントローラ(不図示)などによってRAM100-3に展開され、CPU100-2によって実行されることで、制御部110が実現される。制御部110が参照するプログラムは、ネットワークNWを介して他の装置からダウンロードされてもよい。 The classification device 100 includes NIC100-1, CPU100-2, RAM100-3, ROM100-4, a secondary storage device 100-5 such as a flash memory or an HDD, and a drive device 100-6 by an internal bus or a dedicated communication line. It has a structure that is connected to each other. A portable storage medium such as an optical disk is mounted on the drive device 100-6. A program stored in a portable storage medium mounted on the secondary storage device 100-5 or the drive device 100-6 is expanded in the RAM 100-3 by a DMA controller (not shown) or the like, and executed by the CPU 100-2. As a result, the control unit 110 is realized. The program referred to by the control unit 110 may be downloaded from another device via the network NW.

以上、本発明を実施するための形態について実施形態を用いて説明したが、本発明はこうした実施形態に何ら限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。 Although the embodiments for carrying out the present invention have been described above using the embodiments, the present invention is not limited to these embodiments, and various modifications and substitutions are made without departing from the gist of the present invention. Can be added.

1…コンテンツ分類システム、10…情報提供装置、100…分類装置、102…通信部、110…制御部、112…取得部、114…学習処理部、130…記憶部、CT…コンテンツ、FX…価値関数情報 1 ... Content classification system, 10 ... Information providing device, 100 ... Classification device, 102 ... Communication unit, 110 ... Control unit, 112 ... Acquisition unit, 114 ... Learning processing unit, 130 ... Storage unit, CT ... Content, FX ... Value Function information

Claims (17)

新規コンテンツを取得する取得部と、
前記取得部により前記新規コンテンツが取得された場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを、既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定する学習処理部と、
を備え、
前記学習処理部は、
既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定し、
前記類似度が閾値以上であると判定した場合、前記既存の複数のカテゴリの中から、前記新規コンテンツとの特徴量間の類似度が最も大きい既存のカテゴリを、前記新規コンテンツの分類先のカテゴリとして選択し、
前記選択した既存のカテゴリに前記新規コンテンツを分類する場合、カテゴリの状態を評価する価値関数に基づいて、前記新規コンテンツの分類先の既存のカテゴリを消去せずに残しておいた場合の価値が最大となるように、前記既存のカテゴリの特徴量を更新する、
分類装置。
The acquisition department that acquires new content, and
When the new content is acquired by the acquisition unit, the category to be classified into the new content is selected from a plurality of existing categories by reinforcement learning, or a new category is generated and generated. The learning processing unit that decides whether to classify into categories,
Equipped with
The learning processing unit
It is determined whether or not the largest similarity between the feature amount of each of the existing plurality of categories and the feature amount of the new content is equal to or higher than the threshold value.
When it is determined that the similarity is equal to or higher than the threshold value, the existing category having the highest similarity between the features with the new content is selected from the existing plurality of categories as the category to which the new content is classified. Select as
When classifying the new content into the selected existing category, the value when the existing category to which the new content is classified is left unerased based on the value function for evaluating the state of the category is Update the features of the existing category to the maximum,
Sorting device.
新規コンテンツを取得する取得部と、
前記取得部により前記新規コンテンツが取得された場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを、既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定する学習処理部と、
を備え、
前記学習処理部は、
前記既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定し、
前記類似度が閾値未満であると判定した場合、前記既存の複数のカテゴリの中から一つのカテゴリを除いて複数のカテゴリを組み合わせ、
カテゴリの状態を評価する価値関数に基づいて、前記組み合わせた複数のカテゴリの其々を消去せずに残しておいた場合の価値の総和を導出し、
前記複数のカテゴリの組み合わせごとに導出した価値の総和のうち、最も価値の総和が大きいカテゴリの組み合わせ時に除いた一つのカテゴリを、消去するカテゴリに決定し、
新たなカテゴリを生成して前記新規コンテンツを前記生成したカテゴリに分類すると共に前記既存の複数のカテゴリの中から前記消去すると決定した一つのカテゴリを消去する、
分類装置。
The acquisition department that acquires new content, and
When the new content is acquired by the acquisition unit, the category to be classified into the new content is selected from a plurality of existing categories by reinforcement learning, or a new category is generated and generated. The learning processing unit that decides whether to classify into categories,
Equipped with
The learning processing unit
It is determined whether or not the largest similarity between the feature amount of each of the existing plurality of categories and the feature amount of the new content is equal to or higher than the threshold value.
When it is determined that the similarity is less than the threshold value, a plurality of categories are combined except for one category from the existing plurality of categories.
Based on the value function that evaluates the state of the categories, the sum of the values when each of the multiple categories combined is left unerased is derived.
Of the sum of values derived for each combination of the plurality of categories, one category excluded when the category with the largest sum of values is combined is determined as the category to be eliminated.
A new category is generated to classify the new content into the generated category, and one category determined to be deleted is deleted from the existing plurality of categories .
Sorting device.
前記学習処理部は、更に、
組み合わせの対象とする複数のカテゴリの中に、前記新規コンテンツを一つのカテゴリとして含め、
前記既存の複数のカテゴリと、一つのカテゴリとした前記新規コンテンツとの集合の中から一つのカテゴリを除いて複数のカテゴリを組み合わせ、
最も価値の総和が大きいカテゴリの組み合わせ時に除いた一つのカテゴリが前記新規コンテンツである場合、前記新規コンテンツを消去することを決定する、
請求項に記載の分類装置。
The learning processing unit further
Include the new content as one category in multiple categories to be combined.
Combining a plurality of categories excluding one category from the set of the existing plurality of categories and the new content as one category,
If one of the categories excluded from the combination of the categories having the largest sum of values is the new content, it is decided to delete the new content.
The classification device according to claim 2 .
前記学習処理部は、前記新規コンテンツの分類結果に基づいて、前記価値関数のパラメータを前記強化学習により学習する、
請求項1から3のうちいずれか1項に記載の分類装置。
The learning processing unit learns the parameters of the value function by the reinforcement learning based on the classification result of the new content.
The classification device according to any one of claims 1 to 3 .
前記学習処理部は、ある第1時刻において既存のカテゴリに前記新規コンテンツが分類されたときに与えられる報酬と、前記第1時刻よりも前の第2時刻から、前記第1時刻に至るまでの過程において、既存のカテゴリに前記新規コンテンツが分類されていた場合に前記価値関数により求められる第1価値との和を導出し、
前記報酬および前記第1価値の和と、前記第2時刻において既存のカテゴリに前記新規コンテンツが分類されていた場合に前記価値関数により求められる第2価値との差分に基づいて、前記価値関数のパラメータを学習する、
請求項に記載の分類装置。
The learning processing unit receives a reward given when the new content is classified into an existing category at a certain first time, and from a second time before the first time to the first time. In the process, when the new content is classified into an existing category, the sum with the first value obtained by the value function is derived.
The value function is based on the difference between the sum of the reward and the first value and the second value obtained by the value function when the new content is classified into an existing category at the second time. Learn the parameters,
The classification device according to claim 4 .
前記学習処理部は、前記差分を二乗した値が最小となるように、前記価値関数のパラメータを学習する、
請求項に記載の分類装置。
The learning processing unit learns the parameters of the value function so that the value obtained by squaring the difference is minimized.
The classification device according to claim 5 .
前記第1時刻および前記第2時刻は、前記取得部により前記新規コンテンツが取得された時刻であり、
前記学習処理部は、前記第2時刻から前記第1時刻までの時間差分に基づいて前記第1価値を減少させる、
請求項5または6に記載の分類装置。
The first time and the second time are times when the new content is acquired by the acquisition unit.
The learning processing unit reduces the first value based on the time difference from the second time to the first time.
The classification device according to claim 5 or 6 .
前記価値関数は、前記新規コンテンツの分類先として選択したカテゴリに含まれる既存の一以上のコンテンツの特徴量と、前記新規コンテンツの特徴量との重み付き平均が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から7のうちいずれか1項に記載の分類装置。
The value function is a category when at least a weighted average of the features of one or more existing contents included in the category selected as the classification destination of the new contents and the features of the new contents is input. Deriving value,
The classification device according to any one of claims 4 to 7 .
前記価値関数は、既存の一以上のコンテンツの特徴量と前記新規コンテンツの特徴量との重み付き平均が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から8のうちいずれか1項に記載の分類装置。
The value function derives the value of a category when at least a weighted average of the features of one or more existing contents and the features of the new content is entered.
The classification device according to any one of claims 4 to 8 .
前記価値関数は、既存の複数のカテゴリの其々と前記新規コンテンツとの類似度が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から9のうちいずれか1項に記載の分類装置。
The value function derives the value of a category when at least the similarity between each of the existing categories and the new content is entered.
The classification device according to any one of claims 4 to 9 .
前記価値関数は、既存の複数のカテゴリの其々が生成されてから経過した時間が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から10のうちいずれか1項に記載の分類装置。
The value function derives the value of a category when at least the time elapsed since each of the existing categories was generated is entered.
The classification device according to any one of claims 4 to 10 .
前記価値関数は、既存の複数のカテゴリの其々にコンテンツが分類されてから経過した時間が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から11のうちいずれか1項に記載の分類装置。
The value function derives the value of a category when at least the time elapsed since the content was classified into each of the existing categories is entered.
The classification device according to any one of claims 4 to 11 .
前記価値関数は、既存の複数のカテゴリの其々に含まれるコンテンツの数が少なくとも入力されたときに、カテゴリの価値を導出する、
請求項4から12のうちいずれか1項に記載の分類装置。
The value function derives the value of a category when at least the number of contents contained in each of the existing plurality of categories is input.
The classification device according to any one of claims 4 to 12 .
コンピュータが、
新規コンテンツを取得し、
前記新規コンテンツを取得した場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定し、
前記決定する処理において、前記コンピュータが、
既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定し、
前記類似度が閾値以上であると判定した場合、前記既存の複数のカテゴリの中から、前記新規コンテンツとの特徴量間の類似度が最も大きい既存のカテゴリを、前記新規コンテンツの分類先のカテゴリとして選択し、
前記選択した既存のカテゴリに前記新規コンテンツを分類する場合、カテゴリの状態を評価する価値関数に基づいて、前記新規コンテンツの分類先の既存のカテゴリを消去せずに残しておいた場合の価値が最大となるように、前記既存のカテゴリの特徴量を更新する、
分類方法。
The computer
Get new content,
When the new content is acquired, whether the category to be classified into the new content is selected from a plurality of existing categories or a new category is generated and classified into the generated category by reinforcement learning. Decide and
In the process of determining, the computer
It is determined whether or not the largest similarity between the feature amount of each of the existing plurality of categories and the feature amount of the new content is equal to or higher than the threshold value.
When it is determined that the similarity is equal to or higher than the threshold value, the existing category having the highest similarity between the features with the new content is selected from the existing plurality of categories as the category to which the new content is classified. Select as
When classifying the new content into the selected existing category, the value when the existing category to which the new content is classified is left unerased based on the value function for evaluating the state of the category is Update the features of the existing category to the maximum,
Classification method.
コンピュータに、
新規コンテンツを取得させ、
前記新規コンテンツが取得された場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定させ、
前記決定させる処理において、前記コンピュータに、
既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定させ、
前記類似度が閾値以上であると判定した場合、前記既存の複数のカテゴリの中から、前記新規コンテンツとの特徴量間の類似度が最も大きい既存のカテゴリを、前記新規コンテンツの分類先のカテゴリとして選択させ、
前記選択した既存のカテゴリに前記新規コンテンツを分類する場合、カテゴリの状態を評価する価値関数に基づいて、前記新規コンテンツの分類先の既存のカテゴリを消去せずに残しておいた場合の価値が最大となるように、前記既存のカテゴリの特徴量を更新させる、
プログラム。
On the computer
Get new content,
When the new content is acquired, whether the category to be classified into the new content is selected from a plurality of existing categories by reinforcement learning, or whether a new category is generated and classified into the generated category. Let me decide
In the process of making the determination, the computer
Among the similarities between the features of each of the existing plurality of categories and the features of the new content, it is determined whether or not the largest similarity is equal to or higher than the threshold value.
When it is determined that the similarity is equal to or higher than the threshold value, the existing category having the highest similarity between the features with the new content is selected from the existing plurality of categories as the category to which the new content is classified. Let me choose as
When classifying the new content into the selected existing category, the value when the existing category to which the new content is classified is left unerased based on the value function that evaluates the state of the category. Update the feature quantity of the existing category so as to be the maximum.
program.
コンピュータが、
新規コンテンツを取得し、
前記新規コンテンツを取得した場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定し、
前記決定する処理において、前記コンピュータが、
前記既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定し、
前記類似度が閾値未満であると判定した場合、前記既存の複数のカテゴリの中から一つのカテゴリを除いて複数のカテゴリを組み合わせ、
カテゴリの状態を評価する価値関数に基づいて、前記組み合わせた複数のカテゴリの其々を消去せずに残しておいた場合の価値の総和を導出し、
前記複数のカテゴリの組み合わせごとに導出した価値の総和のうち、最も価値の総和が大きいカテゴリの組み合わせ時に除いた一つのカテゴリを、消去するカテゴリに決定し、
新たなカテゴリを生成して前記新規コンテンツを前記生成したカテゴリに分類すると共に前記既存の複数のカテゴリの中から前記消去すると決定した一つのカテゴリを消去する、
分類方法。
The computer
Get new content,
When the new content is acquired, whether the category to be classified into the new content is selected from a plurality of existing categories or a new category is generated and classified into the generated category by reinforcement learning. Decide and
In the process of determining, the computer
It is determined whether or not the largest similarity between the feature amount of each of the existing plurality of categories and the feature amount of the new content is equal to or higher than the threshold value.
When it is determined that the similarity is less than the threshold value, a plurality of categories are combined except for one category from the existing plurality of categories.
Based on the value function that evaluates the state of the categories, the sum of the values when each of the multiple categories combined is left unerased is derived.
Of the sum of values derived for each combination of the plurality of categories, one category excluded when the category with the largest sum of values is combined is determined as the category to be eliminated.
A new category is generated to classify the new content into the generated category, and one category determined to be deleted is deleted from the existing plurality of categories .
Classification method.
コンピュータに、
新規コンテンツを取得させ、
前記新規コンテンツが取得された場合、強化学習によって、前記新規コンテンツの分類先とするカテゴリを既存の複数のカテゴリの中から選択するのか、新たなカテゴリを生成して前記生成したカテゴリに分類するのかを決定させ、
前記決定させる処理において、前記コンピュータに、
前記既存の複数のカテゴリの其々の特徴量と前記新規コンテンツの特徴量との類似度のうち、最も大きい類似度が閾値以上であるか否かを判定させ、
前記類似度が閾値未満であると判定した場合、前記既存の複数のカテゴリの中から一つのカテゴリを除いて複数のカテゴリを組み合わせさせ、
カテゴリの状態を評価する価値関数に基づいて、前記組み合わせた複数のカテゴリの其々を消去せずに残しておいた場合の価値の総和を導出させ、
前記複数のカテゴリの組み合わせごとに導出した価値の総和のうち、最も価値の総和が大きいカテゴリの組み合わせ時に除いた一つのカテゴリを、消去するカテゴリに決定させ、
新たなカテゴリを生成して前記新規コンテンツを前記生成したカテゴリに分類すると共に前記既存の複数のカテゴリの中から前記消去すると決定した一つのカテゴリを消去させる、
プログラム。
On the computer
Get new content,
When the new content is acquired, whether the category to be classified into the new content is selected from a plurality of existing categories by reinforcement learning, or whether a new category is generated and classified into the generated category. Let me decide
In the process of making the determination, the computer
Among the similarities between the feature amounts of each of the existing plurality of categories and the feature amounts of the new content, it is determined whether or not the largest similarity is equal to or higher than the threshold value.
When it is determined that the similarity is less than the threshold value, a plurality of categories are combined by excluding one category from the existing plurality of categories.
Based on the value function that evaluates the state of the category, the sum of the values when each of the plurality of combined categories is left unerased is derived.
Of the sum of values derived for each combination of the plurality of categories, one category excluded when the category with the largest sum of values is combined is determined as the category to be eliminated.
A new category is generated to classify the new content into the generated category, and one category determined to be deleted is deleted from the existing plurality of categories .
program.
JP2017241660A 2017-12-18 2017-12-18 Classification device, classification method, and program Active JP7043243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017241660A JP7043243B2 (en) 2017-12-18 2017-12-18 Classification device, classification method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017241660A JP7043243B2 (en) 2017-12-18 2017-12-18 Classification device, classification method, and program

Publications (2)

Publication Number Publication Date
JP2019109662A JP2019109662A (en) 2019-07-04
JP7043243B2 true JP7043243B2 (en) 2022-03-29

Family

ID=67179800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017241660A Active JP7043243B2 (en) 2017-12-18 2017-12-18 Classification device, classification method, and program

Country Status (1)

Country Link
JP (1) JP7043243B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11194866B2 (en) * 2019-08-08 2021-12-07 Google Llc Low entropy browsing history for content quasi-personalization
CN115362445A (en) * 2020-03-31 2022-11-18 东丽株式会社 Data sorting device, data sorting method, and data sorting program
CN111506727B (en) * 2020-04-16 2023-10-03 腾讯科技(深圳)有限公司 Text content category acquisition method, apparatus, computer device and storage medium
JP7615018B2 (en) * 2021-12-16 2025-01-16 株式会社東芝 Machine learning device, machine learning method, and machine learning program
JP7582631B1 (en) 2023-09-25 2024-11-13 株式会社電通 Problem-solving support system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002117046A (en) 2000-10-05 2002-04-19 Just Syst Corp Document classification apparatus, document classification method, and computer-readable recording medium recording a program for causing a computer to execute the method
JP6224857B1 (en) 2017-03-10 2017-11-01 ヤフー株式会社 Classification device, classification method, and classification program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8391618B1 (en) * 2008-09-19 2013-03-05 Adobe Systems Incorporated Semantic image classification and search

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002117046A (en) 2000-10-05 2002-04-19 Just Syst Corp Document classification apparatus, document classification method, and computer-readable recording medium recording a program for causing a computer to execute the method
JP6224857B1 (en) 2017-03-10 2017-11-01 ヤフー株式会社 Classification device, classification method, and classification program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
角谷 和俊,マルチチャンネル型ニュース配信システムのための時系列クラスタリング,情報処理学会論文誌 ,日本,社団法人情報処理学会,2002年06月15日,第43巻 No.SIG5(TOD14),87-97ページ

Also Published As

Publication number Publication date
JP2019109662A (en) 2019-07-04

Similar Documents

Publication Publication Date Title
Balaanand et al. An enhanced graph-based semi-supervised learning algorithm to detect fake users on Twitter: M. BalaAnand et al.
CN112148973B (en) A data processing method and device for information push
JP7043243B2 (en) Classification device, classification method, and program
CN111859149B (en) Information recommendation method, device, electronic device and storage medium
US9785888B2 (en) Information processing apparatus, information processing method, and program for prediction model generated based on evaluation information
CN115087970B (en) Recommender Systems Using Bayesian Graph Convolutional Networks
CN104090919B (en) Advertisement recommending method and advertisement recommending server
JP7160980B2 (en) INFORMATION PROVIDING DEVICE, INFORMATION PROVIDING METHOD AND PROGRAM
CN111797320B (en) Data processing method, device, equipment and storage medium
CN107016026B (en) User tag determination method, information push method, user tag determination device, information push device
US12020267B2 (en) Method, apparatus, storage medium, and device for generating user profile
WO2019025945A1 (en) System and method for incremental annotation of datasets
JP6097126B2 (en) RECOMMENDATION INFORMATION GENERATION DEVICE AND RECOMMENDATION INFORMATION GENERATION METHOD
CN108280670A (en) Seed crowd method of diffusion, device and information jettison system
CN111429161B (en) Feature extraction method, feature extraction device, storage medium and electronic equipment
CN113220986A (en) Information recommendation method and device, electronic equipment and storage medium
CN114996486B (en) Data recommendation method, device, server and storage medium
Vinagre et al. Collaborative filtering with recency-based negative feedback
CN115081771A (en) Account quality determination method and device, electronic equipment and storage medium
CN107577736A (en) A kind of file recommendation method and system based on BP neural network
Eastman et al. A weighted normalized likelihood procedure for empirical land change modeling
CN113868536A (en) Information recommendation method, device, equipment and storage medium
CN111859165A (en) A real-time personalized information flow recommendation method based on user behavior
CN111625726A (en) User portrait processing method and device
JP6960838B2 (en) Information providing equipment, information providing method, and program

Legal Events

Date Code Title Description
A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20180117

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20191101

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20191108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211020

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220316

R150 Certificate of patent or registration of utility model

Ref document number: 7043243

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250