<?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="616"/><title>Discovering Morphological Paradigms from Plain Text Using a Dirichlet Process Mixture Model</title><pubinfo>Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing,pages 616-627, Edinburgh, Scotland, UK, July 27-31, 2011. ©2011 Association for Computational Linguistics</pubinfo><author surname="Dreyer" givenname="Markus"><org  name="Johns Hopkins University" country="USA" city="Baltimore"/></author><author surname="Eisner" givenname="Jason"><org  name="Johns Hopkins University" country="USA" city="Baltimore"/></author></firstpageheader><frontmatter><p><b>Discovering Morphological Paradigms from Plain Text Using a Dirichlet Process Mixture Model</b></p><p><b>Markus Dreyer* Jason Eisner</b></p><p>SDL Language Weaver Computer Science Dept., Johns Hopkins University Los Angeles, CA 90045, USA Baltimore, MD 21218, USA</p><p>mdreyer@sdl.com jason@cs.jhu.edu</p></frontmatter><abstract>We present an inference algorithm that orga­nizes observed words (tokens) into structured inflectional paradigms (types). It also natu­rally predicts the spelling of unobserved forms that are missing from these paradigms, and dis­covers inflectional principles (grammar) that generalize to wholly unobserved words. Our Bayesian generative model of the data ex­plicitly represents tokens, types, inflections, paradigms, and locally conditioned string edits. It assumes that inflected word tokens are gen­erated from an infinite mixture of inflectional paradigms (string tuples). Each paradigm is sampled all at once from a graphical model, whose potential functions are weighted finite-state transducers with language-specific param­eters to be learned. These assumptions natu­rally lead to an elegant empirical Bayes infer­ence procedure that exploits Monte Carlo EM, belief propagation, and dynamic programming. Given 50-100 seed paradigms, adding a 10-million-word corpus reduces prediction error for morphological inflections by up to 10%. </abstract></header><body><section number="1" title="Introduction 1.1 Motivation"><p>Statistical NLP can be difficult for morphologically rich languages. Morphological transformations on words increase the size of the observed vocabulary, which unfortunately masks important generalizations. In Polish, for example, each lexical verb has literally 100 inflected forms (Janecki, 2000). That is, a single <i>lexeme </i>may be realized in a corpus as many different word types, which are differently inflected for person, number, gender, tense, mood, etc.</p><p>* This research was done at Johns Hopkins University as part of the first author's dissertation work. It was supported by the Human Language Technology Center of Excellence and by the National Science Foundation under Grant No. 0347822.</p><p>All this makes lexical features even sparser than they would be otherwise. In machine translation or text generation, it is difficult to learn <i>separately </i>how to translate, or when to generate, each of these many word types. In text analysis, it is difficult to learn lexical features (as cues to predict topic, syntax, semantics, or the next word), because one must learn a separate feature for each word form, rather than generalizing across inflections.</p><p>Our engineering goal is to address these problems by mostly-unsupervised learning of morphology. Our linguistic goal is to build a generative probabilistic model that directly captures the basic representations and relationships assumed by morphologists. This model suffices to <i>define </i>a posterior distribution over analyses of any given collection of type and/or token data. Thus we obtain scientific data interpretation as probabilistic inference (Jaynes, 2003). Our computa­tional goal is to <i>estimate </i>this posterior distribution.</p><subsection number="1.2" title="What is Estimated"><p>Our inference algorithm jointly reconstructs <i>token, type, </i>and <i>grammar </i>information about a language's morphology. This has not previously been attempted.</p><p><b>Tokens: </b>We will tag each word token in a corpus with (1) a<i>part-of-speech </i><i>(POS)</i><i> tag,<footnote anchor="1"/> </i>(2) an <i>inflection, </i>and (3) a <i>lexeme. </i>A token of broken might be tagged as (1) a verb and more specifically as (2) the past participle inflection of (3) the abstract lexeme <i>JjrmA.<footnote anchor="2"/></i>Reconstructing the latent lexemes and inflections allows the features of other statistical models to con­sider them. A parser may care that broken is a past participle; a search engine or question answer­ing system may care that it is a form of <i>JjrmA; </i>and a translation system may care about both facts.</p><footnote label="1">POS tagging may be done as part of our Bayesian model or beforehand, as a preprocessing step. Our experiments chose the latter option, and then analyzed only the verbs (see section 8).</footnote><footnote label="2">We use cursive font for abstract lexemes to emphasize that they are atomic objects that do not decompose into letters.</footnote><page local="2" global="617"/><p>y viap(y | x), and vice-versa.</p><p>Dreyer et al. (2008) define such a family via a log-linear model with latent alignments,</p><p>Table 1: Part of a morphological paradigm in German, showing the spellings of some inflections of the lexeme <i>ÂrmA </i>(whose lemma is brechen), organized in a grid.</p><p><b>Types: </b>In carrying out the above, we will recon­struct specific <i>morphological paradigms </i>of the lan­guage. A paradigm is a grid of all the inflected forms of some lexeme, as illustrated in Table 1. Our recon­structed paradigms will include our predictions of inflected forms that were never observed in the cor­pus. This tabular information about the types (rather than the tokens) of the language may be separately useful, for example in translation and other genera­tion tasks, and we will evaluate its accuracy.</p><p><b>Grammar: </b>We estimate <i>parameters </i>f that de­scribe general patterns in the language. We learn a prior distribution over inflectional paradigms by learning (e.g.) how a verb's suffix or stem vowel tends to change when it is pluralized. We also learn (e.g.) whether singular or plural forms are more com­mon. Our basic strategy is Monte Carlo EM, so these parameters tell us how to guess the paradigms (Monte Carlo E step), then these reconstructed paradigms tell us how to reestimate the parameters (M step), and so on iteratively. We use a few supervised paradigms to initialize the parameters and help reestimate them.</p></subsection></section><section number="2" title="Overview of the Model"><p>We begin by sketching the main ideas of our model, first reviewing components that we introduced in earlier papers. Sections 5-7 will give more formal details. Full details and more discussion can be found in the first author's dissertation (Dreyer, 2011).</p><subsection number="2.1" title="Modeling Morphological Alternations"><p>We begin with a family of joint distributions p(x, y) over string pairs, parameterized by f. For example, to model just the semi-systematic relation between a German lemma and its 3rd-person singular present form, one could train <footnote anchor="0"/> to maximize the likelihood of (x,y) pairs such as (brechen, bricht). Then, given a lemma x, one could predict its inflected form</p><doubt alpha="47.4" length="19" tooSmall="False" monospace="0.0">p(x,y) =YlP(x,y,a)«</doubt><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">exp(0•f(x,y,a))</doubt><p>Here <i>a </i>ranges over monotonic 1-to-1 character align­ments between x and y. « means "proportional to" (p is normalized to sum to 1). f extracts a vector of local features from the aligned pair by examining trigram windows. Thus f can reward or penalize specific features—e.g., insertions, deletions, or substitutions in specific contexts, as well as trigram features of x and y separately.<footnote anchor="3"/> Inference and training are done by dynamic programming on finite-state transducers.</p></subsection><subsection number="2.2" title="Modeling Morphological Paradigms"><p>A paradigm such as Table 1 describes how some ab­stract lexeme <b><i>(ArmJfù) </i></b>is <i>expressed </i>in German.<footnote anchor="4"/> We evaluate <i>whole paradigms </i>as linguistic objects, fol­lowing word-and-paradigm or realizational morphol­ogy (Matthews, 1972; Stump, 2001). That is, we pre­sume that some language-specific distribution <i>p(n)</i><i> </i>defines whether a paradigm n is a grammatical—and <i>a priori </i>likely—way for a lexeme to express itself in the language. Learning p(n) helps us reconstruct paradigms, as described at the end of section 1.2.</p><p>Let n = (xi, x2,...). In Dreyer and Eisner (2009), we showed how to model <i>p(n)</i><i> </i>as a renormalized <i>product </i>of many pairwise distributions <i>prs(xr</i><i>,xs),</i><i> </i>each having the log-linear form of section 2.1:</p><doubt alpha="53.8" length="39" tooSmall="False" monospace="0.0">p(n)«Y\Prs(xr,xs)«exp(^f-/^(xr,xs,ars))</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">r,s r,s</doubt><p>This is an undirected graphical model (MRF) over <i>string-valued </i>random variables xs; each factor prsevaluates the relationship between some pair of strings. Note that it is still a log-linear model, and pa­rameters in f can be reused across different rs pairs.</p><p>To guess at unknown strings in the paradigm, Dreyer and Eisner (2009) show how to perform ap­proximate inference on such an MRF by loopy belief<page local="3" global="618"/></p><footnote label="3">Dreyer et al. (2008) devise additional helpful features based on enriching the aligned pair with additional latent information, but our present experiments drop those for speed.</footnote><footnote label="4">Our present experiments focus on orthographic forms, be­cause we are learning from a written corpus. But it would be natural to use phonological forms instead, or to include both in the paradigm so as to model their interrelationships.</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>singular</p></td><td class="cell"><p>plural</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>present</p></td><td class="cell"><p>1st-person</p><p>2nd-person</p><p>3rd-person</p></td><td class="cell"><p>breche</p><p>brichst</p><p>bricht</p></td><td class="cell"><p>brechen</p><p>brecht</p><p>brechen</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>past</p></td><td class="cell"><p>lst-person</p><p>2nd-person</p><p>3rd-person</p></td><td class="cell"><p>brach</p><p>brachst</p><p>brach</p></td><td class="cell"><p>brachen</p><p>bracht</p><p>brachen</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><p>Figure 1: A distribution over paradigms modeled as an MRF over 7 strings. Random variables XLem, Xist, etc., are the lemma, the 1st person form, etc. Suppose two forms are observed (denoted by the "lock" icon). Given these observations, belief propagation estimates the poste­rior marginals over the other variables (denoted by "?").</p><p>propagation, using finite-state operations. It is not necessary to include all rs pairs. For example, Fig. 1 illustrates the result of belief propagation on a simple MRF whose factors relate all inflected forms to a common (possibly unobserved) lemma, but not di­rectly to one another.<footnote anchor="5"/></p><p>Our method could be used with any <i>p(n)</i>. To speed up inference (see footnote 7), our present experiments actually use the <i>directed </i>graphical model variant of Fig. 1—thatis, p(n) = pi(xi) • TJ<i>s&gt;</i><i>1 pi</i><i>s</i><i>(x</i><i>s </i>| xi), where x1 denotes the lemma.</p></subsection><subsection number="2.3" title="Modeling the Lexicon (types)"><p>Dreyer and Eisner (2009) learned <i>0 </i>by partially ob­serving some paradigms (type data). That work, while rather accurate at predicting inflected forms, sometimes erred: it predicted spellings that never oc­curred in text, even for forms that "should" be com­mon. To fix this, we shall incorporate an unlabeled or POS-tagged corpus (token data) into learning.</p><p>We therefore need a model for generating tokens— a <i>probabilistic lexicon </i>that specifies which inflections of which lexemes are common, and how they are spelled. We do not know our language's probabilistic lexicon, but we assume it was generated as follows:</p><p>1. Choose parameters <footnote anchor="0"/> of the MRF. This defines p(n): which paradigms are likely <i>a priori.</i></p><p>2. Choose a distribution over the abstract lexemes.</p><footnote label="5">This view is adopted by some morphological theorists (Al­bright, 2002; Chan, 2006), although see Appendix E.2 for a caution about syncretism. Note that when the lemma is unob­served, the other forms do still influence one another indirectly.</footnote><p>3. For each lexeme, choose a distribution over its inflections.</p><p>4. For each lexeme, choose a paradigm that will be used to express the lexeme orthographically.</p><p>Details are given later. Briefly, step 1 samples <footnote anchor="0"/>from a Gaussian prior. Step 2 samples a distribution from a Dirichlet process. This chooses a countable number of lexemes to have positive probability in the language, and decides which ones are most common. Step 3 samples a distribution from a Dirichlet. For the lexeme <i>think, </i>this might choose to make 1st-person singular more common than for typical verbs. Step 4 just samples IID from <i>p(n).</i></p><p>In our model, each part of speech generates its own lexicon: verbs are inflected differently from nouns (different parameters and number of inflections). The size and layout of (e.g.) verb paradigms is language-specific; we currently assume it is given by a linguist, along with a few supervised vE RB paradigms.</p></subsection><subsection number="2.4" title="Modeling the Corpus (tokens)"><p>At present, we use only a very simple exchangeable model of the corpus. We assume that each word was independently sampled from the lexicon given its part of speech, with no other attention to context.</p><p>For example, a token of brechen may have been chosen by choosing frequent lexeme <i>Anak </i>from the verb lexicon; then choosing 1st-person plural given <i>Jlmak; </i>and finally looking up that inflection's spelling in <i>JjrmA</i><i>'s</i><i> </i>paradigm. This final lookup is determinis­tic since the lexicon has already been generated.</p></subsection></section><section number="3" title="A Sketch of Inference and Learning"><subsection number="3.1" title="Gibbs Sampling Over the Corpus"><p>Our job in inference is to reconstruct the lexicon that was used and how each token was generated from it (i.e., which lexeme and inflection?). We use collapsed Gibbs sampling, repeatedly guessing a reanalysis of each token in the context of all others. Gradually, sim­ilar tokens get "clustered" into paradigms (section 4).</p><p>The state of the sampler is illustrated in Fig. 2. The bottom half shows the current analyses of the verb tokens. Each is associated with a particular slot in some paradigm. We are now trying to reanalyze brechen at position 0. The dashed arrows show some possible analyses.</p><page local="4" global="619"/><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">plural</doubt><p>briche — breche ?</p><p>brichst . brechst brechen ?</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">ß</doubt><p>bricht brecht</p><p>Figure 2: A state of the Gibbs sampler (note that the assumed generative process runs roughly top-to-bottom). Each corpus token i has been tagged with part of speech <i>ti,</i><i> </i>lexeme <i>£</i>i and inflection <i>si.</i><i> </i>Token © has been tagged as <b><i>htak </i></b>and 3rd sg., which locked the corresponding type spelling in the paradigm to the spelling <i>w1 = </i>bricht; similarly for © and ©. Now <i>w7</i><i> </i>is about to be reanalyzed.</p><p>The key intuition is that the current analyses of the <i>other </i>verb tokens imply a posterior distribution over the verb lexicon, shown in the top half of the figure.</p><p>First, because of the current analyses of © and ©, the 3rd-person spellings of <i>JjreaA </i>are already con­strained to match wi and <i>w3 </i>(the "lock" icon).</p><p>Second, belief propagation as in Fig. 1 tells us which other inflections of <b><i>htak </i></b>(the "?" icon) are plausibly spelled as brechen, and how likely they are to be spelled that way.</p><p>Finally, the fact that other tokens are associated with <i>JjrmA </i>suggest that this is a popular lexeme, mak­ing it a plausible explanation of 0 as well. (This is the "rich get richer" property of the Chinese restau­rant process; see section 6.6.) Furthermore, certain inflections of <i>JjreaA </i>appear to be especially popular.</p><p>In short, given the other analyses, we know which inflected lexemes in the lexicon are likely, <i>and </i>how likely each one is to be spelled as brechen. This lets us compute the relative probabilities of the possible analyses of token 0, so that the Gibbs sampler can accordingly choose one of these analyses at random.</p></subsection><subsection number="3.2" title="Monte Carlo EM Training of 9"><p>For a given °, this Gibbs sampler converges to the posterior distribution over analyses of the full corpus. To improve our <footnote anchor="9"/> estimate, we periodically adjust <footnote anchor="9"/>to maximize or increase the probability of the most recent sample(s). For example, having tagged <i>w5 =</i></p><p>springt as <i>s5 = </i>2nd-person plural may strengthen our estimated probability that 2nd-person spellings tend to end in -t. That revision to °, in turn, will influence future moves of the sampler.</p><p>If the sampler is run long enough between calls to the <footnote anchor="9"/> optimizer, this is a Monte Carlo EM procedure (see end of section 1.2). It uses the data to optimize a language-specific prior <i>p(n)</i><i> </i>over paradigms—an em­pirical Bayes approach. (A fully Bayesian approach would resample <footnote anchor="9"/> as part of the Gibbs sampler.)</p></subsection><subsection number="3.3" title="Collapsed Representation of the Lexicon"><p>The lexicon is <i>collapsed out </i>of our sampler, in the sense that we do not represent a single guess about the infinitely many lexeme probabilities and paradigms. What we store about the lexicon is information about its full posterior distribution: the top half of Fig. 2.</p><p>Fig. 2 names its lexemes as and for ex­pository purposes, but of course the sampler cannot reconstruct such labels. Formally, these labels are col­lapsed out, and we represent lexemes as anonymous objects. Tokens © and © are tagged with the <i>same </i>anonymous lexeme (which will correspond to sitting at the same table in a Chinese restaurant process).</p><p>For each lexeme £ and inflection s, we maintain pointers to any tokens currently tagged with the slot (£, s). We also maintain an approximate marginal distribution over the spelling of that slot:<footnote anchor="6"/></p><p>1. If (£, s) points to at least one token i, then we know (£, s) is spelled as wj (with probability 1).</p><p>2. Otherwise, the spelling of (£, s) is not known. But if some spellings in £'s paradigm are known, store a truncated distribution that enumerates the 25 most likely spellings for (£, s), according to loopy belief propagation within the paradigm.</p><p>3. Otherwise, we have observed nothing about £: it is currently unused. All such £ share the same marginal distribution over spellings of (£, s): the marginal of the prior <i>p(n).</i><i> </i>Here a 25-best list could not cover all plausible spellings. In­stead we store a probabilistic finite-state lan­guage model that approximates this marginal.<footnote anchor="7"/><page local="5" global="620"/></p><footnote label="6">Cases 1 and 2 below must in general be updated whenever a slot switches between having 0 and more than 0 tokens. Cases 2 and 3 must be updated when the parameters 0 change.</footnote><footnote label="7">This character trigram model is fast to build if       is de-</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>springe — sprenge ?</p></td><td class="cell"><p>springen sprengen ?</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>sprangst ^ sprengst ?</p></td><td class="cell"><p>springt _ ^</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>springt sprengt ?</p></td><td class="cell"><p>springen _ fcsprengen ?</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 class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>n ex i</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>&amp; 4</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>P ti</p></td><td class="cell"><p>VERB</p></td><td class="cell"><p>PRON</p></td><td class="cell"><p>VERB  NOUN VERB</p></td><td class="cell"><p>PREP \VERB \</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ex <i>Ii</i></p></td><td class="cell"><p><i>AreaA</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>%f 1st pl. 7 \</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>n Si</p></td><td class="cell"><p><i>3rd </i>sg.</p></td><td class="cell"><p></p></td><td class="cell"><p>3rd pl.            2nd pl.</p></td><td class="cell"><p><b>Vrd.pl&gt;'</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>pell Wi</p></td><td class="cell"><p>bricht</p></td><td class="cell"><p></p></td><td class="cell"><p>brechen springt</p></td><td class="cell"><p>brechen</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></tr></table><p>A hash table based on cases 1 and 2 can now be used to rapidly map any word w to a list of slots of existing lexemes that might plausibly have generated w. To ask whether w might instead be an inflection s of a novel lexeme, we score w using the probabilistic finite-state automata from case 3, one for each s.</p><p>The Gibbs sampler randomly chooses one of these analyses. If it chooses the "novel lexeme" option, we create an arbitrary new lexeme object in mem­ory. The number of explicitly represented lexemes is always finite (at most the number of corpus tokens).</p></subsection></section><section number="4" title="Interpretation as a Mixture Model"><p>It is common to cluster points in Rn by assuming that they were generated from a <i>mixture ofGaussians, </i>and trying to reconstruct which points were generated from the same Gaussian.</p><p>We are similarly clustering word tokens by assum­ing that they are generated from a <i>mixture of weighted paradigms. </i>After all, each word token was obtained by randomly sampling a weighted paradigm (i.e., a cluster) and then randomly sampling a word from it.</p><p>Just as each Gaussian in a Gaussian mixture is a distribution over all points Rn, each weighted paradigm is a distribution over all spellings X* (but assigns probability &gt; 0 to only a finite subset of X*).</p><p>Inference under our model clusters words together by tagging them with the same lexeme. It tends to group words that are "similar" in the sense that the base distribution <i>p(n)</i><i> </i>predicts that they would tend to co-occur within a paradigm. Suppose a corpus contains several unlikely but similar tokens, such as discombobulated and discombobulating. A language might have one probable lexeme from whose paradigm all these words were sampled. It is much less likely to have several probable lexemes that all <i>coincidentally </i>chose spellings that started with discombobulat-. Generating discombobulat-only once is cheaper (especially for such a long pre­fix), so the former explanation has higher probability. This is like explaining nearby points in Rn as sam­ples from the same Gaussian. Of course, our model is sensitive to more than shared prefixes, and it does not merely cluster words into a paradigm but assigns them to particular inflectional slots in the paradigm.</p><p>fined as at the end of section 2.2. If not, one could still try belief propagation; or one could approximate by estimating a language model from the spellings associated with slot s by cases 1 and 2.</p><subsection number="4.1" title="The Dirichlet Process Mixture Model"><p>Our mixture model uses an <i>infinite </i>number of mix­ture components. This avoids placing a prior bound on the number of lexemes or paradigms in the lan­guage. We assume that a natural language has an infinite lexicon, although most lexemes have suffi­ciently low probability that they have not been used in our training corpus or even in human history (yet).</p><p>Our specific approach corresponds to a Bayesian technique, the Dirichlet process mixture model. Ap­pendix A (supplementary material) explains the DPMM and discusses it in our context.</p><p>The DPMM would standardly be presented as gen­erating a distribution over countably many Gaussians or paradigms. Our variant in section 2.3 instead broke this into two steps: it first generated a distribution over countably many lexemes (step 2), and then gen­erated a weighted paradigm for each lexeme (steps 3^). This construction keeps distinct lexemes sepa­rate even if they happen to have identical paradigms (polysemy). See Appendix A for a full discussion.</p></subsection></section><section number="5" title="Formal Notation 5.1   Value Types"><p>We now describe our probability model in more for­mal detail. It considers the following types of mathe­matical objects. (We use consistent lowercase letters for values of these types, and consistent fonts for constants of these types.)</p><p>A <b>word </b>w, such as broken, is a finite string of any length, over some finite, given alphabet X.</p><p>A <b>part-of-speech tag </b>t, such as VERB, is an ele­ment of a certain finite set T, which in this paper we assume to be given.</p><p>An <b>inflection </b>s,<footnote anchor="8"/> such as past participle, is an ele­ment of a finite set <i>St.</i><i> </i>A token's part-of-speech tag t G T determines its set <i>St </i>of possible inflections. For tags that do not inflect, <i>\St\ = </i>1. The sets <i>St</i>are language-specific, and we assume in this paper that they are given by a linguist rather than learned. A linguist also specifies features of the inflections: the grid layout in Table 1 shows that 4 of the 12 inflections in SVERB share the "2nd-person" feature.</p><footnote label="8">We denote inflections by s because they represent "slots" in paradigms (or, in the metaphor of section 6.7, "seats" at tables in a Chinese restaurant). These slots (or seats) are filled by words.</footnote><page local="6" global="621"/><p>A <b>paradigm </b>for t G T is a mapping n : <i>St </i>— X*, specifying a <b>spelling </b>for each inflection in <i>St. </i>Table 1 shows one verb paradigm.</p><p>A <b>lexeme </b>l is an abstract element of some lexical space L. Lexemes have no internal semantic struc­ture: the only question we can ask about a lexeme is whether it is equal to some other lexeme. There is no upper bound on how many lexemes can be discovered in a text corpus; L is infinite.</p><subsection number="5.2" title="Random Quantities"><p>Our generative model of the corpus is a joint probabil­ity distribution over a collection of random variables. We describe them in the same order as section 1.2.</p><p><b>Tokens: </b>The corpus is represented by <i>token </i>vari­ables. In our setting the sequence of words <i>w = </i>wi,..., <i>wn </i>G X* is observed, along with n. We must recover the corresponding part-of-speech tags t = <i>ti,...,tn</i><i> </i><i>G</i><i> </i>T, lexemes l <i>=</i><i> </i><i>li,...,ln</i><i> </i>G L, and inflections <i>ss</i><i> </i><i>=</i><i> </i><i>si,...,</i><i> sn, </i>where (Vi)si G <i>Sti</i>.</p><p><b>Types: </b>The lexicon is represented by <i>type </i>variables. For each of the infinitely many lex­emes l G L, and each t G T, the paradigm <i>Tr</i><i>tte </i>is a function <i>St — </i>X*. For example, Table 1 shows a possible value nVERB <i>j&gt;yrmßl</i>. The various spellings in the paradigm, such as <i>nVERB^iaÂ</i>(1st-person sing. pres.)=breche, are string-valued random variables that are correlated with one another.</p><p>Since the lexicon is to be probabilistic (section 2.3), <i>Gt(l)</i><i> </i>denotes tag t's distribution over lexemes l G L, while <i>H</i><i>t&gt;t</i><i>(s)</i><i> </i>denotes the tagged lexeme <i>(t,l)'s</i><i> </i>distribution over inflections s G <i>St.</i></p><p><b>Grammar: </b>Global properties of the language are captured by <i>grammar </i>variables that cut across lex­ical entries: our parameters <footnote anchor="9"/> that describe typical inflectional alternations, plus parameters <i>(f)t,</i><i> </i><i>at,</i><i> a't, </i>t (explained below). Their values control the overall shape of the probabilistic lexicon that is generated.</p></subsection></section><section number="6" title="The Formal Generative Model"><p>We now fully describe the generative process that was sketched in section 2. Step by step, it randomly chooses an assignment to all the random variables of section 5.2. Thus, a given assignment's probability— which section 3 s algorithms consult in order to re­sample or improve the current assignment—is the product of the probabilities of the individual choices, as described in the sections below. (Appendix B provides a drawing of this as a graphical model.)</p><doubt alpha="54.5" length="44" tooSmall="False" monospace="0.0">6.1 Grammar Variablesp(&amp;), p(—),p(at),p(a't)</doubt><p>First select the grammar variables from a prior. (We will see below how these variables get used.) Our experiments used fairly flat priors. Each weight in <footnote anchor="9"/>or &lt;/&gt;t is drawn IID from N(0,10), and each <i>at </i>or <i>olt</i><i></i>from a Gamma with mode 10 and variance 1000.</p><doubt alpha="57.1" length="21" tooSmall="False" monospace="0.0">6.2 Paradigmsp(nt/\9)</doubt><p>For each t G T, let <i>Dt</i><i>(n)</i><i> </i>denote the distribution over paradigms that was presented in section 2.2 (where it was called p(n)). Dt is fully specified by our graphical model for paradigms of part of speech t, together with its parameters <footnote anchor="9"/> as generated above.</p><p>This is the linguistic core of our model. It consid­ers spellings: DVERB describes what verb paradigms typically look like in the language (e.g., Table 1).</p><p>Parameters in <footnote anchor="9"/> may be shared across parts of speech t. These "backoff" parameters capture gen­eral phonotactics of the language, such as prohibited letter bigrams or plausible vowel changes.</p><p>For each possible tagged lexeme (t, l), we now draw a paradigm <i>n</i><i>t,t </i>from Dt. Most of these lexemes will end up having probability 0 in the language.</p><subsection number="6.3" title="Lexical Distributions p(G t \ a t )"><p>We now formalize section 2.3. For each t G T, the language has a distribution G<i>t</i>(l) over lexemes. We draw Gt from a Dirichlet process DP(G, <i>at),</i><i> </i>where G is the <b>base distribution </b>over L, and <i>at &gt; 0 </i>is a <b>concentration parameter </b>generated above. If <i>at</i>is small, then G<i>t </i>will tend to have the property that most of its probability mass falls on relatively few of the lexemes in <i>Lt </i>= {l G L : Gt(l) &gt; 0}. A <i>closed-class tag </i>is one whose <i>at </i>is especially small.</p><p>For G to be a uniform distribution over an infinite lexeme set L, we need L to be uncountable.<footnote anchor="9"/> How­ever, it turns out<footnote anchor="10"/> that with probability 1, each L<i>t </i>is <i>countably </i>infinite, and all the Lt are disjoint. So each lexeme l G L is selected by at most one tag t.</p><footnote label="9">For example, L = [0,1], so that JjreaA is merely a sugges­tive nickname for a lexeme such as 0.2538159.</footnote><footnote label="10">This can be seen by considering the stick-breaking construc­tion of the Dirichlet process that (Sethuraman, 1994; Teh et al., 2006). A separate stick is broken for each G t . See Appendix A.</footnote><page local="7" global="622"/></subsection><subsection number="6.4" title="Inflectional Distributions j){H t / \ 4&gt;"><p>For each tagged lexeme (t, l), the language specifies some distribution <i>H</i><i>t,t </i>over its inflections.</p><p>First we construct backoff distributions Ht that are independent of <i>I.</i><i> </i>For each tag t G <i>T,</i><i> </i>let Ht be some base distribution over <i>St. </i>As <i>St </i>could be large in some languages, we exploit its grid structure (Table 1) to reduce the number of parameters of Ht. We take Ht to be a log-linear distribution with parameters &lt;/&gt;tthat refer to <i>features </i>of inflections. E.g., the 2nd-person inflections might be <i>systematically </i>rare.</p><p>Now we model each <i>Ht&amp; </i>as an independent draw from a finite-dimensional Dirichlet distribution with mean Ht and concentration parameter at. E.g., <i>tfwnk </i>might be biased toward Ist-person sing. present.</p><p><b>6.5 Part-of-Speech Tag Sequence </b><i>p(t</i><i> </i><i>\</i><i> </i><i>t</i><i>)</i></p><p>In our current experiments, t is given. But in general, to discover tags and inflections simultaneously, we can suppose that the tag sequence t (and its length n) are generated by a Markov model, with tag bigram or trigram probabilities specified by some parameters t.</p><doubt alpha="61.9" length="21" tooSmall="False" monospace="0.0">6.6 Lexemesp(ii\ Gti)</doubt><p>We turn to section 2.4. A lexeme token depends on its tag: draw li from <i>Gti</i>, so <i>p</i><i>(£i </i><i>\ Gti </i>) = <i>Gti </i><i>(£</i><i>{</i><i>).</i></p><p><b>6.7 Inflections </b><i>p(s</i><i>i </i><i>\ Htitii</i>)</p><p>An inflection slot depends on its tagged lexeme: we draw <i>S</i><i>i </i>from HtiA, so <i>p(s</i><i>i </i><i>\</i><i> </i><i>H</i><i>ti,ii</i>) = HtiA(si).</p><doubt alpha="55.6" length="27" tooSmall="False" monospace="0.0">6.8 Spell-outp(wi\nti&amp;(s{))</doubt><p>Finally, we generate the word wi through a determin­istic <i>spell-out </i>step.<footnote anchor="11"/> Given the tag, lexeme, and in­flection at position <i>i,</i><i> </i>we generate the word wi simply by looking up its spelling in the appropriate paradigm.</p><p>So p(wi \ 7TtiA (si)) is 1 if Wi = <i>T</i><i>Tti,ei </i>(si), else 0.</p></subsection><subsection number="6.9" title="Collapsing the Assignment"><p>Again, a <i>full </i>assignment's probability is the product of all the above factors (see drawing in Appendix B).</p><footnote label="11">To account for typographical errors in the corpus, the spell-out process could easily be made nondeterministic, with the observed word w i  derived from the correct spelling n ti ,e i (s i ) by a noisy channel model (e.g., (Toutanova and Moore, 2002)) represented as a WFST. This would make it possible to analyze brkoen as a misspelling of a common or contextually likely word, rather than treating it as an unpronounceable, irregularly inflected neologism, which is presumably less likely.</footnote><p>But computationally, our sampler's state leaves the Gt <i>unspecified. </i>So its probability is the integral of p(assignment) over all possible Gt. As Gt appears only in the factors from headings 6.3 and 6.6, we can just integrate it out of <i>their </i>product, to get a collapsed sub-model that generates <i>p(l</i><i> </i><i>\</i><i> </i>t, a) directly:</p><doubt alpha="48.4" length="31" tooSmall="False" monospace="0.0">/•••/dG\ Hp(Gt\at))(np(li\Gti))</doubt><doubt alpha="52.0" length="25" tooSmall="False" monospace="0.0">JGa»JGverb\teT/    \i=1 /</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">n</doubt><doubt alpha="47.1" length="34" tooSmall="False" monospace="0.0">=p(l\t,a)=l\p(li\li,...li-it,a)i=1</doubt><p>where it turns out that the factor that generates li is proportional to \ {<i>j &lt; i : l</i><i>j </i><i>= li </i>and <i>t</i><i>j </i><i>= ti}\ </i>if that integer is positive, else proportional to <i>ati</i><i>G(li).</i></p><p>Metaphorically, each tag t is a <i>Chinese restaurant </i>whose <i>tables </i>are labeled with lexemes. The tokens are hungry <i>customers. </i>Each customer i = 1, 2,..., n enters restaurant <i>t</i>i in turn, and <i>l</i>i denotes the label of the table she joins. She picks an occupied table with probability proportional to the number of pre­vious customers already there, or with probability proportional to <i>a</i>ti she starts a new table whose label is drawn from G (it is novel with probability 1, since G gives infinitesimal probability to each old label).</p><p>Similarly, we integrate out the infinitely many lexeme-specific distributions <i>Ht&amp; </i>from the product of 6.4 and 6.7, replacing it by the collapsed distribution where the factor for si is proportional to {j &lt; i : sj = si and (tj,lj) = <i>(t</i><i>i</i><i>,l</i><i>i)}\ </i>+ ati<i>Hu</i><i>(s</i><i>i).</i></p><doubt alpha="65.9" length="41" tooSmall="False" monospace="0.0">p(s\£,t,4&gt;t,a)[recaUthat&lt;&lt;&lt;tdeterminesHt]</doubt><doubt alpha="44.1" length="34" tooSmall="False" monospace="0.0">=IIp(si\si,...si_i,£,t,&lt;f&gt;t,a!)i=1</doubt><p>Metaphorically, each table l in Chinese restaurant t has a fixed, finite set of <i>seats </i>corresponding to the inflections s G <i>St.</i><i> </i>Each seat is really a bench that can hold any number of customers (tokens). When customer i chooses to sit at table li, she also chooses a seat si at that table (see Fig. 2), choosing either an already occupied seat with probability proportional to the number of customers already in that seat, or else a random seat (sampled from Hti and not necessarily empty) with probability proportional to at<b>i</b>.</p></subsection></section><section number="7" title="Inference and Learning"><p>As section 3 explained, the learner alternates between a Monte Carlo E step that uses Gibbs sampling to sample from the posterior of <i>(s,£,t)</i><i> </i>given W and the grammar variables, and an M step that adjusts the grammar variables to maximize the probability of the <i>(w,</i><i> </i><i>s,</i><i> </i><i>£,</i><i> </i>t) samples given those variables.<page local="8" global="623"/></p><subsection number="7.1" title="Block Gibbs Sampling"><p>As in Gibbs sampling for the DPMM, our sampler's basic move is to reanalyze token i (see section 3). This corresponds to making customer i invisible and then guessing where she is probably sitting—which restaurant t, table <i>£</i>, and seat s?—given knowledge of wi and the locations of all other customers.<footnote anchor="12"/></p><p>Concretely, the sampler guesses location <i>(ti,</i><i> </i><i>£</i><i>i</i><i>,</i><i> </i><i>si)</i><i> </i>with probability <i>proportional </i>to the product of</p><doubt alpha="56.8" length="37" tooSmall="False" monospace="0.0">•p(ti|ti_i, ti+i,t)(from section 6.5)</doubt><p>• the probability (from section 6.9) that a new cus­tomer in restaurant <i>t</i><i>i </i>chooses table <i>£i, </i>given the <i>other </i>customers in that restaurant (and ati )<footnote anchor="13"/></p><p>• the probability (from section 6.9) that a new customer at table <i>£i </i>chooses seat <i>s</i><i>i, </i>given the <i>other </i>customers at that table (and &lt;/&gt;ti and <i>a't.</i>)<footnote anchor="13"/></p><p>• the probability (from section 3.3's belief propa­gation) that 7TtiA (si) = Wi (given <i>6).</i></p><p>We sample only from the (ti,£i, si) candidates for which the last factor is non-negligible. These are found with the hash tables and FSAs of section 3.3.</p></subsection><subsection number="7.2" title="Semi-Supervised Sampling"><p>Our experiments also consider the semi-supervised case where a few <b>seed paradigms—</b><i>type </i>data—are fully or partially observed. Our samples should also be conditioned on these observations. We assume that our supervised list of observed paradigms was generated by sampling from Gt.<footnote anchor="14"/> We can modify our setup for this case: certain tables have a <b>host </b>who dictates the spelling of some seats and attracts appropriate customers to the table. See Appendix C.</p></subsection><subsection number="7.3" title="Parameter Gradients"></subsection></section><references><p>A. C. Albright. 2002. <i>The Identification of Bases in Morphological Paradigms. </i>Ph.D. thesis, University of California, Los Angeles.</p><p>D. Aldous. 1985. Exchangeability and related topics. <i>École d'été de probabilités de Saint-Flour XIII, </i>pages 1-198.</p><p>C. E. Antoniak. 1974. Mixtures of Dirichlet processes with applications to Bayesian nonparametric problems. <i>Annals of Statistics, </i>2(6):1152-1174.</p><p>R. H Baayen, R. Piepenbrock, and L. Gulikers. 1995. The CELEX lexical database (release 2)[cd-rom]. <i>Philadel­phia, PA: Linguistic Data Consortium, University of Pennsylvania [Distributor].</i></p><p>M. Baroni, J. Matiasek, and H. Trost. 2002. Unsupervised discovery of morphologically related words based on orthographic and semantic similarity. In <i>Proc. ofthe ACL-02 Workshop on Morphological and Phonological Learning, </i>pages 48-57.</p><p>M. Baroni, S. Bernardini, A. Ferraresi, and E. Zanchetta. 2009. The WaCky Wide Web: A collection of very large linguistically processed web-crawled corpora. <i>Language Resources and Evaluation, </i>43(3):209-226.</p><p>David Blackwell and James B. MacQueen. 1973. Fergu­son distributions via Pölya urn schemes. <i>The Annals of</i> <i>Statistics, </i>1(2):353-355, March.</p><p>David M. Blei and Peter I. Frazier. 2010. Distance-dependent Chinese restaurant processes. In <i>Proc. of</i> <i>ICML, </i>pages 87-94.</p><p>E. Chan. 2006. Learning probabilistic paradigms for morphology in a latent class model. In <i>Proceedings of the Eighth Meeting of the ACL Special Interest Group on Computational Phonology at HLT-NAACL, </i>pages 69-78.</p><p>M. Creutz and K. Lagus. 2005. Unsupervised morpheme segmentation and morphology induction from text cor­pora using Morfessor 1.0. <i>Computer and Information Science, Report A, </i>81.</p><p>H. Déjean. 1998. Morphemes as necessary concept for structures discovery from untagged corpora. In <i>Proc. of the Joint Conferences on New Methods in Language Processing and Computational Natural Lan­guage Learning, </i>pages 295-298.</p><p>Markus Dreyer and Jason Eisner. 2009. Graphical models over multiple strings. In <i>Proc. ofEMNLP, </i>Singapore, August.</p><p>Markus Dreyer, Jason Smith, and Jason Eisner. 2008.</p><p>Latent-variable modeling of string transductions with finite-state methods. In <i>Proc. of EMNLP, </i>Honolulu,</p><p>Hawaii, October. Markus Dreyer. 2011. <i>A Non-Parametric Model for the</i> <i>Discovery of Inflectional Paradigms from Plain Text</i> <i>Using Graphical Models over Strings.</i><i> </i>Ph.D. thesis, Johns Hopkins University. T.S. Ferguson. 1973. A Bayesian analysis of some non-parametric problems. <i>The annals of statistics, </i>1(2):209230.</p><p>Y. Freund and R. Schapire. 1999. Large margin classifica­tion using the perceptron algorithm. <i>Machine Learning,</i> 37(3):277-296.</p><p>J. Goldsmith. 2001. Unsupervised learning of the mor­phology of a natural language. <i>Computational Linguis­tics, </i>27(2):153-198. S. Goldwater, T. Griffiths, and M. Johnson. 2006a. In­terpolating between types and tokens by estimating power-law generators. In <i>Proc. ofNIPS, </i>volume 18, pages 459-466. S. Goldwater, T. L. Griffiths, and M. Johnson. 2006b. Contextual dependencies in unsupervised word seg­mentation. In <i>Proc. of COLING-ACL. </i>P.J. Green. 1995. Reversible jump Markov chain Monte Carlo computation and Bayesian model determination. <i>Biometrika, </i>82(4):711. M. A Hafer and S. F Weiss. 1974. Word segmentation by letter successor varieties. <i>Information Storage and Retrieval, </i>10:371-385. Z. S. Harris. 1955. From phoneme to morpheme. <i>Lan­guage, </i>31(2):190-222. G.E. Hinton. 2002. Training products of experts by min­imizing contrastive divergence. <i>Neural Computation, </i>14(8):1771-1800. Klara Janecki. 2000. <i>300 Polish Verbs. </i>Barron's Educa­tional Series.</p><p>E. T. Jaynes. 2003. <i>Probability Theory: The Logic of Science. </i>Cambridge Univ Press. Edited by Larry Bret­thorst.</p><p>D. Jurafsky, J. H. Martin, A. Kehler, K. Vander Linden, and N.Ward. 2000. <i>Speech and Language Processing: An Introduction to Natural Language Processing, Com­putational Linguistics, and Speech Recognition. </i>MIT Press.</p><p>M.Kay. 1987. Nonconcatenative finite-state morphology.</p><p>In <i>Proc. ofEACL, </i>pages 2-10.</p><p>M. Kurimo, S. Virpioja, V. Turunen, and K. Lagus. 2010. Morpho Challenge competition 2005-2010: Evalua­tions and results. In <i>Proc. ofACL SIGMORPHON,</i> pages 87-95.</p><p>P. H. Matthews. 1972. <i>Inflectional Morphology: A Theo­retical Study Based on Aspects of Latin Verb Conjuga­tion. </i>Cambridge University Press. Christian Monson, Jaime Carbonell, Alon Lavie, and Lori Levin. 2007. ParaMor: Minimally supervised induc­tion of paradigm structure and morphological analysis. In <i>Proc. of ACL SIGMORPHON, </i>pages 117-125, June.</p><page local="12" global="627"/><p>J. Naradowsky and S. Goldwater. 2009. Improving mor­phology induction by learning spelling rules. In <i>Proc. ofIJCAI, </i>pages 1531-1536.</p><p>J. Pitman and M. Yor. 1997. The two-parameter Poisson-Dirichlet distribution derived from a stable subordinator. <i>Annals ofProbability, </i>25:855-900.</p><p>P. Schone and D. Jurafsky. 2001. Knowledge-free induc­tion of inflectional morphologies. In <i>Proc. ofNAACL, </i>volume 183, pages 183-191.</p><p>J. Sethuraman. 1994. A constructive definition of Dirich-let priors. <i>Statistica Sinica, </i>4(2):639-650.</p><p>N. A. Smith, D. A. Smith, and R. W. Tromble. 2005.</p><p>Context-based morphological disambiguation with ran­dom fields. In <i>Proceedings of HLT-EMNLP, </i>pages 475-482, October.</p><p>G. T. Stump. 2001. <i>Inflectional Morphology: A Theory of Paradigm Structure. </i>Cambridge University Press.</p><p>Y.W. Teh, M.I. Jordan, M.J. Beal, and D.M. Blei. 2006.</p><p>Hierarchical Dirichlet processes. <i>Journal of the Ameri­can Statistical Association, </i>101(476):1566-1581. Yee Whye Teh. 2006. A hierarchical Bayesian language model based on Pitman-Yor processes. In <i>Proc. of</i> <i>ACL.</i><i></i></p><p>K. Toutanova and R.C. Moore. 2002. Pronunciation modeling for improved spelling correction. In <i>Proc. of ACL, </i>pages 144-151.</p><p>D. Yarowsky and R. Wicentowski. 2000. Minimally su­pervised morphological analysis by multimodal align­ment. In <i>Proc. ofACL, </i>pages 207-216, October.</p></references><appendix title="Appendix D gives formulas for the M step gradients."><footnote label="12">Actually, to improve mixing time, we choose a currently active lexeme £ uniformly at random, make all customers {i : £ i  =  £}  invisible, and sequentially guess where they are sitting.</footnote><footnote label="13">This is simple to find thanks to the exchangeability of the CRP, which lets us pretend that i entered the restaurant last.</footnote><footnote label="14">Implying that they are assigned to lexemes with non-negligible probability. We would learn nothing from a list of merely possible paradigms, since L t  is infinite and every con­ceivable paradigm is assigned to some £ e L t  (in fact many!).</footnote><p>Table 2: Whole-word accuracy and edit distance of pre­dicted inflection forms given the lemma. Edit distance to the correct form is measured in characters. Best numbers per set of seed paradigms in bold (statistically signifi­cant on our large test set under a paired permutation test, <i>p &lt; </i>0.05). Appendix E breaks down these results per inflection and gives an error analysis and other statistics.</p><p><b>8 Experiments</b> <b>8.</b><b>1 Experimental Design</b></p><p>We evaluated how well our model learns German verbal morphology. As <i>corpus </i>we used the first 1 million or 10 million words from WaCky (Baroni et al., 2009). For <i>seed and test paradigms </i>we used verbal inflectional paradigms from the CELEX mor­phological database (Baayen et al., 1995). We fully observed the seed paradigms. For each test paradigm, we observed the lemma type (Appendix C) and eval­uated how well the system completed the other 21 forms (see Appendix E.2) in the paradigm.</p><p>We simplified inference by fixing the POS tag sequence to the automatic tags delivered with the WaCky corpus. The result that we evaluated for each variable was the value whose probability, averaged over the entire Monte Carlo EM run,<footnote anchor="15"/> was highest. For more details, see (Dreyer, 2011).</p><p>All results are averaged over 10 different train­ing/test splits of the CELEX data. Each split sampled 100 paradigms as seed data and used the remain­ing 5,415 paradigms for evaluation.<footnote anchor="16"/> From the 100 paradigms, we also sampled 50 to obtain results with smaller seed data.<footnote anchor="17"/> <b>Type-based Evaluation.</b><b> </b>Table 2 shows the results of predicting verb inflections, when running with no corpus, versus with an unannotated corpus of size 10<footnote anchor="6"/>and 10<footnote anchor="7"/> words. Just using 50 seed paradigms, but<page local="9" global="624"/></p><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">8.2 Results</doubt><footnote label="15">This includes samples from before 9 has converged, some­what like the voted perceptron (Freund and Schapire, 1999).</footnote><footnote label="16">100 further paradigms were held out for future use.</footnote><footnote label="17">Since these seed paradigms are sampled uniformly from a set of CELEX paradigms, most of them are regular. We actually only used 90 and 40 for training, reserving 10 as development data for sanity checks and for deciding when to stop.</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><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>Corpus size</p></td><td class="cell"><p>50 se 0</p></td><td class="cell"><p>ed parad 10<footnote anchor="6"/></p></td><td class="cell"><p>ligms 10<footnote anchor="7"/></p></td><td class="cell"><p>100 se 0</p></td><td class="cell"><p>ed para 10<footnote anchor="6"/></p></td><td class="cell"><p>digms 10<footnote anchor="7"/></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Accuracy</p></td><td class="cell"><p>89.9</p></td><td class="cell"><p>90.6</p></td><td class="cell"><p><b>90.9</b></p></td><td class="cell"><p>91.5</p></td><td class="cell"><p>92.0</p></td><td class="cell"><p><b>92.2</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Edit dist.</p></td><td class="cell"><p>0.20</p></td><td class="cell"><p>0.19</p></td><td class="cell"><p><b>0.18</b></p></td><td class="cell"><p>0.18</p></td><td class="cell"><p><b>0.17</b></p></td><td class="cell"><p><b>0.17</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Table 3: The inflected verb forms from 5,615 inflectional paradigms, split into 5 token frequency bins. The frequen­cies are based on the 10-million word corpus.</p><p>no corpus, gives an accuracy of 89.9%. By adding a corpus of 10 million words we reduce the error rate by 10%, corresponding to a one-point increase in absolute accuracy to 90.9%. A similar trend can be seen when we use more seed paradigms. Sim­ply training on 100 seed paradigms, but not using a corpus, results in an accuracy of 91.5%. Adding a corpus of 10 million words to these 100 paradigms re­duces the error rate by 8.3%, increasing the absolute accuracy to 92.2%. Compared to the large corpus, the smaller corpus of 1 million words goes more than half the way; it results in error reductions of 6.9% (50 seed paradigms) and 5.8% (100 seed paradigms). Larger unsupervised corpora should help by increas­ing coverage even more, although Zipf's law implies a diminishing rate of return.<footnote anchor="18"/></p><p>We also tested a baseline that simply inflects each morphological form according to the basic regular German inflection pattern; this reaches an accuracy of only 84.5%.</p><p><b>Token-based Evaluation. </b>We now split our results into different bins: how well do we predict the spellings of frequently expressed (lexeme, inflection) pairs as opposed to rare ones? For example, the third person singular indicative of <i>qi/m </i>(geben) is used significantly more often than the second person plural subjunctive <i>of</i><i> A~uA </i>(aalen);<footnote anchor="19"/> they are in different frequency bins (Table 3). The more frequent a form is in text, the more likely it is to be irregular (Jurafsky et al., 2000, p. 49).</p><p>The results in Table 4 show: Adding a corpus of either 1 or 10 million words increases our prediction accuracy across <i>all </i>frequency bins, often dramati­cally. All methods do best on the huge number of</p><footnote label="18">Considering the 63,778 distinct spellings from all of our 5,615 CELEX paradigms, we find that the smaller corpus con­tains 7,376 spellings and the 10x larger corpus contains 13,572.</footnote><footnote label="19">See Appendix F for how this was estimated from text.</footnote><p>Table 4: Token-based analysis: Whole-word accuracy re­sults split into different frequency bins. In the last two rows, all predictions are included, weighted by the fre­quency of the form to predict. Last row is edit distance.</p><p>rare forms (Bin 1), which are mostly regular, and worst on on the 10 most frequent forms of the lan­guage (Bin 5). However, adding a corpus helps most in fixing the errors in bins with more frequent and hence more irregular verbs: in Bins 2-5 we observe improvements of up to almost 8% absolute percent­age points. In Bin 1, the no-corpus baseline is already relatively strong.</p><p>Surprisingly, while we always observe gains from using a corpus, the gains from the 10-million-word corpus are sometimes smaller than the gains from the 1-million-word corpus, except in edit distance. Why? The larger corpus mostly adds new infrequent types, biasing <i>0 </i>toward regular morphology at the expense of irregular types. A solution might be to model irreg­ular classes with separate parameters, using the latent conjugation-class model of Dreyer et al. (2008).</p><p>Note that, by using a corpus, we even improve our prediction accuracy for forms and spellings that are <i>not </i>found in the corpus, i.e., <i>novel </i>words. This is thanks to improved grammar parameters. In the token-based analysis above we have already seen that prediction accuracy increases for rare forms (Bin 1). We add two more analyses that more explicitly show our performance on novel words. (a) We find all paradigms that consist of novel spellings only, i.e. none of the correct spellings can be found in the corpus.<footnote anchor="20"/> The whole-word prediction accuracies for the models that use corpus size 0, 1 million, and 10 million words are, respectively, 94.0%, 94.2%, 94.4% using 50 seed paradigms, and 95.1%, 95.3%, 95.2% using 100 seed paradigms. (b) Another, simpler measure is the prediction accuracy on all forms whose correct spelling cannot be found in the 10-million-word corpus.<page local="10" global="625"/> Here we measure accuracies of 91.6%, 91.8% and 91.8%, respectively, using 50 seed paradigms. With 100 seed paradigms, we have 93.0%, 93.4% and 93.1%. The accuracies for the models that use a corpus are higher, but do not al­ways steadily increase as we increase the corpus size.</p><footnote label="20">This is measured on the largest corpus used in inference, the 10-million-word corpus, so that we can evaluate all models on the same set of paradigms.</footnote><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin</b></p></td><td class="cell"><p><b>Frequency</b></p></td><td class="cell"><p><b># Verb Forms</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>0-9</p></td><td class="cell"><p>116,776</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>10-99</p></td><td class="cell"><p>4,623</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>100-999</p></td><td class="cell"><p>1,048</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>1,000-9,999</p></td><td class="cell"><p>95</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>10,000-</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>all</i></p></td><td class="cell"><p><i>any</i></p></td><td class="cell"><p>122,552</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><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>50 seed paradigms</p></td><td class="cell"><p>100 seed paradigms</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Bin</b></p></td><td class="cell"><p>0</p></td><td class="cell"><p>10<footnote anchor="6"/></p></td><td class="cell"><p>10<footnote anchor="7"/></p></td><td class="cell"><p>0</p></td><td class="cell"><p>10<footnote anchor="6"/></p></td><td class="cell"><p>10<footnote anchor="7"/></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>90.5</p></td><td class="cell"><p>91.0</p></td><td class="cell"><p><b>91.3</b></p></td><td class="cell"><p>92.1</p></td><td class="cell"><p>92.4</p></td><td class="cell"><p><b>92.6</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>78.1</p></td><td class="cell"><p><b>84.5</b></p></td><td class="cell"><p>84.4</p></td><td class="cell"><p>80.2</p></td><td class="cell"><p><b>85.5</b></p></td><td class="cell"><p>85.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>71.6</p></td><td class="cell"><p><b>79.3</b></p></td><td class="cell"><p>78.1</p></td><td class="cell"><p>73.3</p></td><td class="cell"><p><b>80.2</b></p></td><td class="cell"><p>79.1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>4</p></td><td class="cell"><p>57.4</p></td><td class="cell"><p>61.4</p></td><td class="cell"><p><b>61.8</b></p></td><td class="cell"><p>57.4</p></td><td class="cell"><p><b>62.0</b></p></td><td class="cell"><p>59.9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>5</p></td><td class="cell"><p>20.7</p></td><td class="cell"><p><b>25.0</b></p></td><td class="cell"><p><b>25.0</b></p></td><td class="cell"><p>20.7</p></td><td class="cell"><p><b>25.0</b></p></td><td class="cell"><p><b>25.0</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>all</p></td><td class="cell"><p>52.6</p></td><td class="cell"><p>57.5</p></td><td class="cell"><p><b>57.8</b></p></td><td class="cell"><p>53.4</p></td><td class="cell"><p><b>58.5</b></p></td><td class="cell"><p>57.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>all <i>(e.d.)</i></p></td><td class="cell"><p>1.18</p></td><td class="cell"><p>1.07</p></td><td class="cell"><p><b>1.03</b></p></td><td class="cell"><p>1.16</p></td><td class="cell"><p>1.02</p></td><td class="cell"><p><b>1.01</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>The token-based analysis we have conducted here shows the strength of the corpus-based approach pre­sented in this paper. While the integrated graphi­cal models over strings (Dreyer and Eisner, 2009) can learn some basic morphology from the seed paradigms, the added corpus plays an important role in correcting its mistakes, especially for the more fre­quent, irregular verb forms. For examples of specific errors that the models make, see Appendix E.3.</p><p><b>9  Related Work</b></p><p>Our word-and-paradigm model seamlessly handles nonconcatenative and concatenative morphology alike, whereas most previous work in morphological knowledge discovery has modeled concatenative mor­phology only, assuming that the orthographic form of a word can be split neatly into stem and affixes—a simplifying asssumption that is convenient but often not entirely appropriate (Kay, 1987) (how should one segment English stopping, hoping, or knives?).</p><p>In <b>concatenative </b>work, Harris (1955) finds mor­pheme boundaries and segments words accordingly, an approach that was later refined by Hafer and Weiss (1974), Déjean (1998), and many others. The unsupervised segmentation task is tackled in the annual Morpho Challenge (Kurimo et al., 2010), where ParaMor (Monson et al., 2007) and Morfessor (Creutz and Lagus, 2005) are influential contenders. The Bayesian methods that Goldwater et al. (2006b, et seq.) use to segment between words might also be applied to segment within words, but have no notion of paradigms. Goldsmith (2001) finds what he calls <i>signatures</i>—sets of affixes that are used with a given set of stems, for example <i>(NULL, </i>-er, -ing, -s). Chan (2006) learns sets of morphologically related words; he calls these sets <i>paradigms </i>but notes that they are not substructured entities, in contrast to the paradigms we model in this paper. His models are restricted to concatenative and regular morphology.</p><p>Morphology discovery approaches that han­dle <b>nonconcatenative </b>and irregular phenomena are more closely related to our work; they are rarer. Yarowsky and Wicentowski (2000) identify inflection-root pairs in large corpora without supervi­sion. Using similarity as well as distributional clues, they identify even irregular pairs like take/took. Schone and Jurafsky (2001) and Baroni et al. (2002) extract whole conflation sets, like "abuse, abused, abuses, abusive, abusively, ...," which may also be irregular. We advance this work by not only extracting pairs or sets of related observed words, but whole structured inflectional paradigms, in which we can also predict forms that have never been ob­served. On the other hand, our present model does not yet use contextual information; we regard this as a future opportunity (see Appendix G). Naradowsky and Goldwater (2009) add simple spelling rules to the Bayesian model of (Goldwater et al., 2006a), en­abling it to handle some systematically nonconcate-native cases. Our finite-state transducers can handle more diverse morphological phenomena.</p><p><b>10   Conclusions and Future Work</b></p><p>We have formulated a principled framework for si­multaneously obtaining morphological annotation, an unbounded morphological lexicon that fills com­plete structured morphological paradigms with ob­served and predicted words, and parameters of a non-concatenative generative morphology model.</p><p>We ran our sampler over a large corpus (10 million words), inferring everything jointly and reducing the prediction error for morphological inflections by up to 10%. We observed that adding a corpus increases the absolute prediction accuracy on frequently occur­ring morphological forms by up to almost 8%. Future extensions to the model could leverage token context for further improvements (Appendix G).</p><p>We believe that a major goal of our field should be to build full-scale explanatory probabilistic models of language. While we focus here on inflectional morphology and evaluate the results in isolation, we regard the present work as a significant step toward a larger generative model under which Bayesian inference would reconstruct other relationships as well (e.g., inflectional, derivational, and evolution­ary) among the words in a family of languages.</p><page local="11" global="626"/></appendix></body></article>