JP7353330B2 - Information processing device, information processing method, and information processing program - Google Patents

Information processing device, information processing method, and information processing program Download PDF

Info

Publication number
JP7353330B2
JP7353330B2 JP2021118322A JP2021118322A JP7353330B2 JP 7353330 B2 JP7353330 B2 JP 7353330B2 JP 2021118322 A JP2021118322 A JP 2021118322A JP 2021118322 A JP2021118322 A JP 2021118322A JP 7353330 B2 JP7353330 B2 JP 7353330B2
Authority
JP
Japan
Prior art keywords
information
node
information processing
nodes
blob
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
JP2021118322A
Other languages
Japanese (ja)
Other versions
JP2023013863A (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 JP2021118322A priority Critical patent/JP7353330B2/en
Publication of JP2023013863A publication Critical patent/JP2023013863A/en
Application granted granted Critical
Publication of JP7353330B2 publication Critical patent/JP7353330B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、情報処理装置、情報処理方法、及び情報処理プログラムに関する。 The present invention relates to an information processing device, an information processing method, and an information processing program.

従来、種々の情報を探索(検索)する技術が提供されている。例えば、検索対象に対応するノードがエッジにより連結されたグラフを生成し、生成したグラフを用いて検索を行う技術が提供されている。また、このような技術は、例えば画像検索等に用いられる。 Conventionally, techniques for searching (searching) various types of information have been provided. For example, there is a technology that generates a graph in which nodes corresponding to a search target are connected by edges, and performs a search using the generated graph. Further, such a technique is used for, for example, image search.

特許第6293335号公報Patent No. 6293335 特許第6300982号公報Patent No. 6300982 特許第6311000号公報Patent No. 6311000

岩崎雅二郎 "木構造型インデックスを利用した近似k最近傍グラフによる近傍検索", 情報処理学会論文誌, 2011/2, Vol. 52, No. 2. pp.817-828.Masajiro Iwasaki "Neighborhood search using approximate k-nearest neighbor graph using tree-structured index", Information Processing Society of Japan Transactions, 2011/2, Vol. 52, No. 2. pp.817-828.

しかしながら、上記の従来技術では、検索処理の効率化の点では改善の余地がある。例えば、上記の従来技術では、グラフのエッジ数等を調整したりして、効率的な検索ができるグラフに変更することにより、検索処理の時間削減等の効率化を行っているが、グラフの変更により検索処理の効率化を図るには限界がある。そのため、例えば検索処理の高速化等、効率的な検索処理を行うために検索処理に利用可能な情報を生成することが望まれている。 However, with the above-mentioned conventional technology, there is room for improvement in terms of improving the efficiency of search processing. For example, in the above-mentioned conventional technology, by adjusting the number of edges of the graph and changing the graph to one that allows efficient searching, efficiency is achieved by reducing search processing time. There is a limit to how much efficiency can be achieved in search processing through changes. Therefore, it is desired to generate information that can be used in search processing in order to perform efficient search processing, such as speeding up search processing, for example.

本願は、上記に鑑みてなされたものであって、検索処理に利用可能な情報を生成する情報処理装置、情報処理方法、及び情報処理プログラムを提供することを目的とする。 The present application has been made in view of the above, and aims to provide an information processing device, an information processing method, and an information processing program that generate information that can be used for search processing.

本願に係る情報処理装置は、データ検索の対象となる複数のオブジェクトを示す第1情報と、前記複数のオブジェクトを分類するために用いる第2情報とを取得する取得部と、前記取得部により取得された前記第2情報を用いて、前記第1情報が示す前記複数のオブジェクトを分類し、前記複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する生成部と、を備えたことを特徴とする。 The information processing device according to the present application includes an acquisition unit that acquires first information indicating a plurality of objects to be data searched and second information used for classifying the plurality of objects; a third group indicating a plurality of groups used for classifying the plurality of objects indicated by the first information using the second information and performing batch processing in a search process targeting the plurality of objects; A generation unit that generates information.

実施形態の一態様によれば、検索処理に利用可能な情報を生成することができるという効果を奏する。 According to one aspect of the embodiment, it is possible to generate information that can be used in search processing.

図1は、第1の実施形態に係る情報処理の一例を示す図である。FIG. 1 is a diagram illustrating an example of information processing according to the first embodiment. 図2は、第1の実施形態に係るデータの一例を示す図である。FIG. 2 is a diagram showing an example of data according to the first embodiment. 図3は、第1の実施形態に係るデータの一例を示す図である。FIG. 3 is a diagram showing an example of data according to the first embodiment. 図4は、第1の実施形態に係る情報処理システムの構成例を示す図である。FIG. 4 is a diagram illustrating a configuration example of an information processing system according to the first embodiment. 図5は、第1の実施形態に係る情報処理装置の構成例を示す図である。FIG. 5 is a diagram illustrating a configuration example of an information processing apparatus according to the first embodiment. 図6は、第1の実施形態に係るオブジェクト情報記憶部の一例を示す図である。FIG. 6 is a diagram illustrating an example of an object information storage unit according to the first embodiment. 図7は、第1の実施形態に係るグラフ情報記憶部の一例を示す図である。FIG. 7 is a diagram illustrating an example of a graph information storage unit according to the first embodiment. 図8は、第1の実施形態に係る量子化情報記憶部の一例を示す図である。FIG. 8 is a diagram illustrating an example of a quantization information storage unit according to the first embodiment. 図9は、第1の実施形態に係るコードブック情報記憶部の一例を示す図である。FIG. 9 is a diagram illustrating an example of a codebook information storage unit according to the first embodiment. 図10は、第1の実施形態に係る情報処理の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of information processing according to the first embodiment. 図11は、第1の実施形態に係る検索処理の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of search processing according to the first embodiment. 図12は、第2の実施形態に係る情報処理の一例を示す図である。FIG. 12 is a diagram illustrating an example of information processing according to the second embodiment. 図13は、第2の実施形態に係る情報処理装置の構成例を示す図である。FIG. 13 is a diagram illustrating a configuration example of an information processing apparatus according to the second embodiment. 図14は、第2の実施形態に係る量子化情報記憶部の一例を示す図である。FIG. 14 is a diagram illustrating an example of a quantization information storage unit according to the second embodiment. 図15は、第2の実施形態に係るブロブ情報記憶部の一例を示す図である。FIG. 15 is a diagram illustrating an example of a blob information storage unit according to the second embodiment. 図16は、第2の実施形態に係る検索処理の一例を示すフローチャートである。FIG. 16 is a flowchart illustrating an example of search processing according to the second embodiment. 図17は、変形例に係る情報処理の一例を示す図である。FIG. 17 is a diagram illustrating an example of information processing according to a modification. 図18は、変形例に係るグラフ情報記憶部の一例を示す図である。FIG. 18 is a diagram illustrating an example of a graph information storage unit according to a modification. 図19は、変形例に係る検索処理の一例を示すフローチャートである。FIG. 19 is a flowchart illustrating an example of a search process according to a modification. 図20は、変形例に係る情報処理の他の一例を示す図である。FIG. 20 is a diagram illustrating another example of information processing according to the modification. 図21は、ブロブ情報の生成処理の一例を示す図である。FIG. 21 is a diagram illustrating an example of blob information generation processing. 図22は、変形例に係る情報処理の一例を示すフローチャートである。FIG. 22 is a flowchart illustrating an example of information processing according to a modification. 図23は、第3の実施形態に係る情報処理の一例を示す図である。FIG. 23 is a diagram illustrating an example of information processing according to the third embodiment. 図24は、第3の実施形態に係る情報処理装置の構成例を示す図である。FIG. 24 is a diagram illustrating a configuration example of an information processing apparatus according to the third embodiment. 図25は、第3の実施形態に係るブロブ連結グラフ情報記憶部の一例を示す図である。FIG. 25 is a diagram illustrating an example of a blob connection graph information storage unit according to the third embodiment. 図26は、第3の実施形態に係る情報処理の一例を示すフローチャートである。FIG. 26 is a flowchart illustrating an example of information processing according to the third embodiment. 図27は、第3の実施形態に係る検索処理の一例を示すフローチャートである。FIG. 27 is a flowchart illustrating an example of search processing according to the third embodiment. 図28は、第3の実施形態に係る検索処理の一例を示すフローチャートである。FIG. 28 is a flowchart illustrating an example of search processing according to the third embodiment. 図29は、変形例に係るブロブ連結グラフ情報の一例を示す図である。FIG. 29 is a diagram illustrating an example of blob connection graph information according to a modification. 図30は、変形例に係るブロブ情報記憶部の一例を示す図である。FIG. 30 is a diagram illustrating an example of a blob information storage unit according to a modification. 図31は、変形例に係るブロブ連結グラフ情報記憶部の一例を示す図である。FIG. 31 is a diagram illustrating an example of a blob connection graph information storage unit according to a modification. 図32は、情報処理装置の機能を実現するコンピュータの一例を示すハードウェア構成図である。FIG. 32 is a hardware configuration diagram showing an example of a computer that implements the functions of the information processing device.

以下に、本願に係る情報処理装置、情報処理方法、及び情報処理プログラムを実施するための形態(以下、「実施形態」と呼ぶ)について図面を参照しつつ詳細に説明する。なお、この実施形態により本願に係る情報処理装置、情報処理方法、及び情報処理プログラムが限定されるものではない。また、以下の各実施形態において同一の部位には同一の符号を付し、重複する説明は省略される。 DESCRIPTION OF THE PREFERRED EMBODIMENTS An information processing apparatus, an information processing method, and an embodiment of an information processing program (hereinafter referred to as "embodiments") according to the present application will be described in detail below with reference to the drawings. Note that the information processing apparatus, information processing method, and information processing program according to the present application are not limited to this embodiment. Further, in each of the embodiments below, the same parts are given the same reference numerals, and redundant explanations will be omitted.

(実施形態)
〔1.第1の実施形態〕
〔1-1.情報処理〕
図1を用いて、第1の実施形態に係る情報処理の一例について説明する。図1は、第1の実施形態に係る情報処理の一例を示す図である。情報処理装置100は、データ検索の対象となる複数のオブジェクトをグラフ構造化したグラフインデックス(単に「グラフ」ともいう)を用いた検索処理を実行する。図1では、情報処理装置100がデータ検索の対象であるオブジェクトがベクトル化された各ベクトルに対応するノードがエッジで連結されたグラフを用いて近傍検索を行う場合の検索処理の一部を示す。情報処理装置100は、グラフの各ノードを検索対象のオブジェクトとして、グラフを辿って与えられた検索クエリ(ベクトル)の近傍のノードを探索する。情報処理装置100は、検索処理により、抽出する近傍のノードの数として指定された所定数(以下「検索数」ともいう)のノードを、検索クエリの近傍のノードとして抽出する。以下では、画像情報をデータ検索の対象とした場合を一例として説明するが、データ検索の対象は、動画情報や音声情報等の種々の対象であってもよい。
(Embodiment)
[1. First embodiment]
[1-1. Information processing〕
An example of information processing according to the first embodiment will be described using FIG. 1. FIG. 1 is a diagram illustrating an example of information processing according to the first embodiment. The information processing apparatus 100 executes a search process using a graph index (also simply referred to as a "graph") that is a graph structure of a plurality of objects that are data search targets. FIG. 1 shows part of a search process when the information processing device 100 performs a neighborhood search using a graph in which nodes corresponding to vectors of the object to be searched are connected by edges. . The information processing apparatus 100 uses each node of the graph as an object to be searched, and searches for nodes near a given search query (vector) by tracing the graph. Through the search process, the information processing apparatus 100 extracts a predetermined number of nodes (hereinafter also referred to as "search number") designated as the number of nearby nodes to be extracted as nodes in the vicinity of the search query. In the following, a case where image information is the object of data search will be described as an example, but the object of data search may be various objects such as video information and audio information.

情報処理装置100は、数百万~数億等の単位の膨大な画像情報に対応するノードを対象に検索処理を行うが、図面においてはその一部(図1ではノードN1等の数十個)のみを図示する。例えば、情報処理装置100は、図1中の空間情報SP1に示すように、ノードN1、N7、N9等に示すような複数のノード(ベクトル)に関する情報を取得する。このように「ノードN*(*は任意の数値)」と記載した場合、そのノードはノードID「N*」により識別されるノードであることを示す。例えば、「ノードN1」と記載した場合、そのノードはノードID「N1」により識別されるノードである。空間情報SP1中の白丸(〇)の各々が各ノードを示す。 The information processing device 100 performs search processing for nodes corresponding to a huge amount of image information in units of millions to hundreds of millions, but in the drawing, only a portion of them (several tens of nodes such as node N1 in FIG. 1) are shown. ) are shown. For example, the information processing apparatus 100 acquires information regarding a plurality of nodes (vectors) such as nodes N1, N7, N9, etc., as shown in spatial information SP1 in FIG. When "node N* (* is an arbitrary numerical value)" is written in this way, it indicates that the node is identified by the node ID "N*". For example, when "node N1" is written, the node is identified by the node ID "N1". Each white circle (◯) in the spatial information SP1 indicates each node.

図1中の空間情報SP1では、主に説明に関係するノードに符号を付すが、符号が付されていない白丸(〇)の各々もノードであり、図示するノード以外にも多数のノードが含まれる。また、各ノードは、各オブジェクト(検索対象)に対応する。例えば、画像から抽出された複数の局所特徴量のそれぞれがオブジェクトであってもよい。また、例えば、オブジェクト間の距離が定義された種々のデータがオブジェクトであってもよい。 In the spatial information SP1 in FIG. 1, codes are mainly attached to nodes related to the explanation, but each white circle (○) without a code is also a node, and many nodes are included in addition to the nodes shown. It will be done. Further, each node corresponds to each object (search target). For example, each of the plurality of local features extracted from the image may be an object. Further, for example, various data in which distances between objects are defined may be objects.

例えば図1中の空間情報SP1は、ユークリッド空間であってもよい。例えば、空間情報SP1は、オブジェクトのベクトルの次元数に対応し、100次元や1000次元等の多次元空間であるものとする。なお、図1では、空間情報SP1に示すように直積量子化によりベクトル(空間)が複数の部分領域(部分空間)に4分割された状態を概念的に図示するが、直積量子化の点については後述する。 For example, the spatial information SP1 in FIG. 1 may be a Euclidean space. For example, it is assumed that the spatial information SP1 corresponds to the number of dimensions of the vector of the object, and is a multidimensional space such as 100 dimensions or 1000 dimensions. Note that FIG. 1 conceptually illustrates a state in which a vector (space) is divided into four subregions (subspaces) by direct product quantization as shown in spatial information SP1, but regarding the point of direct product quantization, will be described later.

空間情報SP1中のノードである白丸(〇)間を接続する点線がノード間を連結するエッジを示す。図1の例では、説明を簡単にするために、ノード間が無向(双方向)エッジ(以下単に「エッジ」ともいう)により連結される場合を示す。なお、ここでいう無向エッジとは、連結されたノード間を双方向にデータを辿ることができるエッジを意味する。例えば、ノードN1を示す白丸(〇)とノードN4を示す白丸(〇)との間は点線で接続されており、ノードN1とノードN4との間はエッジで連結されていることを示す。すなわち、空間情報SP1に示すグラフではノードN1とノードN4との間を双方向に辿ることが可能となる。具体的には、空間情報SP1ではノードN1からノードN4へ辿ることができ、かつノードN4からノードN1へ辿ることができる。 A dotted line connecting white circles (◯) that are nodes in the spatial information SP1 indicates an edge connecting the nodes. In the example of FIG. 1, to simplify the explanation, a case is shown in which nodes are connected by undirected (bidirectional) edges (hereinafter also simply referred to as "edges"). Note that the undirected edge here means an edge that allows data to be traced in both directions between connected nodes. For example, the white circle (◯) indicating the node N1 and the white circle (◯) indicating the node N4 are connected by a dotted line, indicating that the nodes N1 and N4 are connected by an edge. That is, in the graph shown in the spatial information SP1, it is possible to trace the path between the node N1 and the node N4 in both directions. Specifically, the spatial information SP1 can be traced from the node N1 to the node N4, and from the node N4 to the node N1.

なお、図1の例では、図示の関係上、図示したノード間を連結するエッジのみを図示するが、図示したエッジ以外にも多数のエッジが含まれる。このように、図1中の空間情報SP1では、エッジの一部のみを図示するが、例えばk近傍グラフ(k-nearest neighbor graph)であるものとする。なお、空間情報SP1は、種々のグラフであってもよい。 Note that in the example of FIG. 1, for convenience of illustration, only edges connecting the illustrated nodes are illustrated, but many edges other than the illustrated edges are included. In this way, the spatial information SP1 in FIG. 1 shows only a portion of the edges, but it is assumed that the spatial information SP1 in FIG. 1 is, for example, a k-nearest neighbor graph. Note that the spatial information SP1 may be various types of graphs.

また、グラフのエッジは、無向エッジに限らず、有向エッジであってもよい。有向エッジの場合、有向エッジの参照元となっているノードから参照先のノードへのみ辿ることができる。例えば、2つのノード間が、一方を参照元とし他方を参照先とする第1エッジ、及び一方を参照先とし他方を参照元とする第2エッジの2つの有向エッジで連結されている場合、その2つのノード間が無向(双方向)エッジで連結されて状態と同じ状態である。 Furthermore, the edges of the graph are not limited to undirected edges, but may be directed edges. In the case of a directed edge, it is possible to trace only from the node that is the reference source of the directed edge to the reference destination node. For example, if two nodes are connected by two directed edges: a first edge where one is the reference source and the other is the reference destination, and a second edge where one is the reference destination and the other is the reference source. , the two nodes are connected by an undirected (bidirectional) edge and have the same state.

ここから、図1を用いて検索処理について説明する。図1の例では、情報処理装置100は、空間情報SP1に示すようなグラフGR1を取得済みであるものとする。なお、情報処理装置100は、種々の従来技術を適宜用いてグラフGR1を生成してもよい。まず、検索処理の説明に先立ってベクトル(空間)の直積量子化について説明する。 The search process will now be described using FIG. 1. In the example of FIG. 1, it is assumed that the information processing apparatus 100 has already acquired a graph GR1 as shown in the spatial information SP1. Note that the information processing apparatus 100 may generate the graph GR1 using various conventional techniques as appropriate. First, prior to explaining the search process, vector (space) product quantization will be explained.

図1では、空間情報SP1に示すように直積量子化によりベクトル(空間)が4つの部分空間AR11~AR14に分割された状態を概念的に図示する。図1に示す部分空間AR11~AR14は、各ノード(オブジェクト)のベクトル間の距離等の説明のための概念的な図で示すが、各部分空間AR11~AR14は多次元空間となる。例えば、図1に示す部分空間AR11は、平面上に図示するため2次元の態様にて図示されるが、例えば100次元や1000次元等の多次元空間であるものとする。 FIG. 1 conceptually illustrates a state in which a vector (space) is divided into four subspaces AR11 to AR14 by direct product quantization as shown in spatial information SP1. The subspaces AR11 to AR14 shown in FIG. 1 are shown as conceptual diagrams for explaining distances between vectors of nodes (objects), etc., but each of the subspaces AR11 to AR14 is a multidimensional space. For example, the subspace AR11 shown in FIG. 1 is illustrated in a two-dimensional manner because it is illustrated on a plane, but it is assumed that it is a multidimensional space, such as a 100-dimensional or 1000-dimensional space.

各部分空間AR11~AR14の各々は、4分割されるベクトルの各分割(部分ベクトル)に対応する空間を示す。なお、例えば100次元のベクトルを100分割しても良い。例えば、部分空間AR11は、ベクトルが4分割された4つの部分ベクトル(「サブベクトル」ともいう)のうち、先頭の部分ベクトル(「第1サブベクトル」ともいう)に対応する次元の空間(「第1サブ空間」ともいう)を示す。部分空間AR11は、ベクトルの先頭の分割位置に対応する部分空間(第1サブ空間)を示す。検索クエリQE1の場合、部分空間AR11は、先頭の部分ベクトル(第1サブベクトル)である第1部分クエリQE1-1に対応する空間である。 Each of the partial spaces AR11 to AR14 indicates a space corresponding to each division (partial vector) of the vector divided into four. Note that, for example, a 100-dimensional vector may be divided into 100 parts. For example, the subspace AR11 is a dimension space (" (also referred to as "first subspace"). Subspace AR11 indicates a subspace (first subspace) corresponding to the first division position of the vector. In the case of search query QE1, subspace AR11 is a space corresponding to first subquery QE1-1, which is the first subvector (first subvector).

また、部分空間AR12は、ベクトルが4分割された4つの部分ベクトルのうち、先頭から2番目の部分ベクトル(「第2サブベクトル」ともいう)に対応する次元の空間(「第2サブ空間」ともいう)を示す。部分空間AR12は、ベクトルの先頭から2番目の分割位置に対応する部分空間(第2サブ空間)を示す。検索クエリQE1の場合、部分空間AR12は、先頭から2番目の部分ベクトル(第2サブベクトル)である第2部分クエリQE1-2に対応する空間である。 Furthermore, the subspace AR12 is a dimensional space ("second subspace") corresponding to the second subvector from the beginning (also referred to as "second subvector") among the four subvectors obtained by dividing the vector into four. ). Subspace AR12 indicates a subspace (second subspace) corresponding to the second division position from the beginning of the vector. In the case of search query QE1, subspace AR12 is a space corresponding to second subquery QE1-2, which is the second subvector (second subvector) from the beginning.

また、部分空間AR13は、ベクトルが4分割された4つの部分ベクトルのうち、先頭から3番目の部分ベクトル(「第3サブベクトル」ともいう)に対応する次元の空間(「第3サブ空間」ともいう)を示す。部分空間AR13は、ベクトルの先頭から3番目の分割位置に対応する部分空間(第3サブ空間)を示す。検索クエリQE1の場合、部分空間AR13は、先頭から3番目の部分ベクトル(第3サブベクトル)である第3部分クエリQE1-3に対応する空間である。 Further, the subspace AR13 is a dimensional space ("third subspace") corresponding to the third subvector from the beginning (also referred to as "third subvector") among the four subvectors obtained by dividing the vector into four. ). Subspace AR13 indicates a subspace (third subspace) corresponding to the third division position from the beginning of the vector. In the case of search query QE1, subspace AR13 is a space corresponding to third partial query QE1-3, which is the third partial vector (third subvector) from the beginning.

また、部分空間AR14は、ベクトルが4分割された4つの部分ベクトルのうち、先頭から4番目(すなわち最後尾)の部分ベクトル(「第4サブベクトル」ともいう)に対応する次元の空間(「第4サブ空間」ともいう)を示す。部分空間AR14は、ベクトルの先頭から4番目の分割位置に対応する部分空間(第4サブ空間)を示す。検索クエリQE1の場合、部分空間AR14は、先頭から4番目の部分ベクトル(第4サブベクトル)である第4部分クエリQE1-4に対応する空間である。 Furthermore, the subspace AR14 is a dimension space (" 4th subspace). Subspace AR14 indicates a subspace (fourth subspace) corresponding to the fourth division position from the beginning of the vector. In the case of search query QE1, subspace AR14 is a space corresponding to fourth subquery QE1-4, which is the fourth subvector (fourth subvector) from the beginning.

なお、図1の例では、部分空間AR11~AR14を類似の形状で示すが、各部分空間AR11~AR14の形状は異なってもよいし、また各部分空間AR11~AR14における領域の分割態様も異なってもよい。また、ノード間のエッジによる接続関係は部分空間AR11~AR14で共通であるものとする。すなわち、グラフGR1は、空間情報SP1に対応するグラフであり、部分空間AR11~AR14で共通である。 In the example of FIG. 1, the subspaces AR11 to AR14 are shown with similar shapes, but the shapes of the subspaces AR11 to AR14 may be different, and the manner in which the regions in each of the subspaces AR11 to AR14 are divided may also be different. It's okay. Further, it is assumed that the connection relationship between nodes by edges is common to subspaces AR11 to AR14. That is, the graph GR1 is a graph corresponding to the spatial information SP1, and is common to the subspaces AR11 to AR14.

また、図1の例では、分割された部分ベクトル(サブベクトル)ごとにルックアップテーブルが生成される。例えば、第1サブベクトル、第2サブベクトル、第3サブベクトル、及び第4サブベクトルの4つのサブベクトルごとにクラスタリングされ、個別にルックアップテーブル(コードブック情報)が生成される。 Furthermore, in the example of FIG. 1, a lookup table is generated for each divided partial vector (subvector). For example, clustering is performed for each of four subvectors: a first subvector, a second subvector, a third subvector, and a fourth subvector, and a lookup table (codebook information) is generated individually.

図1では、第1サブベクトルについては、部分空間AR11に示すように、コードブックCD11~CD19に対応する9個のグループにクラスタリングされ、コードブックCD11~CD19の各々に対応するベクトルが代表ベクトル(セントロイド)として算出される。例えば、ノードN7、N9等の第1サブベクトルはコードブックCD11に対応するグループにクラスタリングされることを示す。この場合、ノードN7、N9等の第1サブベクトルは距離の計算(算出)において、第1サブベクトルに対応するコードブック情報(「第1コードブック情報」ともいう)を用いて、コードブックCD11のベクトルにベクトル量子化される。 In FIG. 1, the first subvectors are clustered into nine groups corresponding to codebooks CD11 to CD19, as shown in subspace AR11, and the vectors corresponding to each of codebooks CD11 to CD19 are representative vectors ( centroid). For example, the first subvectors such as nodes N7 and N9 indicate that they are clustered into a group corresponding to codebook CD11. In this case, the first subvectors such as nodes N7 and N9 use the codebook information (also referred to as "first codebook information") corresponding to the first subvector in the distance calculation (calculation). is vector quantized into a vector.

また、第2サブベクトルについては、コードブックCD21~CD24等(図2、図9参照)に対応する複数のグループにクラスタリングされ、コードブックCD21~CD24等の各々に対応するベクトルが代表ベクトル(セントロイド)として算出される。この場合、各ノードの第2サブベクトルは距離の計算(算出)において、第2サブベクトルに対応するコードブック情報(「第2コードブック情報」ともいう)を用いて、対応するコードブックのベクトルにベクトル量子化される。 Furthermore, the second sub-vectors are clustered into a plurality of groups corresponding to codebooks CD21 to CD24, etc. (see FIGS. 2 and 9), and the vectors corresponding to each of codebooks CD21 to CD24, etc. are representative vectors (centre Lloyd's). In this case, the second subvector of each node is calculated using the codebook information (also referred to as "second codebook information") corresponding to the second subvector in distance calculation. vector quantized.

第3サブベクトルについては、コードブックCD31~CD34等(図2、図9参照)に対応する複数のグループにクラスタリングされ、コードブックCD31~CD34等の各々に対応するベクトルが代表ベクトル(セントロイド)として算出される。この場合、各ノードの第3サブベクトルは距離の計算(算出)において、第3サブベクトルに対応するコードブック情報(「第3コードブック情報」ともいう)を用いて、対応するコードブックのベクトルにベクトル量子化される。 The third sub-vectors are clustered into multiple groups corresponding to codebooks CD31 to CD34, etc. (see FIGS. 2 and 9), and the vectors corresponding to each of codebooks CD31 to CD34, etc. are representative vectors (centroids). It is calculated as In this case, the third subvector of each node is calculated using the codebook information (also referred to as "third codebook information") corresponding to the third subvector in distance calculation. vector quantized.

第4サブベクトルについては、コードブックCD41~CD44等(図2、図9参照)に対応する複数のグループにクラスタリングされ、コードブックCD24~CD44等の各々に対応するベクトルが代表ベクトル(セントロイド)として算出される。この場合、各ノードの第4サブベクトルは距離の計算(算出)において、第4サブベクトルに対応するコードブック情報(「第4コードブック情報」ともいう)を用いて、対応するコードブックのベクトルにベクトル量子化される。 The fourth sub-vectors are clustered into multiple groups corresponding to codebooks CD41 to CD44, etc. (see FIGS. 2 and 9), and the vectors corresponding to each of codebooks CD24 to CD44, etc. are representative vectors (centroids). It is calculated as In this case, the fourth subvector of each node is calculated using the codebook information (also referred to as "fourth codebook information") corresponding to the fourth subvector in distance calculation. vector quantized.

なお、代表ベクトルを求める処理等、コードブック情報の生成は、種々の技術を適宜用いて生成される。コードブック情報の生成については従来技術であるため詳細な説明を省略する。また、ルックアップテーブルについては上記に限らず、例えば、分割された部分ベクトル(サブベクトル)全体で1つのルックアップテーブル(コードブック情報)を用いてもよいが、この点については後述する。 Note that the codebook information, such as the process of determining the representative vector, is generated using various techniques as appropriate. Since generation of codebook information is a conventional technique, detailed explanation will be omitted. Further, the lookup table is not limited to the above, and for example, one lookup table (codebook information) may be used for all divided partial vectors (subvectors), but this point will be described later.

ここから、検索クエリQE1を対象とする検索処理を説明する。まず、情報処理装置100は、検索クエリQE1を取得する(ステップS11)。例えば、情報処理装置100は、ユーザが利用する端末装置10(図4参照)から検索クエリQE1を取得する。 From here, a search process targeting the search query QE1 will be explained. First, the information processing device 100 obtains the search query QE1 (step S11). For example, the information processing device 100 acquires the search query QE1 from the terminal device 10 (see FIG. 4) used by the user.

そして、情報処理装置100は、検索クエリQE1であるベクトルを4分割する。すなわち、情報処理装置100は、検索クエリQE1を4つの部分クエリに分割する。図1では、情報処理装置100は、検索クエリQE1を、第1サブベクトルである第1部分クエリQE1-1、第2サブベクトルである第2部分クエリQE1-2、第3サブベクトルである第3部分クエリQE1-3、及び第4サブベクトルである第4部分クエリQE1-4との4つのサブベクトルに分割する。具体的には、情報処理装置100は、「45,23,2…」を第1部分クエリQE1-1とし、「127,34,5…」を第2部分クエリQE1-2とし、「20,98,110…」を第3部分クエリQE1-3とし、「12,45,4…」を第4部分クエリQE1-4とする。 Then, the information processing device 100 divides the vector that is the search query QE1 into four. That is, the information processing device 100 divides the search query QE1 into four partial queries. In FIG. 1, the information processing device 100 divides the search query QE1 into a first partial query QE1-1 which is a first subvector, a second partial query QE1-2 which is a second subvector, and a second partial query QE1-2 which is a third subvector. It is divided into four subvectors: 3 partial queries QE1-3 and a fourth partial query QE1-4, which is a fourth subvector. Specifically, the information processing device 100 sets "45, 23, 2..." as a first partial query QE1-1, "127, 34, 5..." as a second partial query QE1-2, and sets "20, 98, 110...'' is the third partial query QE1-3, and ``12, 45, 4...'' is the fourth partial query QE1-4.

そして、情報処理装置100は、検索クエリQE1の各サブベクトルと、そのサブベクトルに対応するコードブックのベクトルとの間の距離を算出する。情報処理装置100は、図2のコードブック情報TB1~TB4に示すように、検索クエリQE1の各サブベクトルと各コードブックのベクトルとの間の距離(差分)を算出する。図2は、第1の実施形態に係るデータの一例を示す図である。 Then, the information processing device 100 calculates the distance between each subvector of the search query QE1 and the vector of the codebook corresponding to that subvector. The information processing device 100 calculates the distance (difference) between each subvector of the search query QE1 and the vector of each codebook, as shown in codebook information TB1 to TB4 in FIG. 2. FIG. 2 is a diagram showing an example of data according to the first embodiment.

コードブック情報TB1は、第1サブベクトルに対応する第1コードブック情報を示し、情報処理装置100は、第1サブベクトルに対応するコードブックCD11~CD19の各々のベクトルと、第1部分クエリQE1-1との間の距離を算出する。図2では、情報処理装置100は、コードブック情報TB1に示すように、コードブックCD11と第1部分クエリQE1-1との間の距離を距離DS11と算出する。同様に、情報処理装置100は、コードブックCD12~CD14等の各々と第1部分クエリQE1-1との間の距離を距離DS12~DS14等と算出する。 The codebook information TB1 indicates first codebook information corresponding to the first subvector, and the information processing apparatus 100 stores each vector of the codebooks CD11 to CD19 corresponding to the first subvector and the first partial query QE1. -1. In FIG. 2, the information processing device 100 calculates the distance between the codebook CD11 and the first partial query QE1-1 as a distance DS11, as shown in codebook information TB1. Similarly, the information processing device 100 calculates the distances between each of the codebooks CD12 to CD14, etc. and the first partial query QE1-1 as distances DS12 to DS14, etc.

同様に、コードブック情報TB2~TB4の各々は、第2~第4サブベクトルの各々に対応する第2~第4コードブック情報を示す。情報処理装置100は、コードブック情報TB2に示すように、コードブックCD21~CD24等の各々と第2部分クエリQE1-2との間の距離を距離DS21~DS24等と算出する。情報処理装置100は、コードブック情報TB3に示すように、コードブックCD31~CD34等の各々と第3部分クエリQE1-3との間の距離を距離DS31~DS34等と算出する。情報処理装置100は、コードブック情報TB4に示すように、コードブックCD41~CD44等の各々と第4部分クエリQE1-4との間の距離を距離DS41~DS44等と算出する。 Similarly, each of codebook information TB2 to TB4 indicates second to fourth codebook information corresponding to each of the second to fourth subvectors. The information processing device 100 calculates the distances between each of the codebooks CD21 to CD24, etc. and the second partial query QE1-2 as distances DS21 to DS24, etc., as shown in the codebook information TB2. The information processing device 100 calculates the distances between each of the codebooks CD31 to CD34, etc. and the third partial query QE1-3 as distances DS31 to DS34, etc., as shown in the codebook information TB3. The information processing device 100 calculates the distances between each of the codebooks CD41 to CD44, etc. and the fourth partial query QE1-4 as distances DS41 to DS44, etc., as shown in codebook information TB4.

なお、図2では説明のため抽象的に示すが、距離DS11~DS44等は具体的な値であるものとする。距離は浮動小数点で表される値であるが、後述のSIMD(Single Instruction, Multiple Data)による高速化のためにscale-offset-compression(「https://www.unidata.ucar.edu/blogs/developer/entry/compression_by_scaling_and_offfset」等参照)により1バイト整数型に圧縮してもよい。情報処理装置100は、各コードブックとクエリとの間の距離算出を、検索クエリQE1を取得したタイミングで行ってもよいし、その情報が必要になったタイミングで行ってもよい。情報処理装置100は、検索処理において、コードブック情報TB1~TB4をルックアップテーブルとして用いて、各ノードと検索クエリQE1との間の距離、すなわち近似距離(「第1距離」ともいう)を算出する。このように、情報処理装置100は、検索処理において、グラフを探索する際には、各ノードと検索クエリとの間の真の距離(「第2距離」ともいう)ではなく、近似距離(第1距離)を計算し処理を行うことにより、効率的な検索処理を可能にすることができる。 Although the distances DS11 to DS44 and the like are shown abstractly in FIG. 2 for the sake of explanation, it is assumed that the distances DS11 to DS44, etc. are concrete values. The distance is a value expressed as a floating point number, but scale-offset-compression (https://www.unidata.ucar.edu/blogs/ developer/entry/compression_by_scaling_and_offfset" etc.) may be used to compress it into a 1-byte integer type. The information processing apparatus 100 may calculate the distance between each codebook and the query at the timing when the search query QE1 is acquired, or at the timing when the information becomes necessary. In the search process, the information processing device 100 uses the codebook information TB1 to TB4 as a lookup table to calculate the distance between each node and the search query QE1, that is, the approximate distance (also referred to as "first distance"). do. In this way, when searching a graph in the search process, the information processing device 100 uses approximate distances (also referred to as "second distances") rather than true distances (also referred to as "second distances") between each node and the search query. 1 distance) and perform the processing, it is possible to perform efficient search processing.

情報処理装置100は、検索クエリQE1を対象とする検索処理を実行する(ステップS12)。情報処理装置100は、検索クエリQE1を対象として、グラフGR1を用いた図11に示すような検索処理を行うことにより、検索クエリQE1の検索結果を得る。図11に示す検索処理についての詳細は後述する。情報処理装置100は、検索クエリQE1を対象として検索処理を行うことにより、検索数のノードを検索クエリQE1の近傍のノードとして抽出する。 The information processing device 100 executes a search process targeting the search query QE1 (step S12). The information processing device 100 obtains a search result for the search query QE1 by performing a search process as shown in FIG. 11 using the graph GR1 for the search query QE1. Details of the search process shown in FIG. 11 will be described later. The information processing device 100 performs a search process on the search query QE1, thereby extracting the searched nodes as nodes in the vicinity of the search query QE1.

情報処理装置100は、検索クエリQE1を対象とする検索処理において、各ノードのうち、所定のノードをグラフGR1の検索の開始点(起点)となるノード(以下「起点ノード」ともいう)として選択する。例えば、情報処理装置100は、起点ノードを、木構造のインデックス等の所定のインデックスを用いて選択する。図1の例では、情報処理装置100は、起点ノードとして、ノードN7を選択するものとする。なお、図1では説明を簡単にするために、所定のインデックスを用いてノードN7のみを起点ノードとして選択する場合を示すが、情報処理装置100は、複数のノードを起点ノードとして選択してもよいし、ランダム等の様々な方法により起点ノードを選択してもよい。 In the search process targeting the search query QE1, the information processing device 100 selects a predetermined node from among the nodes as a node (hereinafter also referred to as "starting point node") that becomes the starting point (starting point) of the search for the graph GR1. do. For example, the information processing apparatus 100 selects the starting node using a predetermined index such as a tree-structured index. In the example of FIG. 1, it is assumed that the information processing apparatus 100 selects node N7 as the starting point node. Note that although FIG. 1 shows a case where only node N7 is selected as the starting point node using a predetermined index to simplify the explanation, the information processing apparatus 100 can also select multiple nodes as the starting point node. Alternatively, the starting node may be selected by various methods such as random.

ここで、情報処理装置100は、検索クエリQE1を対象とする検索処理において、一のノードからのエッジが連結されたノード(以下「接続ノード」ともいう)と検索クエリとの距離を並列化して算出する(ステップS13)。図1では、情報処理装置100は、一括処理情報LT1に示すように、ノードN7からのエッジが連結されたノード(接続ノード)であるノードN9、N12、N54、N85等については、検索クエリQE1との距離を並列化して算出する。 Here, in the search process targeting the search query QE1, the information processing device 100 parallelizes the distance between the search query and a node to which edges from one node are connected (hereinafter also referred to as "connection node"). Calculate (step S13). In FIG. 1, the information processing device 100 uses the search query QE1 for nodes N9, N12, N54, N85, etc., which are nodes (connection nodes) to which edges from the node N7 are connected, as shown in the batch processing information LT1. Calculate the distance between the two in parallel.

例えば、ノードN9は、ノード情報INF1に示すように、第1サブベクトルがコードブックCD12、第2サブベクトルがコードブックCD23、第3サブベクトルがコードブックCD35、及び第4サブベクトルがコードブックCD47に対応付けられていることを示す。なお、変数CDのサイズはコードブックのサイズにより決定されるので、例えばコードブックサイズが16であれば、変数CDは4ビットで良いことになり、大幅なデータの圧縮が可能である。そのため、情報処理装置100は、コードブックCD12の距離DS12、コードブックCD23の距離DS23、コードブックCD35の距離DS35、及びコードブックCD47の距離DS47を用いて、ノードN9と、検索クエリQE1との距離を算出する。例えば、情報処理装置100は、コードブックCD12の距離DS12、コードブックCD23の距離DS23、コードブックCD35の距離DS35、及びコードブックCD47の距離DS47の合計を、ノードN9と検索クエリQE1との距離として算出する。 For example, in node N9, as shown in node information INF1, the first subvector is codebook CD12, the second subvector is codebook CD23, the third subvector is codebook CD35, and the fourth subvector is codebook CD47. Indicates that it is associated with. Note that the size of the variable CD is determined by the size of the codebook, so if the codebook size is 16, for example, the variable CD only needs to be 4 bits, making it possible to significantly compress data. Therefore, the information processing device 100 uses the distance DS12 of the codebook CD12, the distance DS23 of the codebook CD23, the distance DS35 of the codebook CD35, and the distance DS47 of the codebook CD47 to determine the distance between the node N9 and the search query QE1. Calculate. For example, the information processing device 100 calculates the sum of the distance DS12 of the codebook CD12, the distance DS23 of the codebook CD23, the distance DS35 of the codebook CD35, and the distance DS47 of the codebook CD47 as the distance between the node N9 and the search query QE1. calculate.

例えば、ノードN12は、ノード情報INF2に示すように、第1サブベクトルがコードブックCD14、第2サブベクトルがコードブックCD29、第3サブベクトルがコードブックCD31、及び第4サブベクトルがコードブックCD45に対応付けられていることを示す。例えば、情報処理装置100は、コードブックCD14の距離DS14、コードブックCD29の距離DS29、コードブックCD31の距離DS31、及びコードブックCD45の距離DS45の合計を、ノードN12と検索クエリQE1との距離として算出する。同様に、情報処理装置100は、ノードN54のノード情報INF3を用いて、ノードN54と検索クエリQE1との距離を算出し、ノードN85のノード情報INF4を用いて、ノードN85と検索クエリQE1との距離を算出する。 For example, in the node N12, as shown in the node information INF2, the first subvector is codebook CD14, the second subvector is codebook CD29, the third subvector is codebook CD31, and the fourth subvector is codebook CD45. Indicates that it is associated with. For example, the information processing device 100 calculates the sum of the distance DS14 of the codebook CD14, the distance DS29 of the codebook CD29, the distance DS31 of the codebook CD31, and the distance DS45 of the codebook CD45 as the distance between the node N12 and the search query QE1. calculate. Similarly, the information processing device 100 uses the node information INF3 of the node N54 to calculate the distance between the node N54 and the search query QE1, and uses the node information INF4 of the node N85 to calculate the distance between the node N85 and the search query QE1. Calculate distance.

例えば、情報処理装置100は、SIMDの演算に関する並列化により、ノードN9、N12、N54、N85の各々と検索クエリQE1との距離を一括して算出する。これにより、情報処理装置100は、距離計算を並列化することにより、距離計算を高速化することでき、効率的な検索処理を可能にすることができる。 For example, the information processing device 100 calculates the distance between each of the nodes N9, N12, N54, and N85 and the search query QE1 at once by parallelizing SIMD calculations. Thereby, the information processing device 100 can speed up the distance calculation by parallelizing the distance calculation, and can perform efficient search processing.

なお、図1では説明を簡単にするために、4つのノードを対象として距離を並列化して算出する場合を示すが、並列化される数は、情報処理装置100の仕様に基づいて決定される。例えば、情報処理装置100がSIMDにより一括して処理できる数(「一括処理可能単位」ともいう)が「4」である場合、図1と同様の処理となるが、SIMDにより一括して処理できる数(一括処理可能単位)が「16」である場合、情報処理装置100は、16個のノードを対象として距離を並列化して算出する。また、一括処理可能単位が「32」である場合、情報処理装置100は、32個のノードを対象として距離を並列化して算出する。このように、情報処理装置100は、SIMDにより一括して処理できる数(一括処理可能単位)に対応する数のノードの距離計算を一括して行うことにより、効率的な検索処理を可能にすることができる。 Note that, in order to simplify the explanation, FIG. 1 shows a case where the distance is computed in parallel for four nodes, but the number to be computed in parallel is determined based on the specifications of the information processing device 100. . For example, if the number that the information processing device 100 can process at once using SIMD (also referred to as “unit that can be processed at once”) is “4”, the processing will be similar to that shown in FIG. 1, but it will be possible to process at once using SIMD. When the number (unit that can be collectively processed) is "16", the information processing apparatus 100 calculates distances in parallel for 16 nodes. Further, when the batch processable unit is "32", the information processing apparatus 100 calculates distances in parallel for 32 nodes. In this way, the information processing device 100 enables efficient search processing by collectively calculating the distances of the number of nodes corresponding to the number that can be processed at once by SIMD (batch processable unit). be able to.

情報処理装置100は、上記のように複数のノードの距離計算を並列化して行いながら、検索クエリQE1を対象として、グラフGR1を用いた図11に示すような検索処理を行うことにより、検索数のノードを検索クエリQE1の近傍のノードとして抽出する。 The information processing device 100 calculates the number of searches by performing a search process as shown in FIG. The node is extracted as a node in the vicinity of the search query QE1.

上述のように、情報処理装置100は、ベクトル量子化された各ノードのベクトルと検索クエリとの間の近似距離(第1距離)を算出して、第1距離を用いて検索処理を行う事により、効率的な検索処理を可能にすることができる。また、情報処理装置100は、並列化可能な数のノードの距離計算を一括して行うことにより、効率的な検索処理を可能にすることができる。上記のように、情報処理装置100は、グラフのノードの複数の接続ノードとの近似距離を一括して計算することにより、限定されたメモリ領域(ルックアップテーブル)を繰り返し利用する(メモリキャッシュにのる)ので高速化が可能である。 As described above, the information processing device 100 calculates the approximate distance (first distance) between the vector quantized vector of each node and the search query, and performs the search process using the first distance. This enables efficient search processing. Furthermore, the information processing apparatus 100 can perform efficient search processing by performing distance calculations for a number of nodes that can be parallelized at once. As described above, the information processing device 100 repeatedly uses a limited memory area (lookup table) (memory cache) by collectively calculating approximate distances between nodes of the graph and multiple connected nodes. speed).

また、図1の例では、情報処理装置100は、直積量子化により分割したベクトルを用いて検索処理を行うことにより、ベクトルを分割せずに検索処理を行う場合に比べて、より効率的な検索処理を可能にすることができる。例えば、情報処理装置100は、直積量子化により短いベクトル間の距離を算出することとなり、距離計算の対象となるベクトルのサイズを小さくできる。また、情報処理装置100は、距離計算時に利用するルックアップテーブルによりアクセスするメモリ空間を、分割されたサブベクトルのルックアップテーブルに限定することができる。情報処理装置100は、直積量子化により検索精度の低下を抑制しつつ、ベクトルサイズを削減することができる。なお、図1では、直積量子化が行われた場合の処理を説明したが、直積量子化が行われた場合は一例に過ぎず、情報処理装置100は、直積量子化を行われてないベクトルを用いて検索処理を行ってもよい。 In addition, in the example of FIG. 1, the information processing device 100 performs search processing using vectors divided by direct product quantization, thereby achieving more efficient search processing than when performing search processing without dividing vectors. Search processing can be enabled. For example, the information processing device 100 calculates distances between short vectors by direct product quantization, and can reduce the size of vectors that are targets of distance calculation. Further, the information processing apparatus 100 can limit the memory space accessed by the lookup table used during distance calculation to the lookup table of divided subvectors. The information processing apparatus 100 can reduce the vector size while suppressing a decrease in search accuracy by using Cartesian product quantization. In addition, in FIG. 1, the processing in the case where Cartesian product quantization is performed has been described, but the case where Cartesian product quantization is performed is only an example, and the information processing device 100 can process vectors that have not been subjected to Cartesian product quantization. The search process may be performed using .

〔1-1-1.その他〕
上述した処理は一例に過ぎず、情報処理装置100は、効率的な検索処理の為に様々な情報や手法を用いて、検索処理を行ってもよい。この点について、各事項について詳述する。
[1-1-1. others〕
The above-described processing is merely an example, and the information processing apparatus 100 may perform search processing using various information and methods for efficient search processing. Regarding this point, each item will be explained in detail.

(エッジ(接続ノード)の格納態様)
各ノードに連結されるエッジ(接続ノード)の情報について、ノードでのエッジ(接続ノード)の格納態様(格納方法)には、例えば以下の第1格納態様及び第2格納態様の2種類が考えられるため、格納態様については、利用形態によって選択されてもよい。
(Storage mode of edges (connection nodes))
Regarding the information of edges (connection nodes) connected to each node, there are two types of storage modes (storage methods) for edges (connection nodes) in nodes: the following first storage mode and second storage mode. Therefore, the storage mode may be selected depending on the usage mode.

例えば、第1格納態様としては、各ノードには接続ノード(オブジェクト)のIDを対応付けて格納し、別のテーブルに直積量子化されたオブジェクトの情報を格納してもよい。例えば、図7及び図8に示すデータの格納態様が第1格納態様に対応する。第1格納態様の場合、メモリ使用量を削減できる。 For example, as a first storage mode, each node may be stored in association with the ID of the connected node (object), and information on objects subjected to product quantization may be stored in another table. For example, the data storage format shown in FIGS. 7 and 8 corresponds to the first storage format. In the case of the first storage mode, memory usage can be reduced.

また、例えば、第2格納態様としては、各ノードに直に量子化されたオブジェクトを持つ。第2格納態様の場合、あるノードの接続ノード(オブジェクト)が量子化された情報を各ノードに対応付けて記憶する。例えば、ノードN7の接続ノードであるノードN9、N12、N54、N85の各々の量子化された情報(図2中のノード情報INF1~INF4)がノードN7に対応付けて記憶されるデータの格納態様が第2格納態様に対応する。第2格納態様の場合、検索時にシーケンシャルにオブジェクトをアクセスするため速度低下が発生を抑制することができる。 Furthermore, for example, as a second storage mode, each node has a quantized object directly. In the case of the second storage mode, information obtained by quantizing connection nodes (objects) of a certain node is stored in association with each node. For example, a data storage mode in which quantized information (node information INF1 to INF4 in FIG. 2) of nodes N9, N12, N54, and N85, which are connected nodes of node N7, is stored in association with node N7. corresponds to the second storage mode. In the case of the second storage mode, since objects are accessed sequentially during a search, a decrease in speed can be suppressed.

(ルックアップテーブル)
上述した例では、分割したサブベクトルごとに個別にクラスタリングし、個々にルックアップテーブル(コードブック情報)を生成する場合を示したが、この場合に限らず、ルックアップテーブルについては任意の態様であってもよい。
(lookup table)
In the above example, each divided subvector is individually clustered and a lookup table (codebook information) is generated individually, but the lookup table is not limited to this case. There may be.

例えば、全てのサブベクトルに対してクラスタリングし、一つのルックアップテーブルが生成されてもよい。上述した例では、例えば、第1サブベクトル、第2サブベクトル、第3サブベクトル、及び第4サブベクトルの4つのサブベクトル全体を対象にクラスタリングし、一つのルックアップテーブルが生成されてもよい。 For example, all subvectors may be clustered and one lookup table may be generated. In the above example, for example, one lookup table may be generated by clustering all four subvectors: the first subvector, the second subvector, the third subvector, and the fourth subvector. .

また、個々のサブベクトルを部分的にマージして複数のクラスごとに、ルックアップテーブルが生成されてもよい。例えば、分散が類似しているサブベクトルをマージして複数のクラスを形成し、複数のクラスごとに、ルックアップテーブルが生成されてもよい。上述した例では、例えば、第1サブベクトル及び第3サブベクトルの2つのサブベクトの分散が類似し、第2サブベクトル及び第4サブベクトルの2つのサブベクトの分散が類似している場合、第1サブベクトル及び第3サブベクトルをマージして第1クラスとし、第2サブベクトル及び第4サブベクトルをマージして第2クラスとしてもよい。この場合、第1クラスのルックアップテーブル(コードブック情報)と、第2クラスのルックアップテーブル(コードブック情報)との2つのルックアップテーブルが生成されてもよい。 Further, lookup tables may be generated for each of a plurality of classes by partially merging individual subvectors. For example, subvectors with similar variances may be merged to form multiple classes, and a lookup table may be generated for each of the multiple classes. In the above example, for example, if the variances of two subvectors, the first subvector and the third subvector, are similar, and the variances of the two subvectors, the second subvector and the fourth subvector, are similar, then the first The sub-vector and the third sub-vector may be merged to form the first class, and the second sub-vector and the fourth sub-vector may be merged to form the second class. In this case, two lookup tables, a first class lookup table (codebook information) and a second class lookup table (codebook information), may be generated.

(転置)
上述したデータの保持は一例に過ぎず、情報処理装置100は、効率的なデータ参照等が可能となるように、種々の態様によりデータを保持してもよい。例えば、情報処理装置100は、転置したデータを保持してもよい。この点について、図3を用いて説明する。図3は、第1の実施形態に係るデータの一例を示す図である。
(transposed)
The data retention described above is merely an example, and the information processing apparatus 100 may retain data in various ways so as to enable efficient data reference. For example, the information processing device 100 may hold transposed data. This point will be explained using FIG. 3. FIG. 3 is a diagram showing an example of data according to the first embodiment.

例えば、ノード情報INF1~INF4に示すようにデータを保持し、ノード情報INF1~INF4を順次処理した場合、図2のステップS14に示すように、ルックアップテーブルであるコードブック情報TB1~TB4を繰り返し参照することとなる。 For example, if data is held as shown in node information INF1 to INF4 and node information INF1 to INF4 are sequentially processed, codebook information TB1 to TB4, which is a lookup table, is repeatedly processed as shown in step S14 in FIG. Please refer to it.

そこで、ステップS15に示すように、ノード情報INF1~INF4を転置した転置データTR1~TR4が生成される。例えば、情報処理装置100は、ノード情報INF1~INF4を転置した転置データTR1~TR4を生成する。 Therefore, as shown in step S15, transposed data TR1 to TR4 are generated by transposing the node information INF1 to INF4. For example, the information processing device 100 generates transposed data TR1 to TR4 by transposing node information INF1 to INF4.

図3では、ノード情報INF1~INF4のうち、ノードN9、N12、N54、N85の第1サブベクトルに対応するコードブックの一覧である第1データTR1が生成される。具体的には、ノードN9の第1サブベクトルに対応するコードブックCD12、ノードN12の第1サブベクトルに対応するコードブックCD14、ノードN54の第1サブベクトルに対応するコードブックCD13、及びノードN85の第1サブベクトルに対応するコードブックCD18の一覧である第1データTR1が生成される。 In FIG. 3, first data TR1 is generated which is a list of codebooks corresponding to the first subvectors of nodes N9, N12, N54, and N85 among the node information INF1 to INF4. Specifically, codebook CD12 corresponding to the first subvector of node N9, codebook CD14 corresponding to the first subvector of node N12, codebook CD13 corresponding to the first subvector of node N54, and node N85. First data TR1, which is a list of codebook CD18 corresponding to the first subvector of , is generated.

同様に、ノード情報INF1~INF4のうち、ノードN9、N12、N54、N85の第2サブベクトルに対応するコードブックの一覧である第2データTR2が生成される。また、ノード情報INF1~INF4のうち、ノードN9、N12、N54、N85の第3サブベクトルに対応するコードブックの一覧である第3データTR3が生成される。ノード情報INF1~INF4のうち、ノードN9、N12、N54、N85の第4サブベクトルに対応するコードブックの一覧である第4データTR4が生成される。 Similarly, second data TR2 is generated, which is a list of codebooks corresponding to the second subvectors of nodes N9, N12, N54, and N85 among the node information INF1 to INF4. Also, third data TR3 is generated, which is a list of codebooks corresponding to the third subvectors of nodes N9, N12, N54, and N85 among the node information INF1 to INF4. Fourth data TR4 is generated, which is a list of codebooks corresponding to the fourth subvectors of nodes N9, N12, N54, and N85 among the node information INF1 to INF4.

なお、各転置データTR1~TR4の一覧のうち、何番目のデータがどのノードに対応するかの対応付けを示す対応付情報が生成される。図3の例では、各転置データTR1~TR4の一覧のうち、1番目(最初)のデータがノードN9に対応し、2番目のデータがノードN12に対応し、3番目のデータがノードN54に対応し、4番目(最後)のデータがノードN85に対応することを示す対応付情報が生成される。情報処理装置100は、対応付情報を参照することにより、各転置データTR1~TR4の一覧の各データが、どのノードに対応するかを特定することができる。例えば、情報処理装置100は、対応付情報を生成する。 Note that correspondence information is generated that indicates the correspondence between which data in the list of each transposed data TR1 to TR4 corresponds to which node. In the example of FIG. 3, among the list of transposed data TR1 to TR4, the first data corresponds to node N9, the second data corresponds to node N12, and the third data corresponds to node N54. Correspondingly, association information indicating that the fourth (last) data corresponds to node N85 is generated. By referring to the correspondence information, the information processing device 100 can specify which node each data in the list of transposed data TR1 to TR4 corresponds to. For example, the information processing device 100 generates association information.

情報処理装置100は、ノード情報INF1~INF4を転置した転置データTR1~TR4を用いて処理を行う。例えば、情報処理装置100は、転置データTR1を用いてルックアップテーブルを参照する場合、コードブック情報TB1のみを参照することとなり、1つのコードブック情報TB1のみを参照することとなる。同様に、情報処理装置100は、転置データTR2を用いてルックアップテーブルを参照する場合、コードブック情報TB2のみを参照することとなり、1つのコードブック情報TB2のみを参照することとなる。転置データTR3、TR4についても同様に1つのコードブック情報のみを参照することとなる。これにより、情報処理装置100は、効率的にデータを参照することができるため、効率的な検索処理を可能にすることができる。 The information processing device 100 performs processing using transposed data TR1 to TR4 obtained by transposing node information INF1 to INF4. For example, when the information processing device 100 refers to the lookup table using the transposed data TR1, it refers only to the codebook information TB1, and refers to only one codebook information TB1. Similarly, when the information processing device 100 refers to the lookup table using the transposed data TR2, it refers only to the codebook information TB2, and refers to only one codebook information TB2. Similarly, only one codebook information is referred to for the transposed data TR3 and TR4. As a result, the information processing apparatus 100 can efficiently refer to data, thereby enabling efficient search processing.

このように、一括距離計算時にサブクラス(サブベクトル等)ごとのルックアップテーブルの参照するように、ノードの近傍オブジェクト(接続ノード)のデータを転置し、サブクラスごとにまとめ上げた順番でデータをノードにもつことで、参照の局所性がさらに高まり、高速化が可能となる。 In this way, in order to refer to the lookup table for each subclass (subvector, etc.) during batch distance calculation, the data of the neighboring objects (connected nodes) of the node is transposed, and the data is sent to the node in the order in which it is compiled for each subclass. By having both, the locality of reference is further increased and speeding up is possible.

なお、図3では説明を簡単にするために、4つのノードを対象として転置データを生成する場合を示すが、転置データを生成する単位(ノードの数)は、情報処理装置100の仕様に基づいて決定される。例えば、情報処理装置100の一括処理可能単位が「4」である場合、図3と同様の処理となるが、一括処理可能単位が「16」である場合、16個のノードを一つの単位として転置データが生成される。また、一括処理可能単位が「32」である場合、32個のノードを一つの単位として転置データが生成される。このように、情報処理装置100がSIMDにより一括して処理できる数(一括処理可能単位)に応じて生成される転置データを用いることで、情報処理装置100は、効率的にデータを参照することができるため、効率的な検索処理を可能にすることができる。 Note that, in order to simplify the explanation, FIG. 3 shows a case where transposed data is generated for four nodes, but the unit (number of nodes) in which transposed data is generated is based on the specifications of the information processing device 100. Determined by For example, if the batch processable unit of the information processing device 100 is "4", the process is similar to that shown in FIG. 3, but if the batch processable unit is "16", 16 nodes are treated as one unit. Transposed data is generated. Further, when the batch processable unit is "32", transposed data is generated with 32 nodes as one unit. In this way, by using the transposed data that is generated according to the number that the information processing apparatus 100 can process at once using SIMD (units that can be processed at once), the information processing apparatus 100 can refer to data efficiently. This makes it possible to perform efficient search processing.

例えば、上述のような検索処理時の時間の多くは距離計算であるが、距離計算は上記のようなSIMDによる並列計算により高速化を図ることができる。このように距離計算を並列化した場合、オブジェクトデータをフェッチする時間が検索処理を占めることになる。このフェッチ時間を削減することができれば、さらなる高速化が実現される。なお、データをフェッチする時間を削減するにはプリフェッチを行う方法があるが、限界がある。 For example, much of the time during the above-mentioned search process is spent on distance calculation, but distance calculation can be sped up by parallel calculation using SIMD as described above. When distance calculation is parallelized in this way, the time required to fetch object data occupies the search process. If this fetch time can be reduced, further speeding up can be achieved. Note that there is a method of prefetching to reduce the time required to fetch data, but there is a limit.

一方、情報処理装置100は、上述のように参照の局所性を高め、効率的にデータを参照することを可能にすることにより、データのフェッチを抑制し、さらなる高速化を実現することができる。 On the other hand, the information processing device 100 can suppress data fetching and achieve further speedup by increasing the locality of reference and making it possible to efficiently refer to data as described above. .

(検索結果)
なお、上述した第2距離(真の距離)による検索結果を返す場合には、以下の第1の方法及び第2の方法の2つの方法が考えられる。
(search results)
Note that when returning search results based on the second distance (true distance) described above, the following two methods, the first method and the second method, can be considered.

例えば、第1の方法としては、検索数を指定された検索数より多く探索し、探索終了時に、真の距離計算を行って距離でソートし、指定された検索数のオブジェクトを検索結果としてもよい。この場合、情報処理装置100は、指定された検索数(「第1数」ともいう)よりも多い数(「拡張検索数」ともいう)のノードを抽出するように、拡張検索数(「第2数」ともいう)を検索数として設定し、図11に示すような検索処理を行うことにより、拡張検索数のノード、すなわち指定された検索数よりも多い数のノードを近傍候補ノードとして抽出する。そして、情報処理装置100は、近傍候補ノードを対象として、第2距離(真の距離)を算出し、近傍候補ノードのうち、第2距離が短い方から第1数のノードを検索クエリの近傍のノードとして抽出する。 For example, the first method is to search for more than the specified number of searches, and at the end of the search, calculate the true distance, sort by distance, and select the specified number of objects as search results. good. In this case, the information processing device 100 extracts nodes whose number (also referred to as "extended search number") is greater than the specified number of searches (also referred to as "first number"). By setting the number of searches (also referred to as ``number 2'') as the search number and performing the search process as shown in Figure 11, nodes with the extended search number, that is, nodes whose number is greater than the specified number of searches, are extracted as nearby candidate nodes. do. Then, the information processing device 100 calculates a second distance (true distance) for the neighboring candidate nodes, and selects the first number of nodes from among the neighboring candidate nodes, starting from the one with the shortest second distance, in the vicinity of the search query. Extract as a node.

また、例えば、第2の方法としては、探索中に、第1距離(近似距離)に基づいて、ノード(オブジェクト)が探索範囲内または検索範囲内に入った場合のみに、第2距離(真の距離)を計算し、近似距離を真の距離で置き換えることで、真の距離による検索結果を返してもよい。 For example, as a second method, only when a node (object) is within the search range or within the search range based on the first distance (approximate distance), the second distance (true The search result based on the true distance may be returned by calculating the approximate distance (distance) and replacing the approximate distance with the true distance.

ここでいう、検索範囲は、図11中の「r」により規定される範囲であり、探索範囲は、図11中の検索範囲係数「ε」を用いた「r(1+ε)」により規定される範囲である。例えば、検索範囲に入った場合に第2距離(真の距離)を計算する場合、情報処理装置100は、ノードの第1距離(近似距離)が「r」以下となった場合に、そのノードの第2距離(真の距離)を算出する。また、探索範囲に入った場合に第2距離(真の距離)を計算する場合、情報処理装置100は、ノードの第1距離(近似距離)が「r(1+ε)」以下となった場合に、そのノードの第2距離(真の距離)を算出する。 The search range here is the range defined by "r" in FIG. 11, and the search range is defined by "r(1+ε)" using the search range coefficient "ε" in FIG. range. For example, when calculating the second distance (true distance) when the node enters the search range, the information processing device 100 calculates whether the node A second distance (true distance) is calculated. Further, when calculating the second distance (true distance) when the node enters the search range, the information processing device 100 calculates the second distance (true distance) when the first distance (approximate distance) of the node is equal to or less than “r(1+ε)”. , calculate the second distance (true distance) of that node.

例えば、精度を高める場合、探索範囲に入った場合を条件としてもよい。また、処理の高速化を求める場合、検索範囲に入った場合を条件としてもよい。なお、上記は一例に過ぎず、いずれを条件とするかは、検索範囲係数「ε」の値や処理の目的などに応じて適宜設定されてもよい。 For example, to improve accuracy, the condition may be set to be within the search range. Furthermore, when speeding up the processing is desired, the condition may be set to be within the search range. Note that the above is only an example, and which condition is to be used may be set as appropriate depending on the value of the search range coefficient "ε", the purpose of processing, etc.

(ベクトル量子化)
なお、情報処理装置100は、特許文献3に示すように、2段階のベクトル量子化を行ってもよい。そして、情報処理装置100は、下記の式(1)により、検索クエリと各ノードとの距離を算出してもよい。
(vector quantization)
Note that the information processing device 100 may perform two-stage vector quantization as shown in Patent Document 3. Then, the information processing device 100 may calculate the distance between the search query and each node using the following equation (1).

Figure 0007353330000001
Figure 0007353330000001

ここで、上記式(1)中の左辺の値は、例えば、検索クエリとノードとの間の二乗距離を示す。また、例えば、上記式(1)中の「x」は、クエリに対応する。また、例えば、上記式(1)中の「y」は、ノードに対応する。また、例えば、上記式(1)の右辺中の「q(y)」は、「y」の代表ベクトル(セントロイド)を示す。例えば、情報処理装置100は、上記式(1)中の「y」について、ノードのベクトルデータを有しない場合は、各ノードが属する部分領域のセントロイドの数値を用いてもよい。また、例えば、「y-q(y)」は、残差ベクトルを示す。また、例えば、上記式(1)の右辺中の「q」は、所定の量子化器(関数)を示す。 Here, the value on the left side of the above equation (1) indicates, for example, the square distance between the search query and the node. Further, for example, "x" in the above formula (1) corresponds to a query. Further, for example, "y" in the above formula (1) corresponds to a node. Further, for example, "q c (y)" on the right side of the above equation (1) indicates a representative vector (centroid) of "y". For example, when the information processing apparatus 100 does not have node vector data for "y" in the above equation (1), the information processing apparatus 100 may use the numerical value of the centroid of the partial area to which each node belongs. Further, for example, "yq c (y)" indicates a residual vector. Further, for example, “q p ” on the right side of the above equation (1) indicates a predetermined quantizer (function).

また、例えば、上記式(1)の右辺中の「j」は、分割された空間の数であってもよい。例えば、図1の例では、上記式(1)の右辺中の「j」は、分割された空間の数「4」であってもよい。また、例えば、上記式(1)の右辺中の「u()」は、括弧中のベクトル間の部分残差ベクトルを示す。例えば、情報処理装置100は、上記式(1)を用いて、各部分空間におけるクエリとノードとの間の二乗距離を算出し、合算することにより、クエリとノードとの距離を算出してもよい。 Further, for example, "j" on the right side of the above equation (1) may be the number of divided spaces. For example, in the example of FIG. 1, "j" on the right side of the above equation (1) may be the number of divided spaces "4". Further, for example, "u j ()" on the right side of the above equation (1) indicates a partial residual vector between the vectors in parentheses. For example, the information processing device 100 may calculate the distance between the query and the node by calculating the squared distance between the query and the node in each subspace using the above equation (1), and summing the squared distance between the query and the node. good.

〔1-2.情報処理システムの構成〕
図4に示すように、情報処理システム1は、端末装置10と、情報提供装置50と、情報処理装置100とが含まれる。端末装置10と、情報提供装置50と、情報処理装置100とは所定のネットワークNを介して、有線または無線により通信可能に接続される。図4は、第1の実施形態に係る情報処理システムの構成例を示す図である。なお、図4に示した情報処理システム1には、複数台の端末装置10や、複数台の情報提供装置50や、複数台の情報処理装置100が含まれてもよい。
[1-2. Information processing system configuration]
As shown in FIG. 4, the information processing system 1 includes a terminal device 10, an information providing device 50, and an information processing device 100. The terminal device 10, the information providing device 50, and the information processing device 100 are connected via a predetermined network N so that they can communicate by wire or wirelessly. FIG. 4 is a diagram illustrating a configuration example of an information processing system according to the first embodiment. Note that the information processing system 1 shown in FIG. 4 may include multiple terminal devices 10, multiple information providing devices 50, and multiple information processing devices 100.

端末装置10は、ユーザによって利用される情報処理装置である。端末装置10は、ユーザによる種々の操作を受け付ける。なお、以下では、端末装置10をユーザと表記する場合がある。すなわち、以下では、ユーザを端末装置10と読み替えることもできる。なお、上述した端末装置10は、例えば、スマートフォンや、タブレット型端末や、ノート型PC(Personal Computer)や、デスクトップPCや、携帯電話機や、PDA(Personal Digital Assistant)等により実現される。 The terminal device 10 is an information processing device used by a user. The terminal device 10 accepts various operations by the user. Note that below, the terminal device 10 may be referred to as a user. That is, in the following, the user can also be read as the terminal device 10. Note that the above-described terminal device 10 is realized by, for example, a smartphone, a tablet terminal, a notebook PC (Personal Computer), a desktop PC, a mobile phone, a PDA (Personal Digital Assistant), or the like.

情報提供装置50は、ユーザ等に種々の情報提供を行うための情報が格納された情報処理装置である。例えば、情報提供装置50は、ウェブサーバ等の種々の外部装置から収集した文字情報等に基づくオブジェクトIDが格納される。例えば、情報提供装置50は、ユーザ等に画像検索サービスを提供する情報処理装置である。例えば、情報提供装置50は、画像検索サービスを提供するための各情報が格納される。例えば、情報提供装置50は、画像検索サービスの対象となる画像に対応するベクトル情報を情報処理装置100に提供する。また、情報提供装置50は、クエリを情報処理装置100に送信することにより、情報処理装置100からクエリに対応する画像を示すオブジェクトID等を受信する。 The information providing device 50 is an information processing device that stores information for providing various information to users and the like. For example, the information providing device 50 stores object IDs based on character information etc. collected from various external devices such as web servers. For example, the information providing device 50 is an information processing device that provides image search services to users and the like. For example, the information providing device 50 stores various pieces of information for providing an image search service. For example, the information providing device 50 provides the information processing device 100 with vector information corresponding to an image that is a target of an image search service. Furthermore, by transmitting a query to the information processing device 100, the information providing device 50 receives an object ID and the like indicating an image corresponding to the query from the information processing device 100.

情報処理装置100は、検索サービスを提供するコンピュータである。情報処理装置100は、検索クエリに対応する指定された検索数のオブジェクトを検索結果として提供する。情報処理装置100は、検索対象となるノード(オブジェクト)がエッジで連結されたグラフを用いて、検索クエリの近傍のノード(オブジェクト)を検索結果として提供する。情報処理装置100は、複数のオブジェクトの各々に対応するノード群がエッジにより連結されたグラフを用いて、検索クエリの近傍のノードを検索する検索処理において、所定の基準により選択された複数のノードと検索クエリとの距離を、ベクトル量子化がされた複数のノードのベクトル情報を用いて算出する。 The information processing device 100 is a computer that provides a search service. The information processing apparatus 100 provides a specified number of search objects corresponding to the search query as search results. The information processing apparatus 100 uses a graph in which search target nodes (objects) are connected by edges to provide nodes (objects) near a search query as search results. The information processing device 100 uses a graph in which a group of nodes corresponding to each of a plurality of objects are connected by edges to search for nodes in the vicinity of a search query. The distance between the search query and the search query is calculated using vector information of a plurality of nodes subjected to vector quantization.

例えば、情報処理装置100は、端末装置10からクエリ(検索クエリ)を受信すると、検索クエリに類似する対象(オブジェクト)を検索し、検索結果を端末装置に提供する。また、例えば、情報処理装置100が端末装置に提供するデータは、画像情報等のデータ自体であってもよいし、URL(Uniform Resource Locator)等の対応するデータを参照するための情報であってもよい。また、検索クエリや検索対象(オブジェクト)は、画像、音声、テキストデータなど、如何なる種類のデータであってもよい。 For example, upon receiving a query (search query) from the terminal device 10, the information processing device 100 searches for a target (object) similar to the search query, and provides the search result to the terminal device. Further, for example, the data that the information processing device 100 provides to the terminal device may be data itself such as image information, or information for referring to corresponding data such as a URL (Uniform Resource Locator). Good too. Further, the search query or search target (object) may be any type of data such as image, audio, text data, etc.

〔1-3.情報処理装置の構成〕
次に、図5を用いて、第1の実施形態に係る情報処理装置100の構成について説明する。図5は、第1の実施形態に係る情報処理装置100の構成例を示す図である。図5に示すように、情報処理装置100は、通信部110と、記憶部120と、制御部130とを有する。なお、情報処理装置100は、情報処理装置100の管理者等から各種操作を受け付ける入力部(例えば、キーボードやマウス等)や、各種情報を表示するための表示部(例えば、液晶ディスプレイ等)を有してもよい。
[1-3. Configuration of information processing device]
Next, the configuration of the information processing apparatus 100 according to the first embodiment will be described using FIG. 5. FIG. 5 is a diagram illustrating a configuration example of the information processing device 100 according to the first embodiment. As shown in FIG. 5, the information processing device 100 includes a communication section 110, a storage section 120, and a control section 130. Note that the information processing device 100 includes an input unit (for example, a keyboard, a mouse, etc.) that accepts various operations from an administrator of the information processing device 100, and a display unit (for example, a liquid crystal display, etc.) for displaying various information. May have.

(通信部110)
通信部110は、例えば、NIC(Network Interface Card)等によって実現される。そして、通信部110は、ネットワーク(例えば図4中のネットワークN)と有線または無線で接続され、端末装置10や情報提供装置50との間で情報の送受信を行う。
(Communication Department 110)
The communication unit 110 is realized by, for example, a NIC (Network Interface Card). The communication unit 110 is connected to a network (for example, network N in FIG. 4) by wire or wirelessly, and transmits and receives information to and from the terminal device 10 and the information providing device 50.

(記憶部120)
記憶部120は、例えば、RAM(Random Access Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。第1の実施形態に係る記憶部120は、図5に示すように、オブジェクト情報記憶部121と、グラフ情報記憶部122と、量子化情報記憶部123と、コードブック情報記憶部124とを有する。
(Storage unit 120)
The storage unit 120 is realized by, for example, a semiconductor memory element such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 5, the storage unit 120 according to the first embodiment includes an object information storage unit 121, a graph information storage unit 122, a quantization information storage unit 123, and a codebook information storage unit 124. .

(オブジェクト情報記憶部121)
第1の実施形態に係るオブジェクト情報記憶部121は、オブジェクトに関する各種情報を記憶する。例えば、オブジェクト情報記憶部121は、オブジェクトIDやベクトルデータを記憶する。図6は、第1の実施形態に係るオブジェクト情報記憶部の一例を示す図である。図6に示すオブジェクト情報記憶部121は、「オブジェクトID」、「ベクトル情報」といった項目が含まれる。
(Object information storage unit 121)
The object information storage unit 121 according to the first embodiment stores various information regarding objects. For example, the object information storage unit 121 stores object IDs and vector data. FIG. 6 is a diagram illustrating an example of an object information storage unit according to the first embodiment. The object information storage unit 121 shown in FIG. 6 includes items such as "object ID" and "vector information."

「オブジェクトID」は、オブジェクトを識別するための識別情報を示す。また、「ベクトル情報」は、オブジェクトIDにより識別されるオブジェクトに対応するベクトル情報を示す。すなわち、図6の例では、オブジェクトを識別するオブジェクトIDに対して、オブジェクトに対応するベクトルデータ(ベクトル情報)が対応付けられて登録されている。 "Object ID" indicates identification information for identifying an object. Moreover, "vector information" indicates vector information corresponding to the object identified by the object ID. That is, in the example of FIG. 6, vector data (vector information) corresponding to the object is registered in association with an object ID that identifies the object.

例えば、図6の例では、オブジェクトID「OB1」により識別されるオブジェクト(対象)は、「10,24,51,2・・・」の多次元のベクトル情報が対応付けられることを示す。 For example, the example in FIG. 6 indicates that the object (target) identified by the object ID "OB1" is associated with multidimensional vector information of "10, 24, 51, 2...".

なお、オブジェクト情報記憶部121は、上記に限らず、目的に応じて種々の情報を記憶してもよい。 Note that the object information storage unit 121 is not limited to the above, and may store various types of information depending on the purpose.

(グラフ情報記憶部122)
第1の実施形態に係るグラフ情報記憶部122は、グラフに関する各種情報を記憶する。例えば、グラフ情報記憶部122は、生成したグラフを記憶する。図7は、第1の実施形態に係るグラフ情報記憶部の一例を示す図である。図7に示すグラフ情報記憶部122は、「ノードID」、「オブジェクトID」、および「接続ノード情報」といった項目を有する。
(Graph information storage unit 122)
The graph information storage unit 122 according to the first embodiment stores various information regarding graphs. For example, the graph information storage unit 122 stores the generated graph. FIG. 7 is a diagram illustrating an example of a graph information storage unit according to the first embodiment. The graph information storage unit 122 shown in FIG. 7 has items such as "node ID", "object ID", and "connected node information".

「ノードID」は、グラフにおける各ノード(対象)を識別するための識別情報を示す。また、「オブジェクトID」は、オブジェクトを識別するための識別情報を示す。なお、ノードIDとオブジェクトIDが共通である場合、「ノードID」にオブジェクトIDが記憶され、グラフ情報記憶部122に「オブジェクトID」の項目は含まれてなくてもよい。例えば、オブジェクトIDとノードIDとして用いる場合、「ノードID」にオブジェクトIDが記憶され、グラフ情報記憶部122に「オブジェクトID」の項目は含まれてなくてもよい。 "Node ID" indicates identification information for identifying each node (object) in the graph. Moreover, "object ID" indicates identification information for identifying an object. Note that if the node ID and object ID are the same, the object ID is stored in the "node ID" and the graph information storage unit 122 does not need to include the item "object ID." For example, when used as an object ID and a node ID, the object ID may be stored in the "node ID" and the graph information storage unit 122 may not include the "object ID" item.

また、「接続ノード情報」は、対応するノードから辿ることができるノード(参照先のノード)に関する情報を示す。例えば、「接続ノード情報」には、「参照先」といった情報が含まれる。「参照先」は、エッジにより連結され、そのノードから辿ることができる参照先(ノード)を識別するための情報を示す。すなわち、図7の例では、ノードを識別するノードID(オブジェクトID)に対して、そのノードからエッジにより辿ることができる参照先(ノード)が対応付けられて登録されている。なお、「接続ノード情報」には、参照先に接続されるエッジを識別するための情報(エッジID)等が含まれてもよい。 Further, "connected node information" indicates information regarding a node (reference destination node) that can be traced from the corresponding node. For example, "connected node information" includes information such as "reference destination." “Reference destination” indicates information for identifying a reference destination (node) that is connected by an edge and can be traced from that node. That is, in the example of FIG. 7, a reference destination (node) that can be traced from the node by an edge is registered in association with a node ID (object ID) that identifies the node. Note that the "connected node information" may include information (edge ID) for identifying an edge connected to a reference destination.

図7の例では、ノードID「N1」により識別されるノード(ノードN1)は、オブジェクトID「OB1」により識別されるオブジェクト(対象)に対応することを示す。また、ノードN1からは、ノードID「N4」により識別されるノード(ノードN4)にエッジが連結されており、ノードN1からノードN4へ辿ることができることを示す。 The example of FIG. 7 indicates that the node (node N1) identified by the node ID "N1" corresponds to the object (target) identified by the object ID "OB1". Further, an edge is connected from the node N1 to the node (node N4) identified by the node ID "N4", indicating that it is possible to trace from the node N1 to the node N4.

また、ノードID「N2」により識別されるノード(ノードN2)は、オブジェクトID「OB2」により識別されるオブジェクト(対象)に対応することを示す。また、ノードN2からは、ノードID「N6」により識別されるノード(ノードN6)にエッジが連結されており、ノードN2からノードN6へ辿ることができることを示す。 Further, the node (node N2) identified by the node ID "N2" corresponds to the object (target) identified by the object ID "OB2". Further, an edge is connected from the node N2 to the node (node N6) identified by the node ID "N6", indicating that it is possible to trace from the node N2 to the node N6.

また、ノードID「N7」により識別されるノード(ノードN7)は、オブジェクトID「OB7」により識別されるオブジェクト(対象)に対応することを示す。また、ノードN7からは、ノードN9、N12、N54、N85にエッジが連結されており、ノードN2からノードN9、N12、N54、N85の各々へ辿ることができることを示す。 Further, the node (node N7) identified by the node ID "N7" corresponds to the object (target) identified by the object ID "OB7". Furthermore, edges are connected from node N7 to nodes N9, N12, N54, and N85, indicating that each of nodes N9, N12, N54, and N85 can be traced from node N2.

なお、グラフ情報記憶部122は、上記に限らず、目的に応じて種々の情報を記憶してもよい。例えば、グラフ情報記憶部122は、各ノード(ベクトル)間を連結するエッジの長さが記憶されてもよい。すなわち、グラフ情報記憶部122は、各ノード(ベクトル)間の距離を示す情報が記憶されてもよい。なお、グラフ情報記憶部122は、上記に限らず、種々のデータ構造によりグラフ情報を記憶してもよい。 Note that the graph information storage unit 122 is not limited to the above, and may store various information depending on the purpose. For example, the graph information storage unit 122 may store the length of an edge connecting each node (vector). That is, the graph information storage unit 122 may store information indicating the distance between each node (vector). Note that the graph information storage unit 122 is not limited to the above, and may store graph information using various data structures.

また、グラフは、クエリを入力とし、グラフ中のエッジを辿ることによりノードを探索し、クエリに類似するノードを抽出し出力するプログラムモジュールを含んでもよい。すなわち、グラフは、グラフを用いて検索処理を行うプログラムモジュールとしての利用が想定されるものであってもよい。例えば、グラフGR1は、クエリとしてベクトルデータが入力された場合に、そのベクトルデータに類似するベクトルデータに対応するノードをグラフ中から抽出し、出力するプログラムであってもよい。例えば、グラフGR1は、クエリ画像に対応する類似画像を検索するプログラムモジュールとして利用されるデータであってもよい。例えば、グラフGR1は、入力されたクエリに基づいて、グラフにおいてそのクエリに類似するノードを抽出し、出力するよう、コンピュータを機能させる。 The graph may also include a program module that receives a query as input, searches for nodes by tracing edges in the graph, and extracts and outputs nodes similar to the query. That is, the graph may be assumed to be used as a program module that performs search processing using the graph. For example, the graph GR1 may be a program that, when vector data is input as a query, extracts nodes corresponding to vector data similar to the vector data from the graph and outputs them. For example, the graph GR1 may be data used as a program module that searches for similar images corresponding to a query image. For example, the graph GR1 causes a computer to function based on an input query to extract and output nodes similar to the query in the graph.

(量子化情報記憶部123)
第1の実施形態に係る量子化情報記憶部123は、割当処理に関する各種情報を記憶する。図8は、第1の実施形態に係る量子化情報記憶部の一例を示す図である。図8の例では、量子化情報記憶部123には、「ノードID」、「オブジェクトID」、および「量子化情報」といった項目を有する。
(Quantization information storage unit 123)
The quantization information storage unit 123 according to the first embodiment stores various information regarding allocation processing. FIG. 8 is a diagram illustrating an example of a quantization information storage unit according to the first embodiment. In the example of FIG. 8, the quantization information storage unit 123 has items such as "node ID", "object ID", and "quantization information".

「ノードID」は、グラフにおける各ノード(対象)を識別するための識別情報を示す。また、「オブジェクトID」は、オブジェクトを識別するための識別情報を示す。なお、ノードIDとオブジェクトIDが共通である場合、「ノードID」にオブジェクトIDが記憶され、量子化情報記憶部123に「オブジェクトID」の項目は含まれてなくてもよい。 "Node ID" indicates identification information for identifying each node (object) in the graph. Moreover, "object ID" indicates identification information for identifying an object. Note that when the node ID and the object ID are common, the object ID is stored in the "node ID", and the quantization information storage unit 123 does not need to include the item "object ID".

また、「量子化情報」は、各ノード(オブジェクト)の量子化されたベクトルの情報を示す。例えば、「量子化情報」には、「要素」、「コードブックID」といった情報が含まれる。「要素」は、対応するオブジェクトのベクトルにおける配置を示す。図8の例では、「要素」には、「#1」、「#2」、「#3」、「#4」が含まれる場合を示す。この場合、各ノード(オブジェクト)のベクトルは4分割され、各分割された部分ベクトルがコードブックにより量子化されることを示す。なお、分割数は4に限らず、例えば分割数が6の場合、「要素」には、「#1」、「#2」、「#3」、「#4」、「#5」、「#6」が含まれる。「コードブックID」は、各要素(部分ベクトル)に対応するコードブックを識別するための情報を示す。 Moreover, "quantization information" indicates information on quantized vectors of each node (object). For example, "quantization information" includes information such as "element" and "codebook ID." "Element" indicates the arrangement of the corresponding object in the vector. In the example of FIG. 8, the "element" includes "#1", "#2", "#3", and "#4". In this case, the vector of each node (object) is divided into four parts, and each divided partial vector is quantized by the codebook. Note that the number of divisions is not limited to 4. For example, if the number of divisions is 6, "element" may include "#1", "#2", "#3", "#4", "#5", " #6” is included. "Codebook ID" indicates information for identifying the codebook corresponding to each element (partial vector).

図8の例では、ノードN9(オブジェクトOB9)のベクトルは、4分割された部分ベクトルのうち、先頭の部分ベクトルがコードブックID「CD12」により識別されるコードブック(コードブックCD12)により量子化されることを示す。また、ノードN9(オブジェクトOB9)のベクトルは、4分割された部分ベクトルのうち、先頭から2番目の部分ベクトルがコードブックID「CD23」により識別されるコードブック(コードブックCD23)により量子化されることを示す。 In the example of FIG. 8, the vector of node N9 (object OB9) is quantized by the codebook (codebook CD12) whose first partial vector among the four divided partial vectors is identified by the codebook ID "CD12". Indicates that the In addition, in the vector of node N9 (object OB9), among the four divided partial vectors, the second partial vector from the beginning is quantized by the codebook (codebook CD23) identified by the codebook ID "CD23". to show that

また、ノードN9(オブジェクトOB9)のベクトルは、4分割された部分ベクトルのうち、先頭から3番目の部分ベクトルがコードブックID「CD35」により識別されるコードブック(コードブックCD35)により量子化されることを示す。また、ノードN9(オブジェクトOB9)のベクトルは、4分割された部分ベクトルのうち、先頭から4番目(すなわち最後尾)の部分ベクトルがコードブックID「CD47」により識別されるコードブック(コードブックCD47)により量子化されることを示す。 In addition, in the vector of node N9 (object OB9), among the four divided partial vectors, the third partial vector from the beginning is quantized by the codebook (codebook CD35) identified by the codebook ID "CD35". to show that In addition, the vector of node N9 (object OB9) has a codebook (codebook CD47) in which the fourth (i.e., the last) partial vector from the beginning among the four divided partial vectors is identified by the codebook ID "CD47". ) indicates that it is quantized.

なお、量子化情報記憶部123は、上記に限らず、目的に応じて種々の情報を記憶してもよい。 Note that the quantization information storage unit 123 is not limited to the above, and may store various information depending on the purpose.

(コードブック情報記憶部124)
第1の実施形態に係るコードブック情報記憶部124は、コードブックに関する各種情報を記憶する。例えば、コードブック情報記憶部124は、コードブックIDや各コードブックのベクトル情報を記憶する。図9は、第1の実施形態に係るコードブック情報記憶部の一例を示す図である。図9の例では、コードブック情報記憶部124は、各コードブックとベクトルとの対応付けを示すルックアップテーブルを記憶する場合を一例として示す。
(Codebook information storage unit 124)
The codebook information storage unit 124 according to the first embodiment stores various information regarding the codebook. For example, the codebook information storage unit 124 stores codebook IDs and vector information of each codebook. FIG. 9 is a diagram illustrating an example of a codebook information storage unit according to the first embodiment. In the example of FIG. 9, the codebook information storage unit 124 stores a lookup table that indicates the association between each codebook and a vector.

コードブック情報記憶部124は、4分割された部分ベクトルのうち、先頭の部分ベクトルを量子化するために用いるコードブック情報TB1、4分割された部分ベクトルのうち、先頭から2番目の部分ベクトルを量子化するために用いるコードブック情報TB2を記憶する。また、コードブック情報記憶部124は、4分割された部分ベクトルのうち、先頭から3番目の部分ベクトルを量子化するために用いるコードブック情報TB3、4分割された部分ベクトルのうち、先頭から4番目(すなわち最後尾)の部分ベクトルを量子化するために用いるコードブック情報TB4等を記憶する。 The codebook information storage unit 124 stores codebook information TB1 used for quantizing the first partial vector among the four divided partial vectors, and the second partial vector from the beginning among the four divided partial vectors. Codebook information TB2 used for quantization is stored. The codebook information storage unit 124 also stores codebook information TB3 used for quantizing the third partial vector from the beginning among the partial vectors divided into four; Codebook information TB4 and the like used for quantizing the th (ie, last) partial vector is stored.

図9の例では、コードブック情報TB1には、コードブックID「CD11」により識別されるコードブック(コードブックCD11)やコードブックID「CD12」により識別されるコードブック(コードブックCD12)等のコードブック情報を記憶する。例えば、コードブックCD11は、「5,13・・・」の多次元のベクトル情報が対応付けられることを示す。また、コードブックCD12は、「27,51・・・」の多次元のベクトル情報が対応付けられることを示す。 In the example of FIG. 9, the codebook information TB1 includes the codebook identified by the codebook ID "CD11" (codebook CD11), the codebook identified by the codebook ID "CD12" (codebook CD12), etc. Store codebook information. For example, codebook CD11 indicates that multidimensional vector information of "5, 13..." is associated. Further, codebook CD12 indicates that multidimensional vector information of "27, 51..." is associated.

なお、コードブック情報記憶部124は、上記に限らず、目的に応じて種々の情報を記憶してもよい。例えば、コードブック情報記憶部124は、各コードブックと検索クエリとの差分(距離)を示す情報を記憶してもよい。 Note that the codebook information storage unit 124 is not limited to the above, and may store various information depending on the purpose. For example, the codebook information storage unit 124 may store information indicating the difference (distance) between each codebook and the search query.

(制御部130)
図5の説明に戻って、制御部130は、コントローラ(controller)であり、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)やGPU(Graphics Processing Unit)等によって、情報処理装置100内部の記憶装置に記憶されている各種プログラム(情報処理プログラムの一例に相当)がRAMを作業領域として実行されることにより実現される。また、制御部130は、コントローラであり、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路により実現される。
(Control unit 130)
Returning to the explanation of FIG. 5, the control unit 130 is a controller, and for example, controls the internal processing of the information processing apparatus 100 by a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphics Processing Unit), etc. This is realized by executing various programs (corresponding to an example of an information processing program) stored in the storage device of , using the RAM as a work area. Further, the control unit 130 is a controller, and is realized by, for example, an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

図5に示すように、制御部130は、取得部131と、生成部132と、検索処理部133と、提供部134とを有し、以下に説明する情報処理の機能や作用を実現または実行する。なお、制御部130の内部構成は、図5に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。 As shown in FIG. 5, the control unit 130 includes an acquisition unit 131, a generation unit 132, a search processing unit 133, and a provision unit 134, and realizes or executes information processing functions and operations described below. do. Note that the internal configuration of the control unit 130 is not limited to the configuration shown in FIG. 5, and may be any other configuration as long as it performs information processing to be described later.

(取得部131)
取得部131は、各種情報を取得する。例えば、取得部131は、記憶部120から各種情報を取得する。例えば、取得部131は、オブジェクト情報記憶部121や、グラフ情報記憶部122や、量子化情報記憶部123や、コードブック情報記憶部124等から各種情報を取得する。また、取得部131は、各種情報を外部の情報処理装置から取得する。取得部131は、端末装置10や情報提供装置50から各種情報を取得する。
(Acquisition unit 131)
The acquisition unit 131 acquires various information. For example, the acquisition unit 131 acquires various information from the storage unit 120. For example, the acquisition unit 131 acquires various information from the object information storage unit 121, the graph information storage unit 122, the quantization information storage unit 123, the codebook information storage unit 124, and the like. Further, the acquisition unit 131 acquires various information from an external information processing device. The acquisition unit 131 acquires various information from the terminal device 10 and the information providing device 50.

取得部131は、グラフを取得する。例えば、情報処理装置100は、図1中の空間情報SP1を取得してもよい。例えば、情報処理装置100は、情報提供装置50等の外部装置からグラフを取得してもよい。 The acquisition unit 131 acquires a graph. For example, the information processing device 100 may acquire spatial information SP1 in FIG. For example, the information processing device 100 may acquire a graph from an external device such as the information providing device 50.

取得部131は、データ検索の対象となる複数のオブジェクトに対する検索クエリを取得する。例えば、取得部131は、検索クエリQE1に関する情報を取得する。例えば、取得部131は、画像検索に関する検索クエリを取得する。例えば、取得部131は、利用する端末装置10からクエリを取得する。例えば、取得部131は、利用する端末装置10からクエリを受け付けた情報提供装置50からクエリを取得する。 The acquisition unit 131 acquires search queries for a plurality of objects that are data search targets. For example, the acquisition unit 131 acquires information regarding the search query QE1. For example, the acquisition unit 131 acquires a search query related to image search. For example, the acquisition unit 131 acquires a query from the terminal device 10 to be used. For example, the acquisition unit 131 acquires a query from the information providing device 50 that has received the query from the terminal device 10 to be used.

(生成部132)
生成部132は、各種情報を生成する。例えば、生成部132は、記憶部120に記憶された情報(データ)から各種情報(データ)を生成する。例えば、生成部132は、オブジェクト情報記憶部121や、グラフ情報記憶部122や、量子化情報記憶部123や、コードブック情報記憶部124等に記憶された情報(データ)から各種情報を生成する。
(Generation unit 132)
The generation unit 132 generates various information. For example, the generation unit 132 generates various information (data) from the information (data) stored in the storage unit 120. For example, the generation unit 132 generates various information from information (data) stored in the object information storage unit 121, the graph information storage unit 122, the quantization information storage unit 123, the codebook information storage unit 124, etc. .

生成部132は、グラフ情報記憶部122に示すようなグラフを生成してもよい。例えば、生成部132は、空間情報SP1を生成する。また、生成部132は、量子化情報記憶部123に示すようなベクトル量子化に関する情報を生成してもよい。例えば、生成部132は、ノードN1(オブジェクトOB1)等の各オブジェクトがベクトル量子化された情報を生成する。また、生成部132は、コードブック情報記憶部124に示すようなコードブックに関する情報を生成してもよい。生成部132は、コードブックのルックアップテーブルを生成してもよい。例えば、生成部132は、コードブック情報TB1~TB4のような、コードブックに関する情報を生成する。なお、情報処理装置100がグラフ情報記憶部122、量子化情報記憶部123、コードブック情報記憶部124に示す情報を、情報提供装置50等の外部装置から取得する場合、情報処理装置100は、生成部132を有しなくてもよい。 The generation unit 132 may generate a graph as shown in the graph information storage unit 122. For example, the generation unit 132 generates spatial information SP1. Further, the generation unit 132 may generate information related to vector quantization as shown in the quantization information storage unit 123. For example, the generation unit 132 generates information in which each object such as the node N1 (object OB1) is vector quantized. Further, the generation unit 132 may generate information regarding the codebook as shown in the codebook information storage unit 124. The generation unit 132 may generate a codebook lookup table. For example, the generation unit 132 generates information regarding codebooks, such as codebook information TB1 to TB4. Note that when the information processing device 100 acquires the information shown in the graph information storage unit 122, quantization information storage unit 123, and codebook information storage unit 124 from an external device such as the information providing device 50, the information processing device 100 The generation unit 132 may not be included.

(検索処理部133)
検索処理部133は、オブジェクトに関する検索サービスを提供する。検索処理部133は、各種情報を探索する。検索処理部133は、各種情報を検索する。例えば、検索処理部133は、グラフを探索することにより、オブジェクトを検索する。例えば、検索処理部133は、取得部131により取得されたクエリが取得された場合、グラフを探索することにより、クエリに類似するオブジェクトを検索する。例えば、検索処理部133は、グラフを探索することにより、クエリに類似するオブジェクトを抽出する。例えば、検索処理部133は、図11に示すような処理手順に基づいて、グラフを探索することにより、クエリに類似するオブジェクトを抽出する。なお、情報処理装置100は、検索サービスを提供しない場合、検索処理部133を有しなくてもよい。
(Search processing unit 133)
The search processing unit 133 provides search services regarding objects. The search processing unit 133 searches for various information. The search processing unit 133 searches various information. For example, the search processing unit 133 searches for objects by searching a graph. For example, when the query acquired by the acquisition unit 131 is acquired, the search processing unit 133 searches for an object similar to the query by searching a graph. For example, the search processing unit 133 extracts objects similar to the query by searching the graph. For example, the search processing unit 133 extracts objects similar to the query by searching the graph based on the processing procedure shown in FIG. Note that the information processing device 100 does not need to include the search processing unit 133 when not providing a search service.

検索処理部133は、検索処理において各種情報を選択する。検索処理部133は、検索処理において各種情報を抽出する。検索処理部133は、検索処理において各種情報を判定する。検索処理部133は、検索処理において各種情報を決定する。検索処理部133は、検索処理において各種情報を変更する。検索処理部133は、検索処理において各種情報を更新する。 The search processing unit 133 selects various types of information in the search process. The search processing unit 133 extracts various information in the search process. The search processing unit 133 determines various information in the search process. The search processing unit 133 determines various information in the search process. The search processing unit 133 changes various information in the search process. The search processing unit 133 updates various information during search processing.

検索処理部133は、複数のオブジェクトの各々に対応するノード群がエッジにより連結されたグラフを用いて、検索クエリの近傍のノードを検索する検索処理において、所定の基準により選択された複数のノードと検索クエリとの距離を、ベクトル量子化がされた複数のノードのベクトル情報を用いて算出する。検索処理部133は、複数のノードと検索クエリとの距離の算出を並列化して一括で行う。検索処理部133は、情報処理装置100の仕様に基づいて決定される一括処理数の複数のノードと検索クエリとの距離の算出を並列処理する。 The search processing unit 133 uses a graph in which a group of nodes corresponding to each of a plurality of objects are connected by edges to search for nodes in the vicinity of a search query. The distance between the search query and the search query is calculated using vector information of a plurality of nodes subjected to vector quantization. The search processing unit 133 parallelizes and collectively calculates distances between a plurality of nodes and a search query. The search processing unit 133 performs parallel processing to calculate distances between a search query and a plurality of nodes whose number is determined based on the specifications of the information processing device 100.

検索処理部133は、複数のノードの各々が対応する代表ベクトルに対応付けられたコードブックを用いて、複数のノードと検索クエリとの距離を算出する。検索処理部133は、一のノードからのエッジが連結された複数のノードと検索クエリとの距離を算出する。検索処理部133は、複数のノードと複数のノードの各々が対応付けられた代表ベクトルを示す参照用情報が一のノードに対応付けて記憶されたノード情報を用いて、複数のノードと検索クエリとの距離を算出する。 The search processing unit 133 calculates distances between the plurality of nodes and the search query using a codebook in which each of the plurality of nodes is associated with a corresponding representative vector. The search processing unit 133 calculates the distance between the search query and a plurality of nodes in which edges from one node are connected. The search processing unit 133 searches the plurality of nodes and the search query using node information stored in association with one node and reference information indicating a representative vector with which each of the plurality of nodes is associated. Calculate the distance to.

検索処理部133は、直積量子化により、各々が複数の部分ベクトルに分割された複数のノードのベクトル情報を用いて、複数のノードと検索クエリとの距離を算出する。検索処理部133は、複数のノードの各々が分割された複数の部分ベクトルの分割位置ごとのベクトルに対応する代表ベクトルに対応付けられた複数のコードブックを用いて、複数のノードと検索クエリとの距離を算出する。検索処理部133は、複数のノードと複数のノードの各々の複数の部分ベクトルの各々が対応付けられた代表ベクトルを示す参照用情報が一のノードに対応付けて記憶されたノード情報を用いて、複数のノードと検索クエリとの距離を算出する。 The search processing unit 133 calculates distances between a plurality of nodes and a search query using vector information of a plurality of nodes, each of which is divided into a plurality of partial vectors by Cartesian product quantization. The search processing unit 133 uses a plurality of codebooks that are associated with representative vectors corresponding to vectors for each division position of a plurality of partial vectors into which each of the plurality of nodes is divided, to combine the plurality of nodes with the search query. Calculate the distance. The search processing unit 133 uses the node information stored in such a manner that the plurality of nodes and reference information indicating representative vectors associated with each of the plurality of partial vectors of each of the plurality of nodes are associated with one node. , calculate the distance between multiple nodes and the search query.

検索処理部133は、複数のノードの各々に、各ノードの複数の部分ベクトルの各々が対応付けられた代表ベクトルの一覧が対応付けられた参照用情報を用いて、複数のノードと検索クエリとの距離を算出する。検索処理部133は、複数のノードの各々の複数の部分ベクトルの各々が対応する代表ベクトルが、分割位置ごとに一覧で並ぶ転置情報と、複数のノードの各々が一覧で対応する位置を示す対応付情報とを含む参照用情報を用いて、複数のノードと検索クエリとの距離を算出する。検索処理部133は、複数のノードの各々の複数の部分ベクトルの各々が対応する代表ベクトルに対応付けられた一のコードブックを用いて、複数のノードと検索クエリとの距離を算出する。 The search processing unit 133 uses reference information in which each of the plurality of nodes is associated with a list of representative vectors to which each of the plurality of partial vectors of each node is associated, and the search processing unit 133 associates the plurality of nodes with the search query. Calculate the distance. The search processing unit 133 includes transposed information in which representative vectors to which each of a plurality of partial vectors of each of a plurality of nodes corresponds are arranged in a list for each division position, and a correspondence indicating a position to which each of a plurality of nodes corresponds in a list. The distance between the plurality of nodes and the search query is calculated using the reference information including the attached information. The search processing unit 133 calculates distances between the plurality of nodes and the search query using one codebook in which each of the plurality of partial vectors of each of the plurality of nodes is associated with a corresponding representative vector.

検索処理部133は、検索処理において処理対象となったノードのうち、所定のノードを対象として、ベクトル量子化がされた距離である第1距離とは異なり、ベクトル量子化がされていない第2距離を算出する。検索処理部133は、検索処理において検索クエリの近傍のノードとして抽出するノードの第1数よりも多い数である第2数のノードを近傍候補ノードとして抽出し、近傍候補ノードを対象として第2距離を算出する。検索処理部133は、近傍候補ノードのうち、第2距離が短い方から第1数のノードを検索クエリの近傍のノードとして抽出する。 The search processing unit 133 targets a predetermined node among the nodes to be processed in the search process. Calculate distance. The search processing unit 133 extracts a second number of nodes, which is a larger number than the first number of nodes to be extracted as neighboring nodes of the search query, as neighboring candidate nodes in the search process, and extracts a second number of nodes as neighboring candidate nodes. Calculate distance. The search processing unit 133 extracts a first number of nodes from among the nearby candidate nodes having the shorter second distance as nodes in the vicinity of the search query.

検索処理部133は、第1距離が所定の閾値以内であるノードを対象として第2距離を算出する。検索処理部133は、近傍のノードとして抽出する対象範囲を示す検索範囲内のノードを対象として第2距離を算出する。検索処理部133は、検索処理の対象範囲を示す探索範囲内のノードを対象として第2距離を算出する。 The search processing unit 133 calculates a second distance for nodes whose first distance is within a predetermined threshold. The search processing unit 133 calculates a second distance for nodes within the search range indicating the target range to be extracted as nearby nodes. The search processing unit 133 calculates a second distance for nodes within a search range indicating a target range of the search process.

(提供部134)
提供部134は、各種情報を提供する。例えば、提供部134は、端末装置10や情報提供装置50に各種情報を送信する。例えば、提供部134は、検索クエリに対応するオブジェクトIDを検索結果として提供する。提供部134は、検索結果を端末装置10へ送信する。提供部134は、検索処理部133により検索されたオブジェクトIDを、検索クエリに対応する検索結果として端末装置10へ提供する。
(Providing unit 134)
The providing unit 134 provides various information. For example, the providing unit 134 transmits various information to the terminal device 10 and the information providing device 50. For example, the providing unit 134 provides an object ID corresponding to a search query as a search result. The providing unit 134 transmits the search results to the terminal device 10. The providing unit 134 provides the object ID searched by the search processing unit 133 to the terminal device 10 as a search result corresponding to the search query.

また、提供部134は、検索処理部133により検索されたオブジェクトIDを情報提供装置50へ提供してもよい。例えば、提供部134は、検索処理部133が検索により抽出したオブジェクトIDを情報提供装置50へ提供する。提供部134は、検索処理部133により抽出されたオブジェクトIDをクエリに対応するベクトルを示す情報として情報提供装置50に提供する。 Further, the providing unit 134 may provide the object ID searched by the search processing unit 133 to the information providing device 50. For example, the providing unit 134 provides the information providing device 50 with the object ID extracted by the search processing unit 133 through the search. The providing unit 134 provides the object ID extracted by the search processing unit 133 to the information providing device 50 as information indicating a vector corresponding to the query.

〔1-4.情報処理のフロー〕
次に、図10を用いて、第1の実施形態に係る情報処理システム1による情報処理の手順について説明する。図10は、第1の実施形態に係る情報処理の一例を示すフローチャートである。
[1-4. Information processing flow]
Next, the procedure of information processing by the information processing system 1 according to the first embodiment will be described using FIG. 10. FIG. 10 is a flowchart illustrating an example of information processing according to the first embodiment.

図10に示すように、情報処理装置100は、データ検索の対象となる複数のオブジェクトに対する検索クエリを取得する(ステップS101)。図1の例では、情報処理装置100は、検索クエリQE1を取得する。 As shown in FIG. 10, the information processing apparatus 100 obtains search queries for a plurality of objects that are data search targets (step S101). In the example of FIG. 1, the information processing device 100 obtains the search query QE1.

そして、情報処理装置100は、複数のオブジェクトの各々に対応するノード群がエッジにより連結されたグラフを用いて、検索クエリの近傍のノードを検索する検索処理において、所定の基準により選択された複数のノードと検索クエリとの距離を、ベクトル量子化がされた複数のノードのベクトル情報を用いて算出する(ステップS102)。図1の例では、情報処理装置100は、複数のノードN9、N12、N54、N85と前記検索クエリQE1との距離を、ベクトル量子化がされた複数のノードN9、N12、N54、N85のベクトル情報を用いて算出する。 The information processing apparatus 100 uses a graph in which a group of nodes corresponding to each of a plurality of objects are connected by edges to search for nodes near a search query. The distance between the node and the search query is calculated using vector information of a plurality of nodes subjected to vector quantization (step S102). In the example of FIG. 1, the information processing device 100 calculates the distances between the plurality of nodes N9, N12, N54, N85 and the search query QE1 by vector quantizing the distances between the plurality of nodes N9, N12, N54, N85. Calculate using information.

〔1-5.検索処理例〕
ここで、第1の実施形態に係る検索処理の一例について、図11を一例として説明する。図11は、第1の実施形態に係る検索処理の一例を示すフローチャートである。以下に説明する検索処理は、情報処理装置100の検索処理部133によって行われる。また、以下でいうオブジェクトは、ノードと読み替えてもよい。なお、以下では、情報処理装置100(検索処理部133)が検索処理を行う。なお、検索サービスを提供しない場合、情報処理装置100は検索処理部133を有しなくてもよい。以下で説明する処理の検索クエリは、追加ノードや対象ノードやユーザが指定したオブジェクト等であってもよい。
[1-5. Search processing example]
Here, an example of the search process according to the first embodiment will be described using FIG. 11 as an example. FIG. 11 is a flowchart illustrating an example of search processing according to the first embodiment. The search processing described below is performed by the search processing unit 133 of the information processing device 100. Further, the object referred to below may be read as a node. Note that in the following, the information processing device 100 (search processing unit 133) performs search processing. Note that if the search service is not provided, the information processing device 100 does not need to include the search processing unit 133. The search query for the process described below may be an additional node, a target node, an object specified by the user, or the like.

ここでは、近傍オブジェクト集合N(G,y)は、ノードyに付与されているエッジにより関連付けられている近傍のオブジェクトの集合である。「G」は、所定のグラフデータ(例えば、空間情報SP1に示すグラフGR1等)であってもよい。例えば、情報処理装置100は、k近傍検索処理を実行する。 Here, the neighboring object set N(G, y) is a set of neighboring objects that are related by edges attached to node y. "G" may be predetermined graph data (for example, graph GR1 shown in spatial information SP1). For example, the information processing device 100 executes k-nearest neighbor search processing.

例えば、情報処理装置100は、超球の半径rを∞(無限大)に設定し(ステップS300)、既存のオブジェクト集合から部分集合Sを抽出する(ステップS301)。例えば、情報処理装置100は、ルートノードとして選択されたオブジェクト(ノード)を部分集合Sとして抽出してもよい。また、例えば、超球とは、検索範囲を示す仮想的な球である。なお、ステップS301において抽出されたオブジェクト集合Sに含まれるオブジェクトは、同時に検索結果のオブジェクト集合Rの初期集合にも含められる。 For example, the information processing device 100 sets the radius r of the hypersphere to ∞ (infinity) (step S300), and extracts a subset S from an existing object set (step S301). For example, the information processing apparatus 100 may extract the object (node) selected as the root node as the subset S. Further, for example, a hypersphere is a virtual sphere that indicates a search range. Note that the objects included in the object set S extracted in step S301 are also included in the initial set of the object set R as a search result.

次に、情報処理装置100は、オブジェクト集合Sに含まれるオブジェクトの中で、検索クエリオブジェクトをyとするとオブジェクトyとの距離が最も短いオブジェクトを抽出し、オブジェクトsとする(ステップS302)。例えば、情報処理装置100は、ルートノードとして選択されたオブジェクト(ノード)のみがSの要素の場合には、結果的にルートノードがオブジェクトsとして抽出される。次に、情報処理装置100は、オブジェクトsをオブジェクト集合Sから除外する(ステップS303)。 Next, among the objects included in the object set S, the information processing apparatus 100 extracts the object having the shortest distance from the object y, assuming that the search query object is y, and sets it as the object s (step S302). For example, when the only object (node) selected as the root node is an element of S, the information processing apparatus 100 extracts the root node as the object s. Next, the information processing device 100 excludes the object s from the object set S (step S303).

次に、情報処理装置100は、オブジェクトsとオブジェクトyとの距離d(s,y)がr(1+ε)を超えるか否かを判定する(ステップS304)。ここで、εは拡張要素であり、r(1+ε)は、探索範囲(この範囲内のノードのみを探索する。検索範囲よりも大きくすることで精度を高めることができる)の半径を示す値である。オブジェクトsとオブジェクトyとの距離d(s,y)がr(1+ε)を超える場合(ステップS304:Yes)、情報処理装置100は、オブジェクト集合Rをオブジェクトyの近傍オブジェクト集合として出力し(ステップS305)、処理を終了する。 Next, the information processing apparatus 100 determines whether the distance d(s, y) between the object s and the object y exceeds r(1+ε) (step S304). Here, ε is an expansion element, and r(1+ε) is a value indicating the radius of the search range (only nodes within this range are searched. Accuracy can be improved by making it larger than the search range). be. If the distance d(s, y) between object s and object y exceeds r(1+ε) (step S304: Yes), the information processing device 100 outputs the object set R as a neighboring object set of object y (step S305), the process ends.

オブジェクトsと検索クエリオブジェクトyとの距離d(s,y)がr(1+ε)を超えない場合(ステップS304:No)、情報処理装置100は、オブジェクトsの近傍オブジェクト集合N(G,s)の要素であるオブジェクトの中からオブジェクト集合Cに含まれないオブジェクトを一つ選択し、選択したオブジェクトuを、オブジェクト集合Cに格納する(ステップS306)。オブジェクト集合Cは、重複検索を回避するために便宜上設けられるものであり、処理開始時には空集合に設定される。 If the distance d(s, y) between the object s and the search query object y does not exceed r(1+ε) (step S304: No), the information processing device 100 determines the neighboring object set N(G, s) of the object s. One object that is not included in object set C is selected from among the objects that are elements of , and the selected object u is stored in object set C (step S306). The object set C is provided for convenience in order to avoid duplicate searches, and is set to be an empty set at the start of processing.

次に、情報処理装置100は、オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下であるか否かを判定する(ステップS307)。オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下である場合(ステップS307:Yes)、情報処理装置100は、オブジェクトuをオブジェクト集合Sに追加する(ステップS308)。また、オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下ではない場合(ステップS307:No)、情報処理装置100は、ステップS309の判定(処理)を行う。 Next, the information processing device 100 determines whether the distance d(u, y) between the object u and the object y is less than or equal to r(1+ε) (step S307). If the distance d(u,y) between the object u and the object y is less than or equal to r(1+ε) (step S307: Yes), the information processing device 100 adds the object u to the object set S (step S308). Further, if the distance d(u,y) between the object u and the object y is not less than or equal to r(1+ε) (step S307: No), the information processing apparatus 100 performs the determination (process) of step S309.

次に、情報処理装置100は、オブジェクトuとオブジェクトyとの距離d(u,y)がr以下であるか否かを判定する(ステップS309)。オブジェクトuとオブジェクトyとの距離d(u,y)がrを超える場合(ステップS309:No)、情報処理装置100は、ステップS315の判定(処理)を行う。すなわち、オブジェクトuとオブジェクトyとの距離d(u,y)がr以下ではない場合、情報処理装置100は、ステップS315の判定(処理)を行う。 Next, the information processing device 100 determines whether the distance d(u, y) between the object u and the object y is less than or equal to r (step S309). If the distance d(u, y) between object u and object y exceeds r (step S309: No), the information processing apparatus 100 performs the determination (process) of step S315. That is, if the distance d(u, y) between object u and object y is not less than or equal to r, the information processing apparatus 100 performs the determination (process) of step S315.

オブジェクトuとオブジェクトyとの距離d(u,y)がr以下である場合(ステップS309:Yes)、情報処理装置100は、オブジェクトuをオブジェクト集合Rに追加する(ステップS310)。そして、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクト数がksを超えるか否かを判定する(ステップS311)。所定数ksは、任意に定められる自然数である。例えば、ksは、検索数や抽出対象数であってもよい。また、例えば、範囲検索等において抽出するオブジェクト数の上限を設けない場合、ksは、無限大に設定されてもよい。例えば、ks=4等であってもよい。オブジェクト集合Rに含まれるオブジェクト数がksを超えない場合(ステップS311:No)、情報処理装置100は、ステップS313の判定(処理)を行う。 If the distance d(u,y) between the object u and the object y is less than or equal to r (step S309: Yes), the information processing device 100 adds the object u to the object set R (step S310). Then, the information processing device 100 determines whether the number of objects included in the object set R exceeds ks (step S311). The predetermined number ks is an arbitrarily determined natural number. For example, ks may be the number of searches or the number of extraction targets. Further, for example, when there is no upper limit on the number of objects to be extracted in a range search or the like, ks may be set to infinity. For example, ks may be 4, etc. If the number of objects included in the object set R does not exceed ks (step S311: No), the information processing device 100 performs the determination (process) of step S313.

オブジェクト集合Rに含まれるオブジェクト数がksを超える場合(ステップS311:Yes)、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクトの中でオブジェクトyとの距離が最も長い(遠い)オブジェクトを、オブジェクト集合Rから除外する(ステップS312)。 If the number of objects included in the object set R exceeds ks (step S311: Yes), the information processing device 100 selects the object that is the longest (farthest) from the object y among the objects included in the object set R. Exclude from object set R (step S312).

次に、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクト数がksと一致するか否かを判定する(ステップS313)。オブジェクト集合Rに含まれるオブジェクト数がksと一致しない場合(ステップS313:No)、情報処理装置100は、ステップS315の判定(処理)を行う。また、オブジェクト集合Rに含まれるオブジェクト数がksと一致する場合(ステップS313:Yes)、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクトの中でオブジェクトyとの距離が最も長い(遠い)オブジェクトと、オブジェクトyとの距離を、新たなrに設定する(ステップS314)。 Next, the information processing device 100 determines whether the number of objects included in the object set R matches ks (step S313). If the number of objects included in the object set R does not match ks (step S313: No), the information processing device 100 performs the determination (process) of step S315. Further, when the number of objects included in the object set R matches ks (step S313: Yes), the information processing device 100 determines that the distance to the object y is the longest (farthest) among the objects included in the object set R. The distance between the object and object y is set to a new r (step S314).

そして、情報処理装置100は、オブジェクトsの近傍オブジェクト集合N(G,s)の要素であるオブジェクトから全てのオブジェクトを選択してオブジェクト集合Cに格納し終えたか否かを判定する(ステップS315)。オブジェクトsの近傍オブジェクト集合N(G,s)の要素であるオブジェクトから全てのオブジェクトを選択してオブジェクト集合Cに格納し終えていない場合(ステップS315:No)、情報処理装置100は、ステップS306に戻って処理を繰り返す。 Then, the information processing device 100 determines whether all objects that are elements of the neighboring object set N(G, s) of the object s have been selected and stored in the object set C (step S315). . If all objects that are elements of the neighboring object set N(G, s) of the object s have not been selected and stored in the object set C (step S315: No), the information processing device 100 selects the objects that are elements of the neighboring object set N(G, s) of the object s and stores them in the object set C (step S315: No). Return to and repeat the process.

オブジェクトsの近傍オブジェクト集合N(G,s)の要素であるオブジェクトから全てのオブジェクトを選択してオブジェクト集合Cに格納し終えた場合(ステップS315:Yes)、情報処理装置100は、オブジェクト集合Sが空集合であるか否かを判定する(ステップS316)。オブジェクト集合Sが空集合でない場合(ステップS316:No)、情報処理装置100は、ステップS302に戻って処理を繰り返す。また、オブジェクト集合Sが空集合である場合(ステップS316:Yes)、情報処理装置100は、オブジェクト集合Rを出力し、処理を終了する(ステップS317)。例えば、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクト(ノード)を追加ノード(入力オブジェクトy)に対応する近傍ノードとして選択してもよい。例えば、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクト(ノード)を対象ノード(入力オブジェクトy)に対応する近傍ノードとして抽出(選択)してもよい。また、例えば、情報処理装置100は、オブジェクト集合Rに含まれるオブジェクト(ノード)を検索クエリ(入力オブジェクトy)に対応する検索結果として、検索を行った端末装置等へ提供してもよい。 When all objects that are elements of the object set N(G, s) in the vicinity of the object s have been selected and stored in the object set C (step S315: Yes), the information processing device 100 It is determined whether or not is an empty set (step S316). If the object set S is not an empty set (step S316: No), the information processing device 100 returns to step S302 and repeats the process. Furthermore, if the object set S is an empty set (step S316: Yes), the information processing device 100 outputs the object set R and ends the process (step S317). For example, the information processing apparatus 100 may select an object (node) included in the object set R as a neighboring node corresponding to the additional node (input object y). For example, the information processing apparatus 100 may extract (select) objects (nodes) included in the object set R as neighboring nodes corresponding to the target node (input object y). Further, for example, the information processing device 100 may provide the objects (nodes) included in the object set R as the search results corresponding to the search query (input object y) to the terminal device or the like that performed the search.

〔2.第2の実施形態〕
ここから、第2の実施形態について説明する。第2の実施形態は、クラスタリングなどにより近傍オブジェクトをグルーピングし、各グループ(以下「ブロブ」ともいう)を一括して距離計算を行う対象とする。すなわち、第2の実施形態では、ブロブ単位で一括距離計算を行う。なお、第1の実施形態と同様の点については、適宜説明を省略する。第2の実施形態においては、情報処理システム1は、情報処理装置100に代えて、情報処理装置100Aを有する。
[2. Second embodiment]
The second embodiment will now be described. In the second embodiment, neighboring objects are grouped by clustering or the like, and each group (hereinafter also referred to as a "blob") is subjected to distance calculation at once. That is, in the second embodiment, batch distance calculation is performed in units of blobs. Note that descriptions of points similar to those in the first embodiment will be omitted as appropriate. In the second embodiment, the information processing system 1 includes an information processing device 100A instead of the information processing device 100.

〔2-1.情報処理〕
まず、図12を用いて、第2の実施形態に係る情報処理の概要を説明する。図12は、第2の実施形態に係る情報処理の一例を示す図である。
[2-1. Information processing〕
First, an overview of information processing according to the second embodiment will be explained using FIG. 12. FIG. 12 is a diagram illustrating an example of information processing according to the second embodiment.

図12の例では、情報処理装置100Aは、空間情報SP21に示すようなグラフGR21を取得済みであるものとする。例えば図1中の空間情報SP21は、ユークリッド空間であってもよい。例えば、空間情報SP21は、オブジェクトのベクトルの次元数に対応し、100次元や1000次元等の多次元空間であるものとする。なお、図12の例では、説明を簡単にするために直積量子化が行われていない図を基に説明するが、図1と同様にベクトル(空間)の直積量子化が行われてもよい。 In the example of FIG. 12, it is assumed that the information processing device 100A has already acquired a graph GR21 as shown in the spatial information SP21. For example, the spatial information SP21 in FIG. 1 may be a Euclidean space. For example, it is assumed that the spatial information SP21 corresponds to the number of dimensions of the vector of the object, and is a multidimensional space such as 100 dimensions or 1000 dimensions. Note that the example of FIG. 12 will be explained based on a diagram in which direct product quantization is not performed to simplify the explanation, but vector (space) may be subjected to direct product quantization as in FIG. 1. .

まず、図12で示す各情報について説明する。図12の空間情報SP21中のノードである白丸(〇)間を接続する点線がノード間を連結するエッジを示す。図12では、図1と同様に無向エッジを例として示すが、グラフGR21のエッジは、無向エッジに限らず、有向エッジであってもよい。なお、ノートやエッジについては図1と同様であるため詳細な説明は省略する。 First, each piece of information shown in FIG. 12 will be explained. Dotted lines connecting white circles (◯) that are nodes in the spatial information SP21 in FIG. 12 indicate edges connecting the nodes. In FIG. 12, an undirected edge is shown as an example as in FIG. 1, but the edges of the graph GR21 are not limited to undirected edges and may be directed edges. Note that notes and edges are the same as those in FIG. 1, so detailed explanations will be omitted.

図12の空間情報SP21において、直線で囲まれた領域はクラスタリングなどで近傍のオブジェクトがまとめ上げられた(グループ化された)ものであり、領域をブロブと称する。以下で示す例ではブロブが一括距離計算の処理単位となる。図12は、ブロブBL1~BL10の10個の領域(ブロブ)にクラスタリングされた場合を示す。例えば、ブロブBL1は、ノードN7、N9、N85、N126等の複数のノードが属するブロブであることを示す。なお、ブロブBL1~BL10中の黒い点は、各ブロブのセントロイド(代表ベクトル)を示す。 In the spatial information SP21 of FIG. 12, an area surrounded by straight lines is a region in which nearby objects are grouped together (grouped) by clustering or the like, and the area is called a blob. In the example shown below, blobs are the processing unit for batch distance calculation. FIG. 12 shows a case where clustering is performed into ten regions (blobs) of blobs BL1 to BL10. For example, blob BL1 is a blob to which multiple nodes such as nodes N7, N9, N85, and N126 belong. Note that the black dots in the blobs BL1 to BL10 indicate the centroid (representative vector) of each blob.

なお、ブロブBL1~BL10は、クラスタリング等に関する種々の手法を適宜用いて生成される。例えば、ブロブに分類するためのクラスタリングは、k-meansクラスタリングでもよい。また、例えば、ブロブに分類するためのクラスタリングは、k-meansでの一回のイテレーション(アサイン)で各クラスタの中心座標(平均)で得られたセントロイドを次のイテレーションに使うのではなく、その代わりに、各セントロイドに最も近いオブジェクトにセントロイドを置き換えてから、次のイテレーションを行ってもよい。この場合、k-meansで得られる最終的なクラスタのセントロイドは既存のオブジェクト、つまり、ノードとなる。これにより、クラスタ(ブロブ)と各ノードのエッジ(近傍ノード)が一致する傾向が高まり、検索性能をさらに向上させることができる。 Note that the blobs BL1 to BL10 are generated using various methods related to clustering and the like as appropriate. For example, clustering for classifying into blobs may be k-means clustering. Also, for example, clustering for classification into blobs does not use the centroid obtained at the center coordinates (average) of each cluster in one iteration (assignment) with k-means for the next iteration. Alternatively, the centroids may be replaced with the object closest to each centroid before the next iteration. In this case, the centroid of the final cluster obtained by k-means is an existing object, that is, a node. This increases the tendency for clusters (blobs) and edges (neighboring nodes) of each node to match, making it possible to further improve search performance.

図12の例では、情報処理装置100Aは、空間情報SP21に示すように、複数のノード(オブジェクト)をクラスタリングすることにより、分類した複数のブロブBL1~BL10の情報を用いて、検索処理を行う。 In the example of FIG. 12, the information processing device 100A performs a search process using information on a plurality of classified blobs BL1 to BL10 by clustering a plurality of nodes (objects), as shown in the spatial information SP21. .

ここから、検索クエリQE2を対象とする検索処理を説明する。まず、情報処理装置100Aは、検索クエリQE2を取得する(ステップS21)。例えば、情報処理装置100Aは、ユーザが利用する端末装置10(図4参照)から検索クエリQE2を取得する。 From here, a search process targeting the search query QE2 will be explained. First, the information processing device 100A obtains the search query QE2 (step S21). For example, the information processing device 100A obtains the search query QE2 from the terminal device 10 (see FIG. 4) used by the user.

そして、情報処理装置100Aは、検索クエリQE2のベクトルと、コードブックのベクトルとの間の距離を算出する。図示は省略するが直積量子化を行っていない場合、情報処理装置100Aは、検索クエリQE2のベクトルと、ベクトル全体を量子化するためのコードブックのベクトルとの間の距離(差分)を算出する。そして、情報処理装置100Aは、検索クエリQE2のベクトルと各コードブックのベクトルとの間の距離(差分)を、各コードブックを識別するための情報に対応付けてコードブック情報TB21として保持する。なお、直積量子化を行っている場合、情報処理装置100Aは、図1と同様に、図2のコードブック情報TB1~TB4に示すように、検索クエリQE2の各サブベクトルと各コードブックのベクトルとの間の距離(差分)を算出する。なお、検索クエリのベクトルとコードブックのベクトルとの距離算出は、図1、図2等と同様であるため詳細な説明は省略する。 Then, the information processing device 100A calculates the distance between the vector of the search query QE2 and the vector of the codebook. Although illustration is omitted, when cross product quantization is not performed, the information processing device 100A calculates the distance (difference) between the vector of the search query QE2 and the vector of the codebook for quantizing the entire vector. . The information processing device 100A then stores the distance (difference) between the vector of the search query QE2 and the vector of each codebook as codebook information TB21 in association with information for identifying each codebook. Note that when performing Cartesian product quantization, the information processing device 100A stores each subvector of the search query QE2 and the vector of each codebook, as shown in codebook information TB1 to TB4 of FIG. 2, as in FIG. Calculate the distance (difference) between Note that the calculation of the distance between the vector of the search query and the vector of the codebook is the same as in FIGS. 1, 2, etc., and therefore detailed explanation will be omitted.

情報処理装置100Aは、検索クエリQE2を対象とする検索処理を実行する(ステップS22)。情報処理装置100Aは、検索クエリQE2を対象として、グラフGR21を用いた図16に示すような検索処理を行うことにより、検索クエリQE2の検索結果を得る。図16に示す検索処理についての詳細は後述する。情報処理装置100Aは、検索クエリQE2を対象として検索処理を行うことにより、検索数のノードを検索クエリQE2の近傍のノードとして抽出する。 The information processing device 100A executes a search process targeting the search query QE2 (step S22). The information processing device 100A obtains a search result for the search query QE2 by performing a search process as shown in FIG. 16 using the graph GR21 for the search query QE2. Details of the search process shown in FIG. 16 will be described later. The information processing device 100A performs a search process on the search query QE2, thereby extracting the searched nodes as nodes in the vicinity of the search query QE2.

情報処理装置100Aは、検索クエリQE2を対象とする検索処理において、各ノードのうち、所定のノードをグラフGR21の検索の起点となるノード(起点ノード)として選択する。図12の例では、情報処理装置100Aは、起点ノードとして、ノードN9を選択するものとする。図12の例では、情報処理装置100Aは、例えば、ノードN9を処理対象として検索処理を開始する。 In the search process targeting the search query QE2, the information processing device 100A selects a predetermined node from among the nodes as the node (starting point node) that becomes the starting point for the search of the graph GR21. In the example of FIG. 12, it is assumed that the information processing apparatus 100A selects node N9 as the starting point node. In the example of FIG. 12, the information processing device 100A starts the search process with node N9 as the processing target, for example.

ここで、情報処理装置100Aは、検索クエリQE2を対象とする検索処理において、処理対象となるノードが属するブロブに属する複数のノードと検索クエリとの距離を並列化して算出する(ステップS23)。図12では、情報処理装置100Aは、一括処理情報LT2に示すように、処理対象となるノードN9が属するブロブBL1に属するノードであるノードN7、N9、N85、N126等については、検索クエリQE2との距離を並列化して算出する。 Here, in the search processing targeting the search query QE2, the information processing device 100A parallelizes and calculates distances between the search query and a plurality of nodes belonging to the blob to which the processing target node belongs (step S23). In FIG. 12, as shown in the batch processing information LT2, the information processing device 100A uses the search query QE2 for nodes N7, N9, N85, N126, etc. that belong to the blob BL1 to which the processing target node N9 belongs. Calculate the distance in parallel.

情報処理装置100Aは、コードブック情報TB21が示す各コードブックと検索クエリQE2との間の距離を用いて、ノードN7、N9、N85、N126の各々と検索クエリQE2との距離を算出する。例えば、情報処理装置100Aは、コードブック情報TB21を参照して、ノードN7のベクトルに対応するコードブックの距離を、ノードN7と検索クエリQE2との距離として算出する。なお、直積量子化が行われている場合の距離算出は、図1、図2等と同様であるため詳細な説明は省略する。 The information processing device 100A uses the distance between each codebook indicated by the codebook information TB21 and the search query QE2 to calculate the distance between each of the nodes N7, N9, N85, and N126 and the search query QE2. For example, the information processing device 100A refers to the codebook information TB21 and calculates the distance of the codebook corresponding to the vector of the node N7 as the distance between the node N7 and the search query QE2. Note that distance calculation when cross-product quantization is performed is the same as in FIGS. 1, 2, etc., and detailed description thereof will be omitted.

なお、一括処理可能単位については、情報処理装置100の場合と同様に、情報処理装置100Aの仕様に基づいて決定される。例えば、情報処理装置100AがSIMDにより一括して処理できる数(一括処理可能単位)が「4」である場合、図1と同様に、4個のノードを対象として距離を並列化して算出する。例えば、情報処理装置100Aは、SIMDの演算に関する並列化により、ノードN7、N9、N85、N126の各々と検索クエリQE2との距離を一括して算出する。これにより、情報処理装置100Aは、距離計算を並列化することにより、距離計算を高速化することでき、効率的な検索処理を可能にすることができる。また、情報処理装置100Aは、グラフGR21を用いて、ノードN7からのエッジが接続されたノード(例えばノードN12、N64)を辿り、それらのノードが属するブロブ(例えばブロブBL2、BL3)を対象とした一括距離計算を行って、検索処理を行う。なお、情報処理装置100Aは、検索処理において、同じブロブが繰り返し一括距離計算の対象となることを抑制するが詳細は後述する。 Note that, as in the case of the information processing apparatus 100, the units that can be collectively processed are determined based on the specifications of the information processing apparatus 100A. For example, if the number that the information processing device 100A can process at once using SIMD (unit that can be processed at once) is "4", the distances are computed in parallel for four nodes, as in FIG. 1. For example, the information processing device 100A collectively calculates the distance between each of the nodes N7, N9, N85, and N126 and the search query QE2 by parallelizing SIMD calculations. Thereby, the information processing device 100A can speed up the distance calculation by parallelizing the distance calculation, and can perform efficient search processing. In addition, the information processing device 100A uses the graph GR21 to trace nodes (for example, nodes N12, N64) to which edges from the node N7 are connected, and target blobs (for example, blobs BL2, BL3) to which these nodes belong. The search process is performed by performing batch distance calculation. Note that in the search process, the information processing device 100A suppresses the same blob from being repeatedly subjected to batch distance calculation, but details will be described later.

なお、図12では説明を簡単にするために、4つのノードを対象として距離を並列化して算出する場合を示すが、並列化される数は、情報処理装置100Aの仕様に基づいて決定される。この点についても図1、図2等と同様であるため、詳細な説明は省略する。また、情報処理装置100Aは、図3に示す例と同様に、転置データを用いてもよい。 Note that, in order to simplify the explanation, FIG. 12 shows a case where distances are computed in parallel for four nodes, but the number of parallelized nodes is determined based on the specifications of the information processing device 100A. . This point is also similar to FIGS. 1, 2, etc., so detailed explanation will be omitted. Further, the information processing device 100A may use transposed data similarly to the example shown in FIG.

上述のように、情報処理装置100Aは、ベクトル量子化された各ノードのベクトルと検索クエリとの間の近似距離(第2距離)を算出して、第2距離を用いて検索処理を行う事により、効率的な検索処理を可能にすることができる。また、情報処理装置100Aは、並列化可能な数のノードの距離計算を一括して行うことにより、効率的な検索処理を可能にすることができる。上記のように、情報処理装置100Aは、ブロブを一括処理の単位として一括して計算することにより、効率的な検索処理を可能にすることができる。 As described above, the information processing device 100A calculates the approximate distance (second distance) between the vector quantized vector of each node and the search query, and performs the search process using the second distance. This enables efficient search processing. Further, the information processing device 100A can perform efficient search processing by collectively performing distance calculations for a number of nodes that can be parallelized. As described above, the information processing apparatus 100A can perform efficient search processing by collectively calculating blobs as a unit of batch processing.

情報処理装置100Aは、検索処理において、グラフGR21を辿り処理対象となるノードを対象に上述した処理を行うことにより、検索数のノードを検索クエリQE2の近傍のノードとして抽出する。例えば、情報処理装置100Aは、情報処理装置100と同様に、上述した第1の方法及び第2の方法のいずれかにより検索結果を得る。 In the search process, the information processing device 100A traces the graph GR21 and performs the above-described process on the nodes to be processed, thereby extracting the searched nodes as nodes in the vicinity of the search query QE2. For example, like the information processing device 100, the information processing device 100A obtains search results using either the first method or the second method described above.

上述した処理は一例に過ぎず、情報処理装置100Aは、効率的な検索処理の為に様々な情報や手法を用いて、検索処理を行ってもよい。この点について、各事項について詳述する。例えば、情報処理装置100Aは、各ブロブに属するノードの数が、情報処理装置100がSIMDにより一括して処理できる数(一括処理可能単位)になるように、クラスタリングを行い、ブロブを生成してもよい。 The above-described processing is merely an example, and the information processing device 100A may perform search processing using various information and methods for efficient search processing. Regarding this point, each item will be explained in detail. For example, the information processing device 100A performs clustering and generates blobs so that the number of nodes belonging to each blob becomes the number that the information processing device 100 can process at once using SIMD (batch processable unit). Good too.

また、情報処理装置100Aは、ブロブに関する情報を用いて、重複した処理が行われることを抑制してもよい。情報処理装置100Aは、ブロブ単位にそのブロブの距離計算を行ったかを示すブロブ距離計算フラグ(以下単に「フラグ」ともいう)、および各オブジェクトがどのブロブに属するかを示すテーブルを有してもよい。この場合、情報処理装置100Aは、フラグにより各ブロブが処理済であるか否かを管理してもよい。例えば、情報処理装置100Aは、近傍ノードを逐一処理する直前にノードが属するブロブをテーブルにより特定し、そのブロブが一括距離計算済みかをフラグで判断し、未計算の場合には、一括計算を行い、個々のノードの処理を行ってもよい。この点については、図15や図16においても説明する。これにより、情報処理装置100Aは、重複した処理が行われることを抑制することができる。 Further, the information processing device 100A may use information regarding blobs to suppress redundant processing. The information processing device 100A may have a blob distance calculation flag (hereinafter also simply referred to as a "flag") that indicates whether distance calculation has been performed for each blob, and a table that indicates which blob each object belongs to. good. In this case, the information processing device 100A may manage whether each blob has been processed using a flag. For example, immediately before processing neighboring nodes one by one, the information processing device 100A identifies the blob to which the node belongs based on a table, determines whether the blob has already been subjected to batch distance calculation using a flag, and if the distance has not yet been calculated, performs batch calculation. You may also perform processing on individual nodes. This point will also be explained with reference to FIGS. 15 and 16. Thereby, the information processing device 100A can prevent duplicate processing from being performed.

〔2-2.情報処理装置の構成〕
次に、図13を用いて、第2の実施形態に係る情報処理装置100Aの構成について説明する。図13は、第2の実施形態に係る情報処理装置の構成例を示す図である。図13に示すように、情報処理装置100Aは、通信部110と、記憶部120Aと、制御部130Aとを有する。なお、情報処理装置100Aにおいて、情報処理装置100と同様の点は適宜説明を省略する。
[2-2. Configuration of information processing device]
Next, the configuration of the information processing apparatus 100A according to the second embodiment will be described using FIG. 13. FIG. 13 is a diagram illustrating a configuration example of an information processing apparatus according to the second embodiment. As shown in FIG. 13, the information processing device 100A includes a communication section 110, a storage section 120A, and a control section 130A. Note that in the information processing device 100A, descriptions of the same points as the information processing device 100 will be omitted as appropriate.

(記憶部120A)
記憶部120Aは、例えば、RAM、フラッシュメモリ等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。第2の実施形態に係る記憶部120Aは、図13に示すように、オブジェクト情報記憶部121と、グラフ情報記憶部122と、量子化情報記憶部123Aと、コードブック情報記憶部124と、ブロブ情報記憶部125とを有する。
(Storage unit 120A)
The storage unit 120A is realized by, for example, a semiconductor memory device such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 13, the storage unit 120A according to the second embodiment includes an object information storage unit 121, a graph information storage unit 122, a quantization information storage unit 123A, a codebook information storage unit 124, and a blob information storage unit 121. It has an information storage section 125.

(量子化情報記憶部123A)
第2の実施形態に係る量子化情報記憶部123Aは、割当処理に関する各種情報を記憶する。図14は、第2の実施形態に係る量子化情報記憶部の一例を示す図である。図14の例では、量子化情報記憶部123Aには、「ノードID」、「オブジェクトID」、「ブロブID」、および「量子化情報」といった項目を有する。
(Quantization information storage unit 123A)
The quantization information storage unit 123A according to the second embodiment stores various information regarding allocation processing. FIG. 14 is a diagram illustrating an example of a quantization information storage unit according to the second embodiment. In the example of FIG. 14, the quantization information storage unit 123A has items such as "node ID", "object ID", "blob ID", and "quantization information".

「ノードID」は、グラフにおける各ノード(対象)を識別するための識別情報を示す。また、「オブジェクトID」は、オブジェクトを識別するための識別情報を示す。なお、ノードIDとオブジェクトIDが共通である場合、「ノードID」にオブジェクトIDが記憶され、量子化情報記憶部123Aに「オブジェクトID」の項目は含まれてなくてもよい。 "Node ID" indicates identification information for identifying each node (object) in the graph. Moreover, "object ID" indicates identification information for identifying an object. Note that when the node ID and object ID are common, the object ID is stored in the "node ID", and the quantization information storage unit 123A does not need to include the item "object ID".

「ブロブID」は、ノード(オブジェクト)が属するブロブを識別するための情報を示す。 “Blob ID” indicates information for identifying a blob to which a node (object) belongs.

また、「量子化情報」は、各ノード(オブジェクト)の量子化されたベクトルの情報を示す。例えば、「量子化情報」には、「要素」、「コードブックID」といった情報が含まれる。「要素」は、対応するオブジェクトのベクトルにおける配置を示す。図14の例では、「要素」には、「#1」、「#2」、「#3」、「#4」が含まれる場合を示す。この場合、各ノード(オブジェクト)のベクトルは4分割され、各分割された部分ベクトルがコードブックにより量子化されることを示す。 Moreover, "quantization information" indicates information on quantized vectors of each node (object). For example, "quantization information" includes information such as "element" and "codebook ID." "Element" indicates the arrangement of the corresponding object in the vector. In the example of FIG. 14, the "element" includes "#1", "#2", "#3", and "#4". In this case, the vector of each node (object) is divided into four parts, and each divided partial vector is quantized by the codebook.

図14の例では、ノードN1(オブジェクトOB1)は、ブロブID「BL9」により識別されるブロブ(ブロブBL9)に属することを示す。例えば、直積量子化によりベクトルが4分割される場合、ノードN1の量子化情報には、図8に示すノードN1の量子化情報示す4つのコードブックと同様の情報が格納される。また、例えば、直積量子化が行われない場合、ノードN1の量子化情報には、ノードN1のベクトルを量子化するための、1つのコードブックを示す情報が記憶される。 The example in FIG. 14 indicates that the node N1 (object OB1) belongs to the blob (blob BL9) identified by the blob ID "BL9". For example, when a vector is divided into four by Cartesian product quantization, the quantization information of node N1 stores the same information as the four codebooks indicating the quantization information of node N1 shown in FIG. Further, for example, when cross-product quantization is not performed, the quantization information of the node N1 stores information indicating one codebook for quantizing the vector of the node N1.

なお、量子化情報記憶部123Aは、上記に限らず、目的に応じて種々の情報を記憶してもよい。 Note that the quantization information storage section 123A is not limited to the above, and may store various information depending on the purpose.

(ブロブ情報記憶部125)
第2の実施形態に係るブロブ情報記憶部125は、ブロブに関する情報を記憶する。例えば、ブロブ情報記憶部125は、各ブロブに対応付けられたオブジェクトを識別する各種情報を記憶する。図15は、第2の実施形態に係るブロブ情報記憶部の一例を示す図である。図15の例では、ブロブ情報記憶部125は、「ブロブID」、「ノードID」、「ベクトル情報」といった項目が含まれる。
(Blob information storage unit 125)
The blob information storage unit 125 according to the second embodiment stores information regarding blobs. For example, the blob information storage unit 125 stores various information that identifies objects associated with each blob. FIG. 15 is a diagram illustrating an example of a blob information storage unit according to the second embodiment. In the example of FIG. 15, the blob information storage unit 125 includes items such as "blob ID", "node ID", and "vector information".

「ブロブID」は、ブロブを識別するための識別情報を示す。また、「ノードID」は、ブロブIDにより識別されるブロブに対応付けられたノード(オブジェクト)を示す。「ベクトル情報」は、ブロブのベクトル情報を示す。例えば、「ベクトル情報」は、ブロブのセントロイドに対応するベクトルを示す。 “Blob ID” indicates identification information for identifying a blob. Further, "node ID" indicates a node (object) associated with the blob identified by the blob ID. "Vector information" indicates vector information of a blob. For example, "vector information" indicates the vector corresponding to the centroid of the blob.

図15に示す例では、ブロブID「BL1」により識別されるブロブ(ブロブBL1)に対応付けられたノード(オブジェクト)は、ノードN7、N9、N85、N126等であることを示す。ブロブBL1は、「51,4,102,33・・・」の多次元のベクトル情報が対応付けられることを示す。 The example shown in FIG. 15 indicates that the nodes (objects) associated with the blob (blob BL1) identified by the blob ID "BL1" are nodes N7, N9, N85, N126, etc. Blob BL1 indicates that multidimensional vector information of "51, 4, 102, 33..." is associated with it.

また、ブロブID「BL9」により識別されるブロブ(ブロブBL9)に対応付けられたノード(オブジェクト)は、ノードN1、N4、N5等であることを示す。ブロブBL9は、「12,55,12,6・・・」の多次元のベクトル情報が対応付けられることを示す。 Further, the nodes (objects) associated with the blob (blob BL9) identified by the blob ID "BL9" are nodes N1, N4, N5, etc. Blob BL9 indicates that multidimensional vector information of "12, 55, 12, 6..." is associated with it.

なお、ブロブ情報記憶部125は、上記に限らず、目的に応じて種々の情報を記憶してもよい。ブロブ情報記憶部125は、各ブロブが距離計算の処理対象となったか否かを示すフラグを記憶してもよい。例えば、ブロブ情報記憶部125は、距離計算の対象として処理されていないことを示す値(「未処理フラグ値」ともいう)と、距離計算の対象として処理されたことを示す値(「処理済フラグ値」ともいう)とのいずれかを各ブロブのフラグの値に設定する。例えば、ブロブ情報記憶部125は、検索処理開始時に各ブロブのフラグの値を、そのブロブを対象としての距離計算が未処理であることを示す値(例えば0)に設定し、距離計算の対象となったブロブのフラグの値を、距離計算が処理済みであることを示す値(例えば1)に変更する。 Note that the blob information storage unit 125 is not limited to the above, and may store various types of information depending on the purpose. The blob information storage unit 125 may store a flag indicating whether each blob is a target of distance calculation processing. For example, the blob information storage unit 125 stores a value indicating that the blob has not been processed as a target for distance calculation (also referred to as "unprocessed flag value") and a value indicating that it has been processed as a target for distance calculation ("processed flag value"). (also referred to as "flag value") as the value of each blob's flag. For example, at the start of the search process, the blob information storage unit 125 sets the value of the flag of each blob to a value (for example, 0) indicating that the distance calculation for that blob has not been processed, and The value of the flag of the blob that has become , is changed to a value (for example, 1) that indicates that distance calculation has been completed.

例えば、情報処理装置100Aは、処理対象となったブロブのフラグの値を参照して、そのブロブについて一括距離計算の処理を実行するか否かを判定する。情報処理装置100Aは、各ブロブのフラグの値を参照し、そのブロブのフラグの値が未処理フラグ値である場合は、そのブロブが一括距離計算の処理前であると判定して、そのブロブに属するノードの一括距離計算を実行する。一方、情報処理装置100Aは、そのブロブのフラグの値が処理済フラグ値である場合は、そのブロブが一括距離計算の処理済みであると判定して、そのブロブに属するノードの一括距離計算を行わない。 For example, the information processing device 100A refers to the value of the flag of the blob that is the processing target and determines whether to perform the batch distance calculation process for that blob. The information processing device 100A refers to the flag value of each blob, and if the blob's flag value is an unprocessed flag value, the information processing device 100A determines that the blob has not yet been processed in the batch distance calculation, and processes the blob. Perform bulk distance calculation of nodes belonging to . On the other hand, if the value of the flag of the blob is the processed flag value, the information processing device 100A determines that the blob has been subjected to the batch distance calculation, and performs the batch distance calculation of the nodes belonging to the blob. Not performed.

(制御部130A)
図13の説明に戻って、制御部130Aは、コントローラ(controller)であり、例えば、CPUやMPUやGPU等によって、情報処理装置100A内部の記憶装置に記憶されている各種プログラム(情報処理プログラムの一例に相当)がRAMを作業領域として実行されることにより実現される。また、制御部130Aは、コントローラであり、例えば、ASICやFPGA等の集積回路により実現される。
(Control unit 130A)
Returning to the explanation of FIG. 13, the control unit 130A is a controller, and includes various programs (information processing programs) stored in a storage device inside the information processing device 100A, for example, by a CPU, MPU, GPU, etc. (corresponding to one example) is realized by being executed using RAM as a work area. Further, the control unit 130A is a controller, and is realized by, for example, an integrated circuit such as an ASIC or an FPGA.

図13に示すように、制御部130Aは、取得部131と、生成部132Aと、検索処理部133Aと、提供部134とを有し、以下に説明する情報処理の機能や作用を実現または実行する。なお、制御部130Aの内部構成は、図13に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。 As shown in FIG. 13, the control unit 130A includes an acquisition unit 131, a generation unit 132A, a search processing unit 133A, and a provision unit 134, and realizes or executes information processing functions and operations described below. do. Note that the internal configuration of the control unit 130A is not limited to the configuration shown in FIG. 13, and may be any other configuration as long as it performs information processing to be described later.

(生成部132A)
生成部132Aは、生成部132と同様に各種情報を生成する。
(Generation unit 132A)
The generation unit 132A generates various information similarly to the generation unit 132.

生成部132Aは、量子化情報記憶部123に示すようなベクトル量子化に関する情報を生成してもよい。例えば、生成部132は、ノードN1(オブジェクトOB1)がブロブBL9に属することを示す情報を生成する。また、生成部132は、ブロブ情報記憶部125に示すようなブロブに関する情報を生成してもよい。例えば、生成部132は、ブロブBL1には、ノードN7、N9、N85、N126等が属することを示す情報を生成する。なお、情報処理装置100がグラフ情報記憶部122、量子化情報記憶部123A、コードブック情報記憶部124、ブロブ情報記憶部125に示す情報を、情報提供装置50等の外部装置から取得する場合、情報処理装置100は、生成部132Aを有しなくてもよい。 The generation unit 132A may generate information related to vector quantization as shown in the quantization information storage unit 123. For example, the generation unit 132 generates information indicating that the node N1 (object OB1) belongs to the blob BL9. Further, the generation unit 132 may generate information regarding blobs as shown in the blob information storage unit 125. For example, the generation unit 132 generates information indicating that nodes N7, N9, N85, N126, etc. belong to blob BL1. Note that when the information processing device 100 acquires the information shown in the graph information storage unit 122, quantization information storage unit 123A, codebook information storage unit 124, and blob information storage unit 125 from an external device such as the information providing device 50, The information processing device 100 does not need to include the generation unit 132A.

(検索処理部133A)
検索処理部133Aは、検索処理部133と同様に検索処理に関する各種処理を行う。
(Search processing unit 133A)
Similar to the search processing unit 133, the search processing unit 133A performs various processes related to search processing.

検索処理部133Aは、複数のオブジェクトの各々に対応するノード群を対象として、検索クエリの近傍のノードを検索する検索処理において、複数のオブジェクトを分類した複数のブロブの情報を用いて、一のブロブに属する複数のノードと検索クエリとの距離を、ベクトル量子化された複数のノードのベクトル情報を用いて算出する。検索処理部133Aは、複数のノードと検索クエリとの距離の算出を並列化して一括で行う。検索処理部133Aは、情報処理装置100Aの仕様に基づいて決定される一括処理数の複数のノードと検索クエリとの距離の算出を並列処理する。 The search processing unit 133A uses information on a plurality of blobs in which a plurality of objects are classified in a search process for searching for nodes near a search query in a group of nodes corresponding to each of a plurality of objects. Distances between a plurality of nodes belonging to a blob and a search query are calculated using vector quantized vector information of a plurality of nodes. The search processing unit 133A parallelizes and collectively calculates distances between a plurality of nodes and a search query. The search processing unit 133A performs parallel processing to calculate the distance between the search query and a plurality of nodes whose number is determined based on the specifications of the information processing device 100A.

検索処理部133Aは、検索クエリが該当するブロブと隣接する一のブロブに属する複数のノードと検索クエリとの距離を算出する。検索処理部133Aは、複数のノードがエッジにより連結されたグラフを用いて、検索クエリの近傍のノードを検索する検索処理において、複数のノードと検索クエリとの距離を算出する。検索処理部133Aは、検索処理において処理対象となる対象ノードからのエッジが連結された接続ノードが属する一のブロブに属する複数のノードと検索クエリとの距離を算出する。 The search processing unit 133A calculates the distance between the search query and a plurality of nodes belonging to one blob adjacent to the blob to which the search query applies. The search processing unit 133A calculates distances between a plurality of nodes and a search query in a search process that searches for nodes in the vicinity of a search query using a graph in which a plurality of nodes are connected by edges. The search processing unit 133A calculates the distance between the search query and a plurality of nodes belonging to one blob to which a connection node to which edges from the target node to be processed belong in the search process.

検索処理部133Aは、対象ノードが属するブロブ以外の一のブロブに属する複数のノードと検索クエリとの距離を算出する。検索処理部133Aは、複数のノードの各々から、複数のノードの各々が属するブロブ以外の他のブロブへ連結されたブロブ用グラフを用いて、検索クエリの近傍のノードを検索する検索処理において、複数のノードと検索クエリとの距離を算出する。検索処理部133Aは、複数のノードがエッジにより連結された変換前のグラフにおいて、複数のノードのうち一のノードからエッジが連結されたノードが属するブロブであって、一のノードが属するブロブ以外のブロブへ、一のノードからエッジを連結することにより生成された変換後のグラフであるブロブ用グラフを用いて、検索クエリの近傍のノードを検索する検索処理において、複数のノードと検索クエリとの距離を算出する。 The search processing unit 133A calculates the distance between the search query and a plurality of nodes belonging to a blob other than the blob to which the target node belongs. In a search process in which the search processing unit 133A searches for nodes near the search query using a blob graph connected from each of the plurality of nodes to other blobs other than the blob to which each of the plurality of nodes belongs, Calculate the distance between multiple nodes and a search query. In the graph before conversion in which a plurality of nodes are connected by edges, the search processing unit 133A searches for a blob to which a node to which an edge is connected from one of the plurality of nodes belongs, other than the blob to which the one node belongs. In a search process that searches for nodes near a search query using a blob graph, which is a converted graph generated by connecting edges from one node to a blob, multiple nodes and a search query are Calculate the distance.

検索処理部133Aは、検索処理において処理対象となる対象ノードからのエッジが連結されたブロブである一のブロブに属する複数のノードと検索クエリとの距離を算出する。検索処理部133Aは、既に処理対象となったブロブである処理済みブロブを示す情報を用いて、一のブロブを処理対象とするかを判定する。検索処理部133Aは、一のブロブが処理済みブロブである場合、一のブロブを処理対象としないと判定する。 The search processing unit 133A calculates the distance between the search query and a plurality of nodes belonging to one blob, which is a blob in which edges from the target node to be processed are connected in the search process. The search processing unit 133A uses information indicating a processed blob, which is a blob that has already been a processing target, to determine whether one blob is to be processed. If the one blob is a processed blob, the search processing unit 133A determines that the one blob is not to be processed.

検索処理部133Aは、検索処理において処理対象となったノードのうち、所定のノードを対象として、ベクトル量子化がされた距離である第1距離とは異なり、ベクトル量子化がされていない第2距離を算出する。検索処理部133Aは、検索処理において検索クエリの近傍のノードとして抽出するノードの第1数よりも多い数である第2数のノードを近傍候補ノードとして抽出し、近傍候補ノードを対象として第2距離を算出する。検索処理部133Aは、近傍候補ノードのうち、第2距離が短い方から第1数のノードを検索クエリの近傍のノードとして抽出する。 The search processing unit 133A targets a predetermined node among the nodes to be processed in the search process. Calculate distance. In the search process, the search processing unit 133A extracts a second number of nodes, which is a larger number than the first number of nodes to be extracted as nodes in the vicinity of the search query, as neighboring candidate nodes, and selects a second number of nodes as neighboring candidate nodes. Calculate distance. The search processing unit 133A extracts a first number of nodes from among the nearby candidate nodes having the shorter second distance as nodes in the vicinity of the search query.

検索処理部133Aは、第1距離が所定の閾値以内であるノードを対象として第2距離を算出する。検索処理部133Aは、近傍のノードとして抽出する対象範囲を示す検索範囲内のノードを対象として第2距離を算出する。検索処理部133Aは、検索処理の対象範囲を示す探索範囲内のノードを対象として第2距離を算出する。 The search processing unit 133A calculates a second distance for nodes whose first distance is within a predetermined threshold. The search processing unit 133A calculates a second distance for nodes within the search range indicating the target range to be extracted as nearby nodes. The search processing unit 133A calculates a second distance for nodes within a search range indicating a target range of the search process.

〔2-3.検索処理例〕
ここで、第2の実施形態に係る検索処理の一例について、図16を一例として説明する。図16は、第2の実施形態に係る検索処理の一例を示すフローチャートである。以下に説明する検索処理は、情報処理装置100Aの検索処理部133Aによって行われる。なお、図11等、第1の実施形態と同様の点については適宜説明を省略する。例えば、図16において、図11と同様の点は同じステップ番号を付すことにより、適宜説明を省略する。
[2-3. Search processing example]
Here, an example of the search process according to the second embodiment will be described using FIG. 16 as an example. FIG. 16 is a flowchart illustrating an example of search processing according to the second embodiment. The search processing described below is performed by the search processing unit 133A of the information processing device 100A. Note that descriptions of points similar to those of the first embodiment, such as FIG. 11, will be omitted as appropriate. For example, in FIG. 16, the same steps as those in FIG. 11 are given the same step numbers, and the description thereof will be omitted as appropriate.

ここでは、近傍オブジェクト集合N(G,y)は、ノードyに付与されているエッジにより関連付けられている近傍のオブジェクトの集合である。「G」は、所定のグラフデータ(例えば、空間情報SP21に示すグラフGR21等)であってもよい。例えば、情報処理装置100Aは、k近傍検索処理を実行する。 Here, the neighboring object set N(G, y) is a set of neighboring objects that are related by edges attached to node y. "G" may be predetermined graph data (for example, graph GR21 shown in spatial information SP21, etc.). For example, the information processing device 100A executes k-nearest neighbor search processing.

例えば、図16に示す検索処理は、ステップS304の後にステップS304aに示す処理を行う点で、図11に示す検索処理と相違する。このように、図16に示す検索処理は、通常のグラフの探索で、まだ、アクセスしていないブロブに到達した場合にそのブロブ内のオブジェクト(ノード)とクエリとの距離を一括して計算し、各ノードの処理を行う。 For example, the search process shown in FIG. 16 differs from the search process shown in FIG. 11 in that the process shown in step S304a is performed after step S304. In this way, the search process shown in FIG. 16 is a normal graph search, and when a blob that has not been accessed yet is reached, the distance between the object (node) in that blob and the query is calculated all at once. , performs processing on each node.

具体的には、図16の検索処理においては、情報処理装置100Aは、オブジェクトsが属するブロブがまだ距離計算していない場合には、以下のすべて(図16中のステップS304a中の「-」に続けて示す4つの処理。以下「第1の処理」~「第4の処理」とする)を実行する(ステップS304a)。ステップS304aにおいて、情報処理装置100Aは、そのブロブ内のオブジェクトを一括距離計算する処理(第1の処理)を実行する。また、ステップS304aにおいて、情報処理装置100Aは、ブロブの距離計算フラグをセットする処理(第2の処理)を実行する。また、ステップS304aにおいて、情報処理装置100Aは、一括距離計算を行ったブロブ内のすべてのオブジェクトをCに格納する処理(第3の処理)を実行する。また、ステップS304aにおいて、情報処理装置100Aは、ブロブのすべてのオブジェクトをuとして逐一ステップS307からステップS314までの処理を行う処理(第4の処理)を実行する。その後、情報処理装置100Aは、ステップS306以降の処理を行う。 Specifically, in the search process of FIG. 16, if the distance of the blob to which the object s belongs has not yet been calculated, the information processing device 100A performs all of the following (“-” in step S304a in FIG. 16). The following four processes (hereinafter referred to as "first process" to "fourth process") are executed (step S304a). In step S304a, the information processing device 100A executes a process (first process) of calculating the distances of objects within the blob at once. Furthermore, in step S304a, the information processing device 100A executes a process (second process) of setting a blob distance calculation flag. Furthermore, in step S304a, the information processing apparatus 100A executes a process (third process) of storing all objects in the blob for which the batch distance calculation has been performed in C. Furthermore, in step S304a, the information processing apparatus 100A executes a process (fourth process) in which all objects of the blob are set as u and processes from step S307 to step S314 are performed one by one. After that, the information processing device 100A performs the processing from step S306 onwards.

〔2-4.変形例〕
ここから、変形例について説明する。第2の実施形態に係る変形例においては、ブロブの概念を含むグラフを用いてもよい。例えば、第2の実施形態に係る変形例においては、ノードからのエッジによる参照先がブロブであるグラフを用いてもよい。なお、第1の実施形態や第2の実施形態と同様の点については、適宜説明を省略する。変形例に係る情報処理装置100Aは、グラフ情報記憶部122に代えて、グラフ情報記憶部122Aを有する。
[2-4. Modified example]
From here, modified examples will be explained. In a modification of the second embodiment, a graph including the concept of blob may be used. For example, in a modification of the second embodiment, a graph may be used in which a blob is referenced by an edge from a node. Note that descriptions of points similar to those in the first embodiment and the second embodiment will be omitted as appropriate. The information processing device 100A according to the modification includes a graph information storage section 122A instead of the graph information storage section 122.

〔2-4-1.情報処理〕
まず、図17を用いて、変形例に係る情報処理の概要を説明する。図17は、変形例に係る情報処理の一例を示す図である。
[2-4-1. Information processing〕
First, an overview of information processing according to the modified example will be explained using FIG. 17. FIG. 17 is a diagram illustrating an example of information processing according to a modification.

情報処理装置100Aは、ノード間をエッジで連結したグラフGR21を、ノードからのエッジによる参照先がブロブであるグラフGR31に変換する(ステップS31)。すなわち、情報処理装置100Aは、図17に示すように、通常のグラフであるグラフGR21から、ブロブの概念が導入されたグラフ(ブロブ用グラフ)であるグラフGR31を生成する。 The information processing device 100A converts the graph GR21 in which nodes are connected by edges into a graph GR31 in which a blob is referenced by an edge from a node (step S31). That is, as shown in FIG. 17, the information processing device 100A generates a graph GR31, which is a graph in which the concept of a blob is introduced (blob graph), from a graph GR21, which is a normal graph.

図17の例では、情報処理装置100Aは、空間情報SP31に示すように、ノードからブロブへの有向エッジを含むグラフGR31を生成する。なお、グラフGR31においては、各ノード間のエッジについては削除され、グラフGR31には、ノードからブロブへの有向エッジが含まれ、ノード間のエッジは含まれない。図17に示す矢印線は、矢元のノードから矢先のブロブへの有向エッジを示す。すなわち、図17に示す矢印線は、矢元のノードを参照元とし、矢先のブロブを参照先とする有向エッジを示す。例えば、図17では、ノードN1からは、ブロブBL8及びブロブBL10の2つのブロブへのエッジが連結されることを示す。 In the example of FIG. 17, the information processing device 100A generates a graph GR31 including directed edges from nodes to blobs, as shown in spatial information SP31. Note that in the graph GR31, edges between nodes are deleted, and the graph GR31 includes directed edges from nodes to blobs, but does not include edges between nodes. The arrow line shown in FIG. 17 indicates a directed edge from the node at the base of the arrow to the blob at the base of the arrow. That is, the arrow line shown in FIG. 17 indicates a directed edge with the node at the base of the arrow as the reference source and the blob at the tip of the arrow as the reference destination. For example, FIG. 17 shows that edges from node N1 to two blobs, blob BL8 and blob BL10, are connected.

例えば、情報処理装置100Aは、各ノードのエッジを接続ノード(近傍ノード)へのエッジから接続ノードが属するブロブへのエッジに変換する。なお、情報処理装置100Aは、各ノード自身が属するブロブへのエッジは生成しない。図17の例では、情報処理装置100Aは、ノードN9とノードN126は同じブロブBL1に属するため、ノードN9からブロブBL1へのエッジ、及びノードN126からブロブBL1へのエッジは生成しない。一方、図17の例では、情報処理装置100Aは、ノードN9とノードN18は異なるブロブBL1、BL4に属するため、ノードN9からブロブBL4へのエッジ、及びノードN18からブロブBL1へのエッジを生成する。 For example, the information processing device 100A converts the edge of each node from an edge to a connection node (nearby node) to an edge to a blob to which the connection node belongs. Note that the information processing device 100A does not generate edges to the blob to which each node itself belongs. In the example of FIG. 17, since the node N9 and the node N126 belong to the same blob BL1, the information processing device 100A does not generate an edge from the node N9 to the blob BL1 and an edge from the node N126 to the blob BL1. On the other hand, in the example of FIG. 17, since the node N9 and the node N18 belong to different blobs BL1 and BL4, the information processing device 100A generates an edge from the node N9 to the blob BL4 and an edge from the node N18 to the blob BL1. .

図17の例では、情報処理装置100Aは、空間情報SP31に示すように、ノード(オブジェクト)からブロブへの有向エッジを含むグラフGR31を用いて、検索処理を行う。例えば、情報処理装置100Aは、検索クエリQE2を対象として、グラフGR21を用いた図19に示すような検索処理を行うことにより、検索クエリQE2の検索結果を得る。図19に示す検索処理についての詳細は後述する。なお、図17での検索処理は、ブロブの概念を用いて検索処理を行う点で図12と共通し、エッジに関連する処理の点以外は、図12に示す検索処理と同様である。 In the example of FIG. 17, the information processing device 100A performs a search process using a graph GR31 including directed edges from nodes (objects) to blobs, as shown in spatial information SP31. For example, the information processing device 100A obtains the search result of the search query QE2 by performing a search process as shown in FIG. 19 using the graph GR21 for the search query QE2. Details of the search process shown in FIG. 19 will be described later. Note that the search process in FIG. 17 is similar to FIG. 12 in that the search process is performed using the concept of a blob, and is the same as the search process shown in FIG. 12 except for the process related to edges.

〔2-4-2.グラフ〕
次に、図18を用いて、変形例に係るグラフの概要を説明する。図18は、変形例に係るグラフ情報記憶部の一例を示す図である。例えば、図18に示すグラフ情報記憶部122Aは、ブロブの概念が導入されたグラフ(ブロブ用グラフ)を記憶する。図18に示すグラフ情報記憶部122Aは、「ノードID」、「オブジェクトID」、および「ブロブ情報」といった項目を有する。このように、変形例に係るグラフ情報記憶部122Aは、「接続ノード情報」に代えて、「ブロブ情報」を有する点で図7のグラフ情報記憶部122と相違する。なお、図7のグラフ情報記憶部122と同様の点については適宜説明を省略する。
[2-4-2. graph〕
Next, an outline of a graph according to a modified example will be explained using FIG. 18. FIG. 18 is a diagram illustrating an example of a graph information storage unit according to a modification. For example, the graph information storage unit 122A shown in FIG. 18 stores a graph (blob graph) in which the concept of blob is introduced. The graph information storage unit 122A shown in FIG. 18 has items such as "node ID", "object ID", and "blob information". In this way, the graph information storage unit 122A according to the modified example differs from the graph information storage unit 122 of FIG. 7 in that it includes “blob information” instead of “connection node information”. Note that descriptions of the same points as those of the graph information storage unit 122 in FIG. 7 will be omitted as appropriate.

また、「ブロブ情報」は、対応するノードから辿ることができるブロブ(参照先のブロブ)に関する情報を示す。例えば、「ブロブ情報」には、「参照先」といった情報が含まれる。「参照先」は、エッジにより連結され、そのノードから辿ることができる参照先(ブロブ)を識別するための情報を示す。すなわち、図18の例では、ノードを識別するノードID(オブジェクトID)に対して、そのノードからエッジにより辿ることができる参照先(ブロブ)が対応付けられて登録されている。なお、「ブロブ情報」には、参照先に接続されるエッジを識別するための情報(エッジID)等が含まれてもよい。 Moreover, "blob information" indicates information regarding a blob (a referenced blob) that can be traced from a corresponding node. For example, "blob information" includes information such as "reference destination." “Reference destination” indicates information for identifying a reference destination (blob) that is connected by an edge and can be traced from that node. That is, in the example of FIG. 18, a reference destination (blob) that can be traced from the node by an edge is registered in association with a node ID (object ID) that identifies the node. Note that the "blob information" may include information (edge ID) for identifying an edge connected to a reference destination.

図18の例では、ノードID「N1」により識別されるノード(ノードN1)は、オブジェクトID「OB1」により識別されるオブジェクト(対象)に対応することを示す。また、ノードN1からは、ブロブID「BL8」により識別されるブロブ(ブロブBL8)にエッジが連結されており、ノードN1からブロブBL8へ辿ることができることを示す。また、ノードN1からは、ブロブID「BL10」により識別されるブロブ(ブロブBL10)にエッジが連結されており、ノードN1からブロブBL10へ辿ることができることを示す。 The example in FIG. 18 indicates that the node (node N1) identified by the node ID "N1" corresponds to the object (target) identified by the object ID "OB1". Furthermore, an edge is connected from the node N1 to the blob (blob BL8) identified by the blob ID "BL8", indicating that it is possible to trace from the node N1 to the blob BL8. Further, an edge is connected from the node N1 to the blob (blob BL10) identified by the blob ID "BL10", indicating that the blob BL10 can be traced from the node N1.

また、ノードID「N2」により識別されるノード(ノードN2)は、オブジェクトID「OB2」により識別されるオブジェクト(対象)に対応することを示す。また、ノードN2からは、ブロブID「BL5」により識別されるブロブ(ブロブBL5)にエッジが連結されており、ノードN1からブロブBL5へ辿ることができることを示す。 Further, the node (node N2) identified by the node ID "N2" corresponds to the object (target) identified by the object ID "OB2". Furthermore, an edge is connected from the node N2 to the blob (blob BL5) identified by the blob ID "BL5", indicating that the blob BL5 can be traced from the node N1.

なお、グラフ情報記憶部122Aは、上記に限らず、目的に応じて種々の情報を記憶してもよい。 Note that the graph information storage unit 122A is not limited to the above, and may store various information depending on the purpose.

また、グラフは、クエリを入力とし、グラフ中のエッジを辿ることによりノードを探索し、クエリに類似するノードを抽出し出力するプログラムモジュールを含んでもよい。すなわち、グラフは、グラフを用いて検索処理を行うプログラムモジュールとしての利用が想定されるものであってもよい。例えば、グラフGR31は、クエリとしてベクトルデータが入力された場合に、そのベクトルデータに類似するベクトルデータに対応するノードをグラフ中から抽出し、出力するプログラムであってもよい。例えば、グラフGR31は、クエリ画像に対応する類似画像を検索するプログラムモジュールとして利用されるデータであってもよい。例えば、グラフGR31は、入力されたクエリに基づいて、グラフにおいてそのクエリに類似するノードを抽出し、出力するよう、コンピュータを機能させる。 The graph may also include a program module that receives a query as input, searches for nodes by tracing edges in the graph, and extracts and outputs nodes similar to the query. That is, the graph may be assumed to be used as a program module that performs search processing using the graph. For example, the graph GR31 may be a program that, when vector data is input as a query, extracts nodes corresponding to vector data similar to the vector data from the graph and outputs them. For example, the graph GR31 may be data used as a program module that searches for similar images corresponding to a query image. For example, based on an input query, the graph GR31 causes the computer to extract and output nodes similar to the query in the graph.

〔2-4-3.検索処理例〕
ここから、変形例に係る検索処理の一例について、図19を一例として説明する。図19は、変形例に係る検索処理の一例を示すフローチャートである。以下に説明する検索処理は、情報処理装置100Aの検索処理部133Aによって行われる。なお、図11、図16等、第1の実施形態または第2の実施形態と同様の点については適宜説明を省略する。例えば、図19において、図11と同様の点は同じステップ番号を付すことにより、適宜説明を省略する。
[2-4-3. Search processing example]
An example of the search process according to the modified example will now be described using FIG. 19 as an example. FIG. 19 is a flowchart illustrating an example of a search process according to a modification. The search processing described below is performed by the search processing unit 133A of the information processing device 100A. Note that descriptions of points similar to those of the first embodiment or the second embodiment, such as FIGS. 11 and 16, will be omitted as appropriate. For example, in FIG. 19, the same steps as those in FIG. 11 are given the same step numbers, and the description thereof will be omitted as appropriate.

図19では、集合N(G,y)は、ノードyに付与されているエッジにより関連付けられているブロブの集合である点で、図11及び図16の検索処理と相違する。図19では、N(G、s)およびCはブロブ集合となる。すなわち、図11での「近傍オブジェクト集合N」は、図19では、「ブロブ集合N」と読み替えられ、図11での「オブジェクト集合C」は、図19では、「ブロブ集合C」と読み替えられる。また、上記のブロブへの変更に関連する処理における「オブジェクト」の文言は、適宜「ブロブ」と読み替えられる。「G」は、ブロブの概念が導入されたグラフ(ブロブ用グラフ)データ(例えば、空間情報SP31に示すグラフGR31等)であってもよい。例えば、情報処理装置100Aは、k近傍検索処理を実行する。 In FIG. 19, the set N(G, y) is different from the search processing in FIGS. 11 and 16 in that it is a set of blobs related by edges attached to node y. In FIG. 19, N(G, s) and C are blob sets. That is, "nearby object set N" in FIG. 11 is replaced with "blob set N" in FIG. 19, and "object set C" in FIG. 11 is replaced with "blob set C" in FIG. . Furthermore, the word "object" in the process related to the change to a blob can be read as "blob" as appropriate. "G" may be graph (blob graph) data (for example, graph GR31 shown in spatial information SP31) into which the concept of blob has been introduced. For example, the information processing device 100A executes k-nearest neighbor search processing.

例えば、図19に示す検索処理は、図11からステップS306の処理が以下のように変更される。図19の検索処理においては、情報処理装置100Aは、N(G、s)の中からブロブ集合Cに含まれない、ブロブを一つ選択し、選択したブロブをブロブ集合Cに格納し、ブロブ内のオブジェクトを一括計算し、その集合をB(「対象ブロブ内オブジェクト集合B」ともいう)とする(ステップS306)。 For example, in the search process shown in FIG. 19, the process in step S306 from FIG. 11 is changed as follows. In the search process in FIG. 19, the information processing device 100A selects one blob from N(G, s) that is not included in the blob set C, stores the selected blob in the blob set C, and stores the selected blob in the blob set C. The objects within the blob are collectively calculated, and the set thereof is set as B (also referred to as "object set B within the target blob") (step S306).

また、図19に示す検索処理は、ステップS306の後にステップS306aに示す処理を行う点で、図11に示す検索処理と相違する。具体的には、図19の検索処理においては、情報処理装置100Aは、対象ブロブ内オブジェクト集合Bからオブジェクトuを一つ選択する(ステップS306a)。その後、情報処理装置100Aは、ステップS307以降の処理を行う。 Furthermore, the search process shown in FIG. 19 differs from the search process shown in FIG. 11 in that the process shown in step S306a is performed after step S306. Specifically, in the search process of FIG. 19, the information processing device 100A selects one object u from the target blob object set B (step S306a). After that, the information processing device 100A performs the processing from step S307 onwards.

また、図19に示す検索処理は、ステップS315の前にステップS314aに示す処理を行う点で、図11に示す検索処理と相違する。具体的には、図19の検索処理においては、情報処理装置100Aは、対象ブロブ内オブジェクト集合Bから全て選択したか否かを判定する(ステップS314a)。 The search process shown in FIG. 19 is different from the search process shown in FIG. 11 in that the process shown in step S314a is performed before step S315. Specifically, in the search process of FIG. 19, the information processing device 100A determines whether all objects have been selected from object set B in the target blob (step S314a).

対象ブロブ内オブジェクト集合Bから全て選択し終えた場合(ステップS314a:Yes)、情報処理装置100Aは、ステップS315の処理を行う。一方、対象ブロブ内オブジェクト集合Bから全て選択し終えていない場合(ステップS314a:No)、情報処理装置100Aは、ステップS306aに戻って処理を繰り返す。 If all objects have been selected from object set B within the target blob (step S314a: Yes), the information processing device 100A performs the process of step S315. On the other hand, if all objects have not been selected from object set B within the target blob (step S314a: No), the information processing device 100A returns to step S306a and repeats the process.

〔2-4-4.生成処理の他の例〕
上述した例では、各ノードのエッジを接続ノードへのエッジから接続ノードが属するブロブへのエッジに変換してブロブ用グラフを生成する場合を示したが、情報処理装置100Aは、様々な情報を適宜用いて、ブロブ用グラフを生成してもよい。例えば、情報処理装置100Aは、複数のオブジェクトを検索対象とする近傍検索インデックス(単に「インデックス」ともいう)を用いて、ブロブ用グラフを生成してもよい。なお、上述した内容と同様の点については適宜説明を省略する。
[2-4-4. Other examples of generation processing]
In the above example, a case was shown in which a blob graph is generated by converting the edge of each node from an edge to a connected node to an edge to a blob to which the connected node belongs, but the information processing device 100A converts various information. It may be used as appropriate to generate a blob graph. For example, the information processing device 100A may generate a blob graph using a neighborhood search index (also simply referred to as an "index") that searches for multiple objects. Note that descriptions of points similar to those described above will be omitted as appropriate.

ブロブ用グラフの生成の一例について図20を用いて説明する。図20は、変形例に係る情報処理の他の一例を示す図である。なお、以下では、インデックスの一例としてグラフを用いる場合を一例として説明するが、インデックスは、複数のオブジェクトを検索対象とするものであればどのようなものであってもよい。例えば、インデックスは、ハッシュテーブル等のハッシュに関する記述を利用したインデックス(ハッシュインデックス)、木構造を有するインデックス(ツリーインデックス)等であってもよい。 An example of generating a blob graph will be described using FIG. 20. FIG. 20 is a diagram illustrating another example of information processing according to the modification. In addition, although the case where a graph is used as an example of an index is demonstrated below as an example, the index may be any type of index as long as it searches for a plurality of objects. For example, the index may be an index using a hash-related description such as a hash table (hash index), an index having a tree structure (tree index), or the like.

また、オブジェクトまたはそのオブジェクトに対応するノード(「オブジェクトノード」ともいう)を示す情報を第1情報と記載し、複数のオブジェクトを分類するために用いる情報を第2情報と記載する場合がある。また、ブロブを示す情報を第3情報と記載し、オブジェクトノードをエッジで連結したグラフを第4情報と記載する場合がある。例えば、図20中のグラフGR21は、オブジェクトノードであるノードN1等がエッジで連結されており、第4情報に対応する。また、図17中のグラフGR31及び図20中のグラフGR32は、第4情報とは異なり、オブジェクトノードとブロブとがエッジが連結されたブロブ用グラフ(「グループグラフ」ともいう)である。すなわち、グループグラフは、オブジェクトノードからブロブへエッジが連結され、オブジェクトノードを参照元とし、ブロブ(グループ)を参照先とするグラフである。 Further, information indicating an object or a node corresponding to the object (also referred to as an "object node") may be described as first information, and information used to classify a plurality of objects may be described as second information. Further, information indicating a blob may be described as third information, and a graph in which object nodes are connected by edges may be described as fourth information. For example, the graph GR21 in FIG. 20 has node N1, which is an object node, connected by edges, and corresponds to the fourth information. Also, unlike the fourth information, graph GR31 in FIG. 17 and graph GR32 in FIG. 20 are blob graphs (also referred to as "group graphs") in which object nodes and blobs are connected at edges. In other words, the group graph is a graph in which edges are connected from object nodes to blobs, the object nodes are reference sources, and the blobs (groups) are reference destinations.

情報処理装置100Aは、オブジェクトノード間がエッジで連結したグラフGR21をインデックス(第4情報)として用いて、オブジェクトノードからのエッジによる参照先がブロブとなるグループグラフであるグラフGR32を生成する(ステップS41)。図20では、情報処理装置100Aは、空間情報SP32に示すように、ノードからブロブへの有向エッジを含むグラフGR32を生成する。 The information processing device 100A uses the graph GR21 in which object nodes are connected by edges as an index (fourth information) to generate a graph GR32 that is a group graph in which blobs are referenced by edges from object nodes (step S41). In FIG. 20, the information processing device 100A generates a graph GR32 including directed edges from nodes to blobs, as shown in spatial information SP32.

例えば、情報処理装置100Aは、複数のオブジェクトから一のオブジェクトを選択し、グラフGR21を用いて一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトに対応する一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グラフGR32を生成する。例えば、情報処理装置100Aは、複数のオブジェクトからランダムに一のオブジェクトを選択し、選択した一のオブジェクトを対象に連結処理を行い、グラフGR32を生成する。 For example, the information processing device 100A selects one object from a plurality of objects, searches for neighboring objects of the one object using the graph GR21, and determines which neighboring objects belong from one object node corresponding to the one object. A graph GR32 is generated by a connection process that connects edges to other groups. For example, the information processing device 100A randomly selects one object from a plurality of objects, performs a concatenation process on the selected object, and generates the graph GR32.

例えば、情報処理装置100Aは、以下のような処理(1-1)~(1-4)を行い、グラフGR32を生成する。なお、オブジェクトは、オブジェクトに対応するノードと読み替えてもよい。 For example, the information processing device 100A performs the following processes (1-1) to (1-4) to generate the graph GR32. Note that the object may be read as a node corresponding to the object.

(1-1):ランダムでオブジェクトNXを取得(選択)
(1-2):オブジェクトNXの近傍オブジェクトを定数k件検索
(1-3):各近傍オブジェクトの属するブロブを取得
(1-4):オブジェクトNXから取得したブロブへのエッジを生成
(1-1): Obtain object NX randomly (selection)
(1-2): Search for a constant number of k neighboring objects of object NX (1-3): Obtain the blob to which each neighboring object belongs (1-4): Generate an edge to the blob obtained from object NX

例えば処理(1-1)では、情報処理装置100Aは、オブジェクト情報記憶部121に記憶された複数のオブジェクトからランダムに一のオブジェクトNXを取得する。 For example, in process (1-1), the information processing device 100A randomly acquires one object NX from a plurality of objects stored in the object information storage unit 121.

例えば処理(1-2)では、情報処理装置100Aは、図11に示すような検索処理を、オブジェクトNXを対象(クエリ)とし、グラフGR21を用いて行うことにより、k件(個)のオブジェクトをオブジェクトNXの近傍オブジェクトとして抽出する。 For example, in process (1-2), the information processing device 100A performs a search process as shown in FIG. is extracted as a neighboring object of object NX.

例えば処理(1-3)では、情報処理装置100Aは、ブロブ情報記憶部125に記憶されたブロブの情報を参照し、オブジェクトNXの近傍オブジェクト(ノード)が対応付けられたブロブを取得する。 For example, in process (1-3), the information processing device 100A refers to blob information stored in the blob information storage unit 125 and obtains blobs associated with neighboring objects (nodes) of object NX.

例えば処理(1-4)では、情報処理装置100Aは、オブジェクトNXから取得したブロブへのエッジを生成する。例えば、情報処理装置100Aは、量子化情報記憶部123A中のオブジェクトNXに取得したブロブを示す情報を対応付けることにより、グラフGR32を生成する。 For example, in process (1-4), the information processing device 100A generates an edge to the blob acquired from the object NX. For example, the information processing device 100A generates the graph GR32 by associating information indicating the acquired blob with the object NX in the quantization information storage unit 123A.

例えば、情報処理装置100Aは、上記の処理(1-1)~(1-4)を、処理対象となるオブジェクトが無くなるまで繰り返し行い、グラフGR32を生成する。なお、空間情報SP21に示すブロブを検索により生成している場合、ブロブの生成の際の検索結果を流用して、グラフGR32を生成してもよい。なお、ブロブを検索により生成する例については後述する。 For example, the information processing device 100A repeatedly performs the above processes (1-1) to (1-4) until there are no more objects to be processed, and generates the graph GR32. Note that when the blob shown in the spatial information SP21 is generated by a search, the graph GR32 may be generated by using the search results when the blob is generated. Note that an example of generating blobs by search will be described later.

例えば、情報処理装置100Aは、空間情報SP32に示すように、ノード(オブジェクト)からブロブへの有向エッジを含むグラフGR32を用いて、検索処理を行う。例えば、情報処理装置100Aは、検索クエリQE2を対象として、グラフGR32を用いた図19に示すような検索処理を行うことにより、検索クエリQE2の検索結果を得る。 For example, the information processing device 100A performs a search process using a graph GR32 including directed edges from nodes (objects) to blobs, as shown in spatial information SP32. For example, the information processing device 100A obtains the search result of the search query QE2 by performing a search process as shown in FIG. 19 using the graph GR32 for the search query QE2.

また、上述した例では、クラスタリングによりブロブを生成する場合を示したが、ブロブは、クラスタリングに限らず、様々な方法により生成されてもよい。例えば、情報処理装置100Aは、インデックス等の第2情報を用いて、ブロブを示す情報(第3情報)を生成してもよい。 Further, in the above example, a case was shown in which blobs were generated by clustering, but blobs are not limited to clustering, and may be generated by various methods. For example, the information processing device 100A may generate information indicating a blob (third information) using second information such as an index.

情報処理装置100Aは、図21に示すような、グラフGR21をインデックスとして用いて、ブロブを示す第3情報を生成する。図21は、ブロブ情報の生成処理の一例を示す図である。図21の空間情報SP20は、空間情報SP21中のブロブの情報が生成される前の状態を示し、図21のグラフGR21は、図20のグラフGR21と同様のグラフである。なお、図21に示す処理は、後述する第1方法の一部を示すものであるが、詳細は後述する。 The information processing device 100A uses the graph GR21 as an index as shown in FIG. 21 to generate third information indicating a blob. FIG. 21 is a diagram illustrating an example of blob information generation processing. Spatial information SP20 in FIG. 21 shows a state before the blob information in spatial information SP21 is generated, and graph GR21 in FIG. 21 is a graph similar to graph GR21 in FIG. 20. Note that the process shown in FIG. 21 shows a part of the first method described later, and the details will be described later.

例えば、情報処理装置100Aは、グラフGR21を用いた検索により、複数のオブジェクトを複数のブロブに分類する第3情報を生成する。例えば、情報処理装置100Aは、グラフGR21中の複数のノードから一のノード(「処理対象ノード」ともいう)を選択し、処理対象ノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び処理対象ノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。例えば、情報処理装置100Aは、複数のノードから所定の処理により処理対象ノードを選択し、選択した処理対象ノードを対象に分類処理を行い、第3情報を生成する。 For example, the information processing device 100A generates third information that classifies a plurality of objects into a plurality of blobs by searching using the graph GR21. For example, the information processing device 100A selects one node (also referred to as a "processing target node") from a plurality of nodes in the graph GR21, and selects at least one of the neighboring nodes that are nodes connected to the processing target node by an edge. The third information is generated by a classification process of classifying a group of objects corresponding to each of the classification target node, which is a node of the section, and the processing target node into one group. For example, the information processing device 100A selects a processing target node from a plurality of nodes by a predetermined process, performs a classification process on the selected processing target node, and generates third information.

例えば、情報処理装置100Aは、ノードにエッジで連結された近傍ノード(接続ノード)の数に基づいて処理対象ノードを選択してもよい。例えば、情報処理装置100Aは、近傍ノードの数が大きい方から順に処理対象ノードを選択してもよい。近傍ノードの数が大きい方から順に処理対象ノードを選択し、ブロブを示す第3情報を生成する方法を「第1方法」ともいう。また、例えば、情報処理装置100Aは、近傍ノード(接続ノード)の数が小さい方から順に処理対象ノードを選択してもよい。近傍ノードの数が小さい方から順に処理対象ノードを選択し、ブロブを生成する方法を「第2方法」ともいう。また、例えば、情報処理装置100Aは、ランダムに処理対象ノードを選択してもよい。ランダムに処理対象ノードを選択し、ブロブを示す第3情報を生成する方法を「第3方法」ともいう。以下では、第1方法、第2方法、及び第3方法の各々の処理手順の概要を説明する。 For example, the information processing device 100A may select a processing target node based on the number of neighboring nodes (connection nodes) connected to the node by edges. For example, the information processing apparatus 100A may select processing target nodes in descending order of the number of neighboring nodes. A method of selecting processing target nodes in order of increasing number of neighboring nodes and generating third information indicating a blob is also referred to as a "first method." Further, for example, the information processing apparatus 100A may select processing target nodes in descending order of the number of neighboring nodes (connected nodes). A method of selecting processing target nodes in order of decreasing number of neighboring nodes and generating blobs is also referred to as a "second method." Further, for example, the information processing apparatus 100A may randomly select a processing target node. A method of randomly selecting processing target nodes and generating third information indicating a blob is also referred to as a "third method." Below, the outline of each processing procedure of the first method, second method, and third method will be explained.

〔2-4-4-1.第1方法〕
まず、第1方法について説明する。例えば、第1方法の場合、情報処理装置100Aは、以下のような処理(2-1)~(2-3)を行い、ブロブを示す第3情報を生成する。
[2-4-4-1. 1st method]
First, the first method will be explained. For example, in the case of the first method, the information processing device 100A performs the following processes (2-1) to (2-3) to generate third information indicating a blob.

(2-1):各ノードの近傍ノード数(エッジ数)が大きいものからノードNDを取得
(2-2):ノードNDの近傍ノード及びノードNDを一のブロブとする
(2-3):ブロブとしたノード及びそのノードのエッジを削除
(2-1): Obtain the node ND from the one with the largest number of neighboring nodes (number of edges) for each node (2-2): Set the neighboring nodes of the node ND and the node ND as one blob (2-3): Delete blob nodes and edges of those nodes

例えば、情報処理装置100Aは、処理(2-1)~(2-3)を、すべてのノードにおいて実施する。 For example, the information processing device 100A performs processes (2-1) to (2-3) on all nodes.

例えば、処理(2-1)では、情報処理装置100Aは、グラフGR21を参照し、一のノードNDを順次取得する。情報処理装置100Aは、近傍ノードの数が大きい方から順に並べられたノードの一覧情報を用いて、一のノードNDを取得してもよい。 For example, in process (2-1), the information processing device 100A refers to the graph GR21 and sequentially acquires one node ND. The information processing device 100A may obtain one node ND using list information of nodes arranged in descending order of the number of neighboring nodes.

例えば処理(2-2)では、情報処理装置100Aは、処理対象となっているグラフ(グラフGR21等)を参照し、ノードNDの近傍ノード及びノードNDを一のブロブとする情報を生成する。なお、情報処理装置100Aは、すべての近傍ノードをブロブとするのではなく定数K以下の近傍ノードをブロブとしても良い。例えば、情報処理装置100Aは、ノードNDの全近傍ノードをノードNDとともにブロブとするのではなく、近傍ノードのうちK個の近傍ノード及びノードNDを一のブロブとしてもよい。 For example, in process (2-2), the information processing device 100A refers to the graph to be processed (graph GR21, etc.) and generates information regarding the neighboring nodes of the node ND and the node ND as one blob. Note that the information processing device 100A may set neighboring nodes that are less than or equal to a constant K as blobs instead of setting all neighboring nodes as blobs. For example, instead of making all the neighboring nodes of the node ND into a blob together with the node ND, the information processing device 100A may make K neighboring nodes and the node ND among the neighboring nodes into one blob.

例えば処理(2-3)では、情報処理装置100Aは、ノードが重複して選択されないように、処理(2-2)においてブロブとしたノード及びそのノードのエッジを削除する。例えば、情報処理装置100Aは、ブロブとしたノードが他のノードの近傍ノードであれば、その(エッジおよび)ノードを削除する。なお、上記の方法は一例に過ぎず、処理(2-3)は、エッジ等を削除する方法に限らず、ブロブを生成可能であればどのような方法であってもよい。例えば、情報処理装置100Aは、既にブロブに属しているノードのリストを保持して、除外するノードを管理する方法により、ブロブの生成を行ってもよい。例えば、情報処理装置100Aは、ブロブとしたノードに所定のフラグ(削除フラグ等)を立てることにより、既にブロブに属しているノードを管理してもよい。このように、フラグを用いる場合、情報処理装置100Aは、処理の際に各ノードのフラグを参照して、そのノードを処理対象とするかを判定する。 For example, in process (2-3), the information processing device 100A deletes the node that was made into a blob in process (2-2) and the edges of that node so that nodes are not selected redundantly. For example, the information processing device 100A deletes the blob (edge and) node if the node is a neighboring node of another node. Note that the above method is only an example, and the process (2-3) is not limited to the method of deleting edges and the like, but may be any method as long as it is possible to generate blobs. For example, the information processing device 100A may generate a blob by maintaining a list of nodes that already belong to the blob and managing nodes to be excluded. For example, the information processing device 100A may manage nodes that already belong to a blob by setting a predetermined flag (such as a deletion flag) on the node that is a blob. In this way, when using flags, the information processing apparatus 100A refers to the flags of each node during processing and determines whether that node is to be processed.

上述した第1方法の具体例について図21を用いて説明する。図21では、情報処理装置100Aは、グラフGR21のうち、近傍ノードの数が最大の4個であるノードN7を取得する(ステップS51)。図21では、グラフGR21のうちノードN1も近傍ノードの数が4個であるが、情報処理装置100Aは、ノードN7を取得するものとする。なお、近傍ノードの数が同数のノードが複数ある場合、情報処理装置100Aは、その複数のノードからランダムにノードを取得してもよい。 A specific example of the first method described above will be explained using FIG. 21. In FIG. 21, the information processing device 100A acquires the node N7, which has the maximum number of neighboring nodes of four, from the graph GR21 (step S51). In FIG. 21, the node N1 in the graph GR21 also has four neighboring nodes, but the information processing device 100A acquires the node N7. Note that when there are multiple nodes with the same number of neighboring nodes, the information processing device 100A may randomly acquire nodes from the multiple nodes.

そして、情報処理装置100Aは、ノードN7の近傍ノードであるノードN9、N12、N54、N126の4個のノード及びノードN7の5個のノードを一のブロブBL11とする(ステップS52)。情報処理装置100Aは、ノードN7、N9、N12、N54、N126の5個のノードが一のブロブBL11に属することを示す第3情報BLT1を生成する。そして、情報処理装置100Aは、ノードN7、N9、N12、N54、N126の5個のノード及び各ノードのエッジをグラフGR21から削除する。これにより、空間情報SP20-1に示すように、グラフGR21はグラフGR21-1に更新される。 Then, the information processing device 100A sets four nodes N9, N12, N54, and N126, which are neighboring nodes of the node N7, and five nodes including the node N7, as one blob BL11 (step S52). The information processing device 100A generates third information BLT1 indicating that five nodes N7, N9, N12, N54, and N126 belong to one blob BL11. The information processing device 100A then deletes the five nodes N7, N9, N12, N54, and N126 and the edges of each node from the graph GR21. As a result, the graph GR21 is updated to the graph GR21-1, as shown in the spatial information SP20-1.

そして、情報処理装置100Aは、グラフGR21のうち、近傍ノードの数が4個であるノードN1を取得する(ステップS53)。そして、情報処理装置100Aは、ノードN1の近傍ノードであるノードN4、N5、N88、N99の4個のノード及びノードN1の5個のノードを一のブロブBL12とする(ステップS54)。情報処理装置100Aは、ノードN1、N4、N5、N88、N99の5個のノードが一のブロブBL12に属することを示す第3情報BLT2を生成する。そして、情報処理装置100Aは、ノードN1、N4、N5、N88、N99の5個のノード及び各ノードのエッジをグラフGR21-1から削除する。 Then, the information processing device 100A obtains the node N1 having four neighboring nodes from the graph GR21 (step S53). Then, the information processing device 100A sets four nodes N4, N5, N88, and N99, which are neighboring nodes of the node N1, and five nodes including the node N1, as one blob BL12 (step S54). The information processing device 100A generates third information BLT2 indicating that five nodes N1, N4, N5, N88, and N99 belong to one blob BL12. Then, the information processing device 100A deletes the five nodes N1, N4, N5, N88, and N99 and the edges of each node from the graph GR21-1.

情報処理装置100Aは、上述した処理を処理対象となるノードが無くなるまで繰り返し、複数のブロブを示す第3情報を生成する。 The information processing device 100A repeats the above-described processing until there are no more nodes to be processed, and generates third information indicating a plurality of blobs.

〔2-4-4-2.第2方法〕
次に、第2方法について説明する。例えば、第2方法の場合、情報処理装置100Aは、以下のような処理(3-1)~(3-3)を行い、ブロブを示す第3情報を生成する。
[2-4-4-2. Second method]
Next, the second method will be explained. For example, in the case of the second method, the information processing device 100A performs the following processes (3-1) to (3-3) to generate third information indicating a blob.

(3-1):各ノードの近傍ノード数(エッジ数)が小さいものからノードNDを取得
(3-2):ノードNDの近傍ノード及びノードNDを一のブロブとする
(3-3):ブロブとしたノード及びそのノードのエッジを削除
(3-1): Obtain nodes ND from the smallest number of neighboring nodes (number of edges) for each node (3-2): Set neighboring nodes of node ND and node ND as one blob (3-3): Delete blob nodes and edges of those nodes

例えば、情報処理装置100Aは、処理(3-1)~(3-3)を、すべてのノードにおいて実施する。 For example, the information processing device 100A performs processes (3-1) to (3-3) on all nodes.

例えば、処理(3-1)では、情報処理装置100Aは、グラフGR21を参照し、一のノードNDを順次取得する。情報処理装置100Aは、近傍ノードの数が小さい方から順に並べられたノードの一覧情報を用いて、一のノードNDを取得してもよい。 For example, in process (3-1), the information processing device 100A refers to the graph GR21 and sequentially acquires one node ND. The information processing device 100A may obtain one node ND using list information of nodes arranged in descending order of the number of neighboring nodes.

例えば処理(3-2)では、情報処理装置100Aは、処理対象となっているグラフ(グラフGR21等)を参照し、ノードNDの近傍ノード及びノードNDを一のブロブとする情報を生成する。なお、情報処理装置100Aは、すべての近傍ノードをブロブとするのではなく定数K以下の近傍ノードをブロブとしても良い。例えば、情報処理装置100Aは、ノードNDの全近傍ノードをノードNDとともにブロブとするのではなく、近傍ノードのうちK個の近傍ノード及びノードNDを一のブロブとしてもよい。 For example, in the process (3-2), the information processing device 100A refers to the graph to be processed (graph GR21, etc.) and generates information regarding the neighboring nodes of the node ND and the node ND as one blob. Note that the information processing device 100A may set neighboring nodes that are less than or equal to a constant K as blobs instead of setting all neighboring nodes as blobs. For example, instead of making all the neighboring nodes of the node ND into a blob together with the node ND, the information processing device 100A may make K neighboring nodes and the node ND among the neighboring nodes into one blob.

例えば処理(3-3)では、情報処理装置100Aは、ノードが重複して選択されないように、処理(3-2)においてブロブとしたノード及びそのノードのエッジを削除する。例えば、情報処理装置100Aは、ブロブとしたノードが他のノードの近傍ノードであれば、その(エッジおよび)ノードを削除する。なお、第2方法は、ノードの取得順が近傍ノード数(エッジ数)が小さい方から順である点以外は、第1方法と同様であるため、具体例等についての説明は省略する。例えば、処理(3-3)は、第1方法と同様に、エッジ等を削除する方法に限らず、ブロブを生成可能であればどのような方法であってもよい。例えば、情報処理装置100Aは、第1方法と同様に、既にブロブに属しているノードのリストを保持して、除外するノードを管理する方法により、ブロブの生成を行ってもよい。 For example, in process (3-3), the information processing apparatus 100A deletes the node that was made into a blob in process (3-2) and the edges of that node so that nodes are not selected twice. For example, the information processing device 100A deletes the blob (edge and) node if the node is a neighboring node of another node. Note that the second method is the same as the first method except that the order of node acquisition is from the smallest number of neighboring nodes (number of edges), so a description of specific examples and the like will be omitted. For example, like the first method, the process (3-3) is not limited to the method of deleting edges and the like, but may be any method as long as it is possible to generate blobs. For example, similar to the first method, the information processing device 100A may generate a blob by maintaining a list of nodes that already belong to the blob and managing nodes to be excluded.

〔2-4-4-3.第3方法〕
次に、第3方法について説明する。例えば、第3方法の場合、情報処理装置100Aは、以下のような処理(4-1)~(4-3)を行い、ブロブを示す第3情報を生成する。
[2-4-4-3. Third method]
Next, a third method will be explained. For example, in the case of the third method, the information processing device 100A performs the following processes (4-1) to (4-3) to generate third information indicating a blob.

(4-1):ランダムにノードNDを順次取得
(4-2):ノードNDの近傍ノード及びノードNDを一のブロブとする
(4-3):ブロブとしたノード及びそのノードのエッジを削除
(4-1): Randomly acquire nodes ND in sequence (4-2): Make neighboring nodes of node ND and node ND one blob (4-3): Delete the blob node and the edges of that node

例えば、情報処理装置100Aは、処理(4-1)~(4-3)を、すべてのノードにおいて実施する。なお、第3方法は、ノードの取得順がランダムである点以外は、第1方法及び第2方法と同様であり詳細な説明は省略する。例えば、情報処理装置100Aは、すべて同じエッジ数であればランダム順(第3方法)で第3情報の生成を実行してもよい。 For example, the information processing device 100A performs processes (4-1) to (4-3) on all nodes. Note that the third method is similar to the first method and the second method, except that the order of node acquisition is random, and detailed description thereof will be omitted. For example, the information processing device 100A may generate the third information in random order (third method) if the number of edges is the same.

〔2-4-4-4.第4方法〕
なお、上述した第1方法~第3方法は一例に過ぎず、情報処理装置100Aは、様々な処理によりブロブを生成してもよい。例えば、情報処理装置100Aは、複数のオブジェクトを検索対象とする近傍検索インデックス(インデックス)を用いた検索によりブロブを生成してもよい。インデックスを用いた検索によりブロブを生成する方法を「第4方法」ともいう。
[2-4-4-4. Fourth method]
Note that the first to third methods described above are merely examples, and the information processing apparatus 100A may generate blobs by various processes. For example, the information processing device 100A may generate a blob through a search using a neighborhood search index that searches for multiple objects. The method of generating blobs by searching using an index is also referred to as a "fourth method."

以下、第4方法について説明する。なお、上述した内容と同様の点については適宜説明を省略する。以下では、インデックスの一例としてグラフを用いる場合を一例として説明するが、上述したようにインデックスは、複数のオブジェクトを検索対象とするものであればどのようなものであってもよい。例えば、インデックスは、ハッシュインデックス、ツリーインデックス等、どのようなインデックスであってもよい。 The fourth method will be explained below. Note that descriptions of points similar to those described above will be omitted as appropriate. In the following, a case will be described in which a graph is used as an example of the index, but as described above, the index may be of any type as long as it searches for a plurality of objects. For example, the index may be any index such as a hash index or a tree index.

ここから、図21に示すようなグラフGR21をインデックスとして用いた検索により、情報処理装置100Aがブロブを示す第3情報を生成する場合を説明する。例えば、情報処理装置100Aは、以下のような処理(5-1)~(5-4)を行い、グラフGR32を生成する。 From here, a case will be described in which the information processing device 100A generates third information indicating a blob by searching using the graph GR21 as an index as shown in FIG. 21. For example, the information processing device 100A performs the following processes (5-1) to (5-4) to generate the graph GR32.

(5-1):ランダムでオブジェクトNXを取得(選択)
(5-2):オブジェクトNXの近傍オブジェクトを定数k件検索
(5-3):オブジェクトNXの近傍オブジェクト及びオブジェクトNXを一のブロブとする
(5-4):重複処理回避用の処理を実行
(5-1): Obtain object NX randomly (selection)
(5-2): Search for a constant number of k neighboring objects of object NX (5-3): Make neighboring objects of object NX and object NX one blob (5-4): Execute processing to avoid duplicate processing

例えば処理(5-1)では、情報処理装置100Aは、グラフGR21からランダムに一のオブジェクトNXを取得する。 For example, in process (5-1), the information processing device 100A randomly acquires one object NX from the graph GR21.

例えば処理(5-2)では、情報処理装置100Aは、図11に示すような検索処理を、オブジェクトNXを対象(クエリ)とし、グラフGR21を用いて行うことにより、k件(個)のオブジェクトをオブジェクトNXの近傍オブジェクトとして抽出する。なお、情報処理装置100Aは、すべてのオブジェクトをスキャン(検索)して、オブジェクトNXの近傍オブジェクトを抽出してもよい。 For example, in process (5-2), the information processing device 100A performs a search process as shown in FIG. 11 using the graph GR21 with the object NX as the target (query). is extracted as a neighboring object of object NX. Note that the information processing device 100A may scan (search) all the objects and extract neighboring objects of the object NX.

例えば処理(5-3)では、情報処理装置100Aは、オブジェクトNXの近傍オブジェクトの近傍ノード及びオブジェクトNXを一のブロブとする情報を生成する。 For example, in process (5-3), the information processing device 100A generates information that makes the neighboring nodes of the neighboring objects of the object NX and the object NX one blob.

例えば処理(5-4)では、情報処理装置100Aは、一のオブジェクトが重複して検索されたりする等により複数のブロブに属することとならないように、重複処理回避用の処理を実行する。例えば、情報処理装置100Aは、ブロブとしたオブジェクトをインデックスから削除する。例えば、情報処理装置100Aは、ブロブとしたオブジェクトをグラフGR21から削除する。 For example, in process (5-4), the information processing device 100A executes a process for avoiding duplicate processing so that one object does not belong to multiple blobs due to duplicate searches or the like. For example, the information processing device 100A deletes the blob object from the index. For example, the information processing device 100A deletes the blob object from the graph GR21.

なお、情報処理装置100Aは、上記に限らず、一のオブジェクトが複数のブロブに属することとならなければ、どのような方法により重複処理回避用の処理を行ってもよい。例えば、情報処理装置100Aは、ブロブとしたオブジェクトに所定のフラグ(削除フラグ等)を立てることにより、既にブロブに属しているオブジェクトが処理対象となることを抑制してもよい。このように、フラグを用いる場合、情報処理装置100Aは、処理の際に各オブジェクトのフラグを参照して、そのオブジェクトを処理対象とするかを判定する。例えば、情報処理装置100Aは、上述したグループグラフの生成に検索結果を利用する場合には、フラグを用いた方法により重複処理回避用の処理を行ってもよい。 Note that the information processing apparatus 100A is not limited to the above method, and may perform processing for avoiding duplicate processing using any method as long as one object does not belong to multiple blobs. For example, the information processing device 100A may set a predetermined flag (such as a deletion flag) on an object that has been made into a blob, thereby preventing objects that already belong to the blob from becoming processing targets. In this way, when using flags, the information processing apparatus 100A refers to the flag of each object during processing and determines whether the object is to be processed. For example, when the information processing device 100A uses the search results to generate the group graph described above, the information processing device 100A may perform processing to avoid duplicate processing using a method using a flag.

〔2-4-5.変形例に係る情報処理装置〕
第2の実施形態の変形例に係る情報処理装置100Aにおいて取得部131は、以下の処理も行う。取得部131は、データ検索の対象となる複数のオブジェクトを示す第1情報と、複数のオブジェクトを分類するために用いる第2情報とを取得する。取得部131は、複数のオブジェクトを検索対象とするインデックスである第2情報を取得する。取得部131は、複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフである第2情報を取得する。取得部131は、複数のオブジェクトを検索対象とするインデックスである第4情報を取得する。取得部131は、複数のオブジェクトの各々に対応する複数のオブジェクトノードがエッジにより連結されたグラフである第4情報を取得する。
[2-4-5. Information processing device according to modification]
In the information processing device 100A according to the modification of the second embodiment, the acquisition unit 131 also performs the following processing. The acquisition unit 131 acquires first information indicating a plurality of objects to be searched for data, and second information used to classify the plurality of objects. The acquisition unit 131 acquires second information that is an index that searches for a plurality of objects. The acquisition unit 131 acquires second information that is a graph in which a plurality of nodes corresponding to each of a plurality of objects are connected by edges. The acquisition unit 131 acquires fourth information that is an index that searches for multiple objects. The acquisition unit 131 acquires fourth information that is a graph in which a plurality of object nodes corresponding to each of a plurality of objects are connected by edges.

また、第2の実施形態の変形例に係る情報処理装置100Aにおいて生成部132Aは、以下の処理も行う。生成部132Aは、取得部131により取得された第2情報を用いて、第1情報が示す複数のオブジェクトを分類し、複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する。生成部132Aは、第2情報を用いて、複数のオブジェクトを複数のグループに分類する第3情報を生成する。生成部132Aは、第2情報を用いた検索により、複数のオブジェクトを複数のグループに分類する第3情報を生成する。 Furthermore, in the information processing apparatus 100A according to the modification of the second embodiment, the generation unit 132A also performs the following processing. The generation unit 132A uses the second information acquired by the acquisition unit 131 to classify the plurality of objects indicated by the first information, and classifies the plurality of objects used for batch processing in the search process targeting the plurality of objects. Third information indicating the group is generated. The generation unit 132A uses the second information to generate third information that classifies the plurality of objects into a plurality of groups. The generation unit 132A generates third information for classifying a plurality of objects into a plurality of groups by searching using the second information.

生成部132Aは、グラフ中の複数のノードから一のノードを選択し、一のノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。生成部132Aは、一のノードの近傍ノードのうち所定の数のノードである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。生成部132Aは、一のノードの近傍ノードの全てである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 The generation unit 132A selects one node from a plurality of nodes in the graph, and generates classification target nodes that are at least some nodes among neighboring nodes that are nodes connected to the one node by edges, and the one node. The third information is generated by a classification process that classifies the object group corresponding to each of the objects into one group. The generation unit 132A generates the third information through a classification process of classifying into one group a group of objects corresponding to each of the classification target nodes, which are a predetermined number of nodes among the nodes in the vicinity of one node, and one node. generate. The generation unit 132A generates the third information through a classification process of classifying the classification target node, which is all of the neighboring nodes of one node, and the object group corresponding to each of the one node into one group.

生成部132Aは、複数のノードの各々にエッジで連結されたノードである近傍ノードの数に基づいて、複数のノードから一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。生成部132Aは、近傍ノードの数が大きい方から順に一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。生成部132Aは、近傍ノードの数が小さい方から順に一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 The generation unit 132A selects one node from the plurality of nodes based on the number of neighboring nodes that are nodes connected to each of the plurality of nodes by edges, and selects one node from the plurality of nodes, and selects a classification target node of the one node and a node of the one node. The third information is generated by a classification process of classifying the corresponding object groups into one group. The generation unit 132A selects one node in descending order of the number of neighboring nodes, and performs a classification process of classifying the classification target node of one node and the object group corresponding to each of the one node into one group. Generate third information. The generation unit 132A selects one node in descending order of the number of neighboring nodes, and performs a classification process of classifying the classification target node of one node and the object group corresponding to each of the one node into one group. Generate third information.

生成部132Aは、複数のノードからランダムに一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。生成部132Aは、一のグループに分類された一のノードの分類対象ノード及び一のノードである処理済みノード群をグラフから除外し、処理済みノード群を除外した後のグラフを用いて、分類処理を繰り返すことにより、第3情報を生成する。生成部132Aは、処理済みノード群を除外した後のグラフを用いて、分類処理を複数のオブジェクトがいずれかのグループに分類されるまで繰り返すことにより、第3情報を生成する。生成部132Aは、各々に属するオブジェクトが相互に排他的な複数のグループを示す第3情報を生成する。 The generation unit 132A randomly selects one node from the plurality of nodes, and generates third information by performing a classification process of classifying the classification target node of the one node and the object group corresponding to each of the one node into one group. generate. The generation unit 132A excludes the classification target node of the one node classified into the one group and the processed node group that is the one node from the graph, and performs classification using the graph after excluding the processed node group. Third information is generated by repeating the process. The generation unit 132A generates third information by repeating the classification process using the graph after excluding the processed node group until a plurality of objects are classified into any group. The generation unit 132A generates third information indicating a plurality of groups to which objects each belong to are mutually exclusive.

生成部132Aは、第4情報を用いて、複数のオブジェクトのうち少なくとも一部のオブジェクトに対応するノードであるオブジェクトノードから、複数のグループのうち、オブジェクトノードが属するグループ以外の他のグループへエッジが連結されたグループグラフを生成する。生成部132Aは、複数のオブジェクトから一のオブジェクトを選択し、第4情報を用いて複数のオブジェクトを対象に、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトに対応する一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成する。生成部132Aは、複数のオブジェクトからランダムに一のオブジェクトを選択し、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトに対応する一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成する。生成部132Aは、第4情報を用いて、グループグラフを生成する。 Using the fourth information, the generation unit 132A generates an edge from an object node, which is a node corresponding to at least some of the plurality of objects, to a group other than the group to which the object node belongs among the plurality of groups. Generates a connected group graph. The generation unit 132A selects one object from the plurality of objects, searches for neighboring objects of the one object among the plurality of objects using the fourth information, and selects one object from the one object node corresponding to the one object. , a group graph is generated by a connection process that connects edges to other groups to which neighboring objects belong. The generation unit 132A randomly selects one object from a plurality of objects, searches for neighboring objects of the one object, and creates an edge from one object node corresponding to the one object to another group to which the neighboring object belongs. A group graph is generated by the concatenation process. The generation unit 132A generates a group graph using the fourth information.

〔2-4-6.情報処理のフロー〕
次に、図22を用いて、変形例に係る情報処理の手順について説明する。図22は、変形例に係る情報処理の一例を示すフローチャートである。
[2-4-6. Information processing flow]
Next, an information processing procedure according to a modified example will be described using FIG. 22. FIG. 22 is a flowchart illustrating an example of information processing according to a modification.

図22に示すように、情報処理装置100Aは、データ検索の対象となる複数のオブジェクトを示す第1情報を取得する(ステップS401)。例えば、情報処理装置100Aは、オブジェクト情報記憶部121から複数のオブジェクトを示す第1情報を取得する。 As shown in FIG. 22, the information processing device 100A acquires first information indicating a plurality of objects that are data search targets (step S401). For example, the information processing device 100A acquires first information indicating a plurality of objects from the object information storage unit 121.

また、情報処理装置100Aは、複数のオブジェクトを分類するために用いる第2情報を取得する(ステップS402)。例えば、情報処理装置100Aは、グラフ情報記憶部122Aからグラフを第2情報として取得する。 The information processing device 100A also acquires second information used to classify a plurality of objects (step S402). For example, the information processing device 100A obtains a graph as the second information from the graph information storage unit 122A.

そして、情報処理装置100Aは、第2情報を用いて、第1情報が示す複数のオブジェクトを分類し、複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する(ステップS403)。例えば、情報処理装置100Aは、各々に属するオブジェクトが相互に排他的な複数のブロブを示す第3情報を生成する。 The information processing device 100A uses the second information to classify the plurality of objects indicated by the first information, and indicates a plurality of groups used for performing batch processing in a search process targeting a plurality of objects. Third information is generated (step S403). For example, the information processing device 100A generates third information indicating a plurality of blobs in which objects belonging to each blob are mutually exclusive.

〔3.第3の実施形態〕
上述した例では、オブジェクトに対応するノード(オブジェクトノード)間をエッジで連結したグラフ(「オブジェクトグラフ」ともいう)、オブジェクトノードとグループ(ブロブ)間をエッジで連結したグラフ(ブロブ用グラフ)の2種類のグラフを用いる説明したが、情報処理システム1は様々な種類のグラフを用いてもよい。例えば、情報処理システム1は、オブジェクトグラフ及びブロブ用グラフとは異なり、グループ(ブロブ)間を連結したグラフ(以下「グループ連結グラフ」または「ブロブ連結グラフ」ともいう)を生成し、ブロブ連結グラフを検索に用いてもよい。
[3. Third embodiment]
In the above example, there are two graphs: a graph (also called an "object graph") in which nodes corresponding to objects (object nodes) are connected by edges, and a graph (blob graph) in which object nodes and groups (blobs) are connected by edges. Although the description uses two types of graphs, the information processing system 1 may use various types of graphs. For example, unlike object graphs and blob graphs, the information processing system 1 generates a graph that connects groups (blobs) (hereinafter also referred to as a "group connected graph" or "blob connected graph"), and generates a blob connected graph. may be used for the search.

この点について、以下、第3の実施形態として説明する。第3の実施形態においては、情報処理システム1は、情報処理装置100または情報処理装置100Aに代えて、情報処理装置100Bを有する。なお、第1の実施形態及び第2の実施形態等において上述した内容と同様の点については適宜説明を省略する。 This point will be described below as a third embodiment. In the third embodiment, the information processing system 1 includes an information processing device 100B instead of the information processing device 100 or the information processing device 100A. Note that descriptions of points similar to those described above in the first embodiment, second embodiment, etc. will be omitted as appropriate.

情報処理装置100Bは、インデックス(インデックス情報)を用いて、一のオブジェクトが属する第1グループ(第1ブロブ)ら、一のオブジェクトの近傍オブジェクトが属する第2グループ(第2ブロブ)へエッジが連結されたグループ連結グラフを生成する。以下では、インデックスの一例としてグラフを用いる場合を一例として説明するが、上述したようにインデックスは、複数のオブジェクトを検索対象とするものであればどのようなものであってもよい。例えば、インデックスは、ハッシュインデックス、ツリーインデックス等、どのようなインデックスであってもよい。 The information processing device 100B uses the index (index information) to connect edges from a first group (first blob) to which one object belongs to a second group (second blob) to which neighboring objects of one object belong. generate a group connected graph. In the following, a case will be described in which a graph is used as an example of the index, but as described above, the index may be of any type as long as it searches for a plurality of objects. For example, the index may be any index such as a hash index or a tree index.

〔3-1.情報処理〕
まず、図23を用いて、第3の実施形態に係る情報処理の概要を説明する。図23は、第3の実施形態に係る情報処理の一例を示す図である。
[3-1. Information processing〕
First, an overview of information processing according to the third embodiment will be explained using FIG. 23. FIG. 23 is a diagram illustrating an example of information processing according to the third embodiment.

図23の例では、情報処理装置100Bは、空間情報SP21に示すようなグラフGR21を取得済みであるものとする。なお、情報処理装置100Bは、グラフ生成に関する様々な技術を適宜用いて、グラフGR21を生成してもよい。グラフGR21は図12等で示すグラフGR21と同様であるため説明を省略する。 In the example of FIG. 23, it is assumed that the information processing apparatus 100B has already acquired a graph GR21 as shown in the spatial information SP21. Note that the information processing device 100B may generate the graph GR21 using various techniques related to graph generation as appropriate. Since the graph GR21 is similar to the graph GR21 shown in FIG. 12 etc., the explanation will be omitted.

情報処理装置100Bは、任意の方法により、ブロブBL1~BL10等を示す情報を生成する。情報処理装置100Bは、k-means等の任意のクラスタリングにより各ノードをブロブBL1~BL10のいずれかに分類してもよい。なお、情報処理装置100Bは、ブロブを生成可能であれば、どのような方法によりブロブを生成してもよい。例えば、情報処理装置100Bは、上述した第1方法~第4方法のいずれかの方法によりブロブBL1~BL10等を示す情報を生成してもよい。 The information processing device 100B generates information indicating the blobs BL1 to BL10, etc. using an arbitrary method. The information processing device 100B may classify each node into one of the blobs BL1 to BL10 using arbitrary clustering such as k-means. Note that the information processing device 100B may use any method to generate blobs as long as it is capable of generating blobs. For example, the information processing device 100B may generate information indicating the blobs BL1 to BL10, etc. using any of the first to fourth methods described above.

情報処理装置100Bは、空間情報SP21に示すようなグラフGR21及びブロブの情報を用いて、ブロブ連結グラフを生成する(ステップS61)。図23の例では、情報処理装置100Bは、空間情報SP41に示すように、ブロブ(第1ブロブ)と他のブロブ(第2ブロブ)との間をエッジで連結したブロブ連結グラフであるグラフGR41を生成する。図23に示す矢印線は、矢元のブロブ(第1ブロブ)から矢先のブロブ(第2ブロブ)への有向エッジを示す。すなわち、図23に示す矢印線は、矢元のブロブを参照元とし、矢先のブロブを参照先とする有向エッジを示す。例えば、図23では、ブロブBL1からは、ブロブBL2、ブロブBL3、ブロブBL4、ブロブBL5及びブロブBL8の5つのブロブへのエッジが連結されることを示す。 The information processing device 100B generates a blob connection graph using the graph GR21 as shown in the spatial information SP21 and the blob information (step S61). In the example of FIG. 23, the information processing device 100B uses a graph GR41, which is a blob connection graph in which a blob (first blob) and another blob (second blob) are connected by edges, as shown in spatial information SP41. generate. The arrow line shown in FIG. 23 indicates a directed edge from the blob at the base of the arrow (first blob) to the blob at the tip (second blob). That is, the arrow line shown in FIG. 23 indicates a directed edge that uses the blob at the beginning of the arrow as a reference source and the blob at the tip of the arrow as a reference destination. For example, FIG. 23 shows that edges from blob BL1 to five blobs, blob BL2, blob BL3, blob BL4, blob BL5, and blob BL8, are connected.

例えば、情報処理装置100Bは、グラフGR21を検索し、検索結果を基にグラフGR41を生成する。例えば、情報処理装置100Bは、以下のような処理(6-1)~(6-4)を行い、ブロブ連結グラフであるグラフGR41を生成する。なお、以下のオブジェクトは、オブジェクトに対応するノードと読み替えてもよい。 For example, the information processing device 100B searches for graph GR21 and generates graph GR41 based on the search results. For example, the information processing device 100B performs the following processes (6-1) to (6-4) to generate a graph GR41 that is a blob connection graph. Note that the following objects may be replaced with nodes corresponding to the objects.

(6-1):ランダムでオブジェクトNXを取得(選択)
(6-2):オブジェクトNXの近傍オブジェクトを定数k件検索
(6-3):各近傍オブジェクトの属するブロブを取得
(6-4):オブジェクトNXが属するブロブから取得したブロブへのエッジを生成
(6-1): Obtain object NX randomly (selection)
(6-2): Search constant k neighboring objects of object NX (6-3): Obtain the blob to which each neighboring object belongs (6-4): Generate an edge from the blob to which object NX belongs to the obtained blob

例えば処理(6-1)では、情報処理装置100Bは、オブジェクト情報記憶部121に記憶された複数のオブジェクトからランダムに一のオブジェクトNXを取得する。 For example, in process (6-1), the information processing device 100B randomly acquires one object NX from a plurality of objects stored in the object information storage unit 121.

例えば処理(6-2)では、情報処理装置100Bは、図11に示すような検索処理を、オブジェクトNXを対象(クエリ)とし、グラフGR21を用いて行うことにより、k件(個)のオブジェクトをオブジェクトNXの近傍オブジェクトとして抽出する。 For example, in process (6-2), the information processing device 100B performs a search process as shown in FIG. is extracted as a neighboring object of object NX.

例えば処理(6-3)では、情報処理装置100Bは、ブロブ情報記憶部125に記憶されたブロブの情報を参照し、オブジェクトNXの近傍オブジェクト(ノード)が対応付けられたブロブを取得する。 For example, in process (6-3), the information processing device 100B refers to the blob information stored in the blob information storage unit 125 and obtains a blob to which a neighboring object (node) of the object NX is associated.

例えば処理(6-4)では、情報処理装置100Bは、オブジェクトNXが属するブロブから取得したブロブへのエッジを生成する。情報処理装置100Bは、オブジェクトNXが属するブロブからすべての近傍オブジェクトの属するブロブへのエッジを生成する。例えば、情報処理装置100Bは、オブジェクトNXが属するブロブの参照先として取得したブロブを示す情報(ブロブID)を、オブジェクトNXが属するブロブを示す情報(ブロブID)に対応付けて、ブロブ連結グラフ情報記憶部126に登録することにより、グラフGR41を生成する。 For example, in process (6-4), the information processing device 100B generates an edge from the blob to which the object NX belongs to the acquired blob. The information processing device 100B generates edges from the blob to which the object NX belongs to the blobs to which all neighboring objects belong. For example, the information processing device 100B associates the information (blob ID) indicating the blob acquired as a reference destination of the blob to which the object NX belongs with the information (blob ID) indicating the blob to which the object NX belongs, and generates blob connection graph information. By registering in the storage unit 126, a graph GR41 is generated.

例えば、情報処理装置100Bは、上記の処理(6-1)~(6-4)を、処理対象となるオブジェクトが無くなるまで繰り返し行い、グラフGR41を生成する。なお、情報処理装置100Bは、ブロブXの参照先としてブロブYが登録済みの場合、ブロブXに属するオブジェクトの近傍オブジェクトとして、ブロブYに属するオブジェクトが再度検索(抽出)されても、登録をスキップして各ブロブの参照先に同じブロブが重複して登録されることを抑制してもよい。 For example, the information processing device 100B repeatedly performs the above processes (6-1) to (6-4) until there are no more objects to be processed, and generates the graph GR41. Note that if blob Y has already been registered as a reference destination of blob The same blob may be prevented from being registered redundantly in the reference destination of each blob.

例えば、情報処理装置100Bは、空間情報SP41に示すように、ブロブ間をエッジで連結するグラフGR41を用いて検索処理を行う。例えば、情報処理装置100Bは、検索クエリQE2を対象として、ブロブ連結グラフであるグラフGR41を用いた図27及び図28に示すような検索処理を行うことにより、検索クエリQE2の検索結果を得る。 For example, the information processing device 100B performs a search process using a graph GR41 that connects blobs with edges, as shown in spatial information SP41. For example, the information processing device 100B obtains the search results for the search query QE2 by performing search processing as shown in FIGS. 27 and 28 using the graph GR41, which is a blob connection graph, for the search query QE2.

上述したブロブ連結グラフの生成方法は一例に過ぎず、情報処理装置100Bは、様々な方法によりブロブ連結グラフを生成してもよい。例えば、情報処理装置100Bは、グラフを検索することなく、ブロブ連結グラフを生成してもよい。空間情報SP21に示すブロブを検索により生成している場合、ブロブの生成の際の検索結果を流用して、グラフGR41等のブロブ連結グラフを生成してもよい。 The above-described method for generating a blob connected graph is merely an example, and the information processing apparatus 100B may generate a blob connected graph using various methods. For example, the information processing device 100B may generate a blob connection graph without searching for a graph. When the blob shown in the spatial information SP21 is generated by a search, a blob connection graph such as the graph GR41 may be generated by using the search results at the time of blob generation.

例えば、情報処理装置100Bは、グラフGR21でのオブジェクトノードの接続関係を、オブジェクトノードが属するブロブの接続関係に変換して、ブロブ連結グラフを生成してもよい。例えば、ブロブBL9に属するノードN1からはブロブBL8に属するノードN88及びブロブBL10に属するノードにエッジが連結されており、ブロブBL9に属するノードN4からはブロブBL7に属するノードにエッジが連結されている。そのため、情報処理装置100Bは、ブロブBL9から、ブロブBL7、ブロブBL8及びブロブBL10の3つのブロブへのエッジが連結されたブロブ連結グラフを生成する。このように、情報処理装置100Bは、オブジェクトノード間を連結するエッジを基に、ブロブ間をエッジで連結するブロブ連結グラフを生成してもよい。 For example, the information processing device 100B may generate a blob connection graph by converting the connection relationship of object nodes in the graph GR21 into the connection relationship of blobs to which the object nodes belong. For example, an edge is connected from a node N1 belonging to blob BL9 to a node N88 belonging to blob BL8 and a node belonging to blob BL10, and an edge is connected from node N4 belonging to blob BL9 to a node belonging to blob BL7. . Therefore, the information processing device 100B generates a blob connection graph in which edges from blob BL9 to three blobs, blob BL7, blob BL8, and blob BL10, are connected. In this way, the information processing apparatus 100B may generate a blob connection graph that connects blobs with edges, based on edges that connect object nodes.

〔3-2.情報処理装置の構成〕
次に、図24を用いて、第3の実施形態に係る情報処理装置100Bの構成について説明する。図24は、第3の実施形態に係る情報処理装置の構成例を示す図である。図24に示すように、情報処理装置100Bは、通信部110と、記憶部120Bと、制御部130Bとを有する。なお、情報処理装置100Bにおいて、情報処理装置100または情報処理装置100Aと同様の点は適宜説明を省略する。
[3-2. Configuration of information processing device]
Next, the configuration of the information processing apparatus 100B according to the third embodiment will be described using FIG. 24. FIG. 24 is a diagram illustrating a configuration example of an information processing apparatus according to the third embodiment. As shown in FIG. 24, the information processing device 100B includes a communication section 110, a storage section 120B, and a control section 130B. Note that in the information processing device 100B, descriptions of the same points as the information processing device 100 or the information processing device 100A will be omitted as appropriate.

(記憶部120B)
記憶部120Bは、例えば、RAM、フラッシュメモリ等の半導体メモリ素子、または、ハードディスク、光ディスク等の記憶装置によって実現される。第3の実施形態に係る記憶部120Bは、図24に示すように、オブジェクト情報記憶部121と、グラフ情報記憶部122と、量子化情報記憶部123と、コードブック情報記憶部124と、ブロブ情報記憶部125と、ブロブ連結グラフ情報記憶部126とを有する。
(Storage unit 120B)
The storage unit 120B is realized by, for example, a semiconductor memory device such as a RAM or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 24, the storage unit 120B according to the third embodiment includes an object information storage unit 121, a graph information storage unit 122, a quantization information storage unit 123, a codebook information storage unit 124, and a blob information storage unit 121. It has an information storage section 125 and a blob connection graph information storage section 126.

(ブロブ連結グラフ情報記憶部126)
第3の実施形態に係るブロブ連結グラフ情報記憶部126は、ブロブ連結グラフに関する各種情報を記憶する。例えば、ブロブ連結グラフ情報記憶部126は、生成したブロブ連結グラフを記憶する。図25は、第3の実施形態に係るブロブ連結グラフ情報記憶部の一例を示す図である。図25に示すブロブ連結グラフ情報記憶部126は、「ブロブID」および「接続ブロブ情報」といった項目を有する。
(Blob connection graph information storage unit 126)
The blob connection graph information storage unit 126 according to the third embodiment stores various information regarding the blob connection graph. For example, the blob connection graph information storage unit 126 stores the generated blob connection graph. FIG. 25 is a diagram illustrating an example of a blob connection graph information storage unit according to the third embodiment. The blob connection graph information storage unit 126 shown in FIG. 25 has items such as "blob ID" and "connection blob information."

「ブロブID」は、グラフにおける各ブロブ(グループ)を識別するための識別情報を示す。「接続ブロブ情報」は、対応するブロブから辿ることができるブロブ(参照先のブロブ)に関する情報を示す。例えば、「接続ブロブ情報」には、「参照先」といった情報が含まれる。「参照先」は、エッジにより連結され、そのブロブから辿ることができる参照先(ブロブ)を識別するための情報を示す。すなわち、図25の例では、ブロブを識別するブロブIDに対して、そのブロブからエッジにより辿ることができる参照先(ブロブ)が対応付けられて登録されている。なお、「接続ブロブ情報」には、参照先に接続されるエッジを識別するための情報(エッジID)等が含まれてもよい。 “Blob ID” indicates identification information for identifying each blob (group) in the graph. “Connection blob information” indicates information regarding a blob (reference destination blob) that can be traced from a corresponding blob. For example, "connection blob information" includes information such as "reference destination." “Reference destination” indicates information for identifying a reference destination (blob) that is connected by an edge and can be traced from the blob. That is, in the example of FIG. 25, a reference destination (blob) that can be traced from the blob by an edge is registered in association with a blob ID that identifies the blob. Note that the "connection blob information" may include information (edge ID) for identifying an edge connected to a reference destination.

図25の例では、ブロブID「BL1」により識別されるブロブ(ブロブBL1)からは、ブロブID「BL2」、「BL3」、「BL4」、「BL5」、「BL8」の各々により識別される5つのブロブにエッジが連結されていることを示す。すなわち、ブロブBL1からは、ブロブBL2、BL3、BL4、BL5、BL8の5つのブロブの各々へ辿ることができることを示す。 In the example of FIG. 25, the blob (blob BL1) identified by the blob ID "BL1" is identified by each of the blob IDs "BL2", "BL3", "BL4", "BL5", and "BL8". Shows that edges are connected to five blobs. That is, it shows that each of the five blobs BL2, BL3, BL4, BL5, and BL8 can be traced from the blob BL1.

なお、ブロブ連結グラフ情報記憶部126は、上記に限らず、目的に応じて種々の情報を記憶してもよい。また、ブロブ連結グラフは、クエリを入力とし、ブロブ連結グラフ中のエッジを辿ることによりオブジェクト(オブジェクトノード)を探索し、クエリに類似するオブジェクトを抽出し出力するプログラムモジュールを含んでもよい。すなわち、ブロブ連結グラフは、ブロブ連結グラフを用いて検索処理を行うプログラムモジュールとしての利用が想定されるものであってもよい。例えば、ブロブ連結グラフであるグラフGR41は、クエリとしてベクトルデータが入力された場合に、そのベクトルデータに類似するベクトルデータに対応するオブジェクトをブロブ連結グラフにより抽出し、出力するプログラムであってもよい。例えば、グラフGR41は、クエリ画像に対応する類似画像を検索するプログラムモジュールとして利用されるデータであってもよい。例えば、グラフGR41は、入力されたクエリに基づいて、ブロブ連結グラフにおいてそのクエリに類似するオブジェクトを抽出し、出力するよう、コンピュータを機能させる。 Note that the blob connection graph information storage unit 126 is not limited to the above, and may store various information depending on the purpose. The blob connection graph may also include a program module that receives a query as input, searches for objects (object nodes) by tracing edges in the blob connection graph, and extracts and outputs objects similar to the query. That is, the blob connection graph may be assumed to be used as a program module that performs search processing using the blob connection graph. For example, the graph GR41, which is a blob connection graph, may be a program that, when vector data is input as a query, extracts and outputs objects corresponding to vector data similar to the vector data using a blob connection graph. . For example, the graph GR41 may be data used as a program module that searches for similar images corresponding to a query image. For example, based on an input query, the graph GR41 causes the computer to extract and output objects similar to the query in the blob connection graph.

(制御部130B)
図24の説明に戻って、制御部130Bは、コントローラ(controller)であり、例えば、CPUやMPUやGPU等によって、情報処理装置100B内部の記憶装置に記憶されている各種プログラム(情報処理プログラムの一例に相当)がRAMを作業領域として実行されることにより実現される。また、制御部130Bは、コントローラであり、例えば、ASICやFPGA等の集積回路により実現される。
(Control unit 130B)
Returning to the explanation of FIG. 24, the control unit 130B is a controller, and includes various programs (information processing programs) stored in a storage device inside the information processing device 100B by, for example, a CPU, MPU, GPU, etc. (corresponding to one example) is realized by being executed using RAM as a work area. Further, the control unit 130B is a controller, and is realized by, for example, an integrated circuit such as an ASIC or an FPGA.

図24に示すように、制御部130Bは、取得部131と、生成部132Bと、検索処理部133Bと、提供部134とを有し、以下に説明する情報処理の機能や作用を実現または実行する。なお、制御部130Bの内部構成は、図24に示した構成に限られず、後述する情報処理を行う構成であれば他の構成であってもよい。 As shown in FIG. 24, the control unit 130B includes an acquisition unit 131, a generation unit 132B, a search processing unit 133B, and a provision unit 134, and realizes or executes information processing functions and operations described below. do. Note that the internal configuration of the control unit 130B is not limited to the configuration shown in FIG. 24, and may be any other configuration as long as it performs information processing to be described later.

第3の実施形態に係る取得部131は、データ検索の対象となる複数のオブジェクトが分類された複数のブロブを示すブロブ情報と、複数のオブジェクトを検索対象とするインデックスを示すインデックス情報とを取得する。取得部131は、複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフを示すインデックス情報を取得する。取得部131は、クラスタリング処理により複数のオブジェクトが分類された複数のブロブを示すブロブ情報を取得する。取得部131は、各々に属するオブジェクトが相互に排他的な複数のブロブを示すブロブ情報を取得する。取得部131は、クエリを取得する。 The acquisition unit 131 according to the third embodiment acquires blob information indicating a plurality of blobs in which a plurality of objects to be searched are classified, and index information indicating an index for searching a plurality of objects. do. The acquisition unit 131 acquires index information indicating a graph in which a plurality of nodes corresponding to each of a plurality of objects are connected by edges. The acquisition unit 131 acquires blob information indicating a plurality of blobs in which a plurality of objects are classified by clustering processing. The acquisition unit 131 acquires blob information indicating a plurality of blobs, each of which has mutually exclusive objects. The acquisition unit 131 acquires a query.

(生成部132B)
生成部132Bは、生成部132または生成部132Aと同様に各種情報を生成する。
(Generation unit 132B)
The generation unit 132B generates various types of information in the same way as the generation unit 132 or the generation unit 132A.

生成部132Bは、取得部131により取得されたインデックス情報を用いて、複数のオブジェクトのうち一のオブジェクトが属する第1ブロブから、一のオブジェクトの近傍オブジェクトが属するブロブである第2ブロブへエッジが連結されたブロブ連結グラフを生成する。生成部132Bは、複数のオブジェクトから一のオブジェクトを選択し、インデックス情報を用いて複数のオブジェクトを対象に、一のオブジェクトの前近傍オブジェクトを検索し、一のオブジェクトが属する第1ブロブから、近傍オブジェクトが属する第2ブロブへエッジを連結することにより、ブロブ連結グラフを生成する。 The generation unit 132B uses the index information acquired by the acquisition unit 131 to generate an edge from a first blob to which one of the plurality of objects belongs to a second blob to which a neighboring object of the first object belongs. Generate a connected blob connectivity graph. The generation unit 132B selects one object from the plurality of objects, searches for the previous neighboring objects of the one object among the plurality of objects using the index information, and selects the neighboring objects from the first blob to which the one object belongs. A blob connectivity graph is generated by connecting edges to the second blob to which the object belongs.

生成部132Bは、複数のオブジェクトからランダムに一のオブジェクトを選択し、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトが属する第1ブロブから、近傍オブジェクトが属する第2ブロブへエッジを連結することにより、ブロブ連結グラフを生成する。生成部132Bは、グラフを用いて第1ブロブから第2ブロブへエッジが連結されたブロブ連結グラフを生成する。 The generation unit 132B randomly selects one object from a plurality of objects, searches for neighboring objects of the one object, and connects edges from the first blob to which the one object belongs to the second blob to which the neighboring object belongs. By doing this, a blob connected graph is generated. The generation unit 132B uses the graph to generate a blob connection graph in which edges are connected from the first blob to the second blob.

生成部132Bは、グラフを用いて、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトが属する第1ブロブから、近傍オブジェクトが属する第2ブロブへエッジを連結することにより、ブロブ連結グラフを生成する。生成部132Bは、第1ブロブから、グラフにおいて一のオブジェクトに対応する一のノードにエッジで連結されたノードである近傍ノードに対応する近傍オブジェクトが属する第2ブロブへエッジを連結することにより、ブロブ連結グラフを生成する。 The generation unit 132B uses the graph to search for neighboring objects of one object, and generates a blob connection graph by connecting edges from the first blob to which the one object belongs to the second blob to which the neighboring object belongs. do. The generation unit 132B connects an edge from the first blob to a second blob to which a neighboring object corresponding to a neighboring node, which is a node connected by an edge to one node corresponding to one object in the graph, belongs. Generate a blob connected graph.

生成部132Bは、第1ブロブから、第1ブロブの代表点である第1代表点と、第2ブロブの代表点である第2代表点との間をエッジで連結することにより、ブロブ連結グラフを生成する。生成部132Bは、第1ブロブのセントロイドである第1代表点と、第2ブロブのセントロイドである第2代表点との間をエッジで連結することにより、ブロブ連結グラフを生成する。生成部132Bは、第1ブロブに属するオブジェクトを基に算出される中心点である第1代表点と、第2ブロブに属するオブジェクトを基に算出される中心点である第2代表点との間をエッジで連結することにより、ブロブ連結グラフを生成する。 The generation unit 132B generates a blob connection graph by connecting, from the first blob, a first representative point that is a representative point of the first blob and a second representative point that is a representative point of a second blob. generate. The generation unit 132B generates a blob connection graph by connecting the first representative point, which is the centroid of the first blob, and the second representative point, which is the centroid of the second blob, with an edge. The generation unit 132B generates an image between a first representative point, which is a center point calculated based on an object belonging to the first blob, and a second representative point, which is a center point calculated based on an object belonging to a second blob. A blob-connected graph is generated by connecting the blobs with edges.

(検索処理部133B)
検索処理部133Bは、検索処理部133または検索処理部133Aと同様に検索処理に関する各種処理を行う。
(Search processing unit 133B)
The search processing unit 133B performs various processes related to search processing in the same way as the search processing unit 133 or the search processing unit 133A.

検索処理部133Bは、生成部132Bにより生成されたブロブ連結グラフを用いた検索処理を行う。検索処理部133Bは、ブロブ連結グラフを用いて、検索クエリの近傍オブジェクトを検索する検索処理を行う。検索処理部133Bは、ブロブ連結グラフにおいてブロブ間を連結するエッジを辿ることにより、検索クエリの近傍オブジェクトを検索する検索処理を行う。 The search processing unit 133B performs a search process using the blob connection graph generated by the generation unit 132B. The search processing unit 133B performs a search process to search for nearby objects of the search query using the blob connection graph. The search processing unit 133B performs a search process to search for nearby objects of the search query by tracing edges connecting blobs in the blob connection graph.

検索処理部133Bは、検索処理において、複数のブロブを示すブロブ情報を用いて、一のブロブに属するオブジェクトである対象オブジェクトと検索クエリとの距離を、ベクトル量子化された対象オブジェクトのベクトル情報を用いて算出する。検索処理部133Bは、対象オブジェクトと検索クエリとの距離の算出を並列化して一括で行う。検索処理部133Bは、情報処理装置の仕様に基づいて決定される一括処理数の対象オブジェクトと検索クエリとの距離の算出を並列処理する。 In the search process, the search processing unit 133B uses blob information indicating a plurality of blobs to calculate the distance between the target object, which is an object belonging to one blob, and the search query, and the vector information of the target object that has been vector quantized. Calculate using The search processing unit 133B parallelizes and collectively calculates the distance between the target object and the search query. The search processing unit 133B performs parallel processing to calculate the distance between the search query and the target object of the batch processing number determined based on the specifications of the information processing device.

〔3-3.情報処理のフロー〕
次に、図26を用いて、第3の実施形態に係る情報処理の手順について説明する。図26は、第3の実施形態に係る情報処理の一例を示すフローチャートである。
[3-3. Information processing flow]
Next, the information processing procedure according to the third embodiment will be described using FIG. 26. FIG. 26 is a flowchart illustrating an example of information processing according to the third embodiment.

図26に示すように、情報処理装置100Bは、データ検索の対象となる複数のオブジェクトが分類された複数のグループを示すグループ情報を取得する(ステップS501)。例えば、情報処理装置100Bは、データ検索の対象となる複数のオブジェクトに対応するノード(オブジェクトノード)が分類された複数のブロブを示すブロブ情報を取得する。 As shown in FIG. 26, the information processing apparatus 100B acquires group information indicating a plurality of groups into which a plurality of objects to be data searched are classified (step S501). For example, the information processing device 100B acquires blob information indicating a plurality of blobs in which nodes (object nodes) corresponding to a plurality of objects to be data searched are classified.

情報処理装置100Bは、複数のオブジェクトを検索対象とするインデックスを示すインデックス情報を取得する(ステップS502)。例えば、情報処理装置100Bは、複数のオブジェクトに対応するノード(オブジェクトノード)がエッジで連結されたグラフをインデックスとして取得する。 The information processing apparatus 100B acquires index information indicating an index that searches for a plurality of objects (step S502). For example, the information processing device 100B obtains, as an index, a graph in which nodes (object nodes) corresponding to a plurality of objects are connected by edges.

情報処理装置100Bは、インデックス情報を用いて、複数のオブジェクトのうち一のオブジェクトが属する第1グループから、一のオブジェクトの近傍オブジェクトが属するグループである第2グループへエッジが連結されたグループ連結グラフを生成する(ステップS503)。例えば、情報処理装置100Bは、インデックス情報を用いて、複数のオブジェクトのうち一のオブジェクトが属する第1ブロブから、一のオブジェクトの近傍オブジェクトが属するブロブである第2ブロブへエッジが連結されたブロブ連結グラフを生成する。 The information processing device 100B uses index information to create a group connection graph in which edges are connected from a first group to which one of the plurality of objects belongs to a second group to which a neighboring object of the one object belongs. is generated (step S503). For example, the information processing device 100B uses index information to create a blob whose edges are connected from a first blob to which one of the plurality of objects belongs to a second blob which is a blob to which a neighboring object of the one object belongs. Generate a connected graph.

〔3-4.検索処理例〕
ここで、第3の実施形態に係る検索処理の一例について、図27及び図28を一例として説明する。図27及び図28は、第3の実施形態に係る検索処理の一例を示すフローチャートである。以下に説明する検索処理は、情報処理装置100Bの検索処理部133Bによって行われる。なお、第1の実施形態や第2の実施形態で説明した検索処理と同様の点については適宜説明を省略する。
[3-4. Search processing example]
Here, an example of the search process according to the third embodiment will be described using FIGS. 27 and 28 as examples. 27 and 28 are flowcharts illustrating an example of search processing according to the third embodiment. The search processing described below is performed by the search processing unit 133B of the information processing device 100B. Note that descriptions of points similar to the search processing described in the first embodiment and the second embodiment will be omitted as appropriate.

図27及び図28では、N(G、s)およびCはブロブの集合(ブロブ集合)となる。また、「G」は、ブロブ間がエッジで連結されたグラフ(ブロブ連結グラフ)データ(例えば、空間情報SP41に示すグラフGR41等)であってもよい。例えば、情報処理装置100Bは、k近傍検索処理を実行する。 In FIGS. 27 and 28, N(G, s) and C are a set of blobs (blob set). Further, “G” may be graph data (blob connected graph) in which blobs are connected by edges (for example, graph GR41 shown in spatial information SP41). For example, the information processing device 100B executes k-nearest neighbor search processing.

まず、図27に示す処理(メイン処理)について説明する。例えば、情報処理装置100Bは、超球の半径rを∞(無限大)に設定し、ブロブ集合Cを空集合(Φ)に設定する(ステップS601)。そして、情報処理装置100Bは、既存のブロブ集合(全てのブロブ)から部分ブロブ集合Bを抽出する(ステップS602)。例えば、情報処理装置100Bは、ルートノードとして選択されたオブジェクト(ノード)が属するブロブを部分ブロブ集合Bとして抽出してもよい。また、例えば、情報処理装置100Bは、ランダムにブロブを部分ブロブ集合Bとして抽出してもよい。 First, the process (main process) shown in FIG. 27 will be explained. For example, the information processing device 100B sets the radius r of the hypersphere to ∞ (infinity) and sets the blob set C to the empty set (Φ) (step S601). Then, the information processing device 100B extracts a partial blob set B from the existing blob set (all blobs) (step S602). For example, the information processing device 100B may extract, as the partial blob set B, the blob to which the object (node) selected as the root node belongs. Further, for example, the information processing device 100B may randomly extract blobs as the partial blob set B.

そして、情報処理装置100Bは、判定処理を実行する(ステップS603)。情報処理装置100Bは、図28に示すステップS701~S717の判定処理を実行する。図28に示す判定処理の詳細については後述する。 The information processing device 100B then executes determination processing (step S603). The information processing device 100B executes the determination processing of steps S701 to S717 shown in FIG. 28. Details of the determination process shown in FIG. 28 will be described later.

そして、情報処理装置100Bは、ブロブ集合Sに部分ブロブ集合Bを設定する(ステップS604)。 Then, the information processing device 100B sets partial blob set B in blob set S (step S604).

情報処理装置100Bは、ブロブ集合Sに含まれるブロブの中で最小のクエリ距離dのブロブsを選択する(ステップS605)。なお、ここでいう「クエリ距離」とは、ブロブ内の全てのオブジェクトとクエリオブジェクト(クエリ)間の中で最も短い距離である。例えば、情報処理装置100Bは、クエリ(検索クエリ)となるオブジェクトをyとすると、ブロブ集合Sのうち、オブジェクトyとのクエリ距離が最も短いブロブsを選択する。なお、クエリ距離は、上記に限らず、例えばクエリとブロブの代表点(セントロイド等)との間の距離であってもよい。そして、情報処理装置100Bは、ブロブ集合Sからブロブsを除外する(ステップS606)。 The information processing device 100B selects the blob s with the minimum query distance d among the blobs included in the blob set S (step S605). Note that the "query distance" here is the shortest distance between all objects in the blob and the query object (query). For example, when the object serving as a query (search query) is y, the information processing device 100B selects the blob s having the shortest query distance to the object y from the blob set S. Note that the query distance is not limited to the above, and may be, for example, the distance between the query and a representative point (centroid, etc.) of the blob. The information processing device 100B then excludes the blob s from the blob set S (step S606).

そして、情報処理装置100Bは、ブロブsのクエリ距離dがr(1+ε)を超えるか否かを判定する(ステップS607)。ブロブsのクエリ距離dがr(1+ε)を超える場合(ステップS607:Yes)、情報処理装置100Bは、オブジェクト集合Rをオブジェクトyの近傍オブジェクト集合として出力し(ステップS608)、処理を終了する。 Then, the information processing device 100B determines whether the query distance d of the blob s exceeds r(1+ε) (step S607). If the query distance d of the blob s exceeds r(1+ε) (step S607: Yes), the information processing device 100B outputs the object set R as a neighboring object set of the object y (step S608), and ends the process.

ブロブsのクエリ距離dがr(1+ε)を超えない場合(ステップS607:No)、情報処理装置100Bは、ブロブsがブロブ集合Cに含まれるかを判定する(ステップS609)。 If the query distance d of the blob s does not exceed r(1+ε) (step S607: No), the information processing device 100B determines whether the blob s is included in the blob set C (step S609).

ブロブsがブロブ集合Cに含まれる場合(ステップS609:Yes)、情報処理装置100Bは、ステップS605に戻って処理を繰り返す。 If the blob s is included in the blob set C (step S609: Yes), the information processing device 100B returns to step S605 and repeats the process.

ブロブsがブロブ集合Cに含まれない場合(ステップS609:No)、情報処理装置100Bは、ブロブ集合Cにブロブsを追加する(ステップS610)。 If the blob s is not included in the blob set C (step S609: No), the information processing device 100B adds the blob s to the blob set C (step S610).

そして、情報処理装置100Bは、部分ブロブ集合Bにブロブsの近傍ブロブ集合N(G,s)を設定する(ステップS611)。近傍ブロブ集合N(G,s)は、例えばブロブsに関連付けられているブロブ(近傍のブロブ)の集合である。例えば、近傍ブロブ集合N(G,s)は、ブロブsからのエッジが連結されているブロブ(近傍のブロブ)の集合である。そして、情報処理装置100Bは、判定処理を実行する(ステップS612)。詳細は後述するが、例えば、情報処理装置100Bは、上述したステップS603と同様に、図28に示すステップS701~S717の判定処理を実行する。 Then, the information processing device 100B sets a neighboring blob set N(G, s) of the blob s in the partial blob set B (step S611). The neighboring blob set N(G, s) is, for example, a set of blobs (nearby blobs) associated with blob s. For example, the neighboring blob set N(G, s) is a set of blobs (nearby blobs) to which edges from blob s are connected. The information processing device 100B then executes determination processing (step S612). Although details will be described later, for example, the information processing device 100B executes the determination processing of steps S701 to S717 shown in FIG. 28, similar to step S603 described above.

そして、情報処理装置100Bは、ブロブ集合Sが空集合(Φ)であるか否かを判定する(ステップS613)。ブロブ集合Sが空集合でない場合(ステップS613:No)、情報処理装置100Bは、ステップS605に戻って処理を繰り返す。また、ブロブ集合Sが空集合である場合(ステップS613:Yes)、情報処理装置100Bは、オブジェクト集合Rを出力し、処理を終了する(ステップS614)。例えば、情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクト(ノード)を追加ノード(入力オブジェクトy)に対応する近傍ノードとして選択してもよい。例えば、情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクト(ノード)を対象ノード(入力オブジェクトy)に対応する近傍ノードとして抽出(選択)してもよい。また、例えば、情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクト(ノード)を検索クエリ(入力オブジェクトy)に対応する検索結果として、検索を行った端末装置等へ提供してもよい。 Then, the information processing device 100B determines whether the blob set S is an empty set (Φ) (step S613). If the blob set S is not an empty set (step S613: No), the information processing device 100B returns to step S605 and repeats the process. Furthermore, if the blob set S is an empty set (step S613: Yes), the information processing device 100B outputs the object set R and ends the process (step S614). For example, the information processing device 100B may select an object (node) included in the object set R as a neighboring node corresponding to the additional node (input object y). For example, the information processing device 100B may extract (select) objects (nodes) included in the object set R as neighboring nodes corresponding to the target node (input object y). Further, for example, the information processing device 100B may provide the objects (nodes) included in the object set R as the search results corresponding to the search query (input object y) to the terminal device or the like that performed the search.

ここから、図28に示す処理(判定処理)について説明する。まず、情報処理装置100Bは、ブロブ集合Tに部分ブロブ集合Bを設定する(ステップS701)。 From here, the process (determination process) shown in FIG. 28 will be explained. First, the information processing device 100B sets a partial blob set B in the blob set T (step S701).

そして、情報処理装置100Bは、ブロブ集合Tからブロブbを一つ取得し、ブロブ集合Tからブロブbを削除する(ステップS702)。そして、情報処理装置100Bは、判定処理に用いる変数であるminを∞(無限大)に設定する(ステップS703)。 Then, the information processing device 100B obtains one blob b from the blob set T, and deletes blob b from the blob set T (step S702). Then, the information processing device 100B sets min, which is a variable used in the determination process, to ∞ (infinity) (step S703).

そして、情報処理装置100Bは、ブロブbからオブジェクトuを一つ取得し、ブロブbからオブジェクトuを削除する(ステップS704)。 Then, the information processing device 100B acquires one object u from blob b, and deletes object u from blob b (step S704).

そして、情報処理装置100Bは、オブジェクトuとオブジェクトyとの距離d(u,y)がmin未満か否かを判定する(ステップS705)。 Then, the information processing device 100B determines whether the distance d(u, y) between the object u and the object y is less than min (step S705).

オブジェクトuとオブジェクトyとの距離d(u,y)がmin未満である場合(ステップS705:Yes)、情報処理装置100Bは、minの値を距離d(u,y)に設定(更新)し(ステップS706)、ステップS707の処理を行う。 If the distance d(u,y) between the object u and the object y is less than min (step S705: Yes), the information processing device 100B sets (updates) the value of min to the distance d(u,y). (Step S706), and the process of Step S707 is performed.

オブジェクトuとオブジェクトyとの距離d(u,y)がmin未満ではない場合(ステップS705:No)、情報処理装置100Bは、ステップS706の処理を行わず、ステップS707の処理を行う。 If the distance d(u, y) between object u and object y is not less than min (step S705: No), the information processing device 100B does not perform the process of step S706, but performs the process of step S707.

情報処理装置100Bは、オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下であるか否かを判定する(ステップS707)。 The information processing device 100B determines whether the distance d(u, y) between the object u and the object y is less than or equal to r(1+ε) (step S707).

オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下である場合(ステップS707:Yes)、情報処理装置100Bは、ブロブbをブロブ集合Sに追加し(ステップS708)、ステップS709の処理を行う。 If the distance d(u,y) between the object u and the object y is less than or equal to r(1+ε) (step S707: Yes), the information processing device 100B adds the blob b to the blob set S (step S708), The process of step S709 is performed.

オブジェクトuとオブジェクトyとの距離d(u,y)がr(1+ε)以下ではない場合(ステップS707:No)、情報処理装置100Bは、ステップS708の処理を行わず、ステップS709の処理を行う。 If the distance d(u, y) between object u and object y is not less than or equal to r(1+ε) (step S707: No), the information processing device 100B performs the process of step S709 without performing the process of step S708. .

情報処理装置100Bは、オブジェクトuとオブジェクトyとの距離d(u,y)がr以下であるか否かを判定する(ステップS709)。 The information processing device 100B determines whether the distance d(u, y) between the object u and the object y is less than or equal to r (step S709).

オブジェクトuとオブジェクトyとの距離d(u,y)がr以下である場合(ステップS709:Yes)、情報処理装置100Bは、オブジェクトuをオブジェクト集合Rに追加し(ステップS710)、ステップS711の処理を行う。 If the distance d(u,y) between the object u and the object y is less than or equal to r (step S709: Yes), the information processing device 100B adds the object u to the object set R (step S710) and performs the steps in step S711. Perform processing.

オブジェクトuとオブジェクトyとの距離d(u,y)がr以下ではない場合(ステップS709:No)、情報処理装置100Bは、ステップS710の処理を行わず、ステップS711の処理を行う。 If the distance d(u, y) between the object u and the object y is not less than or equal to r (step S709: No), the information processing device 100B performs the process of step S711 without performing the process of step S710.

情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクト数がksを超えるか否かを判定する(ステップS711)。所定数ksは、任意に定められる自然数である。例えば、ksは、検索数や抽出対象数であってもよい。また、例えば、範囲検索等において抽出するオブジェクト数の上限を設けない場合、ksは、無限大に設定されてもよい。例えば、ks=4等であってもよい。 The information processing device 100B determines whether the number of objects included in the object set R exceeds ks (step S711). The predetermined number ks is an arbitrarily determined natural number. For example, ks may be the number of searches or the number of extraction targets. Further, for example, when there is no upper limit on the number of objects to be extracted in a range search or the like, ks may be set to infinity. For example, ks may be 4, etc.

オブジェクト集合Rに含まれるオブジェクト数がksを超える場合(ステップS711:Yes)、情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクトの中でオブジェクトyから最も遠いオブジェクトを、オブジェクト集合Rから除外し(ステップS712)、ステップS713の処理を行う。 If the number of objects included in the object set R exceeds ks (step S711: Yes), the information processing device 100B excludes from the object set R the object that is farthest from the object y among the objects included in the object set R. (Step S712), and performs the process of Step S713.

オブジェクト集合Rに含まれるオブジェクト数がksを超えない場合(ステップS711:No)、情報処理装置100Bは、ステップS712の処理を行わず、ステップS713の処理を行う。 If the number of objects included in the object set R does not exceed ks (step S711: No), the information processing device 100B performs the process of step S713 without performing the process of step S712.

情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクト数がksと一致するか否かを判定する(ステップS713)。 The information processing device 100B determines whether the number of objects included in the object set R matches ks (step S713).

オブジェクト集合Rに含まれるオブジェクト数がksと一致する場合(ステップS713:Yes)、情報処理装置100Bは、オブジェクト集合Rに含まれるオブジェクトの中でオブジェクトyから最も遠いオブジェクトと、オブジェクトyとの距離をrに設定し(ステップS714)、ステップS715の処理を行う。 If the number of objects included in the object set R matches ks (step S713: Yes), the information processing device 100B determines the distance between the object y and the object that is farthest from the object y among the objects included in the object set R. is set to r (step S714), and the process of step S715 is performed.

オブジェクト集合Rに含まれるオブジェクト数がksと一致しない場合(ステップS713:No)、情報処理装置100Bは、ステップS714の処理を行わず、ステップS715の処理を行う。 If the number of objects included in the object set R does not match ks (step S713: No), the information processing device 100B performs the process of step S715 without performing the process of step S714.

情報処理装置100Bは、ブロブbが空集合(Φ)であるか否かを判定する(ステップS715)。ブロブbが空集合でない場合(ステップS715:No)、情報処理装置100Bは、ステップS704に戻って処理を繰り返す。 The information processing device 100B determines whether blob b is an empty set (Φ) (step S715). If blob b is not an empty set (step S715: No), the information processing device 100B returns to step S704 and repeats the process.

また、ブロブbが空集合である場合(ステップS715:Yes)、情報処理装置100Bは、minを部分ブロブ集合B内のブロブbのブロブのクエリ距離とする(ステップS716)。例えば、情報処理装置100Bは、ブロブbの全てのオブジェクトとクエリとの間の距離のうち最も短い距離をクエリ距離としてminに設定する。 Further, when blob b is an empty set (step S715: Yes), the information processing device 100B sets min as the blob query distance of blob b in partial blob set B (step S716). For example, the information processing device 100B sets the shortest distance among the distances between all objects of blob b and the query to min as the query distance.

情報処理装置100Bは、ブロブ集合Tが空集合(Φ)であるか否かを判定する(ステップS717)。ブロブ集合Tが空集合でない場合(ステップS717:No)、情報処理装置100Bは、ステップS702に戻って処理を繰り返す。 The information processing device 100B determines whether the blob set T is an empty set (Φ) (step S717). If the blob set T is not an empty set (step S717: No), the information processing device 100B returns to step S702 and repeats the process.

また、ブロブ集合Tが空集合である場合(ステップS717:Yes)、判定処理を終了する。 Further, if the blob set T is an empty set (step S717: Yes), the determination process is ended.

〔3-5.変形例〕
ブロブ連結グラフは、上述した例に限らず様々な態様により構成されてもよい。例えば、ブロブ連結グラフは、各グループ(ブロブ)の代表点間がエッジで連結されたグラフであってもよい。この点について、以下、第3の実施形態に係る変形例として説明する。なお、第1の実施形態や第2の実施形態や第3の実施形態と同様の点については、適宜説明を省略する。第3の実施形態の変形例に係る情報処理装置100Bは、ブロブ情報記憶部125及びブロブ連結グラフ情報記憶部126に代えて、ブロブ情報記憶部125A及びブロブ連結グラフ情報記憶部126Aを有する。
[3-5. Modified example]
The blob connection graph is not limited to the example described above, and may be configured in various ways. For example, the blob connected graph may be a graph in which representative points of each group (blob) are connected by edges. This point will be explained below as a modification of the third embodiment. Note that descriptions of points similar to the first embodiment, second embodiment, and third embodiment will be omitted as appropriate. The information processing device 100B according to the modification of the third embodiment includes a blob information storage section 125A and a blob connection graph information storage section 126A instead of the blob information storage section 125 and the blob connection graph information storage section 126.

〔3-5-1.情報処理〕
まず、図29を用いて、変形例に係る情報処理の概要を説明する。図29は、変形例に係るブロブ連結グラフ情報の一例を示す図である。図29の例ではブロブがクラスタリングにより生成されている場合を示す。
[3-5-1. Information processing〕
First, an overview of information processing according to a modified example will be explained using FIG. 29. FIG. 29 is a diagram illustrating an example of blob connection graph information according to a modification. The example in FIG. 29 shows a case where blobs are generated by clustering.

図29の例では、情報処理装置100Bは、各ブロブのセントロイドを連結したブロブ連結グラフを生成する。情報処理装置100Bは、空間情報SP41に示すように、各ブロブBL1~BL10の各々に対応するセントロイドC1~C10をエッジで連結したブロブ連結グラフであるグラフGR42を生成する。情報処理装置100Bは、グラフ生成に関する種々の従来技術を適宜用いてグラフGR42を生成する。 In the example of FIG. 29, the information processing device 100B generates a blob connection graph that connects the centroids of each blob. The information processing device 100B generates a graph GR42, which is a blob connection graph in which centroids C1 to C10 corresponding to each of the blobs BL1 to BL10 are connected by edges, as shown in the spatial information SP41. The information processing device 100B generates the graph GR42 using various conventional techniques related to graph generation.

例えば、情報処理装置100Bは、ブロブBL1のセントロイドC1がブロブBL2のセントロイドC2、ブロブBL3のセントロイドC3、ブロブBL4のセントロイドC4、ブロブBL7のセントロイドC7、及びブロブBL8のセントロイドC8の5つのセントロイドにエッジで連結されたグラフGR42を生成する。また、例えば、情報処理装置100Bは、ブロブBL2のセントロイドC2が、ブロブBL1のセントロイドC1、ブロブBL3のセントロイドC3、及びブロブBL4のセントロイドC4の3つのセントロイドにエッジで連結されたグラフGR42を生成する。 For example, in the information processing device 100B, the centroid C1 of the blob BL1 is the centroid C2 of the blob BL2, the centroid C3 of the blob BL3, the centroid C4 of the blob BL4, the centroid C7 of the blob BL7, and the centroid C8 of the blob BL8. A graph GR42 is generated which is connected to the five centroids of by edges. For example, the information processing device 100B connects the centroid C2 of the blob BL2 to three centroids, the centroid C1 of the blob BL1, the centroid C3 of the blob BL3, and the centroid C4 of the blob BL4, by edges. Generate graph GR42.

なお、情報処理装置100Bは、どのような方法によりグラフGR42を生成してもよい。情報処理装置100Bは、様々なインデックスを用いて、グラフGR42を生成してもよい。例えば、情報処理装置100Bは、オブジェクトノードが連結されたグラフGR21を用いて、グラフGR42を生成してもよい。この場合、情報処理装置100Bは、図23中のグラフGR41と同様の処理によりグラフGR42を生成できるため、詳細な説明は省略する。例えば、情報処理装置100Bは、図23に示す例と同様の処理により、グラフGR42を生成してもよい。なお、グラフGR42は無向(双方向)エッジを一例として示すが、有向エッジであってもよい。 Note that the information processing device 100B may generate the graph GR42 using any method. The information processing device 100B may generate the graph GR42 using various indexes. For example, the information processing device 100B may generate the graph GR42 using the graph GR21 in which object nodes are connected. In this case, the information processing apparatus 100B can generate the graph GR42 by the same process as the graph GR41 in FIG. 23, so detailed explanation will be omitted. For example, the information processing device 100B may generate the graph GR42 by a process similar to the example shown in FIG. 23. Although the graph GR42 shows an undirected (bidirectional) edge as an example, it may be a directed edge.

このように、変形例に係る情報処理装置100Bは、セントロイドのグラフをブロブ連結グラフとして生成する。そして、情報処理装置100Bは、生成したブロブ連結グラフを用いてセントロイドで通常の検索を行い、距離計算はブロブ単位で行う。このように、情報処理装置100Bは、ブロブをセントロイドで代表させることで、簡便な処理とすることができる。なお、情報処理装置100Bは、ブロブがクラスタリングではない場合には、各ブロブに属するオブジェクトを基に中心点を算出し、算出した中心点を代表点として用いてもよい。 In this way, the information processing device 100B according to the modification generates a centroid graph as a blob connection graph. Then, the information processing device 100B performs a normal search using the centroid using the generated blob connection graph, and performs distance calculation on a blob-by-blob basis. In this way, the information processing apparatus 100B can simplify processing by representing blobs with centroids. Note that if the blobs are not clustered, the information processing device 100B may calculate the center point based on the objects belonging to each blob, and use the calculated center point as the representative point.

図29の例では、情報処理装置100Bは、空間情報SP42に示すように、ブロブの代表点であるセントロイド間がエッジで連結されたグラフGR42を用いて、検索処理を行う。例えば、情報処理装置100Bは、検索クエリQE2を対象として、グラフGR21を用いた図27及び図28に示すような検索処理を行うことにより、検索クエリQE2の検索結果を得る。この点については、上述した例と同様であり詳細な説明は省略する。 In the example of FIG. 29, the information processing device 100B performs a search process using a graph GR42 in which centroids, which are representative points of blobs, are connected by edges, as shown in spatial information SP42. For example, the information processing device 100B obtains the search results for the search query QE2 by performing search processing as shown in FIGS. 27 and 28 using the graph GR21 for the search query QE2. This point is similar to the example described above, and detailed explanation will be omitted.

〔3-5-2.情報〕
次に、図30及び図31を用いて、変形例に係る情報の概要を説明する。図30は、変形例に係るブロブ情報記憶部の一例を示す図である。図31は、変形例に係るブロブ連結グラフ情報記憶部の一例を示す図である。
[3-5-2. information〕
Next, an outline of the information related to the modified example will be explained using FIGS. 30 and 31. FIG. 30 is a diagram illustrating an example of a blob information storage unit according to a modification. FIG. 31 is a diagram illustrating an example of a blob connection graph information storage unit according to a modification.

まず、図30に示す変形例に係るブロブ情報記憶部125Aについて説明する。図30に示す変形例に係るブロブ情報記憶部125Aは、「ブロブID」、「ノードID」、「ベクトル情報」、および「セントロイドID」といった項目が含まれる。このように、変形例に係るブロブ情報記憶部125Aは、「セントロイドID」を有する点で図15のブロブ情報記憶部125と相違する。なお、図15のブロブ情報記憶部125と同様の点については適宜説明を省略する。 First, a blob information storage unit 125A according to a modification shown in FIG. 30 will be described. The blob information storage unit 125A according to the modification shown in FIG. 30 includes items such as "blob ID", "node ID", "vector information", and "centroid ID". In this way, the blob information storage unit 125A according to the modified example is different from the blob information storage unit 125 of FIG. 15 in that it has a "centroid ID." Note that descriptions of the same points as those of the blob information storage unit 125 in FIG. 15 will be omitted as appropriate.

「セントロイドID」は、各ブロブのセントロイドを識別するための識別情報を示す。「ベクトル情報」は、ブロブの代表点であるセントロイドのベクトル情報を示す。 "Centroid ID" indicates identification information for identifying the centroid of each blob. "Vector information" indicates vector information of a centroid, which is a representative point of a blob.

図30に示す例では、ブロブID「BL1」により識別されるブロブBL1のセントロイドは、セントロイドID「C1」により識別されるセントロイド(セントロイドC1)であることを示す。ブロブID「BL9」により識別されるブロブBL9のセントロイドは、セントロイドID「C9」により識別されるセントロイド(セントロイドC9)であることを示す。 The example shown in FIG. 30 indicates that the centroid of blob BL1 identified by blob ID "BL1" is the centroid (centroid C1) identified by centroid ID "C1". The centroid of blob BL9 identified by blob ID "BL9" indicates that it is the centroid (centroid C9) identified by centroid ID "C9".

なお、ブロブ情報記憶部125Aは、上記に限らず、目的に応じて種々の情報を記憶してもよい。 Note that the blob information storage unit 125A is not limited to the above, and may store various information depending on the purpose.

次に、図31に示す変形例に係るブロブ連結グラフ情報記憶部126Aについて説明する。図30に示す変形例に係るブロブ連結グラフ情報記憶部126Aは、「セントロイドID」および「接続セントロイド情報」といった項目を有する。なお、図25のブロブ連結グラフ情報記憶部126と同様の点については適宜説明を省略する。 Next, a blob connection graph information storage unit 126A according to a modification shown in FIG. 31 will be described. The blob connection graph information storage unit 126A according to the modification shown in FIG. 30 has items such as "centroid ID" and "connection centroid information." Note that descriptions of points similar to those of the blob connected graph information storage unit 126 in FIG. 25 will be omitted as appropriate.

「セントロイドID」は、グラフにおける各ブロブの代表点であるセントロイドを識別するための識別情報を示す。「接続セントロイド情報」は、対応するセントロイドから辿ることができるセントロイド(参照先のセントロイド)に関する情報を示す。例えば、「接続セントロイド情報」には、「参照先」といった情報が含まれる。「参照先」は、エッジにより連結され、そのセントロイドから辿ることができる参照先(セントロイド)を識別するための情報を示す。すなわち、図31の例では、セントロイドを識別するセントロイドIDに対して、そのセントロイドからエッジにより辿ることができる参照先(セントロイド)が対応付けられて登録されている。なお、「接続セントロイド情報」には、参照先に接続されるエッジを識別するための情報(エッジID)等が含まれてもよい。 "Centroid ID" indicates identification information for identifying a centroid that is a representative point of each blob in the graph. “Connection centroid information” indicates information regarding a centroid (reference destination centroid) that can be traced from a corresponding centroid. For example, "connection centroid information" includes information such as "reference destination." “Reference destination” indicates information for identifying a reference destination (centroid) that is connected by an edge and can be traced from the centroid. That is, in the example of FIG. 31, a reference destination (centroid) that can be traced from the centroid by an edge is registered in association with a centroid ID that identifies the centroid. Note that the "connection centroid information" may include information (edge ID) for identifying an edge connected to a reference destination.

図31の例では、セントロイドID「C1」により識別されるセントロイド(セントロイドC1)からは、セントロイドID「C2」、「C3」、「C4」、「C7」、「C8」の各々により識別される5つのセントロイドにエッジが連結されていることを示す。すなわち、セントロイドC1からは、セントロイドC2、C3、C4、C7、C8の5つのセントロイドの各々へ辿ることができることを示す。 In the example of FIG. 31, from the centroid (centroid C1) identified by the centroid ID "C1", each of the centroid IDs "C2", "C3", "C4", "C7", and "C8" The edge is connected to the five centroids identified by . In other words, it is shown that each of the five centroids C2, C3, C4, C7, and C8 can be traced from the centroid C1.

なお、ブロブ連結グラフ情報記憶部126Aは、上記に限らず、目的に応じて種々の情報を記憶してもよい。また、ブロブ連結グラフは、クエリを入力とし、ブロブ連結グラフ中のエッジを辿ることによりオブジェクト(オブジェクトノード)を探索し、クエリに類似するオブジェクトを抽出し出力するプログラムモジュールを含んでもよい。すなわち、ブロブ連結グラフは、ブロブ連結グラフを用いて検索処理を行うプログラムモジュールとしての利用が想定されるものであってもよい。例えば、ブロブ連結グラフであるグラフGR42は、クエリとしてベクトルデータが入力された場合に、そのベクトルデータに類似するベクトルデータに対応するオブジェクトをブロブ連結グラフにより抽出し、出力するプログラムであってもよい。例えば、グラフGR42は、クエリ画像に対応する類似画像を検索するプログラムモジュールとして利用されるデータであってもよい。例えば、グラフGR42は、入力されたクエリに基づいて、ブロブ連結グラフにおいてそのクエリに類似するオブジェクトを抽出し、出力するよう、コンピュータを機能させる。 Note that the blob connection graph information storage unit 126A is not limited to the above, and may store various information depending on the purpose. The blob connection graph may also include a program module that receives a query as input, searches for objects (object nodes) by tracing edges in the blob connection graph, and extracts and outputs objects similar to the query. That is, the blob connection graph may be assumed to be used as a program module that performs search processing using the blob connection graph. For example, the graph GR42, which is a blob connection graph, may be a program that, when vector data is input as a query, extracts and outputs objects corresponding to vector data similar to the vector data using a blob connection graph. . For example, the graph GR42 may be data used as a program module that searches for similar images corresponding to a query image. For example, based on an input query, the graph GR 42 causes the computer to extract and output objects similar to the query in the blob connection graph.

上述したように、各実施形態及び変形例において、情報処理システム1は、以下のような処理を実行する。例えば、情報処理システム1は、ベクトルのクラスタリングでブロブを生成する。例えば、情報処理システム1は、ブロブのセントロイドをノードとしてグラフインデックスを生成する。 As described above, in each embodiment and modification, the information processing system 1 executes the following processing. For example, the information processing system 1 generates blobs by clustering vectors. For example, the information processing system 1 generates a graph index using the centroid of a blob as a node.

例えば、情報処理システム1は、任意のベクトルを一定数取得して、直積量子化のクラスタリングを行う。つまり、情報処理システム1は、部分ベクトルに分割して、部分ベクトル単位にクラスタリングを行い、コードブックを生成する。 For example, the information processing system 1 acquires a certain number of arbitrary vectors and performs clustering using Cartesian product quantization. That is, the information processing system 1 divides the vector into partial vectors, performs clustering for each partial vector, and generates a codebook.

例えば、情報処理システム1は、ブロブ単位に属するオブジェクトを直積量子化し、転置インデックスを生成する。例えば、情報処理システム1は、オブジェクトからブロブへのエッジを含むグラフ(ブロブ用グラフ)を生成する。例えば、情報処理システム1は、一般的な直積量子化の手法を用により近傍オブジェクトを検索する。ここでいう一般的な直積量子化の手法とは、例えば、オブジェクトとブロブのすべてのセントロイドとの距離を算出し上位一定数のブロブを取得した後に、ブロブ内のオブジェクトの距離を直積量子化で距離を求めて近傍オブジェクトを取得することであってもよい。なお、情報処理システム1は、上述したように、セントロイドのグラフを生成している場合はグラフを用いて一定数のブロブを検索して取得することが可能である。または、情報処理システム1は、上記した、オブジェクトからブロブへのエッジを含むグラフ(ブロブ用グラフ)ではなく、ブロブ間をエッジで連結したグラフ(ブロブ連結グラフ)を生成してもよい。 For example, the information processing system 1 performs product quantization on objects belonging to blob units and generates transposed indexes. For example, the information processing system 1 generates a graph (blob graph) including edges from objects to blobs. For example, the information processing system 1 searches for nearby objects using a general product quantization method. The general method of direct product quantization mentioned here is, for example, after calculating the distances between objects and all centroids of blobs and obtaining a certain number of top blobs, the distances of objects within the blobs are subjected to direct product quantization. It may also be possible to obtain nearby objects by calculating the distance. Note that, as described above, when the information processing system 1 generates a centroid graph, it is possible to search for and obtain a certain number of blobs using the graph. Alternatively, the information processing system 1 may generate a graph in which blobs are connected by edges (blob connection graph) instead of the above-described graph including edges from objects to blobs (blob graph).

〔4.効果〕
上述してきたように、第2の実施形態または変形例に係る情報処理装置100Aは、取得部131と、生成部132Aとを有する。取得部131は、データ検索の対象となる複数のオブジェクトを示す第1情報と、複数のオブジェクトを分類するために用いる第2情報とを取得する。生成部132Aは、取得部131により取得された第2情報を用いて、第1情報が示す複数のオブジェクトを分類し、複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する。
[4. effect〕
As described above, the information processing device 100A according to the second embodiment or the modification includes the acquisition section 131 and the generation section 132A. The acquisition unit 131 acquires first information indicating a plurality of objects to be searched for data, and second information used to classify the plurality of objects. The generation unit 132A uses the second information acquired by the acquisition unit 131 to classify the plurality of objects indicated by the first information, and classifies the plurality of objects used for batch processing in the search process targeting the plurality of objects. Third information indicating the group is generated.

このように、第2の実施形態または変形例に係る情報処理装置100Aは、複数のオブジェクトを分類するために用いる第2情報を用いて、複数のオブジェクトを分類し、複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing apparatus 100A according to the second embodiment or the modified example classifies the plurality of objects using the second information used to classify the plurality of objects, and targets the plurality of objects. By generating third information indicating a plurality of groups used for performing batch processing in the search process, it becomes possible to perform batch processing in the search process using the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

取得部131は、複数のオブジェクトを検索対象とするインデックスである第2情報を取得する。生成部132Aは、第2情報を用いて、複数のオブジェクトを複数のグループに分類する第3情報を生成する。 The acquisition unit 131 acquires second information that is an index that searches for a plurality of objects. The generation unit 132A uses the second information to generate third information that classifies the plurality of objects into a plurality of groups.

このように、情報処理装置100Aは、複数のオブジェクトを検索対象とするインデックスを用いて、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing apparatus 100A generates the third information using an index that searches for a plurality of objects, thereby making it possible to perform batch processing in the search process using the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、第2情報を用いた検索により、複数のオブジェクトを複数のグループに分類する第3情報を生成する。 Furthermore, the generation unit 132A generates third information for classifying a plurality of objects into a plurality of groups by searching using the second information.

このように、情報処理装置100Aは、インデックスを用いた検索により、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing apparatus 100A generates the third information through a search using an index, thereby making it possible to perform batch processing in the search process using the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

取得部131は、複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフである第2情報を取得する。生成部132Aは、第2情報を用いて、複数のオブジェクトを複数のグループに分類する第3情報を生成する。 The acquisition unit 131 acquires second information that is a graph in which a plurality of nodes corresponding to each of a plurality of objects are connected by edges. The generation unit 132A uses the second information to generate third information that classifies the plurality of objects into a plurality of groups.

このように、情報処理装置100Aは、複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフを用いて、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates third information using a graph in which a plurality of nodes corresponding to each of a plurality of objects are connected by edges, thereby performing batch processing in a search process using the third information. It becomes possible to do this. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、グラフ中の複数のノードから一のノードを選択し、一のノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 The generation unit 132A also selects one node from a plurality of nodes in the graph, and generates classification target nodes that are at least some of the neighboring nodes that are nodes connected to the one node by edges, and The third information is generated by a classification process of classifying objects corresponding to each of the nodes into one group.

このように、情報処理装置100Aは、グラフを用いた分類処理により、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information through the classification process using the graph, thereby making it possible to perform batch processing in the search process using the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、一のノードの近傍ノードのうち所定の数のノードである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 In addition, the generation unit 132A performs a classification process that classifies into one group a predetermined number of nodes to be classified among nodes in the vicinity of one node, and a group of objects corresponding to each of one node. Generate information.

このように、情報処理装置100Aは、一のノードの近傍ノードのうち所定の数のノードである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A performs a classification process of classifying into one group a group of objects corresponding to each of the classification target nodes, which are a predetermined number of nodes among the nodes in the vicinity of one node, and one node. By generating the third information, it becomes possible to perform batch processing in the search process using the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、一のノードの近傍ノードの全てである分類対象ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 Furthermore, the generation unit 132A generates third information through a classification process of classifying the classification target node, which is all of the neighboring nodes of one node, and the object group corresponding to each of the one node into one group.

このように、情報処理装置100Aは、一のノードの全近傍ノード、及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by the classification process of classifying all neighboring nodes of one node and the object group corresponding to each of the nodes into one group. 3 information makes it possible to perform batch processing in search processing. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、複数のノードの各々にエッジで連結されたノードである近傍ノードの数に基づいて、複数のノードから一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 Further, the generation unit 132A selects one node from the plurality of nodes based on the number of neighboring nodes that are nodes connected to each of the plurality of nodes by edges, and selects the classification target node of the one node and the one node. Third information is generated by a classification process that classifies objects corresponding to each node into one group.

このように、情報処理装置100Aは、近傍ノードの数に基づいて選択された一のノードを対象として分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by repeating the classification process for one node selected based on the number of neighboring nodes, thereby performing batch processing in the search process using the third information. It becomes possible to do so. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、近傍ノードの数が大きい方から順に一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 Furthermore, the generation unit 132A performs a classification process of selecting one node in descending order of the number of neighboring nodes, and classifying the classification target node of the one node and the object group corresponding to each of the one node into one group. Accordingly, the third information is generated.

このように、情報処理装置100Aは、近傍ノードの数が大きい方から順に選択された一のノードを対象として分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by repeating the classification process for one node selected in descending order of the number of neighboring nodes, so that the information processing device 100A can collectively perform the search process using the third information. It becomes possible to perform processing. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、近傍ノードの数が小さい方から順に一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 Furthermore, the generation unit 132A performs a classification process of selecting one node in order from the smallest number of neighboring nodes, and classifying the classification target node of the one node and the object group corresponding to each of the one node into one group. Accordingly, the third information is generated.

このように、情報処理装置100Aは、近傍ノードの数が小さい方から順に選択された一のノードを対象として分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by repeating the classification process for one node selected in descending order of the number of neighboring nodes, so that the information processing device 100A can collectively perform the search process using the third information. It becomes possible to perform processing. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、複数のノードからランダムに一のノードを選択し、一のノードの分類対象ノード及び一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理により、第3情報を生成する。 In addition, the generation unit 132A randomly selects one node from the plurality of nodes, and performs a classification process of classifying the classification target node of the one node and the object group corresponding to each of the one node into one group. 3 Generate information.

このように、情報処理装置100Aは、ランダムに選択された一のノードを対象として分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by repeating the classification process for one randomly selected node, thereby making it possible to perform batch processing in the search process using the third information. Become. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、一のグループに分類された一のノードの分類対象ノード及び一のノードである処理済みノード群をグラフから除外し、処理済みノード群を除外した後のグラフを用いて、分類処理を繰り返すことにより、第3情報を生成する。 In addition, the generation unit 132A excludes the classification target node of the one node classified into the one group and the processed node group that is the one node, and uses the graph after excluding the processed node group. , the third information is generated by repeating the classification process.

このように、情報処理装置100Aは、分類済みのノードを除外し、分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A can perform batch processing in the search process using the third information by excluding classified nodes and repeating the classification process to generate the third information. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、処理済みノード群を除外した後のグラフを用いて、分類処理を複数のオブジェクトがいずれかのグループに分類されるまで繰り返すことにより、第3情報を生成する。 Furthermore, the generation unit 132A generates third information by repeating the classification process using the graph after excluding the processed node group until a plurality of objects are classified into one of the groups.

このように、情報処理装置100Aは、全オブジェクトがいずれかのグループに分類されるまで分類処理を繰り返して第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information by repeating the classification process until all objects are classified into one of the groups, thereby making it possible to perform batch processing in the search process using the third information. becomes. Therefore, the information processing device 100A can generate information that can be used for search processing.

また、生成部132Aは、各々に属するオブジェクトが相互に排他的な複数のグループを示す第3情報を生成する。 Furthermore, the generation unit 132A generates third information indicating a plurality of groups to which objects belonging to each group are mutually exclusive.

このように、情報処理装置100Aは、各々に属するオブジェクトが相互に排他的な複数のグループを示す第3情報を生成することで、第3情報によって検索処理において一括処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates the third information indicating a plurality of mutually exclusive groups, each of which belongs to a plurality of groups, thereby making it possible to perform batch processing in the search process using the third information. . Therefore, the information processing device 100A can generate information that can be used for search processing.

取得部131は、複数のオブジェクトを検索対象とするインデックスである第4情報を取得する。生成部132Aは、第4情報を用いて、複数のオブジェクトのうち少なくとも一部のオブジェクトに対応するノードであるオブジェクトノードから、複数のグループのうち、オブジェクトノードが属するグループ以外の他のグループへエッジが連結されたグループグラフを生成する。 The acquisition unit 131 acquires fourth information that is an index that searches for multiple objects. Using the fourth information, the generation unit 132A generates an edge from an object node, which is a node corresponding to at least some of the plurality of objects, to a group other than the group to which the object node belongs among the plurality of groups. Generates a connected group graph.

このように、情報処理装置100Aは、複数のオブジェクトを検索対象とするインデックスを用いて、グループグラフを生成することで、グループグラフを用いて検索処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing apparatus 100A can perform search processing using the group graph by generating a group graph using an index that searches for a plurality of objects. Therefore, the information processing device 100A can generate information that can be used for search processing.

生成部132Aは、複数のオブジェクトから一のオブジェクトを選択し、第4情報を用いて複数のオブジェクトを対象に、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトに対応する一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成する。 The generation unit 132A selects one object from the plurality of objects, searches for neighboring objects of the one object among the plurality of objects using the fourth information, and selects one object from the one object node corresponding to the one object. , a group graph is generated by a connection process that connects edges to other groups to which neighboring objects belong.

このように、情報処理装置100Aは、一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成することで、グループグラフを用いて検索処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates a group graph through a connection process that connects edges from one object node to other groups to which neighboring objects belong, and performs a search process using the group graph. becomes possible. Therefore, the information processing device 100A can generate information that can be used for search processing.

生成部132Aは、複数のオブジェクトからランダムに一のオブジェクトを選択し、一のオブジェクトの近傍オブジェクトを検索し、一のオブジェクトに対応する一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成する。 The generation unit 132A randomly selects one object from a plurality of objects, searches for neighboring objects of the one object, and creates an edge from one object node corresponding to the one object to another group to which the neighboring object belongs. A group graph is generated by the concatenation process.

このように、情報処理装置100Aは、ランダムに選択した一のオブジェクトノードから、近傍オブジェクトが属する他のグループへエッジを連結する連結処理により、グループグラフを生成することで、グループグラフを用いて検索処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing device 100A generates a group graph through a connection process that connects edges from one randomly selected object node to another group to which neighboring objects belong, and performs a search using the group graph. It becomes possible to perform processing. Therefore, the information processing device 100A can generate information that can be used for search processing.

取得部131は、複数のオブジェクトの各々に対応する複数のオブジェクトノードがエッジにより連結されたグラフである第4情報を取得する。生成部132Aは、第4情報を用いて、グループグラフを生成する。 The acquisition unit 131 acquires fourth information that is a graph in which a plurality of object nodes corresponding to each of a plurality of objects are connected by edges. The generation unit 132A generates a group graph using the fourth information.

このように、情報処理装置100Aは、複数のオブジェクトノードがエッジにより連結されたグラフを用いて、グループグラフを生成することで、グループグラフを用いて検索処理を行うことが可能となる。したがって、情報処理装置100Aは、検索処理に利用可能な情報を生成することができる。 In this way, the information processing apparatus 100A can perform search processing using the group graph by generating a group graph using a graph in which a plurality of object nodes are connected by edges. Therefore, the information processing device 100A can generate information that can be used for search processing.

〔5.ハードウェア構成〕
上述してきた各実施形態に係る情報処理装置100、100A、100Bは、例えば図32に示すような構成のコンピュータ1000によって実現される。図32は、情報処理装置の機能を実現するコンピュータの一例を示すハードウェア構成図である。コンピュータ1000は、CPU1100、RAM1200、ROM(Read Only Memory)1300、HDD(Hard Disk Drive)1400、通信インターフェイス(I/F)1500、入出力インターフェイス(I/F)1600、及びメディアインターフェイス(I/F)1700を有する。
[5. Hardware configuration]
The information processing apparatuses 100, 100A, and 100B according to each of the embodiments described above are realized by, for example, a computer 1000 having a configuration as shown in FIG. 32. FIG. 32 is a hardware configuration diagram showing an example of a computer that implements the functions of the information processing device. The computer 1000 includes a CPU 1100, a RAM 1200, a ROM (Read Only Memory) 1300, an HDD (Hard Disk Drive) 1400, a communication interface (I/F) 1500, an input/output interface (I/F) 1600, and a media interface (I/F). ) has 1700.

CPU1100は、ROM1300またはHDD1400に格納されたプログラムに基づいて動作し、各部の制御を行う。ROM1300は、コンピュータ1000の起動時にCPU1100によって実行されるブートプログラムや、コンピュータ1000のハードウェアに依存するプログラム等を格納する。 CPU 1100 operates based on a program stored in ROM 1300 or HDD 1400, and controls each section. The ROM 1300 stores a boot program executed by the CPU 1100 when the computer 1000 is started, programs depending on the hardware of the computer 1000, and the like.

HDD1400は、CPU1100によって実行されるプログラム、及び、かかるプログラムによって使用されるデータ等を格納する。通信インターフェイス1500は、ネットワークNを介して他の機器からデータを受信してCPU1100へ送り、CPU1100が生成したデータをネットワークNを介して他の機器へ送信する。 The HDD 1400 stores programs executed by the CPU 1100, data used by the programs, and the like. Communication interface 1500 receives data from other devices via network N and sends it to CPU 1100, and sends data generated by CPU 1100 to other devices via network N.

CPU1100は、入出力インターフェイス1600を介して、ディスプレイやプリンタ等の出力装置、及び、キーボードやマウス等の入力装置を制御する。CPU1100は、入出力インターフェイス1600を介して、入力装置からデータを取得する。また、CPU1100は、生成したデータを入出力インターフェイス1600を介して出力装置へ出力する。 The CPU 1100 controls output devices such as a display and a printer, and input devices such as a keyboard and mouse via an input/output interface 1600. CPU 1100 obtains data from an input device via input/output interface 1600. Further, CPU 1100 outputs the generated data to an output device via input/output interface 1600.

メディアインターフェイス1700は、記録媒体1800に格納されたプログラムまたはデータを読み取り、RAM1200を介してCPU1100に提供する。CPU1100は、かかるプログラムを、メディアインターフェイス1700を介して記録媒体1800からRAM1200上にロードし、ロードしたプログラムを実行する。記録媒体1800は、例えばDVD(Digital Versatile Disc)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto-Optical disk)等の光磁気記録媒体、テープ媒体、磁気記録媒体、または半導体メモリ等である。 Media interface 1700 reads programs or data stored in recording medium 1800 and provides them to CPU 1100 via RAM 1200. CPU 1100 loads this program from recording medium 1800 onto RAM 1200 via media interface 1700, and executes the loaded program. The recording medium 1800 is, for example, an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase change rewritable disk), a magneto-optical recording medium such as an MO (Magneto-Optical disk), a tape medium, a magnetic recording medium, or a semiconductor memory. etc.

例えば、コンピュータ1000が第1の実施形態に係る情報処理装置100として機能する場合、コンピュータ1000のCPU1100は、RAM1200上にロードされたプログラムを実行することにより、制御部130の機能を実現する。コンピュータ1000のCPU1100は、これらのプログラムを記録媒体1800から読み取って実行するが、他の例として、他の装置からネットワークNを介してこれらのプログラムを取得してもよい。 For example, when the computer 1000 functions as the information processing device 100 according to the first embodiment, the CPU 1100 of the computer 1000 realizes the functions of the control unit 130 by executing a program loaded onto the RAM 1200. The CPU 1100 of the computer 1000 reads these programs from the recording medium 1800 and executes them, but as another example, these programs may be acquired from another device via the network N.

以上、本願の実施形態のいくつかを図面に基づいて詳細に説明したが、これらは例示であり、発明の開示の行に記載の態様を始めとして、当業者の知識に基づいて種々の変形、改良を施した他の形態で本発明を実施することが可能である。 As mentioned above, some embodiments of the present application have been described in detail based on the drawings, but these are merely examples, and various modifications and variations can be made based on the knowledge of those skilled in the art, including the embodiments described in the disclosure section of the invention. It is possible to carry out the invention in other forms with modifications.

〔6.その他〕
また、上記実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。この他、上記文書中や図面中で示した処理手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、各図に示した各種情報は、図示した情報に限られない。
[6. others〕
Furthermore, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or the processes described as being performed manually can be performed manually. All or part of the process can also be performed automatically using known methods. In addition, information including the processing procedures, specific names, and various data and parameters shown in the above documents and drawings may be changed arbitrarily, unless otherwise specified. For example, the various information shown in each figure is not limited to the illustrated information.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 Furthermore, each component of each device shown in the drawings is functionally conceptual, and does not necessarily need to be physically configured as shown in the drawings. In other words, the specific form of distributing and integrating each device is not limited to what is shown in the diagram, and all or part of the devices can be functionally or physically distributed or integrated in arbitrary units depending on various loads and usage conditions. Can be integrated and configured.

また、上述してきた各実施形態に記載された各処理は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 Furthermore, the processes described in the embodiments described above can be combined as appropriate within a range that does not conflict with the process contents.

また、上述してきた「部(section、module、unit)」は、「手段」や「回路」などに読み替えることができる。例えば、取得部は、取得手段や取得回路に読み替えることができる。 Further, the above-mentioned "section, module, unit" can be read as "means", "circuit", etc. For example, the acquisition unit can be read as an acquisition means or an acquisition circuit.

1 情報処理システム
10 端末装置
50 情報提供装置
100、100A、100B 情報処理装置
120、120A、120B 記憶部
121 オブジェクト情報記憶部
122 グラフ情報記憶部
123、123A 量子化情報記憶部
124 コードブック情報記憶部
125、125A ブロブ情報記憶部
126、126A ブロブ連結グラフ情報記憶部
130、130A、130B 制御部
131 取得部
132、132A、132B 生成部
133、133A、133B 検索処理部
134 提供部
1 Information processing system 10 Terminal device 50 Information providing device 100, 100A, 100B Information processing device 120, 120A, 120B Storage unit 121 Object information storage unit 122 Graph information storage unit 123, 123A Quantization information storage unit 124 Codebook information storage unit 125, 125A Blob information storage unit 126, 126A Blob connected graph information storage unit 130, 130A, 130B Control unit 131 Acquisition unit 132, 132A, 132B Generation unit 133, 133A, 133B Search processing unit 134 Providing unit

Claims (17)

データ検索の対象となる複数のオブジェクトを示す第1情報と、前記複数のオブジェクトを分類するために用いる第2情報とを取得する取得部と、
前記取得部により取得された前記第2情報を用いて、前記第1情報が示す前記複数のオブジェクトを分類し、前記複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する生成部と、
を備え
前記取得部は、
前記複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフである前記第2情報を取得し、
前記生成部は、
前記グラフ中の前記複数のノードから一のノードを選択し、前記一のノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び前記一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理を、前記一のグループに分類された前記一のノードの前記分類対象ノード及び前記一のノードである処理済みノード群を前記グラフから除外し、前記処理済みノード群を除外した後の前記グラフを用いて繰り返すことにより、前記第3情報を生成す
ことを特徴とする情報処理装置。
an acquisition unit that acquires first information indicating a plurality of objects to be data searched and second information used to classify the plurality of objects;
The second information acquired by the acquisition unit is used to classify the plurality of objects indicated by the first information, and the plurality of objects used for batch processing in the search process targeting the plurality of objects are classified. a generation unit that generates third information indicating a group;
Equipped with
The acquisition unit includes:
obtaining the second information that is a graph in which a plurality of nodes corresponding to each of the plurality of objects are connected by edges;
The generation unit is
One node is selected from the plurality of nodes in the graph, and the classification target nodes are at least some nodes among the neighboring nodes that are nodes connected to the one node by an edge, and the one node is Excluding the classification target node of the one node classified into the one group and the processed node group of the one node from the graph. The information processing apparatus is characterized in that the third information is generated by repeating the process using the graph after excluding the processed node group.
前記取得部は、
前記複数のオブジェクトを検索対象とするインデックスである前記第2情報を取得し、
前記生成部は、
前記第2情報を用いて、前記複数のオブジェクトを前記複数のグループに分類する前記第3情報を生成する
ことを特徴とする請求項1に記載の情報処理装置。
The acquisition unit includes:
obtaining the second information that is an index for searching the plurality of objects;
The generation unit is
The information processing apparatus according to claim 1, wherein the third information for classifying the plurality of objects into the plurality of groups is generated using the second information.
前記生成部は、
前記第2情報を用いた検索により、前記複数のオブジェクトを前記複数のグループに分類する前記第3情報を生成する
ことを特徴とする請求項2に記載の情報処理装置。
The generation unit is
The information processing apparatus according to claim 2, wherein the third information for classifying the plurality of objects into the plurality of groups is generated by a search using the second information.
前記生成部は、
前記一のノードの前記近傍ノードのうち所定の数のノードである前記分類対象ノード、及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項1~3のいずれか1項に記載の情報処理装置。
The generation unit is
The classification target node, which is a predetermined number of nodes among the neighboring nodes of the one node, and the object group corresponding to each of the one node are classified into the one group. The information processing device according to claim 1, wherein the information processing device generates information.
前記生成部は、
前記一のノードの前記近傍ノードの全てである前記分類対象ノード、及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項1~4のいずれか1項に記載の情報処理装置。
The generation unit is
generating the third information by the classification process of classifying the classification target node, which is all of the neighboring nodes of the one node, and object groups corresponding to each of the one node into the one group; The information processing device according to any one of claims 1 to 4, characterized by:
前記生成部は、
前記複数のノードの各々にエッジで連結されたノードである前記近傍ノードの数に基づいて、複数のノードから前記一のノードを選択し、前記一のノードの前記分類対象ノード及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項のいずれか1項に記載の情報処理装置。
The generation unit is
The one node is selected from the plurality of nodes based on the number of neighboring nodes that are nodes connected to each of the plurality of nodes by edges, and the one node is classified as the classification target node of the one node and the one node. The information processing apparatus according to any one of claims 1 to 5 , wherein the third information is generated by the classification process of classifying a group of objects corresponding to each of the objects into the one group.
前記生成部は、
前記近傍ノードの数が大きい方から順に前記一のノードを選択し、前記一のノードの前記分類対象ノード及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項に記載の情報処理装置。
The generation unit is
the classification process of selecting the one node in descending order of the number of neighboring nodes and classifying the object group corresponding to each of the classification target node of the one node and the one node into the one group; The information processing device according to claim 6 , wherein the third information is generated by:
前記生成部は、
前記近傍ノードの数が小さい方から順に前記一のノードを選択し、前記一のノードの前記分類対象ノード及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項に記載の情報処理装置。
The generation unit is
the classification process of selecting the one node in descending order of the number of neighboring nodes, and classifying the object group corresponding to each of the classification target node of the one node and the one node into the one group; The information processing device according to claim 6 , wherein the third information is generated by:
前記生成部は、
前記複数のノードからランダムに前記一のノードを選択し、前記一のノードの前記分類対象ノード及び前記一のノードの各々に対応するオブジェクト群を前記一のグループに分類する前記分類処理により、前記第3情報を生成する
ことを特徴とする請求項のいずれか1項に記載の情報処理装置。
The generation unit is
The classification process randomly selects the one node from the plurality of nodes and classifies the classification target node of the one node and the object group corresponding to each of the one node into the one group. The information processing device according to any one of claims 1 to 5 , wherein the information processing device generates third information.
前記生成部は、
前記処理済みノード群を除外した後の前記グラフを用いて、前記分類処理を前記複数のオブジェクトがいずれかのグループに分類されるまで繰り返すことにより、前記第3情報を生成する
ことを特徴とする請求項1~9のいずれか1項に記載の情報処理装置。
The generation unit is
The third information is generated by repeating the classification process using the graph after excluding the processed node group until the plurality of objects are classified into one of the groups. The information processing device according to any one of claims 1 to 9 .
前記生成部は、
各々に属するオブジェクトが相互に排他的な前記複数のグループを示す前記第3情報を生成する
ことを特徴とする請求項1~10のいずれか1項に記載の情報処理装置。
The generation unit is
The information processing apparatus according to any one of claims 1 to 10 , wherein the third information is generated indicating the plurality of groups to which objects belonging to each group are mutually exclusive.
前記取得部は、
前記複数のオブジェクトを検索対象とするインデックスである第4情報を取得し、
前記生成部は、
前記第4情報を用いて、前記複数のオブジェクトのうち少なくとも一部のオブジェクトに対応するノードであるオブジェクトノードから、前記複数のグループのうち、前記オブジェクトノードが属するグループ以外の他のグループへエッジが連結されたグループグラフを生成する
ことを特徴とする請求項1~11のいずれか1項に記載の情報処理装置。
The acquisition unit includes:
obtaining fourth information that is an index for searching the plurality of objects;
The generation unit is
Using the fourth information, an edge is sent from an object node that corresponds to at least some of the plurality of objects to a group other than the group to which the object node belongs among the plurality of groups. The information processing device according to any one of claims 1 to 11 , wherein the information processing device generates a connected group graph.
前記生成部は、
前記複数のオブジェクトから一のオブジェクトを選択し、前記第4情報を用いて前記複数のオブジェクトを対象に、前記一のオブジェクトの近傍オブジェクトを検索し、前記一のオブジェクトに対応する一のオブジェクトノードから、前記近傍オブジェクトが属する前記他のグループへエッジを連結する連結処理により、前記グループグラフを生成する
ことを特徴とする請求項12に記載の情報処理装置。
The generation unit is
Select one object from the plurality of objects, use the fourth information to search for nearby objects of the one object among the plurality of objects, and select one object node corresponding to the one object. 13. The information processing apparatus according to claim 12 , wherein the group graph is generated by a connection process that connects an edge to the other group to which the neighboring object belongs.
前記生成部は、
前記複数のオブジェクトからランダムに前記一のオブジェクトを選択し、前記一のオブジェクトの前記近傍オブジェクトを検索し、前記一のオブジェクトに対応する前記一のオブジェクトノードから、前記近傍オブジェクトが属する前記他のグループへエッジを連結する前記連結処理により、前記グループグラフを生成する
ことを特徴とする請求項13に記載の情報処理装置。
The generation unit is
The one object is randomly selected from the plurality of objects, the neighboring objects of the one object are searched, and the other group to which the neighboring object belongs is determined from the one object node corresponding to the one object. The information processing apparatus according to claim 13 , wherein the group graph is generated by the connection process of connecting edges to each other.
前記取得部は、
前記複数のオブジェクトの各々に対応する複数のオブジェクトノードがエッジにより連結されたグラフである前記第4情報を取得し、
前記生成部は、
前記第4情報を用いて、前記グループグラフを生成する
ことを特徴とする請求項1214のいずれか1項に記載の情報処理装置。
The acquisition unit includes:
obtaining the fourth information, which is a graph in which a plurality of object nodes corresponding to each of the plurality of objects are connected by edges;
The generation unit is
The information processing apparatus according to any one of claims 12 to 14 , wherein the group graph is generated using the fourth information.
コンピュータが実行する情報処理方法であって、
データ検索の対象となる複数のオブジェクトを示す第1情報と、前記複数のオブジェクトを分類するために用いる第2情報とを取得する取得工程と、
前記取得工程により取得された前記第2情報を用いて、前記第1情報が示す前記複数のオブジェクトを分類し、前記複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する生成工程と、
を含み、
前記取得工程は、
前記複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフである前記第2情報を取得し、
前記生成工程は、
前記グラフ中の前記複数のノードから一のノードを選択し、前記一のノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び前記一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理を、前記一のグループに分類された前記一のノードの前記分類対象ノード及び前記一のノードである処理済みノード群を前記グラフから除外し、前記処理済みノード群を除外した後の前記グラフを用いて繰り返すことにより、前記第3情報を生成する
ことを特徴とする情報処理方法。
An information processing method performed by a computer, the method comprising:
an acquisition step of acquiring first information indicating a plurality of objects to be data searched and second information used to classify the plurality of objects;
The second information acquired in the acquisition step is used to classify the plurality of objects indicated by the first information, and the plurality of objects used for batch processing in the search process targeting the plurality of objects are classified. a generation step of generating third information indicating the group;
including;
The acquisition step includes:
obtaining the second information that is a graph in which a plurality of nodes corresponding to each of the plurality of objects are connected by edges;
The production step includes:
One node is selected from the plurality of nodes in the graph, and the classification target nodes are at least some nodes among the neighboring nodes that are nodes connected to the one node by an edge, and the one node is Excluding the classification target node of the one node classified into the one group and the processed node group of the one node from the graph. and generate the third information by repeating the process using the graph after excluding the processed node group.
An information processing method characterized by:
データ検索の対象となる複数のオブジェクトを示す第1情報と、前記複数のオブジェクトを分類するために用いる第2情報とを取得する取得手順と、
前記取得手順により取得された前記第2情報を用いて、前記第1情報が示す前記複数のオブジェクトを分類し、前記複数のオブジェクトを対象とする検索処理において一括処理を行うために用いられる複数のグループを示す第3情報を生成する生成手順と、
をコンピュータに実行させ
前記取得手順は、
前記複数のオブジェクトの各々に対応する複数のノードがエッジにより連結されたグラフである前記第2情報を取得し、
前記生成手順は、
前記グラフ中の前記複数のノードから一のノードを選択し、前記一のノードにエッジで連結されたノードである近傍ノードのうち少なくとも一部のノードである分類対象ノード、及び前記一のノードの各々に対応するオブジェクト群を一のグループに分類する分類処理を、前記一のグループに分類された前記一のノードの前記分類対象ノード及び前記一のノードである処理済みノード群を前記グラフから除外し、前記処理済みノード群を除外した後の前記グラフを用いて繰り返すことにより、前記第3情報を生成す
ことを特徴とする情報処理プログラム。
an acquisition procedure for acquiring first information indicating a plurality of objects that are the targets of a data search, and second information used to classify the plurality of objects;
The second information acquired by the acquisition procedure is used to classify the plurality of objects indicated by the first information, and the plurality of objects used for batch processing in the search process targeting the plurality of objects are classified. a generation procedure for generating third information indicating a group;
make the computer run
The acquisition procedure is as follows:
obtaining the second information that is a graph in which a plurality of nodes corresponding to each of the plurality of objects are connected by edges;
The generation procedure is
One node is selected from the plurality of nodes in the graph, and the classification target nodes are at least some nodes among the neighboring nodes that are nodes connected to the one node by an edge, and the one node is Excluding the classification target node of the one node classified into the one group and the processed node group of the one node from the graph. and generating the third information by repeating the process using the graph after excluding the processed node group.
JP2021118322A 2021-07-16 2021-07-16 Information processing device, information processing method, and information processing program Active JP7353330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021118322A JP7353330B2 (en) 2021-07-16 2021-07-16 Information processing device, information processing method, and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021118322A JP7353330B2 (en) 2021-07-16 2021-07-16 Information processing device, information processing method, and information processing program

Publications (2)

Publication Number Publication Date
JP2023013863A JP2023013863A (en) 2023-01-26
JP7353330B2 true JP7353330B2 (en) 2023-09-29

Family

ID=85128723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021118322A Active JP7353330B2 (en) 2021-07-16 2021-07-16 Information processing device, information processing method, and information processing program

Country Status (1)

Country Link
JP (1) JP7353330B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006520948A (en) 2003-01-25 2006-09-14 パーデュー リサーチ ファンデーション Method, system and data structure for searching for 3D objects
JP2014074959A (en) 2012-10-02 2014-04-24 Nippon Telegr & Teleph Corp <Ntt> Adjacent search processing device, method and program
JP2020086662A (en) 2018-11-19 2020-06-04 ヤフー株式会社 Information processing apparatus, information processing method, and information processing program
JP2020184235A (en) 2019-05-08 2020-11-12 ヤフー株式会社 Information processing device, information processing method, and information processing program
US20210157606A1 (en) 2019-11-25 2021-05-27 Baidu Usa Llc Approximate nearest neighbor search for single instruction, multiple thread (simt) or single instruction, multiple data (simd) type processors

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006520948A (en) 2003-01-25 2006-09-14 パーデュー リサーチ ファンデーション Method, system and data structure for searching for 3D objects
JP2014074959A (en) 2012-10-02 2014-04-24 Nippon Telegr & Teleph Corp <Ntt> Adjacent search processing device, method and program
JP2020086662A (en) 2018-11-19 2020-06-04 ヤフー株式会社 Information processing apparatus, information processing method, and information processing program
JP2020184235A (en) 2019-05-08 2020-11-12 ヤフー株式会社 Information processing device, information processing method, and information processing program
US20210157606A1 (en) 2019-11-25 2021-05-27 Baidu Usa Llc Approximate nearest neighbor search for single instruction, multiple thread (simt) or single instruction, multiple data (simd) type processors

Also Published As

Publication number Publication date
JP2023013863A (en) 2023-01-26

Similar Documents

Publication Publication Date Title
KR102376117B1 (en) Parallel decision tree processor architecture
US7895201B2 (en) Information processing apparatus, methods, and program for searching sets for an element
WO2013129580A1 (en) Approximate nearest neighbor search device, approximate nearest neighbor search method, and program
Schreiber et al. apricot: Submodular selection for data summarization in Python
JP5686893B2 (en) Database management system, apparatus and method
US11971906B2 (en) Clustering apparatus, clustering method, program and data structure
JP7080803B2 (en) Information processing equipment, information processing methods, and information processing programs
JP7353330B2 (en) Information processing device, information processing method, and information processing program
JP7354188B2 (en) Information processing device, information processing method, and information processing program
JP7353737B2 (en) Information processing device, information processing method, and information processing program
JP7273609B2 (en) Information processing device, information processing method, and information processing program
JP7471264B2 (en) Information processing device, information processing method, and information processing program
JP7469262B2 (en) Information processing device, information processing method, and information processing program
JP6418658B2 (en) Information processing apparatus, information processing method, and program
JP7109522B2 (en) Information processing device, information processing method, and information processing program
JP5224537B2 (en) Locality-detectable hash construction device, similar neighborhood search processing device, and program
JP7077387B1 (en) Information processing equipment, information processing methods, and information processing programs
JP7095479B2 (en) Learning device and learning method
EP3115909A1 (en) Method and apparatus for multimedia content indexing and retrieval based on product quantization
JP2004046612A (en) Data matching method and device, data matching program, and computer readable recording medium
JP2023086434A (en) Information processing device, information processing method, and information processing program
JP7058807B2 (en) Information processing equipment, programs and information processing methods
JP7121706B2 (en) Information processing device, information processing method, and information processing program
JP2019125124A (en) Extraction device, extraction method and extraction program
JP2024027034A (en) Information processing device, information processing method, and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230919

R150 Certificate of patent or registration of utility model

Ref document number: 7353330

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