ebook img

DTIC ADA460709: Parsing the Voyager Domain Using Pearl PDF

7 Pages·0.61 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview DTIC ADA460709: Parsing the Voyager Domain Using Pearl

Parsing the Voyager Domain Using Pearl David M. Magerman and Mitchell P. Marcus SIC tnemtrapeD ytisrevinU of ainavlysnneP ,aihpledalihP AP 40191 ABSTRACT • In order for stochastic techniques to be ett~ctive, they must This paper* describes a .al, ural language p~rsi.g algorithm r)& un- be applied with restraint (poor estimates of context axe resu'icl,ed I,ext which uses a probabilhq-hased scoring funct,iow o,I se- worse than none6|). ,l:(el I,he "besC: parse of /~ sent,enos acc:ording ~c,t a given gra0nunar. • Interactive, interlea~'ed architectures axe preferable to pipeline The parser~ "Pearl~ xi a i,hne-asynciironous t)ol,l,orn-u )1 chart, parser with architectures in NLU systems, because they use more of the Earley-l,ype I,Ol)-dowil t)redic:l,ion which pursues I,he }6gtmsl,-s(:ori.g t,he- available information in the decision-malting process. ory in I,he (:|larl,, where I,he set)re of a IJmory represe.l,s I,|le exl,e.l, o,I W|lic:|l el}L ~:on|,exl, ~)( I,|le e:ciue,ltues predic:l;s ,tal},I int,erprel,at,ion. This parser {lifters front previous s,l)lnUe,ua el, :(i,ts.al}:(ots parsers in I,|lal, ,ti .ses We have constructed a stochastic parser, "Pearl, which is based a richer h)rm of condii,ional probabilil, ies |)a.~ed on conl,exl, o,l predict, on these ideas. likelihood. Pearl Mso provides a framework for in(:orporat,ing the resuh,s of previo.s work in part,-of-st)eeeh assig.tnenl,) InlkutowIi word u||od- The development of the Pearl parser is an ettbrt to combine els, and olJher l)rol)abilist,ic models ff( linguistfic feauJres im,o o.e pars- the statistical models developed recently into a single tool which i.g U)t), inl,erleaving esel},I I,e(:imiques |.stead of usi.g ,Ihe anoi,lil~ar,I incorporates all of these models into the decision-making compo- pipeline archil,eci, ure. In ,Iesl~ perh~ruvled on I,|ie Voyager (lirecl,io.- nent of .a parser. While we hax'e only attempted to incorporate a finding domain, "Pearl has been s.ccessful el, resolvi.g parl,-of-speech few simple statistical models into this parser, Peaxl is structured aunifiguhq, del,ermiufing cal,egories for umknow, words, and selecl,ing correcl, parses firsl, using a very loosely ,lif l,lng covering grammar. ~ in a way which allows any number of syntactic, semantic, and other knowledge sources to contribute to parsing decisions. 'l'he current implementation of Pearl uses Church's part-of-speech as- signment trigram model, a simple probabilistic unknown word INTRODUCTION model, and a conditional probability model for grammar rules based on part-of-speech trigrams and parent rules. All natural language grammars are ambiguous. Even tightly fitting natural language grammars are ambiguous in some ways. By combining multiple knowledge sources and using a chart- Loosely fitting grammars, which are necessary for handhng the parsing framework, Pearl attempts to handle a number of difficult variability and complexity of unrestricted text and speech, are problems. Pearl has the capability to parse word lattices, an worse. The standard technique for dealing with this ambiguity, ability which is useful in recognizing idioms in text processing, as prtming grammars by hand, is painful, time-consuming, and usu- well as in speech processing. The parser uses probabilistic training ally arbitrary. The solution which many people have proposed is from a corpus to disambiguate between grammatically acceptable to use stochastic models to train statistical grammars automati- structures, such as determining prepositional phrase attachment cally from a large corpus. and conjunction scope. Finally, Pearl ms|mains a well-formed subs|ring table within its chart to allow for partial parse retrieval. Attempts in applying statistical techniques to natural lan- Partial parses are useful both for error-message generation and for guage parsing have exhibited varying degrees of success. These processing ungrammatical or incomplete sentences. successful and unsuccessful attempts have suggested to us that: For preliminary tests of Pearl's capabilities, we are using the • Stochastic techniques combined with traditional hnguistic Voyager direction-finding domain, a spoken-language system de- theories nac (and indeed must) provide a solution to the veloped at MiT. 3 We have selected this domain for a number natural language understanding problem. of reasons. First, it exhibits the attachment regularities which we are trying to capture with the context-sensitive probability *This work was partially supportcd by DARPA grant No. -58-4101tN model. Also, since both MIT and Unisys have developed parsers ,8100K ONR contract No. 1710~O-98-41ltltltN by DARPA and AIrOSR jointly and grammars for this domain, there are existing parsers with ttndcr grant .oN ,661tU-09-RSOFA and by ARO grant .oN DAAL 131tltC-98-30 which we can compare 7Pearl. Finally, pearl's dependence on PRL SpccJal thanks to Carl Wcir and Lynettc Hirschman at Unisys for thcir a parsed corpus to train its models and to deri~ its grammar valucd input, guidancc and support. 2Thc grammar uscd for o~tr cxpcrimcnts is the string grammar used in 3Spccial thanks to Victor Zuc at MIT for thc use of thc speech data from U nisys: P U NDIT natural languagc undcrstanding systcm. MIT:s Voyagcr system. 231 Report Documentation Page Form Approved OMB No. 0704-0188 Public reporting burden for the collection of information is estimated to average 1 hour per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Washington Headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington VA 22202-4302. Respondents should be aware that notwithstanding any other provision of law, no person shall be subject to a penalty for failing to comply with a collection of information if it does not display a currently valid OMB control number. 1. REPORT DATE 3. DATES COVERED 1991 2. REPORT TYPE 00-00-1991 to 00-00-1991 4. TITLE AND SUBTITLE 5a. CONTRACT NUMBER Parsing the Voyager Domain Using Pearl 5b. GRANT NUMBER 5c. PROGRAM ELEMENT NUMBER 6. AUTHOR(S) 5d. PROJECT NUMBER 5e. TASK NUMBER 5f. WORK UNIT NUMBER 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) 8. PERFORMING ORGANIZATION Department of Computer and Information Sciences,University of REPORT NUMBER Pennsylvania,Philadelphia,PA,19104 9. SPONSORING/MONITORING AGENCY NAME(S) AND ADDRESS(ES) 10. SPONSOR/MONITOR’S ACRONYM(S) 11. SPONSOR/MONITOR’S REPORT NUMBER(S) 12. DISTRIBUTION/AVAILABILITY STATEMENT Approved for public release; distribution unlimited 13. SUPPLEMENTARY NOTES 14. ABSTRACT 15. SUBJECT TERMS 16. SECURITY CLASSIFICATION OF: 17. LIMITATION OF 18. NUMBER 19a. NAME OF ABSTRACT OF PAGES RESPONSIBLE PERSON a. REPORT b. ABSTRACT c. THIS PAGE 6 unclassified unclassified unclassified Standard Form 298 (Rev. 8-98) Prescribed by ANSI Std Z39-18 required that we use a domain for which a parsed corpus ex- Simple probabilistic CFGs dictate that, given this information, isted. A corpus of 1100 parsed sentences was generated by the "determiner noun" should be the most likely interpretation of a Unisys' TIDNt.I'-I Language Understanding System. These parse noun phrase. trees were evaluated to be semantically correct by PUNDIT'S se- mantics component, although no hand-verification of this corpus Now, consider only those noun phrases which occur as subjects was performed. PUNDIT'S parser uses a string grammar with many of a sentence. In a given corpus, yon might find that, pronouns comphcated, hand-generated restrictions. The goal of the exper- occur just as frequently as "determiner nolm"s in the subject iments we performed was to reproduce (or improve upon) the position. This type fff~ information can ea~ily be captured by parsing accuracy of PUNDIT USing jUSt the context-free backbone conditional probabilities. of the PIINDIT grammar, without the hand-generated restrictions Finally, assume that the sentence begins with a pronoun fol- and, equally important, without the benefit of semantic analysis. lowed by a verb. In this case, ,ti is quite clear that, while yon In .a test on 40 Voyager sentences excluded from the training can probably concoct a sentence which fits this description and material, Pearl has shown promising results in handling part- does not have a pronoun for a subject, the first theory which yon of-speech assignment, prepositional phrase attachment, and un- should pursue is one which makes this hypothesis. known word categorization. Pearl correctly parsed 35 out of 40 The context-sensitive conditional probabilities which "Pearl or 87.5% of these sentences, where a correc~ parse is defined to uses take into account the immediate parent of a theory 4 and the mean one which would produce a correct response from the Voy- part-of-speech trigram centered at the beginning of the theory. ager system. We will describe the details of this experiment later. For example, consider the sentence: In this paper, we will first explain our contribution to the stochastic models which axe used in Pearl: a context-free gram- mar with context-sensitive conditional probabilities. Then, we My first love was named 'Pearl. will describe the purser's architecture and the parsing algorithm. (no subliminal propaganda intended) Finally, we will gi~m the results of experiments we performed using Pearl which explore its capabilities. A theory which tries to interpret "love" as a verb will be scored based on the part-of-speech trigram "adjective verb verb" and the parent theory, probably "S +-- NP VP." A theory which interprets USING STATISTICS TO PARSE "love" as a noun will be scored based on the trigram "adjective Recent work involving context-~ee and context-sensitive prob- noun verb." Although lexical probabilities favor "love" as a verb, abilistic grammars provide httle hope for the success of processing the conditional probabilities will heavily favor "love" ~.a a noun unrestricted text using probabilistic techniques. Works by Chi- in this context. 5' trao and Grishman3 and by Sharman, Jehnek, and MercerIll exhibit accuracy rates lower than 50% using supervised training. Using the Geometric Mean of Theory Scores Supervised training for probabilistic CFGs requires parsed cor- According to probability theory, the likelihood of two inde- pora., which is very costly in time and maa-power2. pcndcnl, events occurring at, the same time is the product of their In our investigations, we have made two observations which individual probabilities. Previous statistical parsing techniques attempt to explain the lack-luster performance of statistical pars- apply this definition to the cooceurrence of two theories in a parse, ing techniques: and claim that the likelihood of the two theories being correct is the product of the probabilities of the two theories. • Simple probabilistic CFGs provide generalinformation about This application of probability theory ignores two vital obser- how likely a construct is going to appear anywhere in a sam- vations about the domain of statistical parsing: ple of a language. This average likehhood is often a poor estimate of probability. • Two constructs occurring in the same sentence are not, nec- • Parsing algorithms which accumulate probabilities of parse essarily independent (and frequently are not). If the inde- theories by simply multiplying them over-penalize infre- pendence assumption is violated, then the product of in- quent constructs. dividual probabilities has no meaning with respect to the joint probability of two event, s. Pearl avoids the first pitfall by using a context-sensitive condi- • Since statistical parsing suffers from sparse data, probability tional probabihty CFG, where context of a theory is determined estimates of low frequency events will usually be inaccurate by the theories which predicted it and the part-of-speech se- estimates. Extreme underestimates of the likelihood of low quences in the input sentence. 'lb address the second issue, Pearl frequency events will produce misleading joint probability scores each theory by using the geometric mean of the contextual estimates. conditional probabilities of all of the theories which have con- tributed to that theory. This is equivalent to using the sum of 4Tl,e parent of a theory is defined as a theory with a CF rule which contains the logs of these probabilities. the left-hand side of the theory. For instance, if S~ ~ NP VP" and "NP *-- det o" are two grammar rules, the .first rule can be a parent of the secoud~ CFG with context-sensitive conditional probabilities sittce the left-hand side of the second "NP" occurs in the right-hand side of the frst rule. In a very large parsed corpus of English text, one finds that 5In fact, the part-of-speedt tagging model wlddt is also used in "Pearl will the most frequently occurring noun phrase structure in the text heavily favor "love" as a noun. We ignore this behavior to demonstrate the is a noun phrase containing a determiner followed by a noun. benefits of the trlgram conditioning. 232 From these observations, we have determined that estimating ery frequency count. 8 Low-scoring theories will be predicted by joint probabilities of theories using individual probabilities is too the Earley-style parser. And, if no other hypothesis is suggested, difficnlt with the available data. We have fonnd that the geo- these theories will be pursued. If a high scoring theory advances metric mean of these probability estimates provides an accurate a theory with a very low raw score, the resulting theory's score assessment of a theory's viability. will be the geometric mean of all of the raw scores of theories contained in thkt theory, and thus will be much higher than the The Actual Theory Scoring Function low-scoring theory's score. In a departnre from standard practice, and perhaps against Example of Scoring Fnnction As an example of how the conditional- better judgment,we will include a precise description of the the- probability-based scoring fimction handles ambiguity, consider ory scoring fimction used by Pearl. This scoring fimction tries to the sentence solve some of the problen~ noted in previous attempts at proba- bilistic parsing311: Fruit flies like a banana. • Theory scores should not depend no the length of the string which the theory spans. in the domain of insect studies. Lexica.I probabilities should indi- cate that the word "flies" is more likely to be a plural noun than • Sparse data. (zero=frequency events) and even zero=probability a tensed verb. This information is incorporated in the trigram events do occur, and shonld not resnlt in zero scoring the- scores. However, when the interpretation ories. • Theory scores should not discriminate against unlikely con= S-+. NPVP structs when the context predicts them. In this discnssion, a theory is defined to be a partial or com- is proposed, two possible NPs will be parsed, plete syntactic interpretation of a word string, or, simply, a parse tree. The raw score of a theory, 0, is calculated by taking the NP ~-- noun (frnit) product of the conditional probability of that theory's CFG rule given the context, where context is a part-of-speech trigram cen- and tered at the beginning of the theory and a parent theory's rule, and the score of the contextnal trigram: NP ~ noun nmm (fruit .)6.elif SCram(0) = .p(rulcol(poPtP2), rulcparent)Sc(poplp2) Since this sentence is syntactically a.mbiglmns, if the first hypoth- Here, the score of a trigram is the prodnct of the mutna in- esis is tested first, the parser will interpret this sentence incor- formation of the part-of-speech trigram, 6 P0PlP2, and the lexical rectly. probability of the word at the location of Pi being assigned that part-of-speech Pi 7. In the case of ambiguity (part-of-speech am- However, this will not happen in this domain. Since "fruit bignity or multiple parent theories), the maximnm valne of this flies" is a conmmn idiom in insect studies, the score of its tri- product is used. The score of a partial theory or a complete the- gram, noun noun verb, will be much greater than the score of the ory is the geometric mean of the raw scores of all of the theories trigram, noun verb verb. Thus, not only will the lexical proba- which are contained in that theory. bility of the word "fliesverb" be lower than that, of "flies/norm," but also the raw score of "NP ~ noun (fruit)" will be lower than Theory Length Independence This scoring fimction, although that, of "NP ~ norm noun (fruit flies)," because of the differential heuristic in derivation, provides a method for evaluating the value between the trigram scores. of a theory, regardle~ of its length. When a rule is first, predicted (Earley-style), its score is just its raw score, which represents how So, "NP ~-- noun noun" will be used first to advance the "S mnch the context predicts it. However, when the parse process . NP VP" rnle. Further, even if the parser advances both NP hypothesizes interpretations of the sentence which reinforce this hypotheses, the "S ~ NP . VP" rnle using "NP ~-- noun noun" theory, the geometric mean of all of the raw scores of the rule's will have a higher score than the "S ~ NP . VP" rule using "NP snbtree is nsed, representing the overall likelihood of the theory ---~ I'I110111 .~ given the context of the sentence. INTERLEAVED ARCHITECTURE IN Low-freqnency Events Although some statistical natural lan- gnage applications employ backing-off estimation techniqnes105 PEARL to handle low-frequency events, 'Pearl uses a very simple estima- The interleaved architecture implemented in .pearl provides tion technique, reluctantly attributed to Church6. This tech- many advantages over the traditional pipeline architecture, but niqne estimates the probability of an event by adding 0.5 to ev- it also introduces certain risks. Decisions about word and part- of-speech ambiguity can be delayed nntil syntactic processing can 6The mutual information of a part-of-speech trigrnm, poPlP2, is defined to be ..pry ~w') . where x is yna part-of-sr)eech. eeS 4 rof further (M" pilxp~)'P( ~t ) ) eWS are not deliberately avoiding using lla probability estimation tech- xe .noitanalp ,seuqin only those backLItg-O~ teclLttiqu.eS wltich thse ecnedne).ledLti -pmuss~¢ ehT7 trigram scoring traction actually used by the parser is somewhat ~ons that frequently provide misleading information when applied to natural more complicated than this. language. 233 disarnbignate them. And, using the appropriate score combina- which are crncial to robustly processing unrestricted natliral lan- /,ion fimctions, the scoring of ambiguous choices can direct the guage text and speech. parser towards the most likely interpretation efficiently. Handling Unknown Words Pearl uses a very simple proba- However, with these delayed decisions comes .a vastly enlarged bilistic unknown word model to hypothesize categories for un- search space. The effectiveness of the parser depends on a major- known words. When a word is fonnd which is unknown to the ity of the theories having very low scores barred on either unlikely system's lexicon, the word is a.ssumed to be any one of the open syntactic struct~Jres or low scoring input (such as low scores from ss~alc categories. The lexical probability given a category is the a speech recognizer or low lexical probability). In experiments we probability of that category occurring in the training corpns. have performed, this has been the case. Idiom Processing and Lattice Parsing Since the parsing search space can be simplified by recognizing idion~s, Pearl allows the The Parsing Algorithm inpnt string to inch~de idiorrrs that. span more than one word in Pearl is an agenda~ba~sed time-asynchronous bottom-up chart the sentence. This is accomplished by viewing the input sentence parser with Earley-type top-down prediction. The significant dif- as a word lattice instead of a word string. Since idioo~s tend to ference between T~earl and non-probabilistic bottom-up parsers be nnambignous with respect to part-of-speech, they are gener- is that instead of completely generating all grammatical inter- ally favored over processing the individual words that make up pretations of a word string, ~earl uses an agenda to order the the idiom, since the scores of rules containing the words will tend incomplete theories in its chart to determine which theory to ad- to be lens than 1, while a syntactically appropriate~ unambiguous vance next. The agenda is sorted by the value of the theory idiom will have a score of close to .1 scoring fimction described above. Instead of expanding all the- ories in the chart, Pearl pl~rsnes the highest-scoring incomplete The ability to parse a sentence with mnltiple word hypothe- theories in the chart, advancing up to N theories at each pass. ses and word boundary hypotheses makes Pearl very nsefifi in However, T~earl parses without pruning. Although it is only ad- the domain of spoken language processing. By delaying decisions vancing N incomplete theories at each pass, it retains the lower about word selection but maintaining scoring information from scoring theories in its agenda. If the higher scoring theories do a speech recognizer, the parser can use grammatical information not generate viable alternatives, the lower scoring theories may in word selection without slowing the speech recognition process. be used on snbseqnent passes. Because of Pearl's interleaved architecture, one conld ea.sily in- corporate scoring information from a speech recognizer into the The parsing algorithm begins with an input word lattice, which set of scoring flnctions used in the parser. 'Pearl could also pro- describes the input sentence and includes possible idiom bypothese vide feedback to the speech recognizer abont the grarnmaticality and may include alternative word hypotheses. q" Lexical rules for of fragment hypotheses to glfide the recognizer's search. /.he input word lattice are inserted into the parser's chart,. Using Earley-type prediction, a sentence (S) is predicted at the begin- Partial Parses The main advantage of chart-barred parsing ning of the input, and all of the theories which are predicted by over other parsing algorithms is that a chart-based parser can that initial sentence are inserted into the chart. These incomplete recognize well-formed substrings within the input string in the theories are scored according to the context-sensitive conditional course of pursuing a complete parse. Pearl takes fi,ll advantage probabilities and the trigrarn part-of-speech model. The incom- of this characteristic. Once Pearl is given the input sentence, it plete theories are tested in order by score, until N theories are awaits instructions as to what type of parse should be attempted advanced, m , The resulting advanced theories are scored and pre- for this input. A standard parser automatically attempts to pro- dicted for, and the new incomplete predicted theories are scored dace a sentence (S) spanning the entire inplJt string. However, if and added to the chart. This process continues until an complete this fails, the semantic interpreter might be able to derive some parse tree is determined, or nnt~il the parser decides, heuristically, meaning from the sentence if given non-overlapping noun, verb, that it should not continue. The heuristics we used for deter- and prepositional phrases. If a sentence fails to parse, requests mining that no parse can be found for an input are based on for partial parses of the input string can be made by specifying the highest, scoring incomplete theory nni the chart, the number of a range which the parse tree should cover and the category (NP, passes the parser hans made, and the size of the chart. VP, etc.). These requests, however, must be initiated by an in- telligent semantics processor which can manipulate these partial parses. Pearl's Capabilities Besides using statistical methods to guide the parser through Trainability One of the major advantages of the probabilis- the parsing search space, "Pearl also performs other fimctions tic parsers is trainability. The conditional probabilities used by Pearl are estimated by using frequencies from a large corpus of 0 gt*isU alternative word hypotheses without incorporating a speech recog- parsed sentences. The parsed sentences must be parsed using the tfition model would not necessarily produce dtffestt results. Given owt unam- grammar formalism which the Pearl will use. bigttous norms at the same position in the sentence, lraeP" has no information with wlfich to disambiguate these words, and will invariably select thefirst one Assuming the grammar is not recnrsive in an unconstrained entered into the chart. The capability to process a alternate word hypothe- ses is inchtded to suggezt the future implementation ffo a speedt recognition way, the parser can be trained in an unsupervised mode. This modal i, .lraeP+ is accomplished by running the parser without the scoring flmc- eV%J believe that N depends on the perplexity ffo the grammar used, but for tions, and generating many parse trees for each sentence. Previ- the string grammar used for ottr experiments ew itsed N=3. For the sesy(prttp ous work H has demonstrated that the correct information from ffo training, we sttgg¢~l, that a higher N shottld be used in order to generate more parses. nThis is art unpublished result, reportedly due to Fujisaki at IBM Japan. 234 these parse trees will be reinforced, while the incorrect substruc- Unknown Word Part-of-speech Assignment ture will not. Multiple passes of re-training using frequency data To determine how "Pearl handles unknown words, we randomly from the previous pass should creme the frequency tables to con- selected five words f~om the test sentences, , know, ~cc, dcscriSc, verge to a stable state. This hypothesis has not yet been tested, t2 removed their entries f~om the lexicon, and stalion, and tried to parse the 40 sample sentences using the simple unknown word An alternative to completely unsupervised training is to take model previously described) ~ a parsed corpus for any domain of the same language using the same grammar, and use the frequency data from that corpus as In this test, the pronoun, /, was assigned the correct part-of: the initial training material for the new corpus. This approach speech 9 of 10 times it occurred in the test sentences. The nouns, should serve only to minimize the number of nnsupervised passes ee~ and station, were correctly tagged 4 of 5 times. And the verbs, required for the frequency data to converge. know and describc, were correctly tagged 3 of 3 times. While this PARSING THE VOYAGEI~ DOMAIN Category Accuracy In order to test Pearl's capabilities, we performed some simple pronoun 90% tests to determine if its performance is at least consistent with the noun 80% premises upon which it is bmsed. The test sentences used for this verb 100% evaluation are not from the training dataon which the parser was overall 89% trained. Using Pearl's context-free grammar, which is equivalent to the context-free backbone of PUNDIT'S grammar, these test Fig,r e 1: Performance no Unknown Words in Test Sentences sentences produced an average of 64 parses per sentence , with some sentences producing over 100 parses. accuracy is expected for unknown words in isolation, based on the accuracy of' the part-of:speech tagging model, the perfbrmance is Overall Parsing Accuracy expected to degrade for sequences "fo unknown words. The 40 test sentences were parsed by "Pearl and the highest scoring parse fbr each sentence was compared to the correct parse Prepositional Phrase Attachment produced by PUNDIT. Of these 40 sentences, "Pearl produced parse Accurately determining prepositional phrase attachment in trees fbr 38 of them, and 35 of these parse trees were equivalent general is a difficult and well-documented problem. However, to the correct parse produced by PUNDIT, fbr an overall accu- based on experience with several different domains, we have ibund racy rate of 88%. Although precise accuracy statistics are not prepositional phrase attachment to be a domain-specific phenomenon available ibr PUNDIT, this result is believed to be comparable to for which training can be very helpful. For instance, in the PUNDIT's perfbrmance. However, the result is achieved without direction-finding domain, from and to prepositional phrases gen- the painfully hand-crafted restriction grammar associated with erally attach to the preceding verb and not to any noun phrase. PUNDIT'S parser. This tendency is captured in the training process for "Pearl and is used to guide the parser to the more likely attachment with re- Many of the test sentences were not difficult to parse fbr ex- spect to the domain. This does not mean that "Pearl will get the isting parsers, but most had some grammatical ambiguity which correct parse when the less likely attachment is correct; in fact, would produce multiple parses. In fkct, on 2 of the 3 sentences "Pearl will invariably get this case wrong. However, based on the which were incorrectly parsed, "Pearl produced the correct parse premise that this is the less likely attachment, this will produce as well, but the correct parse did not have the highest score. And more correct analyses than incorrect. And, using a more sophis- both of these sentences would have been correctly processed if' ticated statistical model which uses more contextual infbrmation, semantic filtering were used on the top three parses. this perfbrmance can likely be improved. Of the two sentences which did not parse, one used passive "Pearl's perfbrmance on prepositional phrase attachment was voice, which only occurred in one sentence in the training corpus. very high (54/55 or 98.2% correct). The reason the accuracy rate While the other sentence, is so high is that the direction-finding domain is very consistent in its use of individual prepositions. The accuracy rate is not How can I got from care sushi to Cambridge expected to be as high in less consistent domains, although we City Hospital by walking expect it to be significantly higher than chance. Search Space Reduction did not produce a parse for the entire word string, it could be pro- cessed using "Pearl's partial parsing capability. By accessing the One claim of "Pearl, and of probabilistic parsers in general, is chart produced by the failed parse attempt, the parser can find that probabilities can help guide a parser through the immense a parsed sentence containing the first eleven words, and a prepo- search space produced by ambiguous grammars. Since, without sitional phrase containing the final two words. This infbrmation probabilisties, the test sentences produced an average of 64 parses could be used to interpret the sentence properly. per sentence, "Pearl unquestionably has reduced the space of possi- bilities by only producing 3 parses per sentence while maintaining 12In fact, for certain grammars, the frequency tables may not converge at all, or they may converge to zero, with the grammar generating no parses for nThe unknown word model used in this test saw augmented to include the entire corpus. This is a worst-ease scenario which we do not anticipate dosed class categories as well as open class, since the words removed from happening. the lexicon may have included (in fact did include) dosed dass .sdrow 235 'The second experiment on the MUC corpus involves extract- Prep. , Accuracy ing a grammar and training statistics from a hand-parsed corpus. from ' 92% When the University "fo Pennsylvania's Treebank project2 makes to 100% a hand-parsed version of the MUG training material a~ilable to on 100% the DARPA community, we will extract a context-f~ee grammar Overall 98.2% from these parse trees, and retrain ~earl on this material. This experiment is even more interesting because, if successful, it will Figure 2: Accuracy Rate for Prepositional Phrm~e Attachment, by show that ~Oearl provides an alternative to the hand-pruning of Preposition grammars to cover specific domains. If a hand-parsed corpus can provide a covering grammar which can be used to accurately high accuracy. However, it is interesting to see how "Pearl's scor- parse a particular domain, porting natural language applications ing function performs against previously proposed scoring func- to new domains will be greatly facilitated. tions. The four scoring :'unctions compared include a simple prob- abilistic CFG, where each context-fl'ee rule is assigned a fixed like- CONCLUSION lihood based on training, a CFG using probabilistic conditioning The probabilistic parser which we have described provides a on the parent rule only, which is similar to the scoring f'unction platibrm for exploiting the useful ini:brmation made available by used by Chitrao and Grishman3, and two versions of the CFG statistical models in a manner which is consistent with existing with CSP model, one using the geometric mean of raw theory grammar fbrmalisms and parser designs. "Pearl can be trained to scores and the other using the product "fo these raw scores. Using use any context-f~ee grammar, accompanied by the appropriate training material. And, the parsing algorithm is very similar to a Technique Edges Accuracy standard bottom-up algorithm, with the exception of using theory scores to order the search. P-CFG j 929 35% CFG with Parent Cond. 883 50% In experiments on the Voyager direction-finding domain, ~earl, CFG with CSP 210 ~ 88% using only a context-i~ee grammar and statistical models, per- Prod. of Scores 657 60% fbrmed at least as well as PUNDIT'S parser, which includes hand- generated restrictions. In the ihture, we hope to demonstrate Figure 3: Search Space Reduction and Accuracy for 1,bur Probabilistic Models similar peribrmance on more difficult domains and using manu- ally parsed corpora. a simple probabilistic CFG model, the parser produced a much REFERENCES lower accuracy rate (35%). The parentM conditioning brought this rate up to 50%, and the trigram conditioning brought this 1 Ayuso, D., Bobrow, R., et. el. 1990. Towards Understanding Text with a Very Large Vocabulary. In Proceedings of the June 1990 level up to 88%. The search space for CFG with CSP was 4 to 5 DA'RPA Speech and NatorM Language xA'orkshop. Hidden Valley, times lower than the simple probabilistic CFG. Pennsylvania. 2 13rill, E., Magerman, D., Marcus, M., and Santorini, .D 1990. De- ducing Lingnistic Structure from the Statistics of Large Corpora. FUTURE WORK In Proceedings of the June 1990 DARPA Speech and Natural Lan- guagn Workshop. Hidden Valley, Pennsylvania. The "Pearl parser takes advantage of domain-dependent infor- 3 Chitrao, M. and Grishman, R. 1990. Statistical Parsing of Mes- mation to select the most appropriate interpretation of an input. sages. In Proceedings of the June 1990 DARPA Speech and NMurM However, the statistical measure used to disambiguate these in- Langamgs .pohskroV% Hidden VMley, Pennsylvania. terpretations is sensitive to certain attributes of' the grammatical 4 Church, K. 1988. h Stoeha.qtic Parts Program and Noun e~,.arhP ibrmalism used, as well as to the part-of-speech categories used to Parser for Unrestricted Text. In Proceedings of the Second Con- label lexical entries. All of the experiments perfbrmed on "Pearl ference on Applied NaturM Language Proce~qing. Austin, Texas. thus far have been using one grammar, one part-of-speech tag 5 Church, K. and Gale, W. 1990. Enhanced Good-Tnring and Cat- CM: Two New Methods for Estimating Probabilities of English set, and one domain (because of availability constraints). Future Bigrams. Comlmlen % Speech and Lauguaye. experiments are planned to e~xluate "Pearl's perfbrmance on dif- 6 Gale, W. A. and Church, K. 1990. Poor Estimates of Context are ferent domains, as well as on a general corpus of English, and on Worse than None. In Proceedings of the June 1990 AD RPA Speech different grammars, including a grammar derived fl'om a manually and NaturM Language Workshop. Hidden Valley, Pennsylvania. parsed corpus. 7 Hindle, D. 1988. Acquiring a Noun Classification from Predicate- Argument Structures. Bell Laboratories. Specifically, we plan to retrain "Pearl on a corpus of terrorist- 8 Hindle, D. and Rooth, M. 1990. StructnrM Ambiguity and Lexical related messages fl'om the Message Understanding Conference "Relations. In Proceedings of the June 1990 DAKPA Speech and Natural Language Workshop. Hidden Valley, Pennsylvania. (MUC). Using this material, we will attempt two very differ- 9 Jelinek, F. 1985. Self-organizing Language Modeling for Speech ent experiments. The first experiment will be similar to the "Recognition. Il3M Report. one performed on the Voyager data. Using a corpus of correctly 10 Katz, S. M. 1987. Estimation of Probabilitie.q from Sparse Data for parsed MUC sentences fl'om SRI's Tacitus system, we will derive the Language Model Component of a Speech Recognizer. ?EEE a context-f~ee grammar and extract training statistics ibr "Pearl's 7"~nnsaclions ou Acouslics, Speech, aud Signal Plvee.ssing, .H)/I models. Since the MUC sentences exhibit many more difficul- ASSP-35, No. 3. ties than Voyager, including 50 word sentences, punctuation, no 11 Sh~.rman, R. A., Jelinek, ,.',1 and Mercer, R. 1990. In Proceedings sentence markers, and typographical errors, we expect "Pearl to of the June 1990 DARPA Speech and NatnrM Language Workshop. Hidden Valley, Pennsylvania. require significant re-engineering to handle this experiment. 236

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.