## Abstract

The size and complexity of actual networked systems hinders the access to a global knowledge of their structure. This fact pushes the problem of navigation to suboptimal solutions, one of them being the extraction of a coherent map of the topology on which navigation takes place. In this paper, we present a Markov chain based algorithm to tag networked terms according only to their topological features. The resulting tagging is used to compute similarity between terms, providing a map of the networked information. This map supports local-based navigation techniques driven by similarity. We compare the efficiency of the resulting paths according to their length compared to that of the shortest path. Additionally we claim that the path steps towards the destination are semantically coherent. To illustrate the algorithm performance we provide some results from the Simple English Wikipedia, which amounts to several thousand of pages. The simplest greedy strategy yields over an 80% of average success rate. Furthermore, the resulting content-coherent paths most often have a cost between one- and threefold compared to shortest-path lengths.

**Citation: **Capitán JA, Borge-Holthoefer J, Gómez S, Martinez-Romo J, Araujo L, et al. (2012) Local-Based Semantic Navigation on a Networked Representation of Information. PLoS ONE 7(8):
e43694.
doi:10.1371/journal.pone.0043694

**Editor: **Matjaž Perc,
University of Maribor, Slovenia

**Received:** June 11, 2012; **Accepted:** July 23, 2012; **Published:** August 24, 2012

**Copyright:** © Capitán et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Funding: **The authors acknowledge financial support through Grant No. FIS2008-01240, FIS2009-13364-C02-01, Holopedia (Grant No. TIN2010-21128-C02-01), MOSAICO (Grant No. FIS2006-01485), PRODIEVO (Grant No. FIS2011-22449), and Complexity-NET RESINEE, all of them from Ministerio de Educacion y Ciencia in Spain, as well as support from Research Networks MODELICO-CM (Grant No. S2009/ESP-1691) and MA2VICMR (Grant No. S2009/TIC-1542) from Comunidad de Madrid, and Network 2009-SGR-838 from Generalitat de Catalunya. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests:** The authors hereby declare that SG is a PLoS ONE Editorial Board member, but this fact does not alter the authors’ adherence to all the PLoS ONE policies on sharing data and materials.

### Introduction

Efficient network navigation is a challenging puzzle that has many sides to it. From a practical point of view, successful navigation is important for example in human mobility [1], [2] or social networks [3], but also on the Internet, regarding content-sharing applications and search engines [4], or packet routing at the Autonomous Systems level [5]. On more theoretical grounds it has inspired research on *navigability*, or the minimum features a structure must exhibit to guarantee efficient navigation on it [6], [7]. It also poses an algorithmic problem which reduces to the design of heuristics handling a certain amount of knowledge about the underlying topology. The problem even exhibits a sociopsychological dimension, as the seminal work by Milgram [8], [9] illustrates. Of course, the situation in which the nodes of a network have at hand a coherent view of the global topology trivially renders optimal navigation –the target can *always* be achieved with the *smallest* amount of hops. But most often this is not the case. Any other scenario will yield a suboptimal outcome, depending on the ability of the heuristics and the quality of the map.

A map is a more or less cogent representation retaining information from the network on which navigation takes place. Many works in the literature focus on algorithmic design, assuming that some kind of map –“a reference frame”– is already available to the navigator. Then, knowing that “I must move eastwards” entails I have a notion of where the East lies [1]. In a different fashion, knowing that I should move to a better connected street (autonomous system, airport, etc.) entails that I have a certain notion of the topology around me [10], [11]. The success of Milgram’s letter-passing experiment relies on a mixture of the previous two cases –a cognitive ability encoding both spatial representation and the knowledge of the agent’s surrounding social network. On the other hand, only a few works approach navigation facing the problem of building a map from scratch. The work by Boguñá and collaborators relies on different geometric embeddings from which hidden space metrics emerge and allow for greedy, decentralized navigation [2], [5]. Similarly, Erola *et al.* [12], [13] capitalize on the properties of Singular Value Decomposition to obtain a multidimensional projection of a connectivity matrix [14], which can ultimately be used as a guiding map.

**Figure 1. Success ratio (upper pannel) and length ratio (lower panel) of semantic paths reaching the destination as a function of the weighting scheme .**

In this work we confront the building of a map in a different manner. We rely on the intuition that the way to attain a reliable representation of a structure is to (randomly) walk it. Random walks have been largely exploited in the complex network literature as a fundamental dynamic process [15] which has proved useful to tackle the issue of community detection [16], [17] or as a way to approach search and transport problems [18], to mention just a few. Our proposal amounts to exploring the network using random walks, and compares pairs of nodes according to their relative view of the whole network according to the paths emerging from the diffusion of walkers. The algorithm performing such a task is called Random Inheritance Model (RIM) [19]. RIM stems out of the family of “spreading activation” algorithms which were put forward in the field of Cognitive Science as early as the 1960 s [20]–[22]. “Spreading activation” may well be seen as the mechanism upon which semantics emerge, thus RIM –or, in general, the random dynamics behind it– can be regarded as a general tool to extract a detailed “reference frame” for navigators. The key idea is that nodes that *observe* the same perspective of the rest of the network are *similar* to each other. In the case of words we show that this similarity indicates that they are semantically related.

The use of RIM to obtain an efficiently navigable map depends on having an underlying networked structure. Because the map is, furthermore, semantically sound, the easiest way to evidence it is to work on a network involving language. A statistically robust way to obtain a network of words is to build a co-occurrence graph from text sources, see for example Ref. [23]. However, we construct the semantic similarity map obtained from the complete Simple English Wikipedia (SEW from now on), which can be naturally modeled as a network and contains over 50,000 pages. After building up the semantically sensitive map, we show its potential proposing a local-based semantic navigation. Semantic paths between pairs of words are obtained according to a Milgram-like navigation: given an accurate map, the navigator just needs to check who, in its own neighborhood, has a greater similarity to the target, and move accordingly. To evaluate this navigation we compare the efficiency of the resulting paths according to their length compared to that of the shortest path. Secondarily, we illustrate with examples the semantic coherence in the path steps towards the destination. Imagine, for example, that we want to find a path between two pages of SEW such as Norway Iowa and Yuri Gagarin. The shortest-length path (which implies global information of the connectivity) from source to target is: Norway Iowa United States January 1 March 27 Yuri Gagarin. Note that the resulting path is pretty uninformative by itself. However, our approach produces Norway Iowa United States History of the United States Moon Astronaut Yuri Gagarin, a path comprising local information only. In the latter navigation we learn that Yuri Gagarin was an astronaut, and that the US were involved in the space race to achieve the first human-trip to the Moon.

**Figure 2. Proportion of successful paths, navigation attempts which reach the target as a function of their length cost compared to shortest paths .**

Our results, which are –as stated above– suboptimal, are comparable to shortest paths and suggest the use of this navigation technique to complement search in Web browsers, recommendation systems, and information discovery.

### Methods

#### Building Up the Similarity Map

Given a networked representation of information, our aim in this work is to derive a map that permits a coherent exploration of the network through local navigation on it. To this end, we will extract similarity relationships between nodes from the track of a dynamical process displayed over the network. Recent works have pointed out the ability of random walkers to explore the topological structure of networks [15], [24], [25], and its relation with cognitive abilities [26]. In addition, random walkers can serve as a convenient tool to unveil categorical relationships out of the network. This is due to the fact that random walkers are the simplest dynamical processes capable of revealing local neighborhoods of nodes in which walkers get persistently trapped, and these groups are expected to retain significant meta-similitude relationships. This fact, together with an inheritance mechanism aimed to reinforce the similarities within local vicinities of nodes, constitute the basis of the Random Inheritance Model [19].

**Figure 3. Success ratio of semantic paths reaching the destination (upper panel), and length ratio compared (lower panel) as a function of target’s accessibility represented by its in-degree .**

RIM proceeds as follows. First, every node in the network is tagged with an initial, -dimensional feature vector , being the size (number of nodes) of the network. This vector is initially chosen such that its -th entry is equal to one and the remaining entries are zero, i.e., vectors are orthogonal in the canonical basis to avoid any initial bias. The second step consists in launching random walks of a fixed length from every node in the network. The inheritance mechanism modifies features depending on the exploration of the network performed by the walker. Let be the set of nodes visited by a walker starting from . Then the new feature vector is computed by averaging the feature vectors over the set of visited nodes,(1)

**Table 1. Comparison between semantic navigation and shortest path for a sample of source and target pairs of words.**

This way nodes ‘inherit’ the features of all nodes visited along the path. Note that final values are computed after completion of the inheritance for every node (synchronous update of the feature vectors). Finally a map, under the form of a similarity matrix , is obtained. This matrix contains weighted values for each pair of nodes, which result from projecting all pairs of updated vectors (cosine similarity),(2)

where stands for the Euclidean dot product and is its associated norm.

**Figure 4. Similarity to target (Thermodynamic_State) vs. similarity to source (Seminar).**

Semantic navigation (red trajectory) behaves similarly to shortest path (green trajectory): there are only two degenerated shortest paths and one of them coincides with the semantic path. This example shows that semantic navigation efficiency can be optimal in some cases, because the number of jumps equals to that of shortest path navigation. Conversely, shortest paths sometimes can (accidentally) yield coherent paths in terms of meaning. The remaining similarity pairs with the rest of the network are depicted as a scatter plot.

doi:10.1371/journal.pone.0043694.g004The similarity matrix can be calculated in terms of the transition probability matrix of the random walk used to explore the network. The -th row of matrix specifies the probability for the walker to jump from to any of its neighbors . If the underlying network is weighted, setting up the transition probability matrix amounts to normalizing the weights so that the out-strength of any node (i.e., the sum of weights for all directed links connecting with its neighbors) is equal to 1. If the network is unweighted, all connections of any node are equally relevant. In this case, a common proposal in the field of complex networks amounts to weighting links according to the importance (in terms of degree) of the nodes they connect [27]. For undirected networks, normalized weights take the form(3)

being the degree of node , the set of ‘s neighbors, and a tuning parameter to give more or less importance to the local connectivity of nodes. We refer the reader to the following subsection for details on how these ideas can be extended to set up the weights of directed networks like SEW. Note that the normalizing factor in the denominator transforms the matrix of weights into a stochastic matrix , which in turn allows us to describe the algorithm in terms of a Markov chain.

**Figure 5. Similarity to target (Carlsberg) vs. similarity to source (Sega_Game_Gear).**

In this example, our semantic path (red) is comprised by jumps whereas shortest paths (green) involve steps (-fold degenerated). However, a slight efficiency loss can be compensated by a truly coherent path. Observe how the shortest path decreases its similarity to the target at some intermediate points. At these points, shortest paths navigate through hubs (like September_7 or 1999) which exhibit shallow similarities with source and target, but help to reach the target in a small number of steps. The remaining similarity pairs with the rest of nodes are depicted as a scatter plot.

doi:10.1371/journal.pone.0043694.g005The entry of the -th power of has a very important meaning for our purposes. It stands for the probability of hitting node , starting from , in exactly steps. In practice, this means that if we perform random walks of length , after averaging over many realizations the frequency of visiting node (starting from ) will be . According to Eq. (1), the inheritance process yields, in this scenario, feature vectors that are simply the rows of the matrix(4)

Similarity between nodes is calculated as the cosine [cf. Eq. (2)] of the angle between each pair of row vectors of matrix . Thus, the similarity matrix is now ready to be used for navigational purposes over the original network.

**Figure 6. (a) Probability density of similarities between consecutive nodes along all semantic (black circles) and shortest paths (red squares).**

Semantic paths exhibit a peak around , whereas the mode of the distribution for shortest paths is peaked around . This fact shows that similarity between consecutive jumps from source to target along semantic paths is smooth, whereas similarity can change abruptly along shortest paths. (b) Cumulative probability of similarities between consecutive nodes. Note that the distribution for semantic paths lays below the shortest paths’ one. Dotted lines mark the and probability levels.

doi:10.1371/journal.pone.0043694.g006The question remains, however, as to how many steps of the random walk should we take, i.e., which should be the value of . To solve this point, it is important to remind that the random exploration process is triggered to collect information about the underlying topology. The walker should have at least the chance to visit the whole network. This implies, in practice, that the process is able to connect the two furthest nodes in the network, i.e. must be greater or equal to the diameter of the network. This diameter scales, in the case of scale-free complex networks as [7]. In our case-study network, the Simple English Wikipedia, results for RIM are obtained using according to the observed diameter of the network.

RIM fits naturally in the family of path-based similarity measures [28–4]. The distinctive feature of RIM is that two nodes are similar if random walkers departing from them behave similarly. The information of the navigation process is stored in vectors, whose projections give a similarity measure between nodes.

**Table 2. Word-pair semantic similarity measurement.**

**Table 3. Pearson’s correlation coefficients between similarity ratings and the average ratings reported by Miller and Charles [43] for the subset of pairs listed in Table 2.**

#### A Networked View of the Simple English Wikipedia

Our algorithm for navigation is a general-purpose method, as long as data can be modeled as a network, nodes representing meaningful entities (words, expressions, etc.) and links standing for content-related relationships (“is-a”, “is-part-of”, etc.). A perfect example of these generality can be found in Wikipedia, where links between articles stand for many types of relationships. For instance, the Wiki entry for Andréy Markov in the English Wikipedia has links to Russia (place of birth), Mathematics (the most general framework of his contributions), many people he interacted with, etc. For this reason we have chosen the complete Simple English Wikipedia (SEW) to test our proposal. In practice, we build the SEW network by linking a pair of nodes if –an entry in SEW– contains an internal link to .

The SEW database presented here corresponds to the dump of March 27, 2011. We only consider meaningful internal links, i.e., we filter out redirects and disregard any external links. Links to other Wikipedia resources –images, edition information, etc.– are disregarded as well [35]. After that pre-processing, the resulting network is formed by 68,558 articles (nodes), but not all of them are accessible, i.e., there exists a minority of articles which point to other nodes but are never pointed at. Given that our measures will be systematically compared to shortest paths, we ensure the existence of such paths by extracting the strongly connected giant component, which comprises 54,526 nodes and 2,313,665 directed links.

Pages in SEW have an average number of out-going connections , which means that the network is very sparse. In fact, the density of out-going connections is four orders of magnitude smaller than the linkage density expected for a fully connected network without self-loops and with the same number of nodes. This topology exhibits a rich local structure, with a clustering coefficient , and despite its large size the average shortest path length is . The most distant articles in SEW lie at a distance of only (diameter). In conclusion, SEW fits properly in the well-known concept of “small-world” network [36]. Furthermore, it exhibits a long-tailed in-degree distribution, which implies the existence of hubs –nodes which are richly connected [37].

Links in this networked view of SEW are unweighted. However, RIM demands that link strengths must be normalized. Given this situation, one may define the transition probability matrix as for all (i.e., for all of its neighbors), being the number of hyperlinks that a SEW document contains (its out-degree). However, this implies that a random walker will move from a node to any of its neighbors with equal probability, which is at odds with the evidence that not every piece of information is equally important. We use here the approach presented in Eq. (3) that can be easily extended to directed networks,(5)

where is the number of Wikipedia articles pointing at article (its in-degree). Note that this framework generalizes the simplest scheme (uniform transition probabilities), which is recovered in the case . In the case of , the walker will prefer visiting nodes of large degree. Negative values of will bias the random walker towards nodes with lower connectivity.

The kind of biased random walks that we use in this contribution can be regarded as a local approximation of optimal random walks [38]. Maximal-entropy rate random walkers are defined by transition probabilities such that the walkers are maximally dispersing in the graph, exploring every possible path with equal probability. On correlated networks, maximal-entropy random walks can be obtained by considering a random walk whose motion is biased as a power of the target node degree, as in our case. Therefore the choice of biased random walkers ensures an efficient exploration of the network. A similar (and complementary) approach to the one followed here would consider biased walks as unbiased ones on weighted graphs, where dynamical flows are embedded into link weights [39].

### Results

We have implemented and tested our approach on the SEW data. The analysis we have developed tries to reveal the validity of the approach to complement any web search engine, recommendation system or information discovery technique. We restrict ourselves to make use only of local information on the similarity map. Although our method is completely general, we will focus on the semantic aspects of navigation over networks since our case-study dataset involves language. The advantages of having a semantically-coherent path of words become apparent in the design of efficient recommendation systems, web tagging methods and information retrieval algorithms.

#### Navigation

The navigation method we propose is strictly guided by the underlying map of similarity relationships obtained from RIM. The defining aspects of the navigation algorithm are its being deterministic, using a greedy strategy and being self-avoiding. It is deterministic in the sense that the navigation process will either reach its target or it will fail. When the process gets stuck, that navigation trial aborts. Greediness means that the algorithm always seeks the best option to jump to, i.e. starting from the source node, the search process jumps to the node in its neighborhood with highest similarity to the target. Note that the algorithm yields a non-monotonic approach to the target, because it is possible that the next-hop node has a lower similarity to the target than the current one. Self-avoidance helps the process not to get trapped into endless cycles.

A suitable semantically-sensitive path must reach a compromise between the richness of the information it provides and the length cost it represents. Too long semantic paths become inefficient. Moreover, a local-based algorithm, i.e., one that relies only in information from its nearest neighbors, may fail to accomplish every possible path in a network.

Given these constraints, we present in the first place results concerning success and cost, regardless of content. The success rate is defined simply as the fraction of successful chains (paths that reach the target web page). The path cost is defined as , where is the length of the path from the source to the target obtained with the heuristic local semantic navigation; and is the length of the path from the source to the target obtained using the shortest path (global information). On the SEW network, we selected 100 articles as targets and attempted to construct paths between any possible source and these targets. This means that over paths have been attempted. For the sake of completeness, the choice of target nodes has not been made at random. On the contrary, we have measured for each node in the network a centrality value (the *coreness* or *-core* of each node [40]), which classifies nodes as belonging to different levels or shells, from the core to the periphery of the network. Examining this quantity enables us to choose heterogeneous target nodes which belong to distinctly connected parts of the topology. Since the -core is positively related to degree, choosing nodes with a wide range of -core ensures that they also exhibit heterogeneous total degree . Targets have been chosen so as to guarantee the presence of both peripheral and core shells. Admittedly, other than this topological classification, targets have been chosen arbitrarily.

Figure 1 depicts, for different weighting schemes (i.e. as a function of ), both the global average success rate (upper panel) and global average cost (lower panel). Remarkably, yields optimal results regarding both concepts, with over an of success rate and average . Given the simplicity of our navigation heuristics, our success rate should be compared to that of Milgram’s experiment [9] and the routing proposed by Boguña et al. [2], who reached success rates of around and , respectively. It is worth mentioning that optimal results are obtained for . We interpret this as the fact that systematically favoring hubs () diminishes the capacity of random walkers to explore local neighborhoods of sparsely connected nodes, thus semantic relations can not reflect the rich modular structure of the network. A negative , instead, forces the diffusive dynamics to remain trapped for some time in these semantically rich substructures.

Admittedly, the retrieval of content-sensitive chains seems to have a downside: the average cost of semantic paths triples that of shortest paths. Nonetheless, it is worth noticing results in Figure 2. In the figure we show, for different weighting schemes and within successful source-target navigations, the proportion of paths at cost 1, 2 and so on. Note the logarithmic scale in the axis. Significantly, for the optimal case (in black circles), over a 75% of successful chains have , the global average being increased due to a minority of chains with large cost.

We now turn to which targets (out of the 100 preselected) exhibit better behavior when it comes to navigating towards them. As expected, Wikipedia articles with high accessibility (large ) are reachable from almost anywhere in the network. Figure 3 illustrates this conclusion very clearly, both regarding success rate (upper panel) and cost (lower panel): nodes with have perfect behavior (100% success, ), with few exceptions. This is true both for the optimal weighting scheme (black circles) and for the unweighted case (red squares).

Table 1 samples some chains to compare performance between shortest and similarity paths. For each pair of SEW pages, we first list the path following our proposed heuristics, then the shortest path. By visual inspection we observe that shortest paths frequently yield conceptual gaps between contiguous words, whereas our heuristic path provides a smooth trajectory in the semantic space, jumping between concepts whose semantic similarity is apparent.

Figures 4 and 5 try to picture the navigational paths displayed by both methods. The first figure (Thermodynamic_State Seminar) is an example of optimal efficiency of our heuristic navigation, since . Additionally, successive steps in the semantic path have closer similarities to the target word than shortest-path steps. The second figure (Carlsberg Sega_Game_Gear) illustrates how a suboptimal heuristic navigation attempt () is compensated by a coherent path in terms of meaning. At some point, shortest paths move to a “semantically unrelated” node which acts as a hub, providing an efficient –though semantically poor– shortcut towards the target.

In order to provide a quantitative measure of the degree of smoothness that Table 1 and Figures 4 and 5 show, we have calculated the histogram of similarities between all pairs of consecutive words along paths and compared it with the same histogram for shortest paths. Results are shown in Figure 6. We have used semantic paths between pairs of our preselected words from a subset of paths (notice that not every navigation attempt is able to reach the target) to obtain the corresponding histogram. On the other hand, there are up to shortest paths for the same set of preselected pairs, because most of them are strongly degenerated (average degeneracy is ). The probability distributions depicted in Figure 6a exhibit global maxima at similarities around (shortest paths) and around (semantic paths). This confirms quantitatively that similarities along semantic paths are smoother than for shortest paths, in accordance with the abrupt changes observed in the samples shown in Table 1 and Figures 4 and 5. The maxima of semantic paths does not occur, however, at similarities close to . Note that the similarity between consecutive nodes should not necessarily be monotonically increasing, since navigation chooses the most similar neighbor *to the target* from the set of available ones, i.e., those not yet visited.

More formally, the cumulative distribution of the similarity jumps in heuristic paths is systematically smaller than that of shortest paths (see Figure 6b). This means that consecutive nodes in heuristic paths are “statistically more similar” than those of shortest paths –according to the well-known criterion of first-order statistical dominance [41].

#### Performance of the Similarity Measure

We finally assess the semantic validity of the similarity map by comparing our similarity measure with a benchmark in Natural Language Processing. Jiang and Conrath [42] proposed a similarity measure which was successfully confronted to a set of words whose similarity, in its turn, was previously assessed by human judgment by Miller and Charles [43]. Human similarity ratings were tabulated for a set of 30 noun pairs, and later Jiang and Conrath used that set of pairs to validate their similarity measure. Note that this comparison is unfavorable to highlight our performance in several ways: i) Jiang and Conrath similarity measure is based on the taxonomy provided by WordNet [44], hence such a measure already incorporates human knowledge in its definition, whereas our source of information is purely topological and no taxonomies are predefined, ii) the structure of WordNet is not even similar to the connectivity in SEW, and iii) the number of words in WordNet is approximately 20,000 words larger than SEW. Even in this hard scenario, our approach shows to be competitive in semantic content. In Table 2 we present the subset of words in the intersection of SEW and the experiment by Miller and Charles [43], and the corresponding similarity at different values of the parameter in the weight of links (c.f. Eq. (5)). The correlation values between the similarity ratings and the mean human ratings reported by Miller and Charles are listed in Table 3. Note that the correlation obtained is only a 10% lower than that obtained by Jiang and Conrath.

### Discussion

In summary, we have proposed a general and extensive method to construct a locally navigable map based on similarities of networked data. We have adopted a complementary vision of similarity between networked objects that emerges solely from its relative position in a network. We developed the idea that nodes that *see* the network the same way are themselves similar. The process used to explore the network from any node is based on random walkers that keep track of visits to other nodes. The view that every node has of the entire network (i.e., the set of feature vectors) is transformed into a map using the cosine projection. This map is the underlying structure used for local semantic navigation, based on searching for the neighbor that is more similar to the target. Note that although we need global information of the network to build up the similarity map, semantic navigation proceeds locally. Previous works aimed to network exploration have been inspired by similar ideas and are based solely on local information [45].

In terms of efficiency, our algorithm’s bottleneck is the calculation of the similarity matrix [see Eq. (2).] The computation of feature vectors [matrix (4)] is not so demanding provided that the original transition probability matrix is sparse. The computational cost of feature vectors is of order , being the number of links and the number of nodes of the network. The computation of the similarity map involves entries, each one of them being a scalar product, which in its turn increases time complexity by a factor of . Consequently, the overall time complexity of our method is .

For practical purposes, the similarities between nodes can be calculated as navigation proceeds. We simply need to store all the feature vectors and calculate, for node , the cosine of each ‘s neighbor with the target node. For large networks, both algorithms (i.e. the derivation of the map and the navigation procedure) are easily scalable and efficient using linear algebra parallel computations.

We have validated our approach confronting its outcome with human ratings of similarity between words extracted from the original, WordNet-based, reference of Jiang and Conrath [42]. Even in this disadvantageous scenario –WordNet is an annotated taxonomy with explicit semantic relationship coding– our purely topology-based algorithm provides correlations with human semantic judgment comparable to Jiang and Conrath’s similarity measures.

We have tested our algorithm’s performance in terms of path lengths compared to shortest-path lengths. The results are encouraging and the semantic smoothness of the paths, remarkable. The similarity map proposed in this paper can be readily employed to support many semantic and social web applications, such as tagging and recommendation. Another straightforward application of the local semantic navigation proposed here is to enrich web search and navigation for knowledge exploration. Finally, it is our guess that users would be more effective in performing an exploration or learning task by following semantically-coherent paths instead of shortest-length paths.

### Author Contributions

Conceived and designed the experiments: J. A. Capitan JBH SG JMR LA J. A. Cuesta AA. Performed the experiments: J. A. Capitan JBH SG. Analyzed the data: J. A. Capitan JBH SG JMR LA J. A. Cuesta AA. Wrote the paper: J. A. Capitan JBH AA.

### References

- 1. Lee SH, Holme P (2012) Exploring maps with greedy navigators. Phys Rev Lett 108: 128701. doi: 10.1103/physrevlett.108.128701
- 2. Boguñá M, Krioukov D, Claffy KC (2009) Navigability of complex networks. Nat Phys 5: 74–80. doi: 10.1038/nphys1130
- 3. Watts DJ, Dodds PS, Newman MEJ (2002) Identity and search in social networks. Science 296: 1302–1305. doi: 10.1126/science.1070120
- 4.
Kleinberg J (2006) Complex networks and decentralized search algorithms. In: Proc. Int. Conf. Mat. 1019–1044.
- 5. Boguñá M, Papadopoulos F, Krioukov D (2009) Sustaining the internet with hyperbolic mapping. Nat Commun 1: 62. doi: 10.1038/ncomms1063
- 6.
Kleinberg J (2000) The small-world phenomenon: An algorithmic perspective. In: Proc. 32nd ACM Symp. Theory Comput. ACM, 163–170.
- 7. Boccaletti S, Latora V, Moreno Y, Chavez M, Hwang D (2006) Complex networks: structure and dynamics. Phys Rep 424: 175–308. doi: 10.1016/j.physrep.2005.10.009
- 8.
Milgram S (1967) The small world problem. Psychol Today 2.
- 9. Travers J, Milgram S (1969) An experimental study of the small world problem. Sociometry 32: 425–443. doi: 10.2307/2786545
- 10. Adamic L, Lukose R, Puniyani A, Huberman B (2001) Search in power-law networks. Phys Rev E 64: 046135. doi: 10.1103/physreve.64.046135
- 11. Lee S, Yook SH, Kim Y (2009) Searching method through biased random walks on complex networks. Phys Rev E 80: 017102. doi: 10.1103/physreve.80.017102
- 12. Erola P, Gómez S, Arenas A (2011) Structural navigability on complex networks. Int J Comp Sys Science 1: 37–41.
- 13.
Erola P, Borge-Holthoefer J, Gómez S, Arenas A (2012) Reliability of optimal linear projection of growing scale-free network. Int J of Bifurcat Chaos (in press).
- 14. Arenas A, Borge-Holthoefer J, Gómez S, Zamora-Lopez G (2010) Optimal map of the modular structure of complex networks. New J Phys 12: 053009. doi: 10.1088/1367-2630/12/5/053009
- 15. Noh JD, Rieger H (2004) Random walks on complex networks. Phys Rev Lett 92: 118701. doi: 10.1103/physrevlett.92.118701
- 16. Pons P, Latapy M (2005) Computing communities in large networks using random walks. Lect Notes Comput Sci 3733: 284. doi: 10.1007/11569596_31
- 17. Rosvall M, Bergstrom C (2008) Maps of random walks on complex networks reveal community structure. Proc Natl Acad Sci USA 105: 1118. doi: 10.1073/pnas.0706851105
- 18. Guimerá R, Díaz-Guilera A, Vega-Redondo F, Cabrales A, Arenas A (2002) Optimal network topologies for local search with congestion. Phys Rev Lett 89: 248701. doi: 10.1103/physrevlett.89.248701
- 19. Borge-Holthoefer J, Arenas A (2010) Categorizing words through semantic memory navigation. Eur Phys J B 74: 265. doi: 10.1140/epjb/e2010-00058-9
- 20. Collins AM, Quillian MR (1969) Retrieval time from semantic memory. J Verbal Learn Verbal Beh 8: 240–247. doi: 10.1016/s0022-5371(69)80069-1
- 21. Collins A, Loftus E (1975) A spreading activation theory of semantic memory. Psychol Rev 82: 407–428. doi: 10.1037//0033-295x.82.6.407
- 22. Quillian M (1967) Word concepts: A theory and simulation of some basic semantic capabilities. Behav Sci 12: 410–430. doi: 10.1002/bs.3830120511
- 23. Martínez-Romo J, Araujo L, Borge-Holthoefer J, Arenas A, Capitán JA, et al. (2011) Disentangling categorical relationships through a graph of co-occurrences. Phys Rev E 84: 046108. doi: 10.1103/physreve.84.046108
- 24. Costa L, Travieso G (2007) Exploring complex networks through random walks. Phys Rev E 75: 16102. doi: 10.1103/physreve.75.016102
- 25. Yang SJ (2005) Exploring complex networks by walking on them. Phys Rev E 71: 16107. doi: 10.1103/physreve.71.016107
- 26. Borge-Holthoefer J, Arenas A (2010) Semantic Networks: Structure and Dynamics. Entropy 12: 1264–1302. doi: 10.3390/e12051264
- 27. Barrat A, Barthélemy M, Pastor-Satorras R, Vespignani A (2004) The architecture of complex weighted networks. Proc Natl Acad Sci USA 101: 3747–3752. doi: 10.1073/pnas.0400087101
- 28. Jaccard P (1901) Distribution de la flore alpine dans le bassin des dranses et dans quelques régions voisines. Bulletin de la Société Vaudoise des Sciences Naturelles 37: 241–272.
- 29.
Ravasz E, Somera A, Mongru D, Oltvai Z, Barabási A (2002). Hierarchical organization of modularity in metabolic networks.
- 30.
Salton G, McGill M (1983) Introduction to modern information retrieval. McGraw-Hill, Auckland.
- 31.
Salton G (1989) Automatic text processing: the Transformation, Analysis and Retrieval of Information by Computer. Addison-Wesley, Reading, MA.
- 32. Leicht EA, Holme P, Newman MEJ (2006) Vertex similarity in networks. Phys Rev E 73: 026120. doi: 10.1103/physreve.73.026120
- 33. Blondel V, Gajardo A, Heymans M, Senellart P, Van Dooren P (2004) A measure of similarity between graph vertices: Applications to synonym extraction and web searching. SIAM Rev 46: 647–666. doi: 10.1137/s0036144502415960
- 34.
Jeh G, Widom J (2002) Simrank: a measure of structural-context similarity. In: Proc. 8th ACM SIGKDD Int. Conf. Knowl. Disc. Data Mining.
- 35.
http://en.wikipedia.org/wiki/database schema.
- 36. Watts DJ, Strogatz SH (1998) Collective dynamics of ‘small-world’ networks. Nature 393: 440. doi: 10.1038/30918
- 37. Barabási AL, Albert R (1999) Emergence of scaling in random networks. Science 286: 509. doi: 10.1126/science.286.5439.509
- 38. Sinatra R, Gómez-Gardenes J, Lambiotte R, Nicosia V, Latora V (2011) Optimal random walks in complex networks with limited information. Phys Rev E 83: 030103 (R).. doi: 10.1103/physreve.83.030103
- 39. Lambiotte R, Sinatra R, Delvenne JC, Evans TS, Barahona M, et al. (2011) Flow graphs: Interweaving dynamics and structure. Phys Rev E 84: 017102. doi: 10.1103/physreve.84.017102
- 40. Alvarez-Hamelin J, Dall Asta L, Barrat A, Vespignani A (2006) Large scale networks fingerprinting and visualization using the k-core decomposition. Adv Neural Inf Process Syst 18: 41.
- 41. Atkinson AB (1970) On the measurement of inequality. J Econ Theor 2: 244–263. doi: 10.1016/0022-0531(70)90039-6
- 42.
Jiang J, Conrath D (1997) Semantic similarity based on corpus statistics and lexical taxonomy. In: Proc. Intl. Conf. Res. Comput. Linguist. 19–33.
- 43. Miller GA, Charles WG (1991) Contextual correlates of semantic similarity. Lang Cogn Process 6: 1–28. doi: 10.1080/01690969108406936
- 44. Miller GA, Beckwith R, Fellbaum C, Gross D, Miller KJ (1990) Introduction to wordnet: an on-line lexical database. Int J Lexico 3: 235–244. doi: 10.1093/ijl/3.4.235
- 45.
Holme P (2009) Efficiency of navigation in indexed networks. In: Ganguly N, Mukherjee A, Deutsch A, editors, Dynamics on and of networks, Birkauser, Boston. 189–198.