<?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="561"/><title>Generating Lexical Analogies Using Dependency Relations</title><pubinfo>Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning,pp. 561-570, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Chiu" givenname="Andy"><org  name="University of Waterloo" country="Canada" city="Waterloo"/></author><author surname="Poupart" givenname="Pascal"><org  name="University of Waterloo" country="Canada" city="Waterloo"/></author><author surname="DiMarco" givenname="Chrysanne"><org  name="University of Waterloo" country="Canada" city="Waterloo"/></author></firstpageheader><frontmatter><p><b>Generating Lexical Analogies Using Dependency Relations</b></p><p><b>Andy Chiu, Pascal Poupart, and Chrysanne DiMarco</b></p><p>David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, Canada</p><p>{pachiu,ppoupart,cdimarco}@uwaterloo.ca</p></frontmatter><abstract>A lexical analogy is a pair of word-pairs that share a similar semantic relation. Lex­ical analogies occur frequently in text and are useful in various natural language pro­cessing tasks. In this study, we present a system that generates lexical analogies au­tomatically from text data. Our system dis­covers semantically related pairs of words by using dependency relations, and applies novel machine learning algorithms to match these word-pairs to form lexical analogies. Empirical evaluation shows that our system generates valid lexical analogies with a pre­cision of 70%, and produces quality output although not at the level of the best human-generated lexical analogies. </abstract></header><body><section number="1" title="Introduction"><p>Analogy discovery and analogical reasoning are ac­tive research areas in a multitude of disciplines, in­cluding philosophy, psychology, cognitive science, linguistics, and artificial intelligence. A type of anal­ogy that is of particular interest in natural language processing is <i>lexical analogy. </i>A lexical analogy is a pair of word-pairs that share a similar semantic rela­tion. For example, the word-pairs <i>(dalmatian, dog) </i>and <i>(trout, fish) </i>form a lexical analogy because dal­matian is a subspecies of dog just as trout is a sub­species of fish, and the word-pairs <i>(metal, electric­ity) </i>and <i>(air, sound) </i>form a lexical analogy because in both cases the initial word serves as a conductor for the second word. Lexical analogies occur frequently in text and are useful in various natural lan­guage processing tasks. For example, understanding metaphoric language such as "the <i>printer died" </i>re­quires the recognition of implicit lexical analogies, in this case between <i>(printer, malfunction) </i>and <i>(per­son, death). </i>Lexical analogies also have applica­tions in word sense disambiguation, information ex­traction, question-answering, and semantic relation classification (see (Turney, 2006)).</p><p>In this study, we present a novel system for gen­erating lexical analogies directly from a text cor­pus without relying on dictionaries or other seman­tic resources. Our system uses dependency relations to characterize pairs of semantically related words, then compares the similarity of their semantic rela­tions using two machine learning algorithms. We also present an empirical evaluation that shows our system generates valid lexical analogies with a pre­cision of 70%. Section 2 provides a list of defini­tions, notations, and necessary background materi­als. Section 3 describes the methods used in our system. Section 4 presents our empirical evalua­tion. Section 5 reviews selected related work. Fi­nally, Section 6 concludes the paper with suggested future work and a brief conclusion.</p></section><section number="2" title="Definitions"><p>A <i>word-pair </i>is a pair of entities, where each entity is a single word or a multi-word named entity. The <i>underlying relations </i>of a word-pair <i>(w1, </i>w2) are the semantic relations<footnote anchor="1"/> between wi and w2. For exam-</p><p>!Here 'semantic relations' include both <i>classical relations </i>such as synonymy and meronymy, and <i>non-classical relations </i>as defined by Morris and Hirst (2004).</p><page local="2" global="562"/><p>ple, the underlying relations of <i>(poet, poem) </i>include <i>produces, writes, enjoys, </i>and <i>understands. </i>A <i>lexical analogy </i>is a pair of word-pairs that share at least one identical or similar underlying relation.</p><p>A key linguistic formalism we use is <i>dependency grammar </i>(Tesniere, 1959). A dependency gram­mar describes the syntactic structure of a sentence in a manner similar to the familiar phrase-structure grammar. However, unlike phrase-structure gram­mars which associate each word of a sentence to the syntactic phrase in which the word is contained, a dependency grammar associates each word to its syntactic superordinate as determined by a set of rules. Each pair of depending words is called a <i>dependency. </i>Within a dependency, the word being depended on is called the <i>governor, </i>and the word depending on the governor is called the <i>dependent. </i>Each dependency is also labelled with the syntac­tic relation between the governor and the dependent. Dependency grammars require that each word of a sentence have exactly one governor, except for one word called the <i>head word </i>which has no governor at all. A proposition p that is governor to exactly one word w1 and dependent of exactly one word w2 is often <i>collapsed </i>(Lin and Pantel, 2001); that is, the two dependencies involving p are replaced by a sin­gle dependency between w1 and w2 labelled p.</p><p>The dependency structure of a sentence can be concisely represented by a <i>dependency tree, </i>in which each word is a node, each dependent is a child of its governor, and the head word is the root. A <i>de­pendency path </i>is an undirected path through a de­pendency tree, and a <i>dependency pattern </i>is a depen­dency path with both ends replaced by slots (Lin and Pantel, 2001). Figure 1 illustrates various depen­dency structures of the sentence, <i>rebels fired rockets at a military convoy, </i>after each word is lemmatized.</p></section><section number="3" title="Methods"><p>We consider lexical analogy generation as a se­quence of two key problems: <i>data extraction </i>and <i>relation-matching. </i>Data extraction involves the identification and extraction of pairs of semantically related words, as well as features that characterize their relations. Relation-matching involves match­ing word-pairs with similar features to form lexi­cal analogies. We describe our methods for solving these two problems in the following subsections.</p><subsection number="3.1" title="Data Extraction Extracting Word-Pairs"><p>To identify semantically related words, we rely on the assumption that highly syntactically related words also tend to be semantically related — a hy­pothesis that is supported by works such as Levin's (1993) study of English verbs. As such, the de­pendency structure of a sentence can be used to ap­proximate the semantic relatedness between its con­stituent words. Our system uses a dependency parser to parse the input text into a set of dependency trees, then searches through these trees to extract depen­dency paths satisfying the following constraints:</p><p>1. The path must be of the form <i>noun-verb-noun.</i></p><p>2. One of the nouns must be the subject of the clause to which it belongs.</p><p>Each of these paths is then turned into a word-pair by taking its two nouns. The path constraints that we use are suggested by the <i>subject-verb-object </i>(SVO) pattern commonly used in various relation extraction algorithms. However, our constraints allow signifi­cantly more flexibility than the SVO pattern in two important aspects. First, our constraints allow an arbitrary relation between the verb and the second noun, not just the object relation. Hence, word-pairs can be formed from a clause's subject and its loca­tion, time, instrument, and other arguments, which are clearly semantically related to the subject. Sec­ondly, searching in the space of dependency trees in­stead of raw text data means that we are able to find semantically related words that are not necessarily adjacent to each other in the sentence.</p><p>It is important to note that, although these con­straints improve the precision of our system and tend to identify effectively the most relevant word-pairs, they are not strictly necessary. Our system would be fully functional using alternative sets of constraints tailored for specific applications, or even with no constraints at all.</p><p>Using the sentence in Figure 1 as an example, our system would extract the dependency paths <i>"rebel</i></p><p><i>subj obj lt subj at</i></p><p><i>— fire — rocket </i>and <i>rebel — fire — con­voy", </i>and would thus generate the word-pairs <i>(rebel, rocket) </i>and <i>(rebel, convoy).</i></p><page local="3" global="563"/><figure caption='Figure 1: Dependency structures of"rebels fired rockets at a military convoy"after lemmatization'></figure><p><b>Extracting Features</b></p><p>Recall that each word-pair originates from a de­pendency path. The path, and in particular the mid­dle verb, provides a connection between the two words of the word-pair, and hence is a good in­dication of their semantic relation. Therefore, for each word-pair extracted, we also extract the depen­dency pattern derived from the word-pair's depen­dency path as a feature for the word-pair. We further justify this choice of feature by noting that the use of dependency patterns have previously been shown to be effective at characterizing lexico-syntactic re­lations (Lin and Pantel, 2001; Snow et al., 2004).</p><p>Using Figure 1 as an example again, the depen­dency patterns "_<i>s—j fire </i><i>——</i>_" and "_<i>s—j</i> <i>fire </i>_" would be extracted as a feature of <i>(rebel,</i> <i>rocket) </i>and <i>(rebel, convoy), </i>respectively.</p><p><b>Filtering</b></p><p>Word-pairs and features extracted using only de­pendency relations tend to be crude in several as­pects. First, they contain a significant amount of noise, such as word-pairs that have no meaningful underlying relations. Noise comes from grammati­cal and spelling mistakes in the original input data, imperfect parsing, as well as the fact that depen­dency structure only approximates semantic related-ness. Secondly, some of the extracted word-pairs contain underlying relations that are too general or too obscure for the purpose of lexical analogy gen­eration. For example, consider the word-pair <i>(com­pany, right) </i>from the sentence <i>"the company exer­cised the right to terminate his contract". </i>The two words are clearly semantically related, however the relation <i>(have </i>or <i>entitled-to) </i>is very general and it is difficult to construct satisfying lexical analogies from the word-pair. Lastly, some features are also subject to the same problem. The feature "_ — <i>say </i><i>——</i>_", for example, has very little characteri­zation power because almost any pair of words can occur with this feature.</p><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">subj</doubt><p>In order to retain only the most relevant word-pairs and features, we employ a series of refining filters. All of our filters rely on the occurrence statistics of the word-pairs and features. Let W = {wp1, wp2,wpn} be the set of all word-pairs and <i>F</i><i> </i><i>=</i><i> </i><i>{f1</i>, <i>f2</i>,<i>fm} </i>the set of all features. Let <i>Fwp</i>be the set of features of word-pair wp, and let <i>Wf</i><i> </i>be the set of word-pairs associated with feature f. Let O(wp) be the total number of occurrences of word-pair wp, O(f) be the total number of occur­rences of feature f, and O(wp, f) be the number of occurrences of word-pair wp with feature f. The following filters are used:</p><p>1. Occurrence filter: Eliminate word-pair wp if O(wp) is less than some constant <i>Kf1</i>, and eliminate feature f if O(f) is less than some constant Kf2. This filter is inspired by the sim­ple observation that valid word-pairs and fea­tures tend to occur repeatedly.</p><p>2. Generalization filter: Eliminate feature f if |Wf | is greater than some constant Kf3. This filter ensures that features associated with too many word-pairs are not kept. A feature that occurs with many word-pairs tend to describe overly general relations. An example of such our experiment occurred with several thousand word-pairs while most features occurred with less than a hundred.</p><doubt alpha="62.9" length="35" tooSmall="False" monospace="0.0">a feature is "_s—jsay——_", which in</doubt><page local="4" global="564"/><p>3. Data sufficiency filter: Eliminate word-pair wp if |Fwp| is less than some constant Kf4. This filter ensures that all word-pairs have sufficient features to be compared meaningfully.</p><p>4. Entropy filter: Eliminate word-pair wp if its <i>normalized entropy </i>is greater than some con­stant Kf5. We compute a word-pair's entropy by considering it as a distribution over features, in a manner that is analogous to the <i>feature en­tropy </i>defined in (Turney, 2006). Specifically, the normalized entropy of a word-pair wp is:</p><doubt alpha="60.6" length="33" tooSmall="False" monospace="0.0">e^wpP(f\W'P)log(P(f\W'P))log\Fwp\</doubt><p>where p(f |wp) = <i>°^WPfj</i><i> </i>is the conditional probability of f occurring in the context of wp. The normalized entropy of a word-pair ranges from zero to one, and is at its highest when the distribution ofthe word-pair's occurrences over its features is the most random. The justifica­tion behind this filter is that word-pairs with strong underlying relations tend to have just a few dominant features that characterize those relations, whereas word-pairs that have many non-dominant features tend to have overly gen­eral underlying relations that can be character­ized in many different ways.</p></subsection><subsection number="3.2" title="Relation-Matching"><p>Central to the problem of relation-matching is that of a <i>relational similarity function: </i>a function that com­putes the degree of similarity between two word-pairs' underlying relations. Given such a function, relation-matching reduces to simply computing the relational similarity between every pair of word-pairs, and outputting the pairs scoring higher than some threshold <i>Kth </i>as lexical analogies. Our sys­tem incorporates two relational similarity functions, as discussed in the following subsections.</p><p><b>Latent Relational Analysis</b></p><p>The baseline algorithm that we use to compute relational similarity is a modified version of Latent Relational Analysis (LRA) (Turney, 2006), that con­sists of the following steps:</p><p>1. Construct an n-by-m matrix A such that the ith row maps to word-pair wp», the jth column maps to feature f, and Ajj = O(wpi; f).</p><p>2. Reduce the dimensionality of A to a con­stant <i>Ksvd </i>using Singular Value Decomposi­tion (SVD) (Golub and van Loan, 1996). SVD produces a matrix A of rank <i>Ksvd </i>that is the best approximation of A among all matrices of rank <i>Ksvd. </i>The use of SVD to compress the feature space was pioneered in Latent Semantic Analysis (Deerwester et al., 1990) and has be­come a popular technique in feature-based sim­ilarity computation. The compressed space is believed to be a semantic space that minimizes artificial surface differences.</p><p>3. The relational similarity between two word-pairs is the cosine measure of their correspond­ing row vectors in the reduced feature space. Specifically, let Aj denote the ith row vector of A, then the relational similarity between word-pairs wpj1 and wpi2 is:</p><doubt alpha="22.2" length="9" tooSmall="False" monospace="0.0">A • . A •</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">a%1a%2</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">+</doubt><p>The primary difference between our algorithm and LRA is that LRA also includes each word's synonyms in the computation. Synonym inclusion greatly increases the size of the problem space, which leads to computational issues for our system as it operates at a much larger scale than previous work in relational similarity. Turney's (2006) exten­sive evaluation of LRA on SAT verbal analogy ques­tions, for example, involves roughly ten thousand re­lational similarity computations<footnote anchor="2"/>. In contrast, our system typically requires millions of relational sim­ilarity computations because every pair of extracted word-pairs needs to be compared. We call our algo­rithm LRA-S (LRA Without Synonyms) to differen­tiate it from the original LRA.</p><p><b>Similarity Graph Traversal</b></p><p>While LRA has been shown to perform well in computing relational similarity, it suffers from two limitations.<page local="5" global="565"/> First, the use of SVD is difficult to inter­pret from an analytical point of view as there is no formal analysis demonstrating that the compressed space really corresponds to a semantic space. Sec­ondly, even LRA-S does not scale up well to large data sets due to SVD being an expensive operation — computing SVD is in general O(mn • min(m, n)) (Koyuturk et al., 2005), where m, n are the number of matrix rows and columns, respectively.</p><footnote label="2">The study evaluated 374 SAT questions, each involving 30 pairwise comparisons, for a total of 11220 relational similarity computations.</footnote><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><p>To counter these limitations, we propose an alter­native algorithm for computing relational similarity — Similarity Graph Traversal (SGT). The intuition behind SGT is as follows. Suppose we know that wp1 and wp2 are relationally similar, and that wp2and wp3 are relationally similar. Then, by transi­tivity, wp1 and wp3 are also likely to be relation-ally similar. In other words, the relational similar­ity between two word-pairs can be reinforced by other word-pairs through transitivity. The actual al­gorithm involves the following steps:</p><p>1. Construct a <i>similarity graph </i>as follows. Each word-pair corresponds to a node in the graph. An edge exists from wp1 to wp2 if and only if the cosine measure of the two word-pairs' feature vectors is greater than or equal to some threshold Ksgt, in which case, the cosine mea­sure is assigned as the <i>strength </i>of the edge.</p><p>2. Define a <i>similarity path </i>of length k, or k-<i>path, </i>from wp1 to wp2 to be a directed acyclic path of length k from wp1 to wp2, and de­fine the <i>strength </i>s(p) of a path p to be the product of the strength of all of the path's edges. Denote the set of all k-paths from wp1 to wp2 as P(k, wp1; wp2), and denote the sum of the strength of all paths in P(k, wp1, wp2) as S(k, wp1, wp2).</p><p>3. The relational similarity between word-pairs wpj1 and wpi2 is:</p><doubt alpha="32.3" length="31" tooSmall="False" monospace="0.0">«1S(1,wp1,wp2)+«2S (2,wp1,wp2)+</doubt><doubt alpha="52.9" length="17" tooSmall="False" monospace="0.0">aK,S (Kz,wp1,wp2)</doubt><p>where K is the maximum path length to con­sider, and a1, ..., aKl are weights that are learned using least-squares regression on a small set of hand-labelled lexical analogies.</p><p>A natural concern for SGT is that relational simi­larity is not always transitive, and hence some paths may be invalid. For example, although <i>(teacher, student) </i>is relationally similar to both <i>(shepherd, sheep) </i>and <i>(boss, employee), </i>the latter two word-pairs are not relationally similar. The reason that this is not a problem for SGT is because truly simi­lar word-pairs tend to be connected by many transi­tive paths, while invalid paths tend to occur in iso­lation. As such, while a single path may not be in­dicative, a collection of many paths likely signifies a true common relation. The weights in step 3 en­sure that SGT assigns a high similarity score to two word-pairs only if there are sufficiently many tran­sitive paths (which are sufficiently strong) between them.</p><p><b>Analogy Filters</b></p><p>As a final step in both LSA-R and SGT, we fil­ter out lexical analogies of the form (w1 ,w2) and (w1 ,w3), as such lexical analogies tend to express the near-synonymy between w2 and w3 more than they express the relational similarity between the two word-pairs. We also keep only one <i>permuta­tion </i>of each lexical analogy: (w1,w2) and (w3,w4), (w3,w4) and (w1,w2), (w2,w1) and (w4,w3), and (w4,w3) and (w2,w1) are different permutations of the same lexical analogy.</p></subsection></section><section number="4" title="Evaluation"><p>Our evaluation consisted of two parts. First, we eval­uated the performance of the system, using LRA-S for relation-matching. Then, we evaluated the SGT algorithm, in particular, how it compares to LRA-S.</p><subsection number="4.1" title="System Evaluation Experimental Setup"><p>We implemented our system in Sun JDK 1.5. We also used MXTerminator (Reynar and Ratnaparkhi, 1997) for sentence segmentation, MINIPAR (Lin, 1993) for lemmatization and dependency parsing, and MATLAB<footnote anchor="3"/> for SVD computation. The exper­iment was conducted on a 2.1 GHz processor, with the exception of SVD computation which was car­ried out in MATLAB running on a single 2.<page local="6" global="566"/>4 GHz processor within a 64-processor cluster. The input corpus consisted of the following collections in the Text Retrieval Conference Dataset<footnote anchor="4"/>: AP Newswire 1988-1990, LA Times 1989-1990, and San Jose Mercury 1991. In total, 1196 megabytes of text data were used for the experiment. Table 1 summarizes the running times of the experiment.</p><footnote label="3"> http://www.mathworks.com</footnote><p>The parameter values selected for the experiment are listed in Table 2. The filter parameters were se­lected mostly through trial-and-error — various pa­rameter values were tried and filtration results exam­ined. We used a threshold value Kth = 0.80 to gener­ate the lexical analogies, but the evaluation was per­formed at ten different thresholds from 0.98 to 0.80 in 0.02 decrements.</p><p><b>Evaluation Protocol</b></p><p>An objective evaluation of our system is difficult for two reasons. First, lexical analogies are by defi­nition subjective; what constitutes a 'good' lexical analogy is debatable. Secondly, there is no gold standard of lexical analogies to which we can com­pare. For these reasons, we adopted a subjective evaluation protocol that involved human judges rat­ing the quality of the lexical analogies generated. Such a manual evaluation protocol, however, meant that it was impractical to evaluate the entire output set (which was well in the thousands). Instead, we evaluated random samples from the output and in­terpolated the results.</p><footnote label="4">http://trec.nist.gov/</footnote><p>In total, 22 human judges participated in the eval­uation. All judges were graduate or senior under­graduate students in English, Sociology, or Psychol­ogy, and all were highly competent English speak­ers. Each judge was given a survey containing 105 lexical analogies, 100 of which were randomly sam­pled from our output, and the remaining five were sampled from a control set of ten human-generated lexical analogies. All entries in the control set were taken from the Verbal Analogy section of the Stan­dard Aptitude Test<footnote anchor="5"/> and represented the best possi­ble lexical analogies. The judges were instructed to grade each lexical analogy with a score from zero to 10, with zero representing an invalid lexical analogy (i.e., when the two word-pairs share no meaningful underlying relation) and ten representing a perfect lexical analogy. To minimize inter-judge subjectiv­ity, all judges were given detailed instructions con­taining the definition and examples of lexical analo­gies. In all, 1000 samples out of the 8373 generated were graded, each by at least two different judges.</p><p>We evaluated the output at ten threshold values, from 0.98 to 0.80 in 0.02 decrements. For each threshold, we collected all samples down to that threshold and computed the following metrics:</p><p>1. Coverage: The number of lexical analogies generated at the current threshold over the number of lexical analogies generated at the lowest threshold (8373).</p><p>2. Precision: The proportion of samples at the current threshold that scored higher than three. These are considered valid lexical analogies. Note that this is significantly more conservative than the survey scoring. We want to ensure very poor lexical analogies were excluded, even if they were 'valid' according to the judges.</p><p>3. Quality: The average score of all samples at the current threshold, divided by ten to be in the same scale as the other metrics.</p><p>4. Goodness: The proportion of samples at the current threshold that scored within 10% of the average score of the control set. These are con­sidered human quality.</p><footnote label="5">http://www.collegeboard.com/</footnote><table caption="Table 1: Experiment Running Times" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Process</p></td><td class="cell"><p>Time</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Sentence Segmentation</p></td><td class="cell"><p>20 min</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dependency Parsing</p></td><td class="cell"><p>2232 min</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Data Extraction</p></td><td class="cell"><p>138 min</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Relation-Matching</p></td><td class="cell"><p>65 min</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></tr></table><table caption="Table 2: Experiment Parameter Values" 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>K/l</p></td><td class="cell"><p>K/2</p></td><td class="cell"><p>K/3</p></td><td class="cell"><p>K/4</p></td><td class="cell"><p></p></td><td class="cell"><p><i>Ksvd</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>35</p></td><td class="cell"><p>10</p></td><td class="cell"><p>100</p></td><td class="cell"><p>10</p></td><td class="cell"><p>0.995</p></td><td class="cell"><p>600</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="567"/><p>Note that recall was not an evaluation metric be­cause there does not exist a method to determine the true number of lexical analogies in the input corpus.</p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Result</doubt><p>Table 3 summarizes the result of the control set, and Figure 2:Left summarizes the result of the lex­ical analogies our system generated. Table 4 lists some good and some poor lexical analogies our sys­tem generated, along with some of their shared fea­tures.</p><p>As Figure 2 shows, our system performed fairly well, generating valid lexical analogies with a preci­sion around 70%. The quality of the generated lex­ical analogies was reasonable, although not at the level of human-generation. On the other hand, a small portion (19% at the highest threshold) of our output was of very high quality, comparable to the best human-generated lexical analogies.</p><p>Our result also showed that there was a correspon­dence between the score our system assigned to each generated lexical analogy and its quality. Precision, quality, and goodness all declined steadily toward lower thresholds: precision 0.70-0.66, quality 0.54­0.49, and goodness 0.19-0.14.</p><p><b>Error Analysis</b></p><p>Despite our aggressive filtration of irrelevant word-pairs and features, noise was still the most sig­nificant problem in our output. Most low-scoring samples contained at least one word-pair that did not have a meaningful and clear underlying relation; for examples, <i>(guy, ball) </i>and <i>(issue, point). </i>As men­tioned, noise originated from mistakes in the input data, errors in sentence segmentation and parsing, as well as mismatches between dependencies and semantic relatedness. An example of the latter in­volved the frequent usage of the proposition "of" in various constructs. In the sentence "the <i>com­pany takes advantage ofthe new legislation", </i>for example, the dependency structure associates <i>com­pany </i>with <i>advantage, </i>whereas the semantic relation clearly lies between <i>company </i>and <i>legislation. </i>All three of our evaluation metrics (precision, quality, and goodness) were negatively affected by noise.</p><p>Polysemic words, as well as words which were heavily context-dependent, also posed a problem. For example, one of the lexical analogies generated in the experiment was <i>(resolution, house) </i>and <i>(leg­islation, senate). </i>This lexical analogy only makes sense if <i>"house" </i>is recognized as referring to the House of Representatives, which is often abbrevi­ated as <i>"the House" </i>in news articles. Polysemy also negatively affected all three of our evaluation met­rics, although to a lesser extent for precision.</p><p>Finally, our system had difficulties differentiat­ing semantic relations of different granularity. The underlying relations of <i>(relation, country) </i>and <i>(tie, united states), </i>for example, are similar, yet they do not form a good lexical analogy because the rela­tions are at different levels of granularity (countries in general in the former, and a particular country in the latter). Undifferentiated granularity affected quality and goodness, but it did not have a signifi­cant effect on precision.</p></subsection><subsection number="4.2" title="SGT Evaluation"><p>To evaluate how SGT compares to LRA-S, we repeated the experiment using SGT for relation-matching. We set K (maximum path length) to 3, and <i>K</i><i>sgt </i>(cosine threshold) to 0.2; these values were again determined largely through trial-and-error. To train SGT, we used 90 lexical analogies graded by human judges from the previous experiment. In or­der to facilitate a fair comparison to LRA-S, we se­lected Kth values that allowed SGT to generate the same number of lexical analogies as LRA-S did at each threshold interval.</p><p>Running on the same 2.1 GHz processor, SGT finished in just over eight minutes, which is almost a magnitude faster than LRA-S' 65 minutes. SGT also used significantly less memory, as the similar­ity graph was efficiently stored in an adjacency list. The sets of lexical analogies generated by the two algorithms were quite similar, overlapping approxi­mately 50% at all threshold levels.</p><p>The significant overlap between SGT and LRA-S' outputs allowed us to evaluate SGT using the sam­ples collected from the previous surveys instead of conducting a new round of human grading. Specifi­cally, we identified previously graded samples that had also been generated by SGT, and used these samples as the evaluation data points for SGT.<page local="8" global="568"/> At the lowest threshold (where 8373 lexical analogies were generated), we were able to reuse 533 samples out of the original 1000 samples. Figure 2:Right sum­marizes the performance of the system using SGT for relation-matching.</p><table caption="Table 3: Result of the Control Set" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Coverage</p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Quality</p></td><td class="cell"><p>Goodness</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>N/A</p></td><td class="cell"><p>1.00</p></td><td class="cell"><p>0.97</p></td><td class="cell"><p>0.90</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></tr></table><figure caption="Figure 2: System Evaluation Results"></figure><p>As the figure shows, SGT performed very simi­larly to LRA-S. Both SGT's precision and quality scores were slightly higher than LRA-S, but the dif­ferences were very small and hence were likely due to sample variation. The goodness scores between the two algorithms were also comparable. In the case of SGT, however, the score fluctuated instead of monotonically decreased. We attribute the fluctu­ation to the smaller sample size.</p><p>As the samples were drawn exclusively from the portion of SGT's output that overlapped with LRA-S' output, we needed to ensure that the samples were not strongly biased and that the reported result was not better than SGT's actual performance. To val­idate the result, we conducted an additional experi­ment involving a single human judge. The judge was given a survey with 50 lexical analogies, 25 of which were sampled from the overlapping portion of SGT and LRA-S' outputs, and 25 from lexical analogies generated only by SGT. Table 5 summarizes the re­sult of this experiment. As the table demonstrates, the results from the two sets were comparable with small differences.<page local="9" global="569"/> Moreover, the differences were in favour of the SGT-only portion. Therefore, either there was no sampling bias at all, or the sampling bias negatively affected the result. As such, SGT's actual performance was at least as good as reported, and may have been slightly higher.</p><table caption="Table 4: Examples of Good and Poor Lexical Analogies Generated" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Good Examples</p></td><td class="cell"><p>Shared Features</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>(vietnam, cambodia) </i>and <i>(iraq, kuwait)</i></p></td><td class="cell"><p><i>subi .       , obj</i></p><p><i>_ — invade —_</i>,</p></td><td class="cell"><p><i>subj </i><i>of</i></p><p><i>_ —- pull out —_</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>(building, office) </i>and <i>(museum, collection)</i></p></td><td class="cell"><p><i>subj obj</i></p><p><i>_ — house —_</i>,</p></td><td class="cell"><p><i>subj               , obj</i></p><p><i>_ — consolidate —_</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>(stock market, rally) </i>and <i>(student, march)</i></p></td><td class="cell"><p><i>subj obj </i><i>_ — stage —_</i></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>(researcher, experiment) </i>and <i>(doctor, surgery)</i></p></td><td class="cell"><p><i>subj obj </i><i>_ — perform —_</i></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>(gainer, loser) </i>and <i>(decline, advance)</i></p></td><td class="cell"><p><i>subj obj </i><i>_ — outnumber — _</i></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>(book, shelf) </i>and <i>(picture, wall)</i></p></td><td class="cell"><p><i>with </i><b><i>j. </i></b><i>subj</i></p><p><i>_ — line — _</i>, <i>_</i></p></td><td class="cell"><p><i>subj          . on</i></p><p><i>_ — remain —_</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>(blast, car) </i>and <i>(sanction, economy)</i></p></td><td class="cell"><p><i>subi , obj</i></p><p><i>_ — damage —_</i></p></td><td class="cell"><p><i>by   , subj</i></p><p>, <i>_— destroy — _</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Poor Examples</p></td><td class="cell"><p>Shared Features</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>(president, change) </i>and <i>(bush, legislation)</i></p></td><td class="cell"><p><i>subj obj</i></p><p><i>_ —- veto —_</i></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>(charge, death) </i>and <i>(lawsuit, federal court)</i></p></td><td class="cell"><p><i>subj „7 in</i></p><p><i>_ — file —_</i></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>(relation, country) </i>and <i>(tie, united states)</i></p></td><td class="cell"><p><i>obj subj</i></p><p><i>_— severe — _</i></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>(judge, term) </i>and <i>(member, life)</i></p></td><td class="cell"><p><i>subj to</i></p><p><i>_ — sentence —_</i></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>(issue, point) </i>and <i>(stock, cent)</i></p></td><td class="cell"><p><i>subj </i><i>be </i><i>down</i></p></td><td class="cell"><p><i>subj </i><i>be </i><i>up</i></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>We conclude that SGT is indeed a viable alter­native to LRA-S. SGT generates lexical analogies that are of the same quality as LRA-S, while be­ing significantly faster and more scalable. On the other hand, an obvious limitation of SGT is that it is a supervised algorithm requiring manually labelled training data. We claim this is not a severe limitation because there are only a few variables to train (i.e., the weights), hence only a small set of training data is required. Moreover, a supervised algorithm can be advantageous in some situations; for example, it is easier to tailor SGT to a particular input corpus.</p></subsection></section><section number="5" title="Related Work"><p>The study of analogy in the artificial intelligence community has historically focused on computa­tional models of analogy-making. French (2002) and Hall (1989) provide two of the most complete surveys of such models. Veale (2004; 2005) gen­erates lexical analogies from WordNet (Fellbaum, 1998) and HowNet (Dong, 1988) by dynamically creating new type hierarchies from the semantic information stored in these lexicons. Unlike our corpus-based generation system, Veale's algorithms are limited by the lexicons in which they oper­ate, and generally are only able to generate <i>near-analogies </i>such as <i>(Christian, Bible) </i>and <i>(Muslim, Koran). </i>Turney's (2006) Latent Relational Analy­sis is a corpus-based algorithm that computes the re­lational similarity between word-pairs with remark­ably high accuracy. However, LRA is focused solely on the relation-matching problem, and by itselfis in­sufficient for lexical analogy generation.</p></section><section number="6" title="Conclusion and Future Work"><p>We have presented a system that is, to the best of our knowledge, the first system capable of generating lexical analogies from unstructured text data. Em­pirical evaluation shows that our system performed fairly well, generating valid lexical analogies with a precision of about 70%. The quality of the gen­erated lexical analogies was reasonable, although not at the level of human performance. As part of the system, we have also developed a novel al­gorithm for computing relational similarity that ri­vals the performance of the current state-of-the-art while being significantly faster and more scalable. One of our immediate tasks is to complement depen­dency patterns with additional features. In particu­lar, we expect semantic features such as word defini­tions from machine-readable dictionaries to improve our system's ability to differentiate between differ­ent senses of polysemic words, as well as different granularities of semantic relations. We also plan to take advantage of our system's flexibility and relax the constraints on dependency paths so as to gen­erate more-varied lexical analogies, e.g., analogies involving verbs and adjectives.</p><p>A potential application of our system, and the original inspiration for this research, would be to use the system to automatically enrich ontologies by spreading semantic relations between lexical ana­logues. For example, if words w1 and w2 are related by relation r, and (wi, w2) and <i>(w3, </i>w4) form a lex­ical analogy, then it is likely that <i>w3 </i>and w4 are also related by r. A dictionary of lexical analogies there­fore would allow an ontology to grow from a small set of seed relations. In this way, lexical analogies become bridges through which semantic relations flow in a sea of ontological concepts.</p></section><section title="Acknowledgments"><p>We thank the reviewers of EMNLP 2007 for valu­able comments and suggestions. This work was sup­ported in part by the Ontario Graduate Scholarship Program, Ontario Innovation Trust, Canada Foun­dation for Innovation, and the Natural Science and Engineering Research Council of Canada.</p><table caption="Table 5: Overlap vs. SGT-Only" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Quality</p></td><td class="cell"><p>Goodness</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Overlap</p></td><td class="cell"><p>0.76</p></td><td class="cell"><p>0.56</p></td><td class="cell"><p>0.28</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SGT-Only</p></td><td class="cell"><p>0.88</p></td><td class="cell"><p>0.62</p></td><td class="cell"><p>0.2</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></tr></table><page local="10" global="570"/></section><references><p>Scott Deerwester, Susan T. Dumais, George W. Furnas, Thomas K. Landauer, and Richard Harshman. 1990. Indexing by latent semantic analysis. <i>Journal of the American Society for Information Science, </i>41:391— 407.</p><p>Dong Zhen Dong. 1988. What, how and who? <i>Pro­ceedings of the International Symposium on Electronic Dictionaries. </i>Tokyo, Japan.</p><p>Christine Fellbaum, editor. 1998. <i>WordNet — An Elec­tronic Lexical Database. </i>MIT Press.</p><p>Robert French. 2002. The computational modeling of analogy-making. <i>Trends in Cognitive Sciences, </i>6(5):200—205.</p><p>Gene Golub and Charles van Loan. 1996. <i>Matrix Com­putations. </i>Johns Hopkins University Press, third edi­tion.</p><p>Rogers Hall. 1989. Computational approaches to ana­logical reasoning: A comparative analysis. <i>Artificial Intelligence, </i>39:39—120.</p><p>Mehmet Koyuturk, Ananth Grama, and Naren Ramakr-ishnan. 2005. Compression, clustering, and pattern discovery in very high-dimensional discrete-attribute data sets. <i>IEEE Transactions on Knowledge and Data Engineering, </i>17(4):447—461.</p><p>Beth Levin 1993. <i>English Verb Classes and Alter­nations: A Preliminary Investigation. </i>University of Chicago Press.</p><p>Dekang Lin. 1993. Principle-based parsing without overgeneration. <i>Proceedings of the 31st Annual Meet­ing on ACL, </i>pp 112—120. Columbus, USA.</p><p>Dekang Lin and Patrick Pantel. 2001. Discovery ofinfer-ence rules for question answering. <i>Natural Language Engineering, </i>7(4):343—360.</p><p>Jane Morris and Graeme Hirst. 2004. Non-classical lex­ical semantic relations. <i>Proceedings ofthe Compu­tational Lexical Semantics Workshop at HLT-NAACL 2004, </i>pp 46—51. Boston, USA.</p><p>Jeffrey C. Reynar and Adwait Ratnaparkhi. 1997. A maximum entropy approach to identifying sentence boundaries. <i>Proceedings of the 5th Conference onAp-plied Natural Language Processing, </i>pp 16—19. Wash­ington, USA.</p><p>Gerard Salton, A. Wong, and C.S. Yang. 1975. A vector space model for automatic indexing. <i>Communications of the ACM, </i>13(11):613—620.</p><p>Rion Snow, Daniel Jurafsky, and Andrew Ng. 2004. Learning syntactic patterns for automatic hypernym discovery. <i>Proceedings of the 2004 Neural Infor­mation Processing Systems Conference. </i>Vancouver, Canada.</p><p>Lucien Tesniere. 1959. <i>Eléments de Syntaxe Structurale. </i>Librairie C. Klincksieck, Paris.</p><p>Peter D. Turney. 2006. Similarity of semantic relations. <i>Computational Linguistics, </i>32(3):379^416.</p><p>Tony Veale, Jer Hayes, and Nuno Seco. 2004. The Bible is the Christian Koran: Discovering simple analogical compounds. <i>Proceedings of the Workshop on Com­putational Creativity in 2004 European Conference on Case-Based Reasoning. </i>Madrid, Spain.</p><p>Tony Veale. 2005. Analogy generation with HowNet. <i>Proceedings of the 2005 International Joint Confer­ence on Artificial Intelligence. </i>Edinburgh, Scotland.</p></references></body></article>