Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T15:35:52.996Z Has data issue: false hasContentIssue false

Optimizing large knowledge networks in spatial computers

Published online by Cambridge University Press:  07 December 2016

Dominic Pacher
Affiliation:
Databases and Information Systems, University of Innsbruck, Technikerstrasse 21a, A-6020 Innsbruck, Austria e-mail: domi@tracefog.de, robert.binna@uibk.ac.at, guenther.specht@uibk.ac.at
Robert Binna
Affiliation:
Databases and Information Systems, University of Innsbruck, Technikerstrasse 21a, A-6020 Innsbruck, Austria e-mail: domi@tracefog.de, robert.binna@uibk.ac.at, guenther.specht@uibk.ac.at
Günther Specht
Affiliation:
Databases and Information Systems, University of Innsbruck, Technikerstrasse 21a, A-6020 Innsbruck, Austria e-mail: domi@tracefog.de, robert.binna@uibk.ac.at, guenther.specht@uibk.ac.at
Rights & Permissions [Opens in a new window]

Abstract

This paper presents a novel concept of a Spatially Aware Graph Store, which realizes a Graph Store on top of a spatial computer architecture to manage graphs in one, two or three physical dimensions. In this environment, the physical distance between graph nodes strongly affects graph traversal performance. Consequently, a Spatially Aware Graph Store needs to minimize these distances to operate efficiently. We show that this minimization can be achieved in two ways. First, by increasing the dimensionality of the spatial computer and second by applying optimization methods. For the latter, this work introduces a novel Mid Point Optimization method to quickly optimize large real-world knowledge networks by rearranging nodes in a way that distances between linked nodes are reduced. In addition, a Local Optimization method is subsequently applied to refine the result. Finally, the Node Decomposition method is presented that splits nodes with many edges into several smaller nodes to achieve a further reduction of distances between linked nodes.

Our results show that the overall distances between nodes can be reduced by three orders of magnitude for 3D in comparison to one-dimensional (1D) Spatially Aware Graph Stores. The suggested Mid Point Optimization method achieves a reduction by another order of magnitude. In a 3D spatial computer, Local Optimization is capable of reducing distances by another 20%. However, in 1D and 2D spatial computers it becomes a prohibitive time consuming method. Finally, the Node Decomposition enables an additional distance reduction by 40% in Scale Free Graph Data sets.

Information

Type
Articles
Copyright
© Cambridge University Press, 2016 
Figure 0

Figure 1 Example of a graph embedded into a Spatially Aware Graph Store

Figure 1

Figure 2 Worst case comparison of node rearrangement operation. (a) One-dimensional grid: node A requires eight node swap operations. (b) Two-dimensional grid: node A requires four node swap operations

Figure 2

Figure 3 Embeddings of the same graph with different overall distances between linked nodes (a) Optimal solution. Overall sum of distances is 6. (b) Worse solution. Overall sum of distances is 22

Figure 3

Figure 4 Mid Point Optimizations example. (a) Non-optimized graph. The overall distance of the embedding is 12. (b) Optimized graph. The overall distance of the embedding is reduced to 5

Figure 4

Figure 5 The Local Node Optimization applied on the result of the Mid Point Optimization. (a) Embedding after Mid Point Optimization. The overall distance of the embedding is 5. (b) After Local Node Optimization. The overall distance of the embedding is reduced to 3

Figure 5

Figure 6 Overview of Large Node Decomposition. (a) Frequencies of node degrees in a scale free graph. The red box marks large nodes that need to be decomposed. (b) Before node decomposition. All nodes of Nobel Prize winning scientists are attached to one large Nobel Prize node. (c) After node decomposition. The Nobel Prize node was split into five nodes. The original node and a new node for each quadrant

Figure 6

Table 1 The evaluated data sets

Figure 7

Table 2 Sizes and diameters of the spatial computers

Figure 8

Table 3 Reduction of distances to linked nodes in a one-dimensional (1D), two-dimensional (2D) and three-dimensional (3D) Spatially Aware Graph Stores by the Mid Point and Local Node Optimization

Figure 9

Figure 7 The DBpedia data set stored in a two-dimensional (2D) and three-dimensional spatially aware graph store. (a) 2D: edge density before optimization. (b) edge density map of query DBpediaQ1 before optimization. (c) 3D: edge density after optimization

Figure 10

Table 4 Reduction of distances to linked nodes in one-dimensional (1D), two-dimensional (2D) and three-dimensional (3D) Spatially Aware Graph Store by the Local Node Optimization and Large Node Decomposition

Figure 11

Figure 8 The development of the sum of all distances for the gnutella25 data set in a three-dimensional Spatially Aware Graph Store. The result converges to a minimum

Figure 12

Table 5 Reduction of distances to linked nodes for queries executed in two-dimensional and three-dimensional Spatially Aware Graph Stores

Figure 13

Figure 9 Results of web-Google data set. (a) Edge Density Map after optimization. (b) Edge Length Histogram. (c) Node Degree Distribution

Figure 14

Figure 10 Results of gnutella25 data set. (a) Edge Density Map after Optimization. (b) Edge Length Histogram. (c) Node Degree Distribution

Figure 15

Figure 11 Results of Yago2s data set. (a) Edge Density Map after optimization. (b) Edge Length Histogram. (c) Node Degree Distribution

Figure 16

Figure 12 Results of DBpedia data set. (a) Edge Density Map after optimization. (b) Edge Length Histogram. (c) Node Degree Distribution

Figure 17

Figure 13 Yago2s query evaluation results. (a) YagoQ1: Edge Density Map after optimization. (b) YagoQ1: Edge Length Histogram. (c) YagoQ2: Edge Density Map after optimization. (d) YagoQ2: Edge Length Histogram

Figure 18

Table 6 Simulation times of all methods in one-dimensional, two-dimensional and three-dimensional Spatially Aware Graph Stores

Figure 19

Figure 14 DBpedia query evaluation results. (a) DBpediaQ1: Edge Density Map after optimization. (b) DBpediaQ1: Edge Length Histogram. (c) DBpediaQ2: Edge Density Map after optimization. (d) DBpediaQ2: Edge Length Histogram

Supplementary material: File

Pacher Supplementary Material 1

Pacher Supplementary Material 1

Download Pacher Supplementary Material 1(File)
File 7.8 MB
Supplementary material: File

Pacher Supplementary Material 2

Pacher Supplementary Material 2

Download Pacher Supplementary Material 2(File)
File 7.5 MB