<?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="1266"/><title>Identifying Functional Relations in Web Text</title><pubinfo>Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing,pages 1266-1276, MIT, Massachusetts, USA, 9-11 October 2010. ©2010 Association for Computational Linguistics</pubinfo><author surname="Lin" givenname="Thomas"><org  name="University of Washington" country="USA" city="Seattle"/></author><author surname="Mausam"><org  name="University of Washington" country="USA" city="Seattle"/></author><author surname="Etzioni" givenname="Oren"><org  name="University of Washington" country="USA" city="Seattle"/></author></firstpageheader><frontmatter><p><b>Identifying Functional Relations in Web Text</b></p><p><b>Thomas Lin, Mausam, Oren Etzioni</b></p><p>Turing Center University of Washington Seattle, WA 98195, USA</p><p>{tlin,mausam,etzioni}@cs.washington.edu</p></frontmatter><abstract>Determining whether a textual phrase denotes a functional relation <i>(i.e., </i>a relation that maps each domain element to a unique range el­ement) is useful for numerous NLP tasks such as synonym resolution and contradic­tion detection. Previous work on this prob­lem has relied on either counting methods or lexico-syntactic patterns. However, determin­ing whether a relation is functional, by ana­lyzing mentions of the relation in a corpus, is challenging due to ambiguity, synonymy, anaphora, and other linguistic phenomena. We present the Leibniz system that over­comes these challenges by exploiting the syn­ergy between the Web corpus and freely-available knowledge resources such as Free­base. It first computes multiple <i>typed function­ality </i>scores, representing functionality of the relation phrase when its arguments are con­strained to specific types. It then aggregates these scores to predict the global functionality for the phrase. Leibniz outperforms previ­ous work, increasing area under the precision-recall curve from 0.61 to 0.88. We utilize Leibniz to generate the first public reposi­tory of automatically-identified functional re­lations. </abstract></header><body><section number="1" title="Introduction"><p>The paradigm of Open Information Extraction (IE) (Banko et al., 2007; Banko and Etzioni, 2008) has scaled extraction technology to the massive set of relations expressed in Web text. However, additional work is needed to better understand these relations, and to place them in richer semantic structures. A step in that direction is identifying the properties of these relations, <i>e.g., </i>symmetry, transitivity and our focus in this paper - functionality. We refer to this problem as <i>functionality identification.</i></p><p>A binary relation is functional if, for a given arg1, there is exactly one unique value for arg2. Exam­ples of functional relations are <i>father, death-date, birth-city, etc. </i>We define a <i>relation phrase </i>to be functional if all semantic relations commonly ex­pressed by that phrase are functional. For exam­ple, we say that the phrase <i>'was born in' </i>denotes a functional relation, because the different seman­tic relations expressed by the phrase (e.g., <i>birth-city, birth-year, etc.) </i>are all functional.</p><p>Knowing that a relation is functional is helpful for numerous NLP inference tasks. Previous work has used functionality for the tasks of contradiction detection (Ritter et al., 2008), quantifier scope dis­ambiguation (Srinivasan and Yates, 2009), and syn­onym resolution (Yates and Etzioni, 2009). It could also aid in other tasks such as ontology generation and information extraction. For example, consider two sentences from a contradiction detection task:</p><p>(1) "George Washington <i>was born in </i>Virginia." and (2) "George Washington <i>was born in </i>Texas." As Ritter <i>et al. </i>(2008) points out, we can only de­termine that the two sentences are contradictory if we know that the semantic relation referred to by the phrase <i>'was born in' </i>is functional, and that both Virginia and Texas are distinct states.</p><p><i>Automatic </i>functionality identification is essential when dealing with a large number of relations as in Open IE, or in complex domains where expert help<page local="2" global="1267"/></p><p>Distributional Difference</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">T</doubt><p>Combination Policy I</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><doubt alpha="71.4" length="7" tooSmall="False" monospace="0.0">(typed)</doubt><p>Functionality prediction for Web relations</p><p>Figure 1: Our system, Leibniz, uses the Web and Free­base to determine functionality of Web relations.</p><p>is scarce or expensive <i>(e.g., </i>biomedical texts). This paper tackles automatic functionality identification using Web text. While functionality identification has been utilized as a module in various NLP sys­tems, this is the first paper to focus exclusively on functionality identification as a <i>bona fide </i>NLP infer­ence task.</p><p>It is natural to identify functions based on triples extracted from text instead of analyzing sentences directly. Thus, as our input, we utilize tuples ex­tracted by TextRunner (Banko and Etzioni, 2008) when run over a corpus of 500 million webpages. TextRunner maps sentences to tuples of the form &lt;arg1, <i>relation phrase, </i>arg2&gt; and enables our Leibniz system to focus on the problem of decid­ing whether the relation phrase is a function.</p><p>The naive approach, which classifies a relation phrase as non-functional if several arg1s have multi­ple arg2s in our extraction set, fails due to several reasons: synonymy - a unique entity may be re­ferred by multiple strings, polysemy of both entities and relations - a unique string may refer to multiple entities/relations, metaphorical usage, extraction er­rors and more. These phenomena conspire to make the functionality determination task inherently sta­tistical and surprisingly challenging.</p><p>In addition, a functional relation phrase may ap­pear non-functional until we consider the types of its arguments. In our <i>'was born in' </i>example, &lt;George Washington, <i>was born in, </i>1732&gt; does not contradict &lt; George Washington, <i>was born in, </i>Virginia&gt; even though we see two distinct arg2s for the same arg1. To solve functionality identification, we need to con­sider <i>typed relations </i>where the relations analyzed are constrained to have specific argument types.</p><p>We develop several approaches to overcome these challenges. Our first scheme employs approximate argument merging to overcome the synonymy and anaphora problems. Our second approach, Dis -trDiff, takes a statistical view of the problem and learns a separator for the typical count dis­tributions of functional versus non-functional rela­tions. Finally, our third and most successful scheme, CleanLists, identifies and processes a cleaner subset of the data by intersecting the corpus with en­tities in a secondary knowledge-base (in our case, Freebase (Metaweb Technologies, 2009)). Utiliz­ing pre-defined types, CleanLists first identifies typed functionality for suitable types for that rela­tion phrase, and then combines them to output a final functionality label. Leibniz, a hybrid of Clean-Lists and DistrDiff, returns state-of-the-art re­sults for our task.</p><p>Our work makes the following contributions:</p><p>1. We identify several linguistic phenomena that make the problem of corpus-based functional­ity identification surprisingly difficult.</p><p>2. We designed and implemented three novel techniques for identifying functionality based on instance-based counting, distributional dif­ferences, and use of external knowledge bases.</p><p>3. Our best method, Leibniz, outperforms the existing approaches by wide margins, increas­ing area under the precision-recall curve from 0.61 to 0.88. It is also capable of distinguishing functionality of typed relation phrases, when the arguments are restricted to specific types.</p><p>4. Utilizing Leibniz, we created the first public repository of functional relations.<footnote anchor="1"/></p></section><section number="2" title="Related Work"><p>There is a recent surge in large knowledge bases constructed by human collaboration such as Free­base (Metaweb Technologies, 2009) and VerbNet (Kipper-Schuler, 2005). VerbNet annotates its verbs with several properties but not functionality. Freebase does annotate some relations with an 'is unique' property, which is similar to functionality, but the number of relations in Freebase is still much</p><footnote label="1">available at http://www.cs.washington.edu/  research/leibniz</footnote><p>fciean Lists</p><p>functionality<page local="3" global="1268"/></p><p>Rudy Giuliani <i>visited:</i></p><p>George Washington <i>was born in:</i></p><p>Florida Michigan a famous cheesesteak restaurant South Carolina     the Florida Everglades Boca Raton Synagogue</p><p>Republican headquarters Philadelphia</p><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">Virginia 1732</doubt><p>Westmoreland County     a town</p><p>February Colonial Beach, Virginia the British colony of Virginia a plantation America</p><p>Figure 2: Sample arg2 values for a non-functional relation <i>(visited) vs. </i>a functional relation (was <i>born in) </i>illustrate the challenge in discriminating functionality from Web text.</p><p>smaller than the hundreds of thousands of relations existing on the Web, necessitating automatic ap­proaches to functionality identification.</p><p>Discovering functional dependencies has been recognized as an important database analysis tech­nique (Huhtala et al., 1999; Yao and Hamilton, 2008), but the database community does not address any of the linguistic phenomena which make this a challenging problem in NLP. Three groups of re­searchers have studied functionality identification in the context of natural language. <b>AuContraire </b>(Ritter et al., 2008) is a contradic­tion detection system that also learns relation func­tionality. Their approach combines a probabilis­tic model based on (Downey et al., 2005) with es­timates on whether each arg1 is ambiguous. The estimates are used to weight each arg1's contri­bution to an overall functionality score for each relation. Both argument-ambiguity and relation-functionality are jointly estimated using an EM-like method. While elegant, AuContraire requires sub­stantial hand-engineered knowledge, which limits the scalability of their approach. <b>Lexico-syntactic patterns: </b>Srinivasan and Yates (2009) disambiguate a quantifier's scope by first making judgments about relation functionality. For functionality, they look for <i>numeric phrases </i>follow­ing the relation. For example, the presence of the nu­meric term 'four' in the sentence "the fire <i>destroyed </i>four shops" suggests that <i>destroyed </i>is not functional, since the same arg1 can destroy multiple things.</p><p>The key problem with this approach is that it often assigns different functionality labels for the present tense and past tense phrases of the same semantic re­lation. For example, it will consider <i>'lived in' </i>to be non-functional, but <i>'lives in' </i>to be functional, since we rarely say "someone lives in many cities". Since both these phrases refer to the same semantic relation this approach has low precision. Moreover, it performs poorly for relation phrases that naturally expect numbers as the target argument (e.g., <i>'has an atomic number of' </i>).</p><p>While these lexico-syntactic patterns do not per­form as well for our task, they are well-suited for identifying whether a verb phrase can take multiple objects or not. This can be understood as a function­ality property of the verb phrase within a sentence, as opposed to functionality of the semantic relation the phrase represents.</p><p><b>WIE: </b>In a preliminary study, Popescu (2007) ap­plies an instance based counting approach, but her relations require manually annotated type restric­tions, which makes the approach less scalable.</p><p>Finally, functionality is just one property of rela­tions that can be learned from text. A number of other studies (Guarino and Welty, 2004; Volker et al., 2005; Culotta et al., 2006) have examined detect­ing other relation properties from text and applying them to tasks such as ontology cleaning.</p></section><section number="3" title="Challenges for Functionality Identification"><p>A functional binary relation r is formally defined as one such that Vx,y<b>i</b>,y<b>2 : </b><i>r(x,</i><i> </i>y<b>i) </b><i>A</i><i>r(x,</i><i> </i>2<b>/2) </b>== y<b>i = </b><i>y2. </i>We define a relation string to be functional if all semantic relations commonly expressed by the rela­tion string are individually functional. Thus, under our definition, <i>'was born in' </i>and <i>'died in' </i>are func­tional, even though they can take different arg2s for the same arg1, <i>e.g., </i>year, city, state, country, <i>etc.</i></p><p>The definition of a functional relation suggests a naive instance-based counting algorithm for identi­fying functionality. "Look for the number of arg2s for each arg1. If all (or most) arg1s have exactly one arg2, label the relation phrase functional, else, non­functional." Unfortunately, this naive algorithm fails for our task exposing several linguistic phenomena that make our problem hard (see Figure 2):<page local="4" global="1269"/></p><p><b>Synonymy: </b>Various arg2s for the same arg1 may refer to the same entity. This makes many func­tional relations seem non-functional. For instance, &lt; George Washington, <i>was born in, </i>Virginia&gt; and &lt; George Washington, <i>was born in, </i>the British colony of Virginia&gt; are not in conflict. Other examples of synonyms include 'Windy City' and 'Chicago'; '3rd March' and '03/03', <i>etc.</i></p><p><b>Anaphora: </b>An entity can be referred to by using several phrases. For instance, &lt;George Washington, <i>was born in, </i>a town&gt; does not conflict with his be­ing born in 'Colonial Beach, Virginia', since 'town' is an anaphora for his city of birth. Other examples include 'The US President' for 'George W. Bush', and 'the superpower' to refer to 'United States'. The effect is similar to that of synonyms - many relations incorrectly appear non-functional.</p><p><b>Argument Ambiguity: </b>&lt; George Washington, <i>was born in, </i>'Kortrijk, Belgium' &gt; in addition to his be­ing born in 'Virginia' suggests that <i>'was born in' </i>is non-functional. However, the real cause is that 'George Washington' is ambiguous and refers to dif­ferent people. This ambiguity gets more pronounced if the person is referred to just by their first (or last name), <i>e.g., </i>'Clinton' is commonly used to refer to both Hillary and Bill Clinton.</p><p><b>Relation Phrase Ambiguity: </b>A relation phrase can have several senses. For instance ' <i>weighs </i>80 kilos' is a different <i>weighs </i>than ' <i>weighs </i>his options'.</p><p><b>Type Restrictions: </b>A closely related problem is type-variations in the argument. <i>E.g., </i>&lt;George Washington, <i>was born in, </i>America&gt; <i>vs. </i>&lt;George Washington, <i>born in, </i>Virginia&gt; both use the same sense of <i>'was born in' </i>but refer to different semantic relations - one that takes a country in arg2, and the other that takes a state. Moreover, different argu­ment types may result in different functionality la­bels. For example, <i>'published in' </i>is functional if the arg2 is a year, but non-functional if it is a language, since a book could be published in many languages. We refer to this finer notion of functionality as <i>typed functionality.</i></p><p><b>Data Sparsity: </b>There is limited data for more ob­scure relations instances and non-functional relation phrases appear functional due to lack of evidence.</p><p><b>Textually Functional Relations: </b>Last but not least, some relations that are not functional may appear functional in text. An example is <i>'collects' </i>. We col­lect many things, but rarely mention it in text. Usu­ally, someone's collection is mentioned in text only when it makes the news. We name such relations <i>textually functional. </i>Even though we could build techniques to reduce the impact of other phenomena, no instance based counting scheme could overcome the challenge posed by textually functional relations.</p><p>Finally, we note that our functionality predictor operates over tuples generated by an Open IE sys­tem. The extractors are not perfect and their errors can also complicate our analysis.</p></section><section number="4" title="Algorithms"><p>To overcome these challenges, we design three al­gorithms. Our first algorithm, IBC, applies several rules to determine whether two arg2s are equal. Our second algorithm, DistrDiff, takes a statistical ap­proach, and tries to learn a discriminator between typical count distributions for functional and non­functional relations. Our final approach, Clean­Lists, applies counting over a cleaner subset of the corpus, which is generated based on entities present in a secondary KB such as Freebase.</p><p>From this section onwards, we gloss over the dis­tinction between a semantic relation and a relation phrase, since our algorithms do not have access to relations and operate only at the phrase level. We use 'relation' to refer to the phrases.</p><subsection number="4.1" title="Instance Based Counting (IBC)"><p>For each relation, IBC computes a global function­ality score by aggregating local functionality scores for each arg1. The local functionality for each arg1 computes the fraction of arg2 pairs that refer to the same entity. To operationalize this computation we need to identify which arg2s co-refer. Moreover, we also need to pick an aggregation strategy to combine local functionality scores.</p><p><i>Data Cleaning: </i>Common nouns in arg1s are of­ten anaphoras for other entities. For example, &lt;the company, <i>was headquartered in, </i>...&gt; refers to dif­ferent companies in different extractions. To combat this, IBC restricts arg1s to proper nouns. Secondly, to counter extraction errors and data bias, it retains<page local="5" global="1270"/></p><p>George Washington <i>was born in:</i></p><p>Westmoreland County, Virginia</p><p>February</p><doubt alpha="56.2" length="16" tooSmall="False" monospace="0.0">February 1732j^/</doubt><figure caption="Figure 3: IBC judges thatColonial BeachandWestmore­land County, Virginiarefer to the same entity."></figure><p>an extraction only once per unique sentence. This reduces the disproportionately large frequencies of some assertions that are generated from a single ar­ticle published at multiple websites. Similarly, it al­lows an extraction only once per website url. More­over, it filters out any arg1 that does not appear at least 10 times with that relation.</p><p><i>Equality Checking: </i>This key component judges if two arg2s refer to the same entity. It first em­ploys weak typing by disallowing equality checks across common nouns, proper nouns, dates and numbers. This mitigates the relation ambiguity problem, since we never compare <i>'born in</i>(1732)' and <i>'born in</i>(Virginia)'. Within the same category it judges two arg2s to co-refer if they share a content word. It also performs a connected component anal­ysis (Hopcraft and Tarjan, 1973) to take a transitive closure of arg2s judged equal (see Figure 3).</p><p>For example, for the relation <i>'was named after' </i>and arg1='Bluetooth' our corpus has three arg2s: 'Harald Bluetooth', 'Harald Bluetooth, the King of Denmark' and 'the King of Denmark'. Our equal­ity method judges all three as referring to the same entity. Note that this is a heuristic approach, which could make mistakes. But for an error, there needs to be extractions with the same arg1, relation and similar arg2s. Such cases exist, but are not com­mon. Our equality checking mitigates the problems of anaphora, synonymy as well as some typing.</p><p><i>Aggregation: </i>We try several methods to aggre­gate local functionality scores for each arg1 into a global score for the relation. These include, a simple average, a weighted average weighted by frequency of each arg1, a weighted average weighted by log of frequency of each arg1, and a Bayesian approach that estimates the probability that a relation is func­tional using statistics over a small development set.</p><p>Overall, the log-weighting works the best: it assigns a higher score for popular arguments, but not so high that it drowns out all the other evidence.</p></subsection><subsection number="4.2" title="DistrDiff"><p>Our second algorithm, DistrDiff, takes a purely statistical, discriminative view of the problem. It recognizes that, due to aforementioned reasons, whether a relation is functional or not, there are bound to be several arg1s that look locally functional and several that look locally non-functional. The difference is in the <i>number </i>of such arg1s - a func­tional relation will have more of the former type.</p><p>DistrDiff studies the count distributions for a small development set of functional relations (and similarly for non-functional) and attempts to build a separator between the two. As an illustration, Figure 4(a) plots the arg2 counts for various arg1s for a functional relation <i>('is</i><i> headquartered in' </i>). Each curve represents a unique arg1. For an arg1, the x-axis represents the rank (based on frequency) of arg2s and y-axis represents the normalized fre­quency of the arg2. For example, if an arg1 is found with just one arg2, then x=1 will match with y=1 (the first point has all the mass) and x=2 will match with y=0. If, on the other hand, an arg1 is found with five arg2s, say, appearing ten times each, then the first five x-points will map to 0.2 and the sixth point will map to 0.</p><p>We illustrate the same plot for a non-functional relation <i>('visited' </i>) in Figure 4(b). It is evident from the two figures that, as one would expect, curves for most arg1s die early in case of a functional relation, whereas the lower ranked arg2s are more densely populated in case of a non-functional relation.</p><p>We aggregate this information using <i>slope </i>of the best-fit line for each arg1 curve. For functional re­lations, the best-fit lines have steep slopes, whereas for non-functional the lines are flatter. We bucket the slopes in integer bins and count the fraction of arg1s appearing in each bin. This lets us aggregate the information into a single slope-distribution for each relation. Bold lines in Figure 4(c) illustrate the aver­age slope-distributions, averaged over ten sample re­lations of each kind - dashed for non-functional and solid for functional. Most non-functional relations have a much higher probability of arg1s with low magnitude slopes, whereas functional relations are<page local="6" global="1271"/></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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Colonial Beach</p></td><td class="cell"><p>1_1</p></td><td class="cell"><p>Colonial</p><p>Beach,</p><p>Virginia - -</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></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></tr></table><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">1</doubt><p><b><i>is headquartered in </i>(functional)</b> <b><i>visited </i>(not functional)</b> <b>Average Slope Distributions</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">C</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">E</doubt><doubt alpha="0.0" length="36" tooSmall="True" monospace="0.0">100% 90% 80% 70% 60% 50% 40% 30% 20%</doubt><doubt alpha="0.0" length="6" tooSmall="True" monospace="0.0">10% 0%</doubt><doubt alpha="0.0" length="24" tooSmall="True" monospace="0.0">100% 90% 80% 70% 60% 50%</doubt><doubt alpha="0.0" length="11" tooSmall="True" monospace="0.0">40% 30% 20%</doubt><doubt alpha="0.0" length="12" tooSmall="True" monospace="0.0">100% 90% 80%</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">70%</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">60%</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">50%</doubt><doubt alpha="0.0" length="18" tooSmall="True" monospace="0.0">40% 30% 20% 10% 0%</doubt><doubt alpha="86.0" length="43" tooSmall="True" monospace="0.0">■functional average » nonfunctional average</doubt><doubt alpha="75.0" length="52" tooSmall="True" monospace="0.0">was born on (sample func) ■ visited (sample nonfunc)</doubt><doubt alpha="0.0" length="8" tooSmall="True" monospace="0.0">12345678</doubt><p><b>Result Position</b> <b>Floor(|Slope|)</b></p><doubt alpha="27.5" length="51" tooSmall="False" monospace="0.0">1   2   3   4   5   6   7   8   9 10Result Position</doubt><p>Figure 4: DistrDiff: Arg2 count distributions fall more sharply for (a) a sample functional relation, than (b) a sample non-functional relation. (c) The distance of aggregated slope-distributions from average slope-distributions can be used to predict the functionality.</p><p>the opposite. Notice that the aggregated curve for <i>'visited' </i>in the figure is closer to the average curve for non-functional than to functional and vice-versa for <i>'was born on' </i>.</p><p>We plot the aggregated slope-distributions for each relation and use the distance from average dis­tributions as a means to predict the functionality. We use KL divergence (Kullback and Leibler, 1951) to compute the distance between two distributions. We score a relation's functionality in three ways using: (1) KLfunc, its distance from average functional slope-distribution <i>Favg</i>, (2) KLdiff, its distance from average functional minus its distance from av­erage non-functional <i>Navg</i>, and (3) average of these two scores. For a relation with slope distribution R, the scores are computed as:</p><p>KLfunc <i>= J2</i><i>i R(i)ln</i></p><doubt alpha="50.0" length="4" tooSmall="False" monospace="0.0">g(i)</doubt><p>KLdiff = KLfunc - (Xi <i>R(i)ln)</i></p><p>Section 5.2 compares the three scoring functions. A purely statistical approach is resilient to noisy data, and does not need to explicitly account for the various issues we detailed earlier. A disadvantage is that it cannot handle relation ambiguity and type restrictions. Moreover, we may need to relearn the separator if applying DistrDiff to a corpus with very different count distributions.</p></subsection><subsection number="4.3" title="CleanLists"><p>Our third algorithm, CleanLists, is based on the intuition that for identifying functionality we need not reason over all the data in our corpus; instead, a small but cleaner subset of the data may work best. This clean subset should ideally be free of syn­onyms, ambiguities and anaphora, and be typed.</p><p>Several knowledge-bases such as Wordnet, Wikipedia,    and   Freebase   (Fellbaum, 1998; are readily and freely available and they all provide clean typed lists of entities. In our experiments C le an Lists employs Freebase as a source of clean lists, but we could use any of these or other domain-specific ontologies such as SNOMED (Price and Spackman, 2000) as well.</p><doubt alpha="62.2" length="45" tooSmall="False" monospace="0.0">Wikipedia, 2004; Metaweb Technologies, 2009),</doubt><p>CleanLists takes the intersection of Freebase entities with our corpus to generate a clean subset for functionality analysis. Freebase currently has over 12 million entities in over 1,000 typed lists. Thus, this intersection retains significant portions of the useful data, and gets rid of most of anaphora and synonymy issues. Moreover, by matching against typed lists, many relation ambiguities are separated as well, since ambiguous relations often take dif­ferent types in the arguments <i>(e.g., 'ran</i>(Distance)' <i>vs. 'ran</i>(Company)'). To mitigate the effect of argu­ment ambiguity, we additionally get rid of instances in which arg1s match multiple names in the Freebase list of names.</p><p>As an example, consider the <i>'was born in' </i>rela­tion. CleanLists will remove instances with only 'Clinton' in arg1, since it matches multiple people in Freebase. It will treat the different types, <i>e.g., </i>cities, states, countries, months separately and ana­lyze the functionality for each of these individually.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">5</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">2</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">0</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">3</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">4</doubt><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">10</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">9</doubt><page local="7" global="1272"/><p>By intersecting the relation data with argument lists for these types, we will be left with a smaller, but much cleaner, subset of relation data, one for each type. CleanLists analyzes each subset using sim­ple, instance based counting and computes a typed functionality score for each type. Thus, it first com­putes typed functionality for each relation.</p><p>There are two subtleties in applying this algo­rithm. First, we need to identify the set of types to consider for each relation. Our algorithm currently picks the types that occur most in each relation's observed data. In the future, we could also use a selectional preferences system (Ritter et al., 2010; Kozareva and Hovy, 2010). Note that we remove Freebase types such as <i>Written Work </i>from consid­eration for containing many entities whose primary senses are not that type. For example, both 'Al Gore' and 'William Clinton' are also names of books, but references in text to these are rarely a reference to the written work sense.</p><p>Secondly, an argument could belong to multiple Freebase lists. For example, 'California' is both a city and a state. We apply a simple heuristic: if a string appears in multiple lists under consideration, we assign it to the smallest of the lists (the list of cities is much larger than states). This simple heuris­tic usually assigns an argument to its intended type. On a development set, the error rate of this heuristic is &lt;4%, though it varies a bit depending on the types involved.</p><p>CleanLists determines the overall functional­ity of a relation string by aggregating the scores for each type. It outputs functional if a majority of typed senses for the relation are functional. For example, CleanLists judges <i>'was born in' </i>to be functional, since all relevant type restrictions are individually typed functional - everyone is born in exactly one country, city, state, month, <i>etc.</i></p><p>CleanLists has a much higher precision due to the intersection with clean lists, though at some cost of recall. The reason for lower recall is that the ap­proach has a bias towards types that are easy to enu­merate. It does not have different distances (e.g., 50 kms, 20 miles, <i>etc.) </i>in its lists. Moreover, arguments that do not correspond to a noun cannot be handled. For example, in the sentence, "He <i>weighed </i>eating a cheeseburger against eating a salad", the arg2 of <i>'weighed' </i>can't be matched to a Freebase list. To increase the recall we back off to DistrDiff in the cases when CleanLists is unable to make a pre­diction. This combination gives the best balance of precision and recall for our task. We name our final system Leibniz.</p><p>One current limitation is that using only those arg2s that exactly match clean lists leaves out some good data (e.g., a tuple with an arg2 of 'Univ of Wash' will not match against a list of universities that spells it as 'University of Washington'). Be­cause we have access to entity types, using typed equality checkers (Prager et al., 2007) with the clean lists would allow us to recapture much of this useful data. Moreover, the knowledge of functions could apply to building new type nanotheories and reduce considerable manual effort. We wish to study this in the future.</p></subsection></section><section number="5" title="Evaluation"><p>In our evaluation, we wish to answer three ques­tions: (1) How do our three approaches, <i>Instance Based Counting </i>(IBC), DistrDiff, and Clean-Lists, compare on the functionality identification task? (2) How does our final system, Leibniz, compare against the existing state of the art tech­niques? (3) How well is Leibniz able to identify typed functionality for different types in the same relation phrase?</p><subsection number="5.1" title="Dataset"><p>For our experiments we test on the set of 887 re­lations used by Ritter <i>et al. </i>(2008) in their exper­iments. We use the Open IE corpus generated by running TextRunner on 500 million high quality Webpages (Banko and Etzioni, 2008) as the source of instance data for these relations. Extractor and corpus differences lead to some relations not occur­ring (or not occurring with sufficient frequency to properly analyze, <i>i.e., &gt; </i>5 arg1 with &gt; 10 evidence), leaving a dataset of 629 relations on which to test.</p><p>Two human experts tagged these relations for functionality. Tagging the functionality of relation phrases can be a bit subjective, as it requires the experts to imagine the various senses of a phrase and judge functionality over all those senses. The inter-annotator agreement between the experts was 95.5%. We limit ourselves to the subset of the data<page local="8" global="1273"/></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><p><b>Distr. Diff. Scoring Functions</b> <b>Internal Methods Comparison</b></p><doubt alpha="0.0" length="31" tooSmall="False" monospace="0.0">0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2</doubt><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">0.i 0</doubt><doubt alpha="5.4" length="37" tooSmall="False" monospace="0.0">i 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.i</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">IBC</doubt><p>Distr. Diff. CleanLists</p><p><b>Recall Recall</b></p><p>Figure 5: (a) The best scoring method for DistrDiff averages KLfunc and KLdiff. (b) CleanLists performs significantly better than DistrDiff, which performs significantly better than IBC.</p><p>on which the two experts agreed (a subset of 601 relation phrases).</p></subsection><subsection number="5.2" title="Internal Comparisons"><p>First, we compare the three scoring functions for DistrDiff. We vary the score thresholds to gener­ate the different points on the precision-recall curves for each of the three. Figure 5(a) plots these curves. It is evident that the hybrid scoring function, <i>i.e., </i>one which is an average of KLfunc (distance from average functional) and KLdiff (distance from av­erage functional minus distance from average non­functional) performs the best. We use this scoring in the further experiments involving DistrDiff.</p><p>Next, we compare our three algorithms on the dataset. Figure 5(b) reports the results. CleanLists outperforms DistrDiff by vast mar­gins, covering a 33.5% additional area under the precision-recall curve. Overall, CleanLists finds the very high precision points, because of its use of clean data. However, it is unable to make 23.1% of the predictions, primarily because the intersection between the corpus and Freebase entities results in very little data for those relations. DistrDiff per­forms better than IBC, due to its statistical nature, but the issues described in Section 3 plague both these systems much more than CleanLists.</p><p>To increase the recall Leibniz uses a combina­tion of DistrDiff and CleanLists, in which the algorithm backs off to DistrDiff if CleanLists is unable to output a prediction.</p></subsection><subsection number="5.3" title="External Comparisons"><p>We next compare Leibniz against the existing state of the art approaches. Our competitors are AuCon-traire and NumericTerms (Ritter et al., 2008; Srini-vasan and Yates, 2009). Because we use the Au-Contraire dataset, we report the results from their best performing system. We reimplement a version of NumericTerms using their list of numeric quanti­fiers and extraction patterns that best correspond to our relation format. We run our implementation of NumericTerms on a dataset of 100 million English sentences from a crawl of high quality Webpages to generate the functionality labels.</p><p>Figure 6(a) reports the results of this experiment. We find that Leibniz outperforms AuContraire by vast margins covering an additional 44% area in the precision-recall curve. AuContraire's AUC is 0.61 whereas Leibniz covers 0.88. A Bootstrap Per-centile Test (Keller et al., 2005) on Fi score found the improvement of our techniques over AuCon-traire to be statistically significant at <i>a </i>= 0.05. Nu-mericTerms does not perform well, because it makes decisions based only on the local evidence in a sen­tence, and does not integrate the knowledge from different occurrences of the same relation. It returns many false positives, such as <i>'lives in' </i>, which ap­pear functional to the lexico-syntactic pattern, but are clearly non-functional, <i>e.g., </i>one could live in many places over a lifetime.</p><p>An example of a Leibniz error is the <i>'repre­sented' </i>relation. Leibniz classifies this as func­tional, because it finds several strongly functional senses <i>(e.g., </i>when a person represents a country),<page local="9" global="1274"/></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">o</doubt><doubt alpha="100.0" length="2" tooSmall="True" monospace="0.0">OJ</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.4</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.6</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.8</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="0.0" length="31" tooSmall="False" monospace="0.0">0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2</doubt><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">0.i 0</doubt><p><b>Recall Recall</b></p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">o</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.4</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.6</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.8</doubt><p><b>External Comparison</b> <b>Typed Functionality</b></p><p>AuContraire</p><p>NumericTerms</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Leibniz</doubt><doubt alpha="7.7" length="13" tooSmall="False" monospace="0.0">i 0.9 0.8 0.7</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">0.5 0.4</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.3</doubt><doubt alpha="11.1" length="9" tooSmall="False" monospace="0.0">0.2 0.i 0</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">0.2 0.4 0.6 0.8</doubt><p>Figure 6: (a) Leibniz, which is a hybrid of CleanLists and DistrDiff, achieves 0.88 AUC and outperforms the 0.61 AUC from AuContraire (Ritter et al., 2008) and the 0.05 AUC from NumericTerms (Srinivasan and Yates, 2009). (b) Leibniz is able to tease apart different senses of polysemous relations much better than other systems.</p><p>but the human experts might have had some non­functional senses in mind while labeling.</p></subsection><subsection number="5.4" title="Typed Functionality"><p>Next, we conduct a study of the typed functional­ity task. We test on ten common polysemous re­lations, each having both a functional and a non­functional sense. An example is the <i>'was pub­lished in' </i>relation. If arg2 is a year it is func­tional, <i>e.g. </i>&lt;Harry Potter 5, <i>was published in, </i>2003&gt;. However, <i>'was published in</i>(Language)' is not functional, <i>e.g. </i>&lt;Harry Potter 5, <i>was pub­lished in, </i>[French / Spanish / English] &gt;. Simi­larly, <i>'will become</i>(Company)' is functional because when a company is renamed, it transitions away from the old name exactly once, <i>e.g. </i>&lt;Cingular, <i>will become, </i>AT&amp;T Wireless&gt;. However, <i>'will be-come</i>(government title)' is not functional, because people can hold different offices in their life, <i>e.g., </i>&lt;Obama, <i>will become, </i>[Senator / President] &gt;.</p><p>In this experiment, a simple baseline of predict­ing the same label for the two types of each rela­tion achieves a precision of 0.5. Figure 6(b) presents the results of this study. AuContraire achieves a flat 0.5, since it cannot distinguish between types. Nu-mericTerms can be modified to distinguish between basic types - check the word just after the numeric term to see whether it matches the type name. For example, the modified NumericTerms will search the Web for instances of <i>"was published in </i>[nu­meric term] <i>years" vs. "was published in </i>[numeric term] <i>languages". </i>This scheme works better when the type name is simple <i>(e.g., </i>languages) rather than complex <i>(e.g., </i>government titles).</p><p>Leibniz performs the best and is able to tease apart the functionality of various types very well. When Leibniz did not work, it was generally be­cause of textual functionality, which is a larger issue for typed functionality than general functionality. Of course, these results are merely suggestive - we per­form a larger-scale experiment and generate a repos­itory of typed functions next.</p></subsection></section><section number="6" title="A Repository of Functional Relations"><p>We now report on a repository of typed functional relations generated automatically by applying Leib­niz to a large collection of relation phrases. Instead of starting with the most frequent relations from TextRunner, we use Occam's relations (Fader et al., 2010) because they are more specific. For in­stance, where TextRunner outputs an underspec-ified tuple, &lt;Gold, has, an atomic number of 79&gt;, Oc cam extracts &lt; Gold, <i>has an atomic number </i><i>of,</i><i> </i>79&gt;. Occam enables Leibniz to identify far more functional relations than TextRunner.</p><subsection number="6.1" title="Addressing Evidence sparsity"><p>Scaling up to a large collection of typed relations requires us to consider the size of our data sets. For example, consider which relation is more likely to be functional—a relation with 10 instances all of which indicate functionality versus a relation with 100 in­stances where 95 behave functionally.</p><p>To address this problem, we adapt the likelihood ratio approach from Schoenmackers <i>et al. </i>(2010).</p><doubt alpha="60.0" length="5" tooSmall="True" monospace="0.0">"u OJ</doubt><page local="10" global="1275"/><p>For a typed relation with <i>n </i>instances, <i>f </i>of which in­dicate functionality, the G-test (Dunning, 1993), <i>G </i>= 2*(f*lnf k)+(n-f)*ln((n-f)/(n-k))), provides a mea­sure for the likelihood that the relation is not func­tional. Here <i>k </i>denotes the evidence indicating func­tionality for the case where the relation is not func­tional. Setting <i>k </i>= n*0.25 worked well for us. This G-score replaces our previous metric for scoring functional relations.</p></subsection><subsection number="6.2" title="Evaluation of the Repository"><p>In CleanLists a factor that affects the quality of the results is the exact set of lists that is used. If the lists are not clean, results get noisy. For exam­ple, Freebase's list of <i>films </i>contains 73,000 entries, many of which <i>(e.g.</i>, <i>"Egg") </i>are not films in their pri­mary senses. Even with heuristics such as assigning terms to their smallest lists and disqualifying dictio­nary words that occur from large type lists, there is still significant noise left.</p><p>Using Leibniz with a set of 35 clean lists on Occam's extraction corpus, we generated a repos­itory of 5,520 typed functional relations. To eval­uate this resource a human expert tagged a random subset of the top 1,000 relations. Of these relations 22% were either ill-formed or had non-sensical type constraints. From the well-formed typed relations the precision was estimated to be 0.8. About half the errors were due to textual functionality and the rest were Leibniz errors. Some examples of good functions found include <i>isTheSequelTo(videogame) </i>and <i>areTheBirthstoneFor(month). </i>An example of a textually functional relation found is <i>wasThe-FounderOf(company)</i>.</p><p>This is the first public repository of automatically-identified functional relations. Scaling up our data set forced us to confront new sources of noise in­cluding extractor errors, errors due to mismatched types, and errors due to sparse evidence. Still, our initial results are encouraging and we hope that our resource will be valuable as a baseline for future work.</p></subsection></section><section number="7" title="Conclusions"><p>Functionality identification is an important subtask for Web-scale information extraction and other ma­chine reading tasks. We study the problem of predicting the functionality of a relation phrase auto­matically from Web text. We presented three algo­rithms for this task: (1) instance-based counting, (2) DistrDiff, which takes a statistical approach and discriminatively classifies the relations using aver­age arg-distributions, and (3) CleanLists, which performs instance based counting on a subset of clean data generated by intersection of the corpus with a knowledge-base like Freebase.</p><p>Our best approach, Leibniz, is a hybrid of DistrDiff and CleanLists, and outperforms the existing state-of-the-art approaches by covering 44% more area under the precision-recall curve. We also observe that an important sub-component of identifying a functional relation phrase is identifying typed functionality, <i>i.e., </i>functionality when the ar­guments of the relation phrase are type-constrained. Because CleanLists is able to use typed lists, it can successfully identify typed functionality.</p><p>We run our techniques on a large set ofrelations to output a first repository of typed functional relations. We release this list for further use by the research community.<footnote anchor="2"/> <b>Future Work:</b><b> </b>Functionality is one of the sev­eral properties a relation can possess. Others in­clude selectional preferences, transitivity (Schoen-mackers et al., 2008), mutual exclusion, symme­try, <i>etc. </i>These properties are very useful in increas­ing our understanding about these Open IE relation strings. We believe that the general principles devel­oped in this work, for example, connecting the Open IE knowledge with an existing knowledge resource, will come in very handy in identifying these other properties.</p></section><section title="Acknowledgements"><p>We would like to thank Alan Ritter, Alex Yates and Anthony Fader for access to their data sets. We would like to thank Stephen Soderland, Yoav Artzi, and the anonymous reviewers for helpful comments on previous drafts. This research was supported in part by NSF grant IIS-0803481, ONR grant N00014-08-1-0431, DARPA contract FA8750-09-C-0179, a NDSEG Fellowship, and carried out at the University of Washington's Turing Center.</p><footnote label="2">available at http://www.cs.washington.edu/  research/leibniz</footnote><page local="11" global="1276"/></section><references><p>M. Banko and O. Etzioni. 2008. The tradeoffs between open and traditional relation extraction. In <i>Proceed­ings of the 46th Annual Meeting of the Association for Computational Linguistics (ACL).</i></p><p>M. Banko, M. Cafarella, S. Soderland, M. Broadhead, and O. Etzioni. 2007. Open information extraction from the web. In <i>Proceedings of the 20th International Joint Conference on Artificial Intelligence (IJCAI).</i></p><p>A. Culotta, A. McCallum, and J. Betz. 2006. Integrating probabilistic extraction models and data mining to dis­cover relations and patterns in text. In <i>Proceedings of the HLT-NAACL.</i></p><p>D. Downey, O. Etzioni, and S. Soderland. 2005. A prob­abilistic model of redundancy in information extrac­tion. In <i>Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI).</i></p><p>T. Dunning. 1993. Accurate methods for the statistics of surprise and coincidence. In <i>Computational Linguis­tics, </i>volume 19.</p><p>A. Fader, O. Etzioni, and S. Soderland. 2010. Identi­fying well-specified relations for open information ex­traction. (In preparation).</p><p>C. Fellbaum, editor. 1998. <i>WordNet: An Electronic Lex­ical Database. </i>MIT Press, Cambridge, MA.</p><p>N. Guarino and C. Welty. 2004. An overview of On-toClean. In <i>Handbook ofOntologies in Information Systems, </i>pages 151-172.</p><p>J. Hopcraft and R. Tarjan. 1973. Efficient algorithms for graph manipulation. <i>Communications ofthe ACM,</i> 16:372-378.</p><p>Y. Huhtala, J. Karkkainen, P. Porkka, and H. Toivonen. 1999. TANE: An efficient algorithm for discover­ing functional and approximate dependencies. In <i>The Computer Journal.</i></p><p>M. Keller, S. Bengio, and S.Y. Wong. 2005. Bench­marking non-parametric statistical tests. In <i>Advances in Neural Information Processing Systems (NIPS) 18.</i></p><p>K. Kipper-Schuler. 2005. Verbnet: A broad-coverage, comprehensive verb lexicon. In <i>Ph.D. thesis. Univer­sity ofPennsylvania.</i></p><p>Z. Kozareva and E. Hovy. 2010. Learning arguments and supertypes of semantic relations using recursive patterns. In <i>Proceedings ofthe 48th Annual Meeting of the Association for Computational Linguistics (ACL).</i></p><p>S. Kullback and R.A. Leibler. 1951. On information and sufficiency.  <i>Annals of Mathematical Statistics,</i> 22(1):79-86.</p><p>Metaweb Technologies. 2009. Freebase data dumps. In http://download.freebase.com/datadumps/<i>.</i></p><p>A-M. Popescu. 2007. Information extraction from un­structured web text. In <i>Ph.D. thesis. University of Washington.</i></p><p>J. Prager, S. Luger, and J. Chu-Carroll. 2007. Type nan-otheories: a framework for term comparison. In <i>Pro­ceedings ofthe 16th ACMConference on Information and Knowledge Management (CIKM).</i></p><p>C. Price and K. Spackman. 2000. SNOMED clincal terms. In <i>British Journal of Healthcare Computing &amp; Information Management, </i>volume 17.</p><p>A. Ritter, D. Downey, S. Soderland, and O. Etzioni. 2008. It's a contradiction - no, it's not: A case study using functional relations. In <i>Proceedings ofthe 2008 Conference on Empirical Methods in Natural Lan­guage Processing (EMNLP).</i></p><p>A. Ritter, Mausam, and O. Etzioni. 2010. A latent dirich-let allocation method for selectional preferences. In <i>Proceedings ofthe 48th Annual Meeting ofthe Associ­ation for Computational Linguistics (ACL).</i></p><p>S. Schoenmackers, O. Etzioni, and D. Weld. 2008. Scal­ing textual inference to the web. In <i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing (EMNLP).</i></p><p>S. Schoenmackers, J. Davis, O. Etzioni, and D. Weld. 2010. Learning first-order horn clauses from web text. In <i>Proceedings ofthe 2010 Conference on Empirical Methods in Natural Language Processing (EMNLP).</i></p><p>P. Srinivasan and A. Yates. 2009. Quantifier scope disambiguation using extracted pragmatic knowledge: Preliminary results. In <i>Proceedings ofthe 2009 Con­ference on Empirical Methods in Natural Language Processing (EMNLP).</i></p><p>J. Volker, D. Vrandecic, and Y. Sure. 2005. Auto­matic evaluation of ontologies (AEON). In <i>Proceed­ings ofthe 4th International Semantic Web Conference</i> <i>(ISWC).</i><i></i></p><p>Wikipedia. 2004. Wikipedia: The free encyclopedia. In http://www.wikipedia.org<i>. </i>Wikimedia Foundation.</p><p>H. Yao and H. Hamilton. 2008. Mining functional de­pendencies from data. In <i>Data Mining and Knowledge Discovery.</i></p><p>A. Yates and O. Etzioni. 2009. Unsupervised methods for determining object and relation synonyms on the web. In <i>Journal of Artificial Intelligence Research, </i>volume 34, pages 255-296.</p></references></body></article>