<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="529"/><title>Random Walk Inference and Learning in A Large Scale Knowledge Base</title><pubinfo>Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing,pages 529-539, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Lao" givenname="Ni"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Mitchell" givenname="Tom"><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author><author surname="Cohen" givenname="William W."><org  name="Carnegie Mellon University" country="USA" city="Pittsburgh"/></author></firstpageheader><frontmatter><p><b>Random Walk Inference and Learning in A Large Scale Knowledge Base</b></p><p><b>Ni Lao</b></p><p>Carnegie Mellon University 5000 Forbes Avenue Pittsburgh, PA 15213</p><p>nlao@cs.cmu.edu</p><p><b>Tom Mitchell</b></p><p>Carnegie Mellon University 5000 Forbes Avenue</p><p>Pittsburgh, PA 15213</p><p><b>William W. Cohen</b></p><p>tom.mitchell@cs.cmu.edu wcohen@cs.cmu.edu</p></frontmatter><abstract>We consider the problem of performing learn­ing and inference in a large scale knowledge base containing imperfect knowledge with incomplete coverage. We show that a soft inference procedure based on a combination of constrained, weighted, random walks through the knowledge base graph can be used to reliably infer new beliefs for the knowledge base. More specifically, we show that the system can learn to infer different target relations by tuning the weights associated with random walks that follow different paths through the graph, using a version of the Path Ranking Algorithm (Lao and Cohen, 2010b). We apply this approach to a knowledge base of approximately 500,000 beliefs extracted imperfectly from the web by NELL, a never-ending language learner (Carlson et al., 2010). This new system improves significantly over NELL's earlier Horn-clause learning and inference method: it obtains nearly double the precision at rank 100, and the new learning method is also applicable to many more inference tasks. </abstract></header><body><section number="1" title="Introduction"><p>Although there is a great deal of recent research on extracting knowledge from text (Agichtein and Gravano, 2000; Etzioni et al., 2005; Snow et al., 2006; Pantel and Pennacchiotti, 2006; Banko et al., 2007; Yates et al., 2007), much less progress has been made on the problem of drawing reliable inferences from this imperfectly extracted knowledge.      In particular,   traditional logical inference methods are too brittle to be used to make complex inferences from automatically-extracted knowledge, and probabilistic inference methods (Richardson and Domingos, 2006) suffer from scalability problems. This paper considers the problem of constructing inference methods that can scale to large knowledge bases (KB's), and that are robust to imperfect knowledge. The KB we consider is a large triple store, which can be represented as a labeled, directed graph in which each entity <i>a </i>is a node, each binary relation <i>R(a, b) </i>is an edge labeled R between <i>a </i>and b, and unary concepts C (a) are represented as an edge labeled "isa" between the node for the entity <i>a </i>and a node for the concept <i>C. </i>We present a trainable inference method that learns to infer relations by combining the results of different random walks through this graph, and show that the method achieves good scaling properties and robust inference in a KB containing over 500,000 triples extracted from the web by the NELL system (Carlson et al., 2010).</p><subsection number="1.1" title="The NELL Case Study"><p>To evaluate our approach experimentally, we study it in the context of the NELL (Never Ending Language Learning) research project, which is an effort to develop a never-ending learning system that operates 24 hours per day, for years, to continuously improve its ability to read (extract structured facts from) the web (Carlson et al., 2010). NELL began operation in January 2010. As of March 2011, NELL had built a knowledge base containing several million candidate beliefs which it had extracted from the web with varying confidence.   Among these,<page local="2" global="530"/></p><p>NELL had fairly high confidence in approximately half a million, which we refer to as NELL's <i>(confident) beliefs. </i>NELL had lower confidence in a few million others, which we refer to as its <i>candidate beliefs.</i></p><p>NELL is given as input an ontology that deines hundreds of categories (e.g., person, beverage, athlete, sport) and two-place typed relations among these categories (e.g., <i>atheletePlaysSport(</i>(athlete), (sport))), which it must learn to extract from the web. It is also provided a set of 10 to 20 positive seed examples of each such category and relation, along with a downloaded collection of 500 million web pages from the ClueWeb2009 corpus (Callan and Hoy, 2009) as unlabeled data, and access to 100,000 queries each day to Google's search engine. Each day, NELL has two tasks: (1) to extract additional beliefs from the web to populate its growing knowledge base (KB) with instances of the categories and relations in its ontology, and (2) to learn to perform task 1 better today than it could yesterday. We can measure its learning competence by allowing it to consider the same text documents today as it did yesterday, and recording whether it extracts more beliefs, more accurately today.<footnote anchor="1"/></p><p>NELL uses a large-scale semi-supervised multi­task learning algorithm that couples the training of over 1500 different classiiers and extraction methods (see (Carlson et al., 2010)). Although many of the details of NELL's learning method are not central to this paper, two points should be noted. First, NELL is a multistrategy learning system, with components that learn from different "views" of the data (Blum and Mitchell, 1998): for instance, one view uses orthographic features of a potential entity name (like "contains capitalized words"), and another uses free-text contexts in which the noun phrase is found (e.g., "X frequently follows the bigram 'mayor of' "). Second, NELL is a bootstrapping system, which self-trains on its growing collection of conident beliefs.</p></subsection><subsection number="1.2" title="Knowledge Base Inference: Horn Clauses"><p>Although NELL has now grown a sizable knowl­edge base, its ability to perform inference over this</p><footnote label="1">NELL's current KB is available online at http://rtw.ml.cmu.edu .</footnote><p>AthletePlays TeamPlays <i><u>(HinesWe</u></i><i><u>r</u></i><i><u>d</u>)</i><i></i>ForTeam<i>»<u>(3^^</u></i>hLeagUe<i>*<u>Ç</u></i><i><u>NL^)</u></i></p><p>TeamPlays^*--'''^ AthletePlays InLeagUe''^</p><p><i><u>(E</u></i><i><u>H </u></i><i><u>Manning</u>)—</i>ForTeam<i>&gt;</i><i>(Gient</i><i>^T</i><i>el</i><i>mP</i><i>X</i><i>ii</i><i>y^^J</i><i>MLB.^)</i></p><p>InLeagUe</p><figure caption="Figure 1: An example subgraph."></figure><p>knowledge base is currently very limited. At present its only inference method beyond simple inheritance involves applying first order Horn clause rules to infer new beliefs from current beliefs. For example, it may use a Horn clause such as</p><p><i>AthletePlaysForTeam(a, </i><i>b)</i><i> </i>(1) A   <i>TeamPlaysInLeague(b, </i><i>c)</i><i> </i>== <i>AthletePlaysInLeague(a,c)</i> to infer that <i>AthletePlaysInLeague(HinesWard,NFL), </i>if it has already extracted the beliefs in the preconditions of the rule, with variables <i>a, b </i>and <i>c </i>bound to <i>HinesWard, PittsburghSteelers </i>and <i>NFL </i>respectively as shown in Figure 1. NELL currently has a set of approximately 600 such rules, which it has learned by data mining its knowledge base of beliefs. Each learned rule carries a conditional probability that its conclusion will hold, given that its preconditions are satisied.</p><p>NELL learns these Horn clause rules using a variant of the FOIL algorithm (Quinlan and Cameron-Jones, 1993), henceforth N-FOIL. N-FOIL takes as input a set of positive and negative examples of a rule's consequent (e.g., <i>+AthletePlaysInLeague(HinesWard,NFL), —AthletePlaysInLeague(HinesWard,NBA)), </i>and uses a "separate-and-conquer" strategy to learn a set of Horn clauses that it the data well. Each Horn clause is learned by starting with a general rule and progressively specializing it, so that it still covers many positive examples but covers few negative examples. After a clause is learned, the examples covered by that clause are removed from the training set, and the process repeats until no positive examples remain.</p><p>Learning irst-order Horn clauses is computation­ally expensive—not only is the search space large, but some Horn clauses can be costly to evaluate (Cohen and Page, 1995). N-FOIL uses two tricks to improve its scalability. First, it assumes that the consequent predicate is functional—e.g., that each <i>Athlete </i>plays in at most one <i>League.</i><page local="3" global="531"/><i> </i>This means that explicit negative examples need not be provided (Zelle et al., 1995): e.g., if <i>Ath-letePlaysInLeague(HinesWard,NFL) </i>is a positive example, then <i>AthletePlaysInLeague(HinesWard,c/) </i>for any other value of C is negative. In general, this constraint guides the search algorithm toward Horn clauses that have fewer possible instantiations, and hence are less expensive to match. Second, N-FOIL uses "relational pathfinding" (Richards and Mooney, 1992) to produce general rules—i.e., the starting point for a predicate <i>R </i>is found by looking at positive instances R(a, b) of the consequent, and inding a clause that corresponds to a bounded-length path of binary relations that link <i>a </i>to <i>b. </i>In the example above, a start clause might be the clause (1). As in FOIL, the clause is then (potentially) specialized by greedily adding additional conditions (like <i>ProfessionalAthlete(a)) </i>or by replacing variables with constants (eg, replacing <i>c </i>with <i>NFL).</i></p><p>For each N-FOIL rule, an estimated conditional probability <i>P(conclusion\preconditions) </i>is calcu­lated using a Dirichlet prior according to where <i>N+ </i>is the number of positive instances matched by this rule in the FOIL training data, <i>N_ </i>is the number of negative instances matched, <i>m </i>= 5 and <i>prior </i>= 0.5. As the results below show, N-FOIL generally learns a small number of high-precision inference rules. One important role of these inference rules is that they contribute to the bootstrapping procedure, as inferences made by N-FOIL increase either the number of candidate beliefs, or (if the inference is already a candidate) improve NELL's conidence in candidate beliefs.</p><doubt alpha="35.5" length="31" tooSmall="False" monospace="0.0">P = (N++m * prior)/(N++N_+m)(2)</doubt></subsection><subsection number="1.3" title="Knowledge Base Inference: Graph Random Walks"><p>In this paper, we consider an alternative approach, based on the Path Ranking Algorithm (PRA) of Lao and Cohen (2010b), described in detail below. PRA learns to <i>rank </i>graph nodes <i>b </i>relative to a query node <i>a. </i>PRA begins by enumerating a large set of bounded-length edge-labeled path types, similar to the initial clauses used in NELL's variant of FOIL. These path types are treated as ranking "experts", each performing a random walk through the graph, constrained to follow that sequence of edge types, and ranking nodes <i>b </i>by their weights in the resulting distribution. Finally, PRA combines the weights contributed by different "experts" using logistic regression to predict the probability that the relation <i>R(a, b) </i>is satisfied.</p><p>As an example, consider a path from <i>a </i>to <i>b </i>via the sequence of edge types isa, <i>isa-1 </i>(the inverse of <i>isa), </i>and <i>AthletePlaysInLeague, </i>which corresponds to the Horn clause</p><p><i>isa(a,c) </i><i>A </i><i>isa-1(c,a') </i>(3) A   <i>AthletePlaysInLeague(a', </i><i>b)</i><i> </i>==   <i>AthletePlaysInLeague(a, </i><i>b)</i></p><p>Suppose a random walk starts at a query node <i>a </i>(say <i>a=HinesWard). </i>If <i>HinesWard </i>is linked to the single concept node <i>ProfessionalAthlete </i>via <i>isa, </i>the walk will reach that node with probability 1 after one step. If <i>A </i>is the set of <i>ProfessionalAthlete's </i>in the KB, then after two steps, the walk will have probability 1/\A\ of being at any <i>a' </i>G A. If <i>L </i>is the set of athletic leagues and <i>l </i>G L, let be the set of athletes in league l: after three steps, the walk will have probability |A.g|/|A| of being at any point <i>b </i>G L. In short, the ranking associated with this path gives the prior probability of a value <i>b </i>being an athletic league for <i>a</i>—which is useful as a feature in a combined ranking method, although not by itself a high-precision inference rule.</p><p>Note that the rankings produced by this "expert" will change as the knowledge base evolves—for instance, if the system learns about proportionally more soccer players than hockey players over time, then the league rankings for the path of clause (3) will change. Also, the ranking is speciic to the query node <i>a. </i>For instance, suppose the KB contains facts which reflect the ambiguity of the team name "Giants"<footnote anchor="2"/> as in Figure 1. Then the path for clause (1) above will give lower weight to <i>b </i><i>= </i><i>NFL </i>for <i>a </i><i>= </i><i>EliManning </i>than to <i>b </i><i>= </i><i>NFL </i>for <i>a </i><i>= </i><i>HinesWard.</i></p><p>The main contribution of this paper is to introduce and evaluate PRA as an algorithm for making probabilistic inference in large KBs. Compared to Horn clause inference, the key characteristics of this new inference method are as follows:</p><footnote label="2">San Francisco's Major-League Baseball and New York's National Football League teams are both called the "Giants".</footnote><page local="4" global="532"/><p>• The evidence in support of inferring a relation instance <i>R(a, b) </i>is based on many existing paths between <i>a </i>and <i>b </i>in the current KB, combined using a learned logistic function.</p><p>• The conidence in an inference is sensitive to the current state of the knowledge base, and the speciic entities being queried (since the paths used in the inference have these properties).</p><p>• Experimentally, the inference method yields many more moderately-conident inferences than the Horn clauses learned by N-FOIL.</p><p>• The learning and inference are more eficient than N-FOIL, in part because we can exploit eficient approximation schemes for random walks (Lao and Cohen, 2010a). The resulting inference is as fast as 10 milliseconds per query on average.</p><p>The Path Ranking Algorithm (PRA) we use is similar to that described elsewhere (Lao and Cohen, 2010b), except that to achieve eficient model learning, the paths between <i>a </i>and <i>b </i>are determined by the statistics from a population of training queries rather than enumerated completely. PRA uses random walks to generate relational features on graph data, and combine them with a logistic regression model. Compared to other relational models (e.g. FOIL, Markov Logic Networks), PRA is extremely eficient at link prediction or retrieval tasks, in which we are interested in identifying top links from a large number of candidates, instead of focusing on a particular node pair or joint inferences.</p></subsection><subsection number="1.4" title="Related Work"><p>The TextRunner system (Cafarella et al., 2006) answers list queries on a large knowledge base produced by open domain information extrac­tion. Spreading activation is used to measure the closeness of any node to the query term nodes. This approach is similar to the random walk with restart approach which is used as a baseline in our experiment. The FactRank system (Jain and Pantel, 2010) compares different ways of constructing random walks, and combining them with extraction scores. However, the shortcoming of both approaches is that they ignore edge type information, which is important for achieving high accuracy predictions.</p><p>The HOLMES system (Schoenmackers et al., 2008) derives new assertions using a few manually written inference rules. A Markov network corresponding to the grounding of these rules to the knowledge base is constructed for each query, and then belief propagation is used for inference. In comparison, our proposed approach discovers inference rules automatically from training data.</p><p>Similarly, the Markov Logic Networks (Richard­son and Domingos, 2006) are Markov networks constructed corresponding to the grounding of rules to knowledge bases. In comparison, our proposed approach is much more eficient by avoiding the harder problem of joint inferences and by leveraging eficient random walk schemes (Lao and Cohen, 2010a).</p><p>Below we describe our approach in greater detail, provide experimental evidence of its value for performing inference in NELL s knowledge base, and discuss implications of this work and directions for future research.</p></subsection></section><section number="2" title="Approach"><p>In this section, we irst describe how we formulate link (relation) prediction on a knowledge base as a ranking task. Then we review the Path Ranking Algorithm (PRA) introduced by Lao and Cohen (2010b; 2010a). After that, we describe two improvements to the PRA method to make it more suitable for the task of link prediction in knowledge bases. The irst improvement helps PRA deal with the large number of relations typical of large knowledge bases. The second improvement aims at improving the quality of inference by applying low variance sampling.</p><subsection number="2.1" title="Learning with NELL's Knowledge Base"><p>For each relation <i>R </i>in the knowledge base we train a model for the link prediction task: given a concept <i>a, </i>ind all other concepts <i>b </i>which potentially have the relation <i>R(a,b). </i>This prediction is made based on an existing knowledge base extracted imperfectly from the web. Although a model can potentially beneit from predicting multiple relations jointly, such joint inference is beyond the scope of this work.</p><page local="5" global="533"/><p>To ensure a reasonable number of training instances, we generate labeled training example queries from 48 relations which have more than 100 instances in the knowledge base. We create two tasks for each relation—i.e., predicting <i>b </i>given <i>a </i>and predicting <i>a </i>given <i>b— </i>yielding 96 tasks in all. Each node <i>a </i>which has relation <i>R </i>in the knowledge base with any other node is treated as a training query, the actual nodes <i>b </i>in the knowledge base known to satisfy <i>R(a,b) </i>are treated as labeled positive examples, and any other nodes are treated as negative examples.</p></subsection><subsection number="2.2" title="Path Ranking Algorithm Review"><p>We now review the Path Ranking Algorithm introduced by Lao and Cohen (2010b). A <i>relation path P </i>is deined as a sequence of relations <i>R</i>1 <i>. . . R. </i>, and in order to emphasize the types associated with each step, <i>P </i>can also be written as <i>T</i>, where T <i>range(R</i><i>i)</i> <i>domain(Ri+1)</i>, and we also define <i>domain(P) </i>= T0, <i>range(P</i><i>) </i><i>= Tg.</i><i> </i>In the experiments in this paper, there is only one type of node which we call a <i>concept, </i>which can be connected through different types of relations. In this notation, relations like "the team a certain player plays for", and "the league a certain player s team is in" can be expressed by the paths below (respectively):</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">To</doubt><p><i>AtheletePlayesForTeam</i> <i>TeamPlaysInLeagure</i></p><doubt alpha="65.2" length="23" tooSmall="False" monospace="0.0">P1:   concept-&gt; concept</doubt><doubt alpha="65.2" length="23" tooSmall="False" monospace="0.0">P2:   concept-&gt; concept</doubt><p><i>-</i><i>&gt; concept</i></p><p>For any relation path <i>P </i><i>= </i><i>R</i>1 <i>. . . R. </i>and a seed node <i>s </i>G <i>domain(P), </i>a <i>path constrained random walk </i>defines a distribution <i>hsp </i>recursively as follows. If <i>P </i>is the empty path, then deine <i>1,  </i>if <i>e </i><i>= </i><i>s </i><i>0, </i>otherwise walk with edge type <i>R.</i><i> </i>. <i>R(e', e) </i>indicates whether there exists an edge with type <i>R </i>that connect <i>e' </i>to <i>e.</i></p><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">hs,p(e)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">IfP</doubt><doubt alpha="60.6" length="33" tooSmall="False" monospace="0.0">R1. . . R.is nonempty, then letP'</doubt><p>More generally, given a set of paths <i>P1,...,Pn, </i>one could treat each hS;Pi <i>(e) </i>as a <i>path feature </i>for the node <i>e, </i>and rank nodes by a linear model where <i>9i </i>are appropriate weights for the paths. This gives a ranking of nodes <i>e </i>related to the query node <i>s </i>by the following scoring function where <b>Pg </b>is the set of relation paths with length &lt; l.</p><doubt alpha="42.5" length="40" tooSmall="False" monospace="0.0">0ihS)Pi(e) + Ô2hs,F2(e) + ... 6nhs,pn(e)</doubt><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">score(e; s)</doubt><doubt alpha="56.2" length="16" tooSmall="False" monospace="0.0">^2hs,p(e)6p,PePe</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>Given a relation <i>R </i>and a set of node pairs <i>{(si,ti)</i><i>} </i>for which we know whether <i>R(si,ti) </i>is true or not, we can construct a training dataset <b>D </b><i>= {(xi,yi)}, </i>where <b>xi </b>is a vector of all the path features for the pair <i>(si,ti)</i>—i.e., the <i>j</i>-th component of <b>xi </b>is <i>hSi}Pj (ti), </i>and where <i>yi </i>is a boolean variable indicating whether <i>R(s</i><i>i,</i><i> </i><i>t</i><i>i)</i><i> </i>is true. We then train a logistic function to predict the conditional probability <i>P</i>(y<b>|x; </b><i>9). </i>The parameter vector <i>9 </i>is estimated by maximizing a regularized form of the conditional likelihood of <i>y </i>given <b>x. </b>In particular, we maximize the objective function where <i>A1 </i>controls L1-regularization to help struc­ture selection, and <i>A</i>2 controls <i>L</i>2-regularization to prevent overitting. <i>o</i><i>i</i><i>(9)</i><i> </i>is the per-instance weighted log conditional likelihood given by where <i>P(e^'; Rg) </i><i>= </i><i>R^''^</i><i> </i>is the probability of reaching node <i>e </i>from node <i>e' </i>with a one step random where <i>p</i><i>i </i>is the predicted probability <i>p(y</i><i>i = </i>1<b>|x</b>i; <i>9)</i><i> </i><i>= </i>, and <i>W</i><i>i </i>is an importance weight to each example. A biased sampling procedure selects only a small subset of negative samples to be included in the objective (see (Lao and</p><doubt alpha="28.6" length="28" tooSmall="False" monospace="0.0">O(9)=Y;oi(9)—Ai|9|i —A2|9|2,</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><doubt alpha="44.4" length="36" tooSmall="False" monospace="0.0">oi(9)=Wi[yilnpi+ (1—yi)ln(1—pi)},(8)</doubt><doubt alpha="43.6" length="55" tooSmall="False" monospace="0.0">R1... Rg_1, and definehsp(e)=hs,P&gt;(e') • P(e^'; Rg),(5)</doubt><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">e'erange(P ' )</doubt><p>Cohen, 2010b) for detail).</p></subsection><subsection number="2.3" title="Data-Driven Path Finding"><p>In prior work with PRA, <b>Pg </b>was defined as all relation paths of length at most <i>l. </i>When the number of edge types is small, one can generate <b>Pg </b>by enumeration; however, for domains with a large number of edge types (e.g., a knowledge base), it is impractical to enumerate all possible relation paths even for small <i>l.</i><page local="6" global="534"/><i> </i>For instance, if the number of edge types related to each node type is 100, even the number of length three paths types easily reaches millions. For other domains like parsed natural language sentences, useful relation paths can be as long as ten relations (Minkov and Cohen, 2008). In this case, even with smaller number of possible edge types, the total number of relation paths is still too large for systematic enumeration.</p><table caption="Table 1: Number of paths in PRA models of maximum path length 3 and 4. Averaged over 96 tasks."></table><table caption="Table 2: Comparing PRA with RWR models. MRRs and training times are averaged over 96 tasks."></table><p>In order to apply PRA to these domains, we modify the path generation procedure in PRA to produce only relation paths which are potentially useful for the task. Define a query <i>s </i>to be <i>supporting </i>a path <i>P </i>if <i>hs&gt;P </i><i>(e)</i><i> </i><i>= 0 </i>for any entity e. We require that any path node created during path inding needs to be supported by at least a fraction <i>a </i>of the training queries <i>si, </i>as well as being of length no more than <i>l </i>(In the experiments, we set <i>a </i><i>= 0.01) </i>We also require that in order for a relation path to be included in the PRA model, it must retrieve at least one target entity <i>ti </i>in the training set. As we can see from Table 1, together these two constraints dramatically reduce the number of relation paths that need to be considered, relative to systematically enumerating all possible relation paths. L1 regularization reduces the size of the model even more.</p><p>The idea of inding paths that connects nodes in a graph is not new. It has been embodied previously in irst-order learning systems (Richards and Mooney, 1992) as well as N-FOIL, and relational database searching systems (Bhalotia et al., 2002). These approaches consider a single query during path inding. In comparison, the data-driven path inding method we described here uses statistics from a population of queries, and therefore can potentially determine the importance of a path more reliably.</p></subsection><subsection number="2.4" title="Low-Variance Sampling"><p>Lao and Cohen (2010a) previously showed that sampling techniques like inger printing and particle iltering can signiicantly speedup random walk without sacrificing retrieval quality. However, the sampling procedures can induce a loss of diversity in the particle population. For example, consider a node in the graph with just two out links with equal weights, and suppose we are required to generate two walkers starting from this node. A disappointing result is that with 50 percent chance both walkers will follow the same branch, and leave the other branch with no probability mass.</p><p>To overcome this problem, we apply a technique called Low-Variance Sampling (LVS) (Thrun et al., 2005), which is commonly used in robotics to improve the quality of sampling. Instead of generating independent samples from a distribution, LVS uses a single random number to generate all samples, which are evenly distributed across the whole distribution. Note that given a distribution <i>P</i><i> </i><i>(x),</i><i> </i>any number <i>r</i><i> </i>in <i>[0,1] </i>points to exactly one <i>x</i><i> </i>value, namely <i>x</i><i> </i><i>= argmin</i><i>^J2m=1</i><i> </i><i>j</i><i> </i><i>P(m)</i><i> </i><i>&lt;</i><i> r. </i>Suppose we want to generate <i>M </i>samples from <i>P(x).</i><i> </i>LVS irst generates a random number <i>r</i><i> </i>in the interval <i>[0</i><i>,M</i>Then LVS repeatedly adds the ixed amount <i>M_1</i><i> </i>to <i>r</i><i> </i>and chooses <i>x</i><i> </i>values corresponding to the resulting numbers.</p></subsection></section><section number="3" title="Results"><p>This section reports empirical results of applying random walk inference to NELL's knowledge base after the 165th iteration of its learning process. We irst investigate PRA s behavior by cross validation on the training queries. Then we compare PRA and N-FOIL s ability to reliably infer new beliefs, by leveraging the Amazon Mechanical Turk service.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>l<b>=3</b></p></td><td class="cell"><p>l<b>=4</b></p></td><td class="cell"><p></p></td><td class="cell"><p>l<b>=2</b></p></td><td class="cell"><p>l<b>=3</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>all paths up to length L</p></td><td class="cell"><p><i>15, 376</i></p></td><td class="cell"><p><i>1, 906, 624</i></p></td><td class="cell"><p></p></td><td class="cell"><p><b>MRR Time</b></p></td><td class="cell"><p><b>MRR Time</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+query support&gt; <i>a = 0.01</i></p></td><td class="cell"><p><i>522</i></p></td><td class="cell"><p><i>5016</i></p></td><td class="cell"><p>RWR(no train)</p></td><td class="cell"><p>0.271</p></td><td class="cell"><p>0.456</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+ever reach a target entity</p></td><td class="cell"><p><i>136</i></p></td><td class="cell"><p><i>792</i></p></td><td class="cell"><p>RWR</p></td><td class="cell"><p>0.280 3.7s</p></td><td class="cell"><p>0.471 9.2s</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+Li regularization</p></td><td class="cell"><p><i>63</i></p></td><td class="cell"><p><i>271</i></p></td><td class="cell"><p>PRA</p></td><td class="cell"><p>0.307 5.7s</p></td><td class="cell"><p>0.516 15.4s</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="7" global="535"/><subsection number="3.1" title="Cross Validation on the Training Queries"><p><i>Random Walk with Restart </i>(RWR) (also called personalized PageRank (Haveliwala, 2002)) is a general-purpose graph proximity measure which has been shown to be fairly successful for many types of tasks. We compare PRA to two versions of RWR on the 96 tasks of link prediction with NELL s knowledge base. The two baseline methods are an untrained RWR model and a trained RWR model as described by Lao and Cohen (2010b). (In brief, in the trained RWR model, the walker will probabilistically prefer to follow edges associated with different labels, where the weight for each edge label is chosen to minimize a loss function, such as Equation 7. In the untrained model, edge weights are uniform.) We explored a range of values for the regularization parameters Li and <i>L2 </i>using cross validation on the training data, and we ix both <i>L1 </i>and <i>L2 </i>parameters to 0.001 for all tasks. The maximum path length is ixed to 3.<footnote anchor="3"/></p><p>Table 2 compares the three methods using 5-fold cross validation and the Mean Reciprocal Rank (MRR)<footnote anchor="4"/> measure, which is deined as the inverse rank of the highest ranked relevant result in a set of results. If the the irst returned result is relevant, then MRR is 1.0, otherwise, it is smaller than 1.0. Supervised training can significantly improve retrieval quality (p-value=9 x <i>10-8 </i>comparing untrained and trained RWR), and leveraging path information can produce further improvement (p-value=4 x <i>10-4 </i>comparing trained RWR with PRA). The average training time for a predicate is only a few seconds.</p><p>We also investigate the effect of low-variance sampling on the quality of prediction. Figure 2 com­pares independent and low variance sampling when applied to inger printing and particle iltering (Lao and Cohen, 2010a). The horizontal axis corresponds to the speedup of random walk compared with exact inference, and the vertical axis measures the quality of prediction by MRR with three fold cross validation on the training query set. Low-variance</p><footnote label="3">Results with maximum length 4 are not reported here. Generally models with length 4 paths produce slightly better results, but are 4-5 times slower to train</footnote><footnote label="4">For a set of queries Q,</footnote><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">Mrr=i_1_</doubt><p>= \Q\ *-i&lt;?e&lt;3 rank of the first correct answer for <i>q</i></p><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">0 1 2 3 4 5</doubt><p>Random Walk Speedup Figure 2: Compare inference speed and quality over 96 tasks. The speedup is relative to exact inference, which is on average 23ms per query.</p><p>sampling can improve prediction for both inger printing and particle iltering. The numbers on the curves indicate the number of particles (or walkers). When using a large number of particles, the particle iltering methods converge to the exact inference. Interestingly, when using a large number of walkers, the inger printing methods produce even better prediction quality than exact inference. Lao and Cohen noticed a similar improvement on retrieval tasks, and conjectured that it is because the sampling inference imposes a regularization penalty on longer relation paths (2010a).</p></subsection><subsection number="3.2" title="Evaluation by Mechanical Turk"><p>The cross-validation result above assumes that the knowledge base is complete and correct, which we know to be untrue. To accurately compare PRA and N-FOIL's ability to reliably infer new beliefs from an imperfect knowledge base, we use human assessments obtained from Amazon Mechanical Turk. To limit labeling costs, and since our goal is to improve the performance of NELL, we do not include RWR-based approaches in this comparison. Among all the 24 functional predicates, N-FOIL discovers conident rules for 8 of them (it produces no result for the other 16 predicates). Therefore, we compare the quality of PRA to N-FOIL on these 8 predicates only. Among all the 72 non-functional predicates—which<page local="8" global="536"/></p><p>Table 3: The top two weighted PRA paths for tasks on which N-FOIL discovers confident rules. c stands for <i>concept. </i><b>~ID PRA Path (Comment)</b> <b>athletePlaysForTeam</b></p><p>athletePlaysInLeague leaguePlayers athletePlaysForTeam . , , ,        , , ,</p><p>1 c-s- c-s- c-s- c (teams with many players in the athlete's league) 2 c-s- c-s- <i>c</i>-s- c (teams that play against many teams in the athlete's league)</p><doubt alpha="60.5" length="76" tooSmall="False" monospace="0.0">athletePlaysInLeague leagueTeams teamAgainstTeam ,        , . ,        , , ,</doubt><p><b>athletePlaysInLeague</b></p><p>athletePlaysSport players athletePlaysInLeague</p><p>3 c-s- c-s- c-s- c (the league that players of a certain sport belong to) 4 c —s- c-s- <i>c</i>-s- c (popular leagues with many players)</p><doubt alpha="60.5" length="43" tooSmall="False" monospace="0.0">. isa isa-1athletePlaysInLeague ,     , , ,</doubt><p><b>athletePlaysSport</b></p><doubt alpha="48.9" length="47" tooSmall="False" monospace="0.0">_ isa isa-1athletePlaysSport , „   ,        , ,</doubt><p>5 c —s- c-s- <i>c</i>-s- c (popular sports of all the athletes)</p><p>athletePlaysInLeague superpartOfOrganization teamPlaysSport</p><p>6 c-s- c-s- c-s- c (popular sports of a certain league)</p><p><b>stadiumLocatedlnCity</b></p><p>stadiumHomeTeam teamHomeStadium stadiumLocatedInCity</p><p>7 c-s- c-s- c-s- c (city of the stadium with the same team)</p><p>latitudeLongitude latitudeLongitudeOf stadiumLocatedInCity</p><p>8 c-s- c-s- c-s- c (city of the stadium with the same location)</p><p><b>teamHomeStadium</b></p><p>teamPlaysInCity cityStadiums</p><p>9 c-s- c-s- c (stadiums located in the same city with the query team)</p><p>teamMember athletePlaysForTeam teamHomeStadium</p><p>10 c-s- c-s- c-s- c (home stadium of teams which share players with the query)</p><p><b>teamPlaysInCity</b></p><p>teamHomeStadium stadiumLocatedInCity</p><p>11 c-s- c-s- c (city of the team's home stadium)</p><p>teamHomeStadium stadiumHomeTeam teamPlaysInCity</p><p>12 c-s- c-s- c-s- c (city of teams with the same home stadium as the query)</p><p><b>teamPlaysInLeague</b></p><p>teamPlaysSport players athletePlaysInLeague</p><p>13 c-s- c-s- c-s- c (the league that the query team's members belong to)</p><p>teamPlaysAgainstTeam teamPlaysInLeague</p><p>14 c-s- c-s- c (the league that the query team's competing team belongs to)</p><p><b>teamPlaysSport</b></p><p>isa       isa- <footnote anchor="1"/> teamPlaysSport</p><p>15 c —s- c-s- c-s- c (sports played by many teams)</p><p>teamPlaysInLeague leagueTeams teamPlaysSport</p><p>16 c-s- c-s- c-s- c (the sport played by other teams in the league)</p><p>Table 4: Amazon Mechanical Turk evaluation for the promoted knowledge. Using paired t-test at task level, PRA is not statistically different from N-FOIL for p@10 (p-value=0.3), but is significantly better for p@100 (p-value=0.003)<page local="9" global="537"/></p><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>PRA</b></p></td><td class="cell"><p><b>N-FOIL</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Task</b></p></td><td class="cell"><p><i>Pmaj ority</i></p></td><td class="cell"><p><b>#Paths p@10 p@100 p@1000</b></p></td><td class="cell"><p><b>#Rules #Query p@10 p@100 p@1000</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>athletePlaysForTeam</p></td><td class="cell"><p>0.07</p></td><td class="cell"><p>125</p></td><td class="cell"><p>0.4</p></td><td class="cell"><p>0.46</p></td><td class="cell"><p>0.66</p></td><td class="cell"><p></p></td><td class="cell"><p>7</p></td><td class="cell"><p>0.6</p></td><td class="cell"><p>0.08</p></td><td class="cell"><p>0.01</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>athletePlaysInLeague</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p>15</p></td><td class="cell"><p>1.0</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.80</p></td><td class="cell"><p>3(+30)</p></td><td class="cell"><p>332</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.80</p></td><td class="cell"><p>0.24</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>athletePlaysSport</p></td><td class="cell"><p>0.73</p></td><td class="cell"><p>34</p></td><td class="cell"><p>1.0</p></td><td class="cell"><p>0.78</p></td><td class="cell"><p>0.70</p></td><td class="cell"><p>2(+30)</p></td><td class="cell"><p>224</p></td><td class="cell"><p>1.0</p></td><td class="cell"><p>0.82</p></td><td class="cell"><p>0.18</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>stadiumLocatedInCity</p></td><td class="cell"><p>0.05</p></td><td class="cell"><p>18</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>1(+0)</p></td><td class="cell"><p>25</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.16</p></td><td class="cell"><p>0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamHomeStadium</p></td><td class="cell"><p>0.02</p></td><td class="cell"><p>66</p></td><td class="cell"><p>0.3</p></td><td class="cell"><p>0.48</p></td><td class="cell"><p>0.34</p></td><td class="cell"><p>1(+0)</p></td><td class="cell"><p>2</p></td><td class="cell"><p>0.2</p></td><td class="cell"><p>0.02</p></td><td class="cell"><p>0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamPlaysInCity</p></td><td class="cell"><p>0.10</p></td><td class="cell"><p>29</p></td><td class="cell"><p>1.0</p></td><td class="cell"><p>0.86</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>1(+0)</p></td><td class="cell"><p>60</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.06</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamPlaysInLeague</p></td><td class="cell"><p>0.26</p></td><td class="cell"><p>36</p></td><td class="cell"><p>1.0</p></td><td class="cell"><p>0.70</p></td><td class="cell"><p>0.64</p></td><td class="cell"><p>4(+151)</p></td><td class="cell"><p>30</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.18</p></td><td class="cell"><p>0.02</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamPlaysSport</p></td><td class="cell"><p>0.42</p></td><td class="cell"><p>21</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>4(+86)</p></td><td class="cell"><p>48</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.42</p></td><td class="cell"><p>0.02</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>average</i></p></td><td class="cell"><p>0.28</p></td><td class="cell"><p>43</p></td><td class="cell"><p>0.79</p></td><td class="cell"><p>0.668</p></td><td class="cell"><p>0.615</p></td><td class="cell"><p></p></td><td class="cell"><p>91</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.38</p></td><td class="cell"><p>0.07</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamMember</p></td><td class="cell"><p>0.01</p></td><td class="cell"><p>203</p></td><td class="cell"><p>0.8</p></td><td class="cell"><p>0.64</p></td><td class="cell"><p>0.48</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>companiesHeadquarteredIn</p></td><td class="cell"><p>0.05</p></td><td class="cell"><p>42</p></td><td class="cell"><p>0.6</p></td><td class="cell"><p>0.54</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>publicationJournalist</p></td><td class="cell"><p>0.02</p></td><td class="cell"><p>25</p></td><td class="cell"><p>0.7</p></td><td class="cell"><p>0.70</p></td><td class="cell"><p>0.64</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>producedBy</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p>13</p></td><td class="cell"><p>0.5</p></td><td class="cell"><p>0.58</p></td><td class="cell"><p>0.68</p></td><td class="cell"><p>N-FOIL does not produce results</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>competesWith</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p>74</p></td><td class="cell"><p>0.6</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.72</p></td><td class="cell"><p>for non-functional predicates</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>hasOficeInCity</p></td><td class="cell"><p>0.03</p></td><td class="cell"><p>262</p></td><td class="cell"><p>0.9</p></td><td class="cell"><p>0.84</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>teamWonTrophy</p></td><td class="cell"><p>0.24</p></td><td class="cell"><p>56</p></td><td class="cell"><p>0.5</p></td><td class="cell"><p>0.50</p></td><td class="cell"><p>0.46</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>worksFor</p></td><td class="cell"><p>0.13</p></td><td class="cell"><p>62</p></td><td class="cell"><p>0.6</p></td><td class="cell"><p>0.60</p></td><td class="cell"><p>0.74</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>average</i></p></td><td class="cell"><p>0.11</p></td><td class="cell"><p>92</p></td><td class="cell"><p>0.650</p></td><td class="cell"><p>0.620</p></td><td class="cell"><p>0.615</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>N-FOIL cannot be applied to—PRA exhibits a wide range of performance in cross-validation. The are 43 tasks for which PRA obtains MRR higher than 0.4 and builds a model with more than 10 path features. We randomly sampled 8 of these predicates to be evaluated by Amazon Mechanical Turk.</p><p>Table 3 shows the top two weighted PRA features for each task on which N-FOIL can successfully learn rules. These PRA rules can be categorized into broad coverage rules which behave like priors over correct answers (e.g. 1-2, 4-6, 15), accurate rules which leverage speciic relation sequences (e.g. 9, 11, 14), rules which leverage information about the synonyms of the query node (e.g. 7-8, 10, 12), and rules which leverage information from a local neighborhood of the query node (e.g. 3, 12-13, 16). The synonym paths are useful, because an entity may have multiple names on the web. We ind that all 17 general rules (no specialization) learned by N-FOIL can be expressed as length two relation paths such as path 11. In comparison, PRA explores a feature space with many length three paths.</p><p>For each relation <i>R </i>to be evaluated, we generate test queries <i>s </i>which belong to <i>domain(R). </i>Queries which appear in the training set are excluded. For each query node <i>s, </i>we applied a trained model (either PRA or N-FOIL) to generate a ranked list of candidate <i>t </i>nodes. For PRA, the candidates are sorted by their scores as in Eq. (6). For N-FOIL, the candidates are sorted by the estimated accuracies of the rules as in Eq. (2) (which generate the candidates). Since there are about 7 thousand (and 13 thousand) test queries <i>s </i>for each functional (and non-functional) predicate <i>R, </i>and there are (potentially) thousands of candidates <i>t </i>returned for each query <i>s, </i>we cannot evaluate all candidates of all queries. Therefore, we irst sort the queries <i>s </i>for each predicate <i>R </i>by the scores of their top ranked candidate <i>t </i>in descending order, and then calculate precisions at top 10, 100 and 1000 positions for the list of result <i>R(sR'<footnote anchor="1"/>,t^'<footnote anchor="1"/>), R{sR'<footnote anchor="2"/> ,tR'<footnote anchor="2"/>),</i>where <i>sR,i </i>is the first query for predicate R, <i>tIR'<footnote anchor="1"/> </i>is its first candidate, <i>sR2 </i>is the second query for predicate R, <i>t1 </i>is its irst candidate, so on and so forth. To reduce the labeling load, we judge all top 10 queries for each predicate, but randomly sample 50 out of the top 100, and randomly sample 50 out of the</p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">R 2</doubt><p>Table 5: Comparing Mechanical Turk workers' voted assessments with our gold standard labels based on 100 samples.</p><p>top 1000. Each belief is evaluated by 5 workers at Mechanical Turk, who are given assertions like <i>"Hines Ward </i>plays for the team <i>Steelers", </i>as well as Google search links for each entity, and the combination of both entities. Statistics shows that the workers spend on average 25 seconds to judge each belief. We also remove some workers judgments which are obviously incorrect<footnote anchor="5"/>. We sampled 100 beliefs, and compared their voted result to gold-standard labels produced by one author of this paper. Table 5 shows that 74% of the time the workers voted result agrees with our judgement.</p><p>Table 4 shows the evaluation result. The <i>P</i><i>majority </i>column shows for each predicate the accuracy achieved by the majority prediction: given a query <i>R(a, ?), </i>predict the <i>b </i>that most often satisfies <i>R </i>over all possible <i>a </i>in the knowledge base. Thus, the higher <i>P</i><i>majority </i>is, the simpler the task. Predicting the functional predicates is generally easier predicting the non-functional predicates. The #Query column shows the number of queries on which N-FOIL is able to match any of its rules, and hence produce a candidate belief. For most predicates, N-FOIL is only able to produce results for at most a few hundred queries. In comparison, PRA is able to produce results for 6,599 queries on average for each functional predicate, and 12,519 queries on average for each non-functional predicate. Although the precision at 10 (p@10) of N-FOIL is comparable to that of PRA, precision lower<footnote anchor="6"/>.</p><doubt alpha="42.2" length="45" tooSmall="False" monospace="0.0">at 10 and at 1000 (p@100 and p@1000) are much</doubt><p>The #Path column shows the number of paths learned by PRA, and the #Rule column shows the number of rules learned by N-FOIL, with the num­bers before brackets correspond to unspecialized rules, and the numbers in brackets correspond to specialized rules.<page local="10" global="538"/> Generally, specialized rules have much smaller recall than unspecialized rules. There­fore, the PRA approach achieves high recall partially by combining a large number of unspecialized paths, which correspond to unspecialized rules. However, learning more accurate specialized paths is part of our future work.</p><footnote label="5">Certain workers label all the questions with the same answer</footnote><footnote label="6">If a method makes k predictions, and k &lt; n, then p@n is the number correct out of the k predictions, divided by n</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>AMT=F</p></td><td class="cell"><p>AMT=T</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Gold=F</p></td><td class="cell"><p>25%</p></td><td class="cell"><p>15%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Gold=T</p></td><td class="cell"><p>11%</p></td><td class="cell"><p>49%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>A signiicant advantage of PRA over N-FOIL is that it can be applied to non-functional predicates. The last eight rows of Table 4 show PRA s performance on eight of these predicates. Compared to the result on functional predicates, precisions at 10 and at 100 of non-functional predicates are slightly lower, but precisions at 1000 are comparable. We note that for some predicates precision at 1000 is better than at 100. After some investigation we found that for many relations, the top portion of the result list is more diverse: i.e. showing products produced by different com­panies, journalist working at different publications. While the lower half of the result list is more homogeneous: i.e. showing relations concentrated on one or two companies/publications. On the other hand, through the process of labeling the Mechanical Turk workers seem to build up a prior about which company/publication is likely to have correct beliefs, and their judgments are positively biased towards these companies/publications. These two factors combined together result in positive bias towards the lower portion of the result list. In future work we hope to design a labeling strategy which avoids this bias.</p></subsection></section><section number="4" title="Conclusions and Future Work"><p>We have shown that a soft inference procedure based on a combination of constrained, weighted, random walks through the knowledge base graph can be used to reliably infer new beliefs for the knowledge base. We applied this approach to a knowledge base of approximately 500,000 beliefs extracted imperfectly from the web by NELL. This new system improves signiicantly over NELL s earlier Horn-clause learning and inference method: it obtains nearly double the precision at rank 100. The inference and learning are both very eficient—our experiment shows that the inference time is as fast as 10 milliseconds per query on average, and the training for a predicate takes only a few seconds.</p><p>There are several prominent directions for future work. First, inference starting from both the query nodes and target nodes (Richards and Mooney, 1992) can be much more eficient in discovering long paths than just inference from the query nodes. Second, inference starting from the target nodes of training queries is a potential way to discover specialized paths (with grounded nodes). Third, generalizing inference paths to inference trees or graphs can produce more expressive random walk inference models. Overall, we believe that random walk is a promising way to scale up relational learning to domains with very large data sets.</p></section><section title="Acknowledgments"><p>This work was supported by NIH under grant R01GM081293, by NSF under grant IIS0811562, by DARPA under awards FA8750-08-1-0009 and AF8750-09-C-0179, and by a gift from Google. We thank Geoffrey J. Gordon for the suggestion of applying low variance sampling to random walk inference. We also thank Bryan Kisiel for help with the NELL system.</p></section><references><p>Eugene Agichtein and Luis Gravano. 2000. Snowball: extracting relations from large plain-text collections. In <i>Proceedings of the fifth ACM conference on Digital libraries - DL '00, </i>pages 85-94, New York, New York,</p><p>USA. ACM Press.</p><p>Michele Banko, Michael J. Cafarella, Stephen Soderland, Matthew Broadhead, and Oren Etzioni. 2007. Open Information Extraction from the Web. In <i>IJCAI, </i>pages 2670-2676.</p><p>Gaurav Bhalotia, Arvind Hulgeri, Charuta Nakhe, Soumen Chakrabarti, and S. Sudarshan. 2002. Keyword searching and browsing in databases using banks. <i>ICDE, </i>pages 431-440.</p><p>Avrim Blum and Tom Mitchell. 1998. Combining labeled and unlabeled data with co-training. In <i>Proceedings of the eleventh annual conference on Computational learning theory - COLT' 98, </i>pages 92-100, New York, New York, USA. ACM Press.</p><p>MJ Cafarella, M Banko, and O Etzioni. 2006. Relational Web Search. In WWW.</p><p>Jamie Callan and Mark Hoy. 2009. Clueweb09 data set. http://boston.lti.cs.cmu.edu/Data/clueweb09/<i>.</i></p><p>Andrew Carlson, Justin Betteridge, Bryan Kisiel, Burr Settles, Estevam R. Hruschka Jr., and Tom M.</p><page local="11" global="539"/><p>Mitchell. 2010. Toward an Architecture for Never-Ending Language Learning. In <i>AAAI.</i></p><p>William W. Cohen and David Page. 1995. Polyno­mial learnability and inductive logic programming: Methods and results. <i>New Generation Comput., </i>13(3&amp;4):369-K)9.</p><p>Oren Etzioni, Michael Cafarella, Doug Downey, Ana­maria Popescu, Tal Shaked, Stephen Soderl, Daniel S. Weld, and Er Yates. 2005. Unsupervised named-entity extraction from the web: An experimental study. <i>Artificial Intelligence, </i>165:91-134.</p><p>Taher H. Haveliwala. 2002. Topic-sensitive pagerank. In WWW, pages 517-526.</p><p>Alpa Jain and Patrick Pantel. 2010. Factrank: Random walks on a web of facts. In <i>COLING, </i>pages 501-509.</p><p>Ni Lao and William W. Cohen. 2010a. Fast query exe­cution for retrieval models based on path-constrained random walks. KDD.</p><p>Ni Lao and William W. Cohen. 2010b. Relational retrieval using a combination of path-constrained random walks. <i>Machine Learning.</i></p><p>Einat Minkov and William W. Cohen. 2008. Learning graph walk based similarity measures for parsed text. <i>EMNLP, </i>pages 907-916.</p><p>Patrick Pantel and Marco Pennacchiotti. 2006. Espresso: Leveraging Generic Patterns for Automatically Har­vesting Semantic Relations. In <i>ACL.</i></p><p>J. Ross Quinlan and R. Mike Cameron-Jones. 1993. FOIL: A Midterm Report. In <i>ECML, </i>pages 3-20.</p><p>Bradley L. Richards and Raymond J. Mooney. 1992. Learning relations by pathinding. In <i>Proceedings of the Tenth National Conference on Artificial Intel­ligence (AAAI-92), </i>pages 50-55, San Jose, CA, July.</p><p>Matthew Richardson and Pedro Domingos. 2006. Markov logic networks. <i>Machine Learning.</i></p><p>Stefan Schoenmackers, Oren Etzioni, and Daniel S. Weld. 2008. Scaling Textual Inference to the Web.</p><p>In <i>EMNLP, </i>pages 79-88.</p><p>Rion Snow, Daniel Jurafsky, and Andrew Y. Ng. 2006. Semantic Taxonomy Induction from Heterogenous Evidence. In <i>ACL.</i></p><p>Sebastian Thrun, Wolfram Burgard, and Dieter Fox. 2005. <i>Probabilistic Robotics (Intelligent Robotics and Autonomous Agents). </i>The MIT Press.</p><p>Alexander Yates, Michele Banko, Matthew Broadhead, Michael J. Cafarella, Oren Etzioni, and Stephen Soderland. 2007. TextRunner: Open Information Extraction on the Web. In <i>HLT-NAACL (Demonstra­tions), </i>pages 25-26.</p><p>John M. Zelle, Cynthia A. Thompson, Mary Elaine Califf, and Raymond J. Mooney. 1995. Inducing logic programs without explicit negative examples. In <i>Proceedings of the Fifth International Workshop</i> <i>on Inductive Logic Programming (ILP-95), </i>pages 403-416, Leuven, Belgium.</p></references></body></article>