Probabilistic Lexical Generalization for French Dependency Parsing
Paper · 2012 · Enrique Henestroza Anguiano and Marie Candito
Summary
A parser trained on newspaper sentences can learn how familiar words fit together and still struggle when it encounters the vocabulary of a medical report. The problem concerns dependency parsing, which identifies the grammatical head of each word and labels the relationship between them. For French, representing inflected words by their lemmas already lets a parser share evidence across forms of the same word. The authors ask whether it can also share evidence across different words. Their proposal lets a lemma contribute through several related alternatives, with a weight for each, so that an attachment decision can draw on patterns learned from other vocabulary.
The authors first use a large collection of automatically parsed French text to build a distributional thesaurus. It groups evidence about words according to the syntactic contexts in which they occur. From this resource they derive several ways to represent a noun or verb. A lemma can retain some of its own weight and distribute the rest among related lemmas. A noun can contribute through several WordNet senses, weighted by their estimated prevalence for that noun. The paper also tests ordinary replacement with a single cluster or a single ranked sense. These representations enter the same transition-based parser by changing the lexical features it uses to choose its next action.
The evaluation trains on the newspaper material in the French Treebank and tests on newspaper, medical and parliamentary text. The clearest gains occur on the medical reports from the European Medicines Agency. On the EMEA test split, the parser with weighted neighboring lemmas reaches a labeled attachment score of 85.82, and the one with weighted senses reaches 85.68, against 85.41 for the lemma baseline. Both also significantly improve on the EMEA development split. Hard clusters significantly improve the EMEA test score as well. The authors find no statistically significant attachment gains on the French Treebank test split or on Europarl.
The comparison suggests that the value of lexical generalization depends on which words the parser already knows from training. The newspaper vocabulary covers much of the parliamentary vocabulary, even though the syntax differs, while the external resources supply much broader noun coverage for the medical reports. Weighted alternatives give the parser more lexical features to use, at the cost of slower feature extraction and prediction. Their attachment scores are generally a little stronger than those from single replacements, but the experiments do not establish a significant advantage for weighting over the other generalization settings.
Deep dive: Probabilistic Lexical Generalization for French Dependency Parsing
A study of how weighting related words and senses helps French dependency parsing when the training vocabulary poorly covers medical text. · about 34 minutes to read
The problem and its context
Why seeing a word once may be too little
A dependency analysis describes a sentence through links between words. In the paper’s example of someone opening a door with a key, the main verb is the head of the sentence, and other words take their places in a tree organized around it. A labeled analysis also says what grammatical function a dependent bears in relation to its head. To produce such an analysis, a parser has to identify a governing word and choose the relation to assign. It must make these decisions even when a sentence contains words or combinations that occurred rarely in training.
A treebank supplies sentences with human-specified grammatical analyses. The training data in this study come from a newspaper. They can therefore illustrate many ordinary constructions, but their stock of examples for any particular word is limited by what the newspaper happens to discuss. A lexical cue that refers to a pair of words is harder to observe than a cue that refers to either word alone. The individual words might both appear in training and still fail to occur together in the relevant configuration. Listing the words in the training vocabulary gives only a partial view of how much usable lexical evidence the parser has.
The baseline already addresses one source of sparsity through lemmatization. French surface forms encode grammatical distinctions, and ones belonging to the same lexeme can be represented by a common lemma. The parser also receives morphology features, so it can use properties of the form alongside the shared lexical identity. Those operations work within the vocabulary of individual lexemes. A noun from a medical report can still lack a useful lexical feature even when its lemma and morphological properties are identified correctly. The paper investigates what happens when lexical evidence can travel between words that have different lemmas.
That evidence sits alongside more general cues. A part-of-speech tag can identify a word as a noun or verb, and a pattern of tags can recur across a large number of sentences. An exact lemma carries a narrower kind of information. It allows the parser to respond to a tendency associated with a particular word. Similar-word classes offer an intermediate scope. The parser can share evidence across words that behave alike in the corpus, while retaining more differentiation than it would get from knowing their grammatical category alone.
What earlier parsers shared across words
The paper traces the use of word classes back to work in constituency parsing, where a sentence is represented through nested phrases. Some studies obtained their classes from hand-built semantic resources. Others induced them from text. The examples the authors discuss show why the choice of representation mattered. Bikel’s work with WordNet-based sense disambiguation did not yield a parsing gain, whereas other experiments reported improvements using Chinese semantic resources or English WordNet classes. In a Chinese constituency parser, researchers used HowNet to refine grammatical symbols and then guide further refinement within a framework developed in Learning Accurate, Compact, and Interpretable Tree Annotation.
An alternative was to use clusters induced from word occurrences. The paper cites French constituency experiments in which Brown clusters replaced the observed words and improved parsing. In dependency parsing, Simple Semi-supervised Dependency Parsing had reported gains for English and Czech from incorporating Brown cluster features into a graph-based parser. Earlier benchmarking for French had compared a cluster setting with a parser that already used lemmas and morphological analysis. That comparison gave the authors a reason to treat lemmatization with morphology as the relevant baseline and to explore a different way of building classes.
Another line of work made similarity depend on syntactic behavior. Sagae and Gordon collected paths from automatically analyzed English sentences and grouped words using the similarity of their path-count vectors. The paths used in that work omitted the identities of the words at their ends. The French study also derives similarity from syntax but uses lexicalized dependency contexts and groups some contexts by grammatical pattern. Its thesaurus serves a wider purpose than providing inputs to clustering. The same neighbors can serve directly as alternative lemmas or help rank WordNet senses.
The paper also discusses earlier English dependency experiments in which a parser used a word’s first-ranked sense or a broader semantic class as a feature. Prior uses of these resources motivated two ways of incorporating generalized vocabulary. A representation can replace the original lexical feature with the class, or it can add a class feature alongside the original. The French experiments use replacement. Their extension is to let a replacement consist of several weighted features. A word that has only one assigned class fits this framework as a special case, with all the weight concentrated on that class.
Why the new domain matters
The paper places its medical evaluation alongside earlier adaptation work in constituency parsing. McClosky and Charniak used automatically parsed material from a target domain for self-training. In that arrangement, sentences analyzed by a parser supply further examples for training. Earlier French work by Candito and colleagues used clusters built from material drawn from both source and target domains. The present study uses a different route for bringing evidence from a large corpus into the parser. The automatic analyses supply contexts for lexical representations, while the supervised transition decisions still come from the annotated French Treebank training split.
The distinction matters because a change of domain can affect vocabulary and syntax separately. A new domain may use familiar words in different constructions. It may also use unfamiliar words in familiar constructions. Improving access to lexical evidence directly addresses the latter case. Whether it also helps when the constructions themselves differ is an empirical question. The newspaper, medical and parliamentary conditions let the authors examine lexical generalization under different degrees of vocabulary overlap while retaining the same source for supervised training.
The method, step by step
Where the parser uses a word
The parser builds a tree through a succession of local decisions. At each step it has a buffer containing the upcoming words and a stack holding words relevant to the structure already under construction. It looks at information such as the next word in the buffer, the word at the top of the stack and their currently known dependents. A classifier scores possible actions using features extracted from this configuration. The parser selects the highest-scoring action available at that step, then repeats the process on the changed configuration.
This family of methods is represented in the paper by Statistical Dependency Analysis with Support Vector Machines and An Efficient Algorithm for Projective Dependency Parsing. The authors use the arc-eager transition system described in Labeled Pseudo-Projective Dependency Parsing with Support Vector Machines. Its shift action places the next buffer word on the stack. Reduce removes the top word from the stack. A right arc makes the stack’s top word the head of the next buffer word and pushes that buffer word. A left arc makes the next buffer word the head of the stack’s top word and removes the dependent from the stack. Both arc actions assign a grammatical label.
To train the classifier, the authors convert the reference dependency trees into sequences of actions. Each training instance corresponds to a parsing configuration and the transition to make in it. A feature template specifies which information about that configuration to record. For instance, a template can combine the part of speech of the stack’s top token with the lemma of the next token in the buffer. The template identifies the positions and properties to inspect. The actual values identify a feature that can be assigned a weight during training.
Lexical generalization changes how these feature values are constructed. A conventional lexical feature is active when a position contains its named lemma. Under weighted generalization, a word can also activate features for related lemmas or for senses in a lexical resource. The classifier can then use a coefficient learned from other words that activate the same feature. The parser still has the same possible transitions, and a weighted feature is used when scoring those transitions. The probabilities belong to lexical alternatives in the input representation.
From corpus dependencies to generalized parsing decisions
The steps in order.
Building a thesaurus from syntax
The lexical resource starts with automatically analyzed text. From a French Wikipedia backup the authors draw 225 million words, and from the newspaper L’Est Republicain and Agence France-Presse dispatches they draw 125 million words each. They preprocess these collections with Bonsai and parse them with their baseline parser. The resulting dependency arcs provide the observations for the thesaurus. FreDist is the software they use to construct it.
The underlying idea comes from distributional semantics. Words can be compared through the contexts they tend to share. A syntactic context in this study records a relationship supplied by the parser rather than just the presence of a nearby token. The authors draw on Automatic Retrieval and Clustering of Similar Words and on Curran’s work. They build separate thesauri for nouns and verbs so that comparisons of a noun’s context profile concern other nouns, and comparisons of a verb’s profile concern other verbs.
A context can include the grammatical label of an arc and the lexical identity of the other word. The authors require the secondary word to have an open-class tag when selecting lexicalized dependency contexts. In cases such as prepositional phrase attachment and coordination, a context can follow two edges. The paper illustrates the difference with manger. In manger un avocat, the relation to avocat can be represented directly. In manger avec un avocat, the relevant context for the verb reaches the noun via the preposition. Using paths lets the resource register these as different ways the words participate in a construction, even though both contain manger and avocat.
The collection rules for nouns and verbs reflect their roles in dependencies. For a verb, the authors keep relations in which it governs the other element. They also add versions of contexts that omit the other word’s lexical identity. These versions record aspects of subcategorization, meaning the kinds of dependents a verb takes, so that verbs can share a pattern even when the specific fillers differ. A noun’s profile includes dependencies in which it participates on either side of the relation. The noun contexts retain lexical information.
To qualify for inclusion in the authors’ thesaurus vocabulary, a lemma must occur in context at least 1,000 times. This gives 8,171 nouns and 2,865 verbs. The threshold concerns observed contexts, which are the data used to characterize each lemma. The comparisons therefore start from lemmas for which the automatic corpus analysis has supplied substantial evidence. A less frequent lemma may still appear in supervised parsing data or in a test sentence. The parser’s fallback treatment of those lemmas is a separate decision from the construction of the thesaurus.
From context counts to similarity
The raw counts say how often a lemma and a context occur together. The method gives a context more influence when its association with the lemma is informative relative to how frequently the lemma and context each occur. The weighting measure is pointwise mutual information.
I(x, c) = log(p(x, c) / (p(x) p(c)))
Here x is a lemma and c is a dependency context. The quantity I(x, c) is the association weight assigned to that pair. The joint probability p(x, c) is estimated from occurrences of the pair. The marginal probabilities p(x) and p(c) are estimated from the counts for the lemma and the context separately. Their product gives the comparison rate under independence. The function log takes the logarithm of the ratio between the observed joint rate and that comparison rate.
Each lemma can now be treated as a vector whose coordinates are the context weights. The authors use cosine similarity to compare these vectors. Shared contexts contribute through the products of their weights, and the vector lengths scale the total.
D(x, y) = [Σ꜀ I(x, c) I(y, c)] / √([Σ꜀ I(x, c)²] [Σ꜀ I(y, c)²])
The lemmas being compared are x and y, and D(x, y) is their similarity score. Each Σ꜀ sums over context coordinates c. The terms I(x, c) and I(y, c) are the weights assigned to the same context by the respective lemma profiles. The squared weights in the denominator give the squared vector lengths when summed. The square root √ of their product gives the product of the lengths. The result supplies an ordering of possible neighbors for each lemma, which the next stages use in different ways.
The syntactic contexts come from the baseline’s automatic analyses. The statistics can pool many occurrences of a word, but the evidence in each occurrence is whatever dependency relation that analysis supplied. This is how the large corpus enters the experiment. Its sentences do not enter the supervised training pool as further examples of correct transitions. The context profiles instead provide an additional way of deciding which lexical features to share.
Mapping a lemma to other lemmas
The paper describes the possible results of generalization as a target space, written Ω. Each source lemma is associated with a categorical distribution, meaning that probability mass is assigned to individual outcomes from that space. In the lemma space, Ωₗ, the outcomes are themselves lemmas. The source and target vocabularies coincide. In the other spaces the outcomes will be synsets or clusters. Using the same representation makes the distinction between one replacement and several weighted replacements precise.
For the lemma space, the authors first give the direct normalization that one could apply to the thesaurus scores.
pₓ(y) = D(x, y) / Σᵧ′ ∈ V D(x, y′)
Here V is the vocabulary used on both sides of the mapping. The input lemma is x and the candidate output lemma is y. The function pₓ gives the distribution for x, so pₓ(y) is the probability assigned to the candidate. The numerator is the similarity D(x, y). The sum in the denominator ranges over candidate lemmas y′ in V and adds their similarities to x. The prime distinguishes the candidate being summed over from the particular y whose probability is sought.
For the experiments, the authors modify this rule in two ways. They reserve a specified amount of probability for the original lemma, separating its contribution from the thesaurus’s assessment of related words. They also restrict the expansion to the nearest neighbors. This limits the influence of lower-ranked similarities, which may reflect noise. The resulting mapping can retain a word-specific feature and share more broadly through the alternatives selected for that word.
⎧ m if y = x
pₓ(y) = ⎨ (1 − m) D(x, y) / Σᵧ′ ∈ Nₓ(k) D(x, y′) if y ∈ Nₓ(k)
⎩ 0 otherwise
The symbol m is the mass assigned to the original lemma x. The set Nₓ(k) contains the k closest other lemmas according to the thesaurus. The prime on y′ again identifies the variable summed over, this time within the neighbor set. For a neighbor y, the ratio gives its share of the neighbor similarity total. The factor 1 − m allocates the remaining mass to those neighbors. An alternative outside the original lemma and the retained neighborhood gets 0 weight.
The tested setting, PKNL, uses k=4 and m=0.5 for both nouns and verbs. The fixed identity weight means that the original lemma’s contribution is set in advance. The measured similarities decide how the neighbor portion is divided. A low-frequency lemma outside the thesaurus is assigned to a shared unknown class. That class also permits sharing, through a common fallback for words where the context counts did not support a thesaurus entry.
Ranking a lemma’s WordNet senses
The second target space, Ωₛ, uses synsets as outcomes. A synset is a WordNet entry for a sense, and a lemma can be associated with several of them. The paper uses the French EuroWordNet, abbreviated FREWN, and a mapping to Princeton WordNet version 3.0. Entries that cannot be mapped at the synset level are discarded as described by the authors. After this mapping and filtering, the resource has entries for 9,833 nouns and 2,220 verbs.
To see what a sense ranking adds, consider avocat. The paper uses the lemma because it can refer to an avocado or a lawyer. A single-sense replacement uses whichever sense the ranking places first. A weighted representation lets features for several senses contribute. Both depend on the same ranking, built for the lemma from the thesaurus. Thus the feature for a sense has the same lexical input weight whenever the lemma occurs under the same template. There is no fresh ranking produced from the surrounding sentence.
The authors follow McCarthy and colleagues’ method of automatic sense ranking. They take each distributional neighbor of the source lemma and compare the source’s possible senses with the neighbor’s senses. A neighbor gives support to a candidate sense if one of the neighbor’s senses is related to it in WordNet. The contribution depends both on the strength of that semantic evidence and on how close the neighbor was to the original lemma in the thesaurus.
Rₓ(s) = Σᵧ ∈ Nₓ(k) D(x, y) · [maxₛ′ ∈ Sᵧ W(s, s′)] / [Σₜ ∈ Sₓ maxₛ′ ∈ Sᵧ W(t, s′)]
The input lemma is x, and s is one of its senses. The function Rₓ(s) is the prevalence score computed for that sense. Each y is a neighbor in Nₓ(k), the set of the k nearest lemmas, and D(x, y) is its distributional similarity to x. The sets Sₓ and Sᵧ contain the WordNet senses of the two lemmas. The function W gives WordNet similarity between senses. The variable s′ ranges over the neighbor’s senses, and max selects its strongest match to the source sense. In the denominator, t ranges over the senses of x. The sum combines each of those senses’ strongest matches to y. The outer sum collects the scaled contributions of the neighbors.
The denominator allocates each neighbor’s semantic support across the candidate senses of the source lemma. A neighbor that relates well to several senses can distribute its contribution across them. One that particularly favors a single sense gives that sense a greater share of its contribution. The similarity D(x, y) then determines how strongly that neighbor matters compared with other neighbors. Thus proximity in the thesaurus determines the strength of a neighbor’s vote, while WordNet relations determine where it goes.
The ranking calculation uses k=8 distributional neighbors. For W, the authors use the Jiang and Conrath measure implemented in NLTK, the Natural Language Toolkit. They use its default information-content counts calculated over the British National Corpus. After the prevalence scores are available, the method has a separate choice about how many source senses to retain. The paper also denotes that choice by k. The neighborhood size used to accumulate evidence and the sense cutoff applied to the result play different roles.
⎧ Rₓ(s) / Σₛ′ ∈ Sₓ(k) Rₓ(s′) if s ∈ Sₓ(k)
pₓ(s) = ⎨
⎩ 0 otherwise
The notation Sₓ(k) refers to the k highest-ranked senses of x. The variable s′ ranges over that retained set in the denominator. The quantity Rₓ(s) is the prevalence score for the candidate sense s, and the sum gives the total prevalence of the retained senses. Division makes each retained score a share of that total, producing pₓ(s), the mass assigned to s. A sense outside the retained set gets 0 weight.
With k=1 for the sense cutoff, the parser receives only the highest-ranked sense. That is the RS setting. PKPS, the weighted sense setting, retains all ranked senses because the number of senses varies considerably by lemma. Both settings leave verbs out of this generalization after weak cross-validation performance with verb senses. An out-of-vocabulary lemma receives its own unique sense representation in either setting. That arrangement preserves distinctions between uncovered lemmas instead of pooling them into an unknown class as the thesaurus-based settings do.
Grouping lemmas into clusters
The third target space, Ω꜀, contains clusters. The authors use hierarchical agglomerative clustering. The algorithm builds larger groups by repeatedly joining groups according to the similarity of their members. It uses the distributional thesauri as input. The authors run the clustering with CLUTO and its UPGMA setting, which uses average similarity across groups to guide the joins.
A parameter z specifies the size of the cluster vocabulary relative to the original thesaurus vocabulary. For RC, the tested cluster replacement, the authors choose z=0.6 for nouns and z=0.7 for verbs. They assign lemmas missing from the thesaurus to a single unknown class. The output is a hard clustering, so each covered lemma supplies one cluster feature per generalized lexical position. This contrasts in practice with an expansion over several neighboring lemmas and provides a way to share evidence while keeping feature extraction compact.
⎧ 1 if c = cₓ
pₓ(c) = ⎨
⎩ 0 otherwise
Here x is the input lemma, cₓ is its assigned cluster and c is a candidate cluster in Ω꜀. The value pₓ(c) is the mass given to that candidate. All the mass, 1, goes to the assigned cluster. Every other cluster gets 0. The framework could represent a word with several cluster memberships, but the experiment uses this hard assignment throughout.
Turning alternatives into parser features
A feature template says which properties to take from a configuration. The parser uses templates over one, two or three properties. Some describe a single token through its word form, lemma or tag. Others combine information across the stack, the buffer and the dependencies built so far. Morphological properties can enter individually or in combination, for example with a tag. The authors keep the same templates when comparing lemma generalization settings. They change the features instantiated where those templates refer to lemmas.
The paper develops the feature calculation by taking a template with the tag of a token at position a and the lemma of a token at position b. One particular feature tests whether the first token is a verb and the second has the lemma avocat. Ordinarily, this feature simply registers whether that conjunction holds in the current configuration.
⎧ 1 if tₐ = verb ∧ lᵦ = avocat
f = ⎨
⎩ 0 otherwise
The symbol f is the value of the instantiated feature. The subscripts a and b identify the token positions selected by the template. The value tₐ is the tag at a, and lᵦ is the lemma at b. The expression ∧ requires both conditions to hold. The feature takes the value 1 when the tag is verb and the lemma is avocat. It takes the value 0 in other configurations.
For sense generalization, the original feature is replaced by derived features that each name a target sense. The tag test is carried through unchanged. A feature indexed by a particular sense receives part of the activation that would have gone to the feature for avocat. The share comes from the distribution for the lemma.
⎧ pₐᵥ(sᵢ) if tₐ = verb ∧ lᵦ = avocat
f⁽ⁱ⁾ = ⎨
⎩ 0 otherwise
The index i selects a sense sᵢ of avocat. The notation f⁽ⁱ⁾ denotes the value of the feature for that sense together with the verb tag. The function pₐᵥ is the distribution for avocat, and pₐᵥ(sᵢ) gives the sense’s share of the activation. The condition still checks the observed tag tₐ and lemma lᵦ, using ∧ for their conjunction. If the condition fails, this source feature contributes 0. Different source lemmas can now contribute to the same generalized coordinate when they share a synset.
A template can also include two lexical positions. The paper uses manger at a and avocat at b. If both have distributions over senses, the method assigns a feature to each pair of alternatives. The per-pair weight is the product of the two lexical weights.
⎧ pₘₐ(sᵢ) pₐᵥ(sⱼ) if lₐ = manger ∧ lᵦ = avocat
f⁽ⁱ,ʲ⁾ = ⎨
⎩ 0 otherwise
The indices i and j select the target senses sᵢ for manger and sⱼ for avocat. The symbols lₐ and lᵦ are the observed lemmas at the respective positions. The functions pₘₐ and pₐᵥ are the distributions for those lemmas. The feature value f⁽ⁱ,ʲ⁾ comes from multiplying the two selected probabilities when the conjunction holds and is 0 otherwise. The same construction can use alternatives from the other target spaces. With hard replacement, the product has just the assigned pair to act on. With weighted alternatives, several combinations can give the classifier usable features.
The probabilities here scale the values passed to the classifier. A feature’s contribution to an action score also depends on the coefficient learned for it during supervised training. A high thesaurus similarity alone therefore does not determine which attachment the parser makes. The similarity makes shared evidence available, and the supervised classifier determines the value of that evidence for distinguishing transitions. With a linear classifier the weighted features enter the score directly, so their evaluation fits into the same decision procedure as the original indicator features.
Training and applying the parser
The implementation is a Python arc-eager parser based on the corresponding MaltParser setting. Its baseline templates follow the French benchmarking setup with lemmatization and morphological features. MElt supplies automatic tags, and the Lefff lexicon is used for lemmatization and morphological analysis. Some templates also retain access to the inflected word. The intervention consists specifically of changing the lemma-based features, so the classifier still has cues from the part of speech, morphology and local dependency structure when lexical evidence is sparse.
The authors tune the lexical configurations by ten-fold cross-validation within the French Treebank training set. That procedure cycles through held-out portions of the training data to assess settings such as the neighborhood size, identity mass and size of the cluster vocabulary. The final evaluation uses the separately designated evaluation splits. The same generalized representation is used when constructing features from the reference training transitions and from the parser’s own configurations at prediction time.
The four lexical configurations also share some handling rules. The common French auxiliaries être and avoir are kept out of lexical generalization. Proper nouns are mapped to a special lemma. The authors mention computational cost as the reason for omitting proper nouns from thesaurus construction, in spite of their sparse counts. These rules delimit what the external resources are being asked to cover. The class or distribution examined for an ordinary covered noun is just one part of the broader lexical pipeline.
The paper describes the greedy transition procedure’s time complexity as follows.
O(n)
Here n is sentence length and O gives the asymptotic order of growth. A representation that increases the work within a transition can still change practical parsing speed. The paper’s comparisons therefore distinguish the cost of generating and scoring features from the number of incremental steps used to build the tree.
Experiments and results
Where the training and test sentences come from
The French Treebank, abbreviated FTB, contains 12,351 sentences from Le Monde. The study uses a projective dependency conversion described in Statistical French Dependency Parsing. In a projective tree, a head dominates the words intervening between itself and a dependent. The choice of conversion makes these trees suitable for the transition setup used in the experiment. The paper gives < 2% as the share of non-projective edges reported for a hand-corrected subset of the converted material.
The usual French Treebank split supplies 9,881 training sentences, 1,235 development sentences and 1,235 test sentences. The training split serves as the source of labeled transitions. The FTB test set evaluates generalization to held-out newspaper sentences. The paper additionally uses FTB development instances when measuring lexical feature use and combines the development and test splits for its main resource-coverage table. These analyses have different units and purposes from the headline FTB test attachment result.
The medical and parliamentary material comes from Sequoia and follows the French Treebank annotation scheme. The medical sentences are from European Medicines Agency public assessment reports assembled in the OPUS collection. This EMEA material supplies 574 development sentences and 544 test sentences. The parliamentary material supplies 561 test sentences from Europarl. Parsers trained on newspaper syntax are evaluated on those domains, so differences can be considered with the annotation scheme and supervised training source held common.
What the scores compare
The main measure is labeled attachment score, or LAS. A scored token contributes a correct attachment when the parser gets both its head and the grammatical relation to that head right. Punctuation is excluded. The paper assesses significance against the lemma baseline with Dan Bikel’s randomized parsing evaluation comparator at p=0.05. That test addresses whether an improvement over the baseline is supported by a given set of parses. Ordering the systems by their reported scores addresses a different question.
Forms is the simpler comparison setting, based on surface forms without lemmas or morphological features. Lemmas is the stronger baseline and includes morphology. The other settings build on that baseline. RC uses a hard cluster, and PKNL uses the original lemma and weighted near neighbors. RS uses one WordNet sense, and PKPS uses a weighted distribution of senses. The four settings therefore test changes to a parser that already has conventional ways of sharing evidence across inflected forms.
In-domain newspaper results
On the French Treebank test set, the lemma baseline scores 87.30 LAS and Forms scores 86.85. PKNL has the highest reported score, 87.46. The other generalized settings are close together. RC reaches 87.32, RS reaches 87.34 and PKPS reaches 87.41. The improvement over Lemmas fails the paper’s significance criterion in each case. The ordering supplies a descriptive result for these settings, with limited support for expecting a reproducible in-domain gain of this size.
French Treebank test labeled attachment by lexical setting
Weighted neighboring lemmas lead the reported scores, with the generalized settings close to the lemma baseline.
The numbers
| System or setting | LAS % |
|---|---|
| Forms | 86.85 |
| Lemmas | 87.30 |
| Hard clusters | 87.32 |
| First-ranked senses | 87.34 |
| Weighted senses | 87.41 |
| Weighted neighboring lemmas (this paper) | 87.46 |
The authors connect this outcome to the vocabulary the parser gets from its training sentences. For the FTB test set, they report training vocabulary coverage of 95.25% for nouns and 96.54% for verbs. Their combined FTB development and test coverage table gives 95.35 for common nouns and 96.54 for verbs. A parser trained in this domain already encounters familiar lemmas for much of the evaluation text. Generalizing those words can still make a difference when a lexical combination or grammatical role is unseen, but the paper’s test gives little evidence of an aggregate advantage under these conditions.
Medical results
The EMEA development and test splits show the strongest evidence for lexical generalization. On EMEA development, the Lemmas baseline is 84.34 LAS and Forms is 84.08. PKNL and PKPS both reach 84.63, and each improvement over Lemmas is significant. RS scores 84.48, without a significant gain. RC scores 84.28. This split shows a supported effect for both weighted settings, including one whose generalization is limited to nouns.
On EMEA test, Forms and Lemmas both score 85.41 LAS. PKNL reaches 85.82, RC reaches 85.71 and PKPS reaches 85.68. The paper marks all of these as significant improvements over Lemmas. RS reaches 85.54, a higher score than the baseline with an improvement that fails the significance criterion. PKNL is the leading result on this test split, although the authors did not find it significantly better than the other generalization settings.
EMEA medical test labeled attachment by lexical setting
Weighted neighboring lemmas lead on medical reports, and both weighted senses and hard clusters improve on the lemma baseline.
The numbers
| System or setting | LAS % |
|---|---|
| Forms | 85.41 |
| Lemmas | 85.41 |
| First-ranked senses | 85.54 |
| Weighted senses | 85.68 |
| Hard clusters | 85.71 |
| Weighted neighboring lemmas (this paper) | 85.82 |
The clearest separation in lexical coverage concerns medical nouns. In the combined EMEA development and test material, the FTB training vocabulary covers 62.87 of common noun occurrences on the table’s percentage scale. The thesaurus covers 79.00 and FREWN covers 73.09. The authors describe those increases as +26% for the thesaurus and +16% for FREWN over the training vocabulary’s base coverage. The values describe the lexical resources’ reach into the medical domain. An increase in the share of words represented in a resource is distinct from an increase in the share whose syntactic attachments the classifier gets right.
The verb coverage values on the same combined EMEA sets are 94.56 for the FTB training vocabulary, 97.82 for the thesaurus and 91.48 for FREWN. Medical text thus presents a much larger opening for noun generalization than the verb figures suggest. This pattern makes the noun-only sense results especially relevant. They show that a configuration can improve overall medical LAS while applying its sense transformation to a narrower part of speech. The aggregate scores leave open which particular attachment decisions account for that gain.
Parliamentary results
On Europarl test, Forms scores 86.01 LAS and Lemmas scores 86.26. RC reaches 86.28 and RS reaches 86.34. PKNL matches Lemmas at 86.26, and PKPS scores 86.22. None of the generalized settings significantly improves on Lemmas. The setting with the largest reported Europarl score is the first-sense replacement, even though weighting comes out ahead of first-sense replacement on the newspaper and EMEA splits.
As the paper reports from Candito and Seddah’s work, the parliamentary material differs from the newspaper data in syntax while retaining considerable vocabulary overlap. The FTB training vocabulary covers 94.69% of common noun occurrences and 97.76% of verb occurrences in Europarl. These figures are close to the coverage reported for the combined FTB evaluation splits. The parliamentary results therefore qualify the interpretation of the medical gains. A change of domain alone gives little guidance on whether a lexical intervention will matter. In this experiment, the gap in vocabulary coverage is a more informative characteristic of the domains.
What the ablations show
The comparison closest to isolating weighting
The paper analyzes contrasting systems and their feature behavior. Its closest comparison of a weighted representation with a single replacement is PKPS against RS. Both draw on the same WordNet mapping and use the same procedure to rank senses. Both generalize nouns, leave verbs alone and give distinct representations to lemmas outside the resource. The main change is whether the top sense takes all the weight or the ranked senses share it.
On EMEA development, the weighted setting gives 84.63 LAS, compared with 84.48 for the first-sense setting. On EMEA test, the corresponding scores are 85.68 and 85.54. In both splits, the weighted setting clears the significance threshold against Lemmas and the first-sense setting falls short. That is evidence that the weighted configuration improved the medical parser relative to the original lexical representation. The significance results against a shared baseline do not establish a significant difference between the two sense systems themselves. On Europarl, the numerical ordering favors first-sense replacement.
The comparison between PKNL and RC changes more than weighting. Both use the thesaurus, both address nouns and verbs and both share an unknown-class fallback. PKNL retains part of the original lemma and spreads the remaining mass across a local neighborhood. RC replaces the lemma with its assigned cluster. Changing from RC to PKNL therefore changes which items share a feature, whether the original identity is present and how many lexical alternatives enter a decision. PKNL’s stronger medical development result shows how the complete settings compare. It leaves the contribution of each design choice unresolved.
Forms and Lemmas also alter more than one kind of input. Forms drops both the lemmas and morphological features supplied by the main baseline. The reported difference on FTB test compares these input packages. It cannot identify a separate contribution for morphology or lemmatization. Because all generalized settings start from the richer baseline, their scores show what changes when the treatment of lemma features is revised in a parser that has already benefited from these basic lexical and grammatical cues.
How many lexical features reach a decision
The feature-use analysis asks what happens between vocabulary coverage and attachment accuracy. Having an entry in a lexical resource gives a word a representation, but that representation only affects a transition score through features the classifier can use. The authors count lexical features that exist in the trained classifier and receive a non-zero value in a particular configuration. Average lexical feature use, or ALFU, is the mean of this count over classification instances. The instance is a transition, so ALFU describes the lexical input to a typical decision.
The baseline stores 294k lexical features. Its average lexical feature use is 6.0 on FTB training instances, 5.5 on FTB development instances and 4.7 on EMEA development instances. This decline is consistent with the classifier having fewer matching lexical features outside the sentences from which it learned its weights. An unseen pairing can account for some of this difference even if both lemmas are individually familiar. The feature statistic captures such cases at the level of combinations and configurations.
The single-replacement settings keep training ALFU at 6.0, the same as Lemmas. RC stores 150k lexical features, with average use of 5.8 on FTB development and 5.2 on EMEA development. RS stores 253k, with corresponding averages of 5.6 and 4.9. The smaller inventories and relatively high activation counts fit the purpose of the hard mappings. Several lexical items are represented by one shared feature, making it easier for a feature encountered in training to match a new use. A smaller inventory can therefore supply more usable features during evaluation.
The paper’s discussion of this analysis contains an inconsistency. It associates the cluster setting’s EMEA development feature retention with a significant development LAS gain. The attachment results give RC 84.28 on EMEA development against 84.34 for Lemmas and mark RC’s gain as significant on EMEA test. The feature table still supports the separate observation that RC retains more usable lexical features than Lemmas on EMEA development. In fact, that split gives a concrete example of how a better feature-use count can coexist with a slightly lower attachment score.
The weighted settings have larger inventories and more active features. PKNL stores 853k lexical features and has ALFU of 15.7 on FTB training, 14.8 on FTB development and 12.0 on EMEA development. PKPS stores 500k, with values of 9.2, 8.6 and 7.0 on those same sets. Each retains more absolute lexical activity in medical text than the single-replacement settings. Each also loses some of its training feature use at evaluation. The alternative representations help features carry across settings, while the differences between training and evaluation still matter.
ALFU counts active features regardless of their assigned probability or learned coefficient. A feature carrying a small share of an input distribution counts as active just as one with a large share does. The analysis therefore tracks the availability of lexical cues instead of the direction or strength of their influence on an action. It is compatible with the authors’ suggestion that richer lexical evidence contributed to the medical results. Establishing that a particular additional feature helped a particular attachment would require evidence beyond this count.
Coverage and the cost of using it
The lexical coverage comparison and the classifier statistics measure successive parts of the proposed explanation. Resource coverage asks whether the lexical representation can be found for a token. Feature use asks whether a cue built from that representation matches something the classifier learned. Attachment score asks whether the final decision agrees with the reference tree. A setting can improve the first two measurements and still have little effect on final accuracy if the available evidence fails to distinguish the relevant candidate actions.
The authors hypothesize that useful lexical generalization has to accomplish two things in this setup. It has to transfer learned lexical features to words that would otherwise have little support, and it has to add substantial coverage beyond the supervised vocabulary. The feature counts suggest that the settings can transfer lexical cues. The coverage figures suggest that the second condition has the most room to matter in the medical corpus. Since the study observes these differences across domains, the evidence supports a plausible explanation for the medical gain without isolating coverage as its sole cause.
The processing costs follow from the way the representations enter the parser. Hard replacements reduce the dimension of the stored lexical feature space and speed up feature extraction and prediction relative to Lemmas. Weighted alternatives raise the dimension and require more work each time a configuration is evaluated. With a lexical pair, the system may have to form multiple pairs of alternatives and score features for them. The authors report that PKNL and PKPS slow feature extraction and prediction, and the feature counts illustrate where the extra work can arise. The performance comparison therefore includes a practical tradeoff even between settings whose attachment scores are close.
Limitations
Limits identified by the authors
The authors emphasize that the reported improvements are modest and concentrated in medical text. They find no significant improvement over the lemma baseline on held-out newspaper sentences or on the parliamentary test data. They also describe the advantage of weighted representations over single mappings as slight and statistically inconclusive. The strongest empirical claim is consequently about specific lexical configurations improving EMEA attachment relative to the baseline. A general advantage for probabilistic lexical replacement remains unestablished.
Automatic sense ranking estimates the prevalence of senses for a lemma. As the authors point out, it leaves word-sense disambiguation in context untreated. The parser receives the same sense weights for avocat whether the sentence concerns something being eaten or someone accompanying another person. Other parser features can respond to the sentence, but the lexical distribution itself does not resolve which meaning is intended. The sense experiments therefore evaluate a way to share features through a semantic resource. They leave open what would happen if the probabilities were conditioned on each occurrence.
The cluster experiments use hard assignments. A word with multiple behaviors could in principle participate in several clusters under the paper’s framework, and a classifier could then receive several cluster features with different weights. The authors leave this possibility unexplored. The paper consequently has a probabilistic framework broad enough to express soft cluster membership, with empirical comparisons for weighted lemmas and senses only.
The authors also describe coverage and cost constraints on the resources. Initial tests with adjectives and adverbs yielded no improvements, and the thesauri reported in the study concentrate on nouns and verbs. Proper nouns were excluded from thesaurus construction for computational reasons. The sense settings generalize nouns only after cross-validation showed weak performance for extending them to verbs. At prediction time, the weighted configurations incur greater computational work than hard replacements. The paper gives the direction of the speed effects without reporting elapsed times for comparing their operational size.
Limits of the experimental design
All labeled training comes from one source treebank. The newspaper evaluation shows how the method behaves in a matched domain, and each target corpus supplies a particular kind of contrast with that training source. The domain comparison combines vocabulary, syntax and genre differences. It was not designed to vary vocabulary overlap independently while holding the sentences’ grammatical properties fixed. The observed association between low medical noun coverage and a gain for generalization leaves room for other properties of the evaluation corpus to matter.
The lexical resource itself also depends on the baseline parser’s automatic output. An incorrect dependency in that corpus can change a word’s recorded context. Aggregating a large collection gives the method more observations, but the paper does not compare thesauri derived from analyses of different quality. Nor does it measure the influence of individual text sources on the final attachment scores. It establishes what can be achieved with the selected collection and processing procedure. The sensitivity of the gains to those resource choices remains open.
The settings also differ in fallback behavior. RC and PKNL pool uncovered lemmas into an unknown class, whereas RS and PKPS give them unique sense representations. The thesaurus settings can transform nouns and verbs, while the tested sense settings transform nouns. The differences reflect tuning decisions and resource coverage. They mean that a comparison across the target spaces evaluates complete configurations rather than isolating a difference between distributional similarity and semantic taxonomy. Agreement across several settings on the medical data supports the broad explanation about lexical access, while their relative scores cannot identify the most valuable part of each resource.
Finally, LAS pools decisions across scored tokens. It establishes whether more attachments and labels match the treebank overall. The coverage table concerns common nouns and verbs, and the lexical feature analysis concerns transition instances. Those results have different denominators from the attachment evaluation. Their combination suggests why the medical domain offers a promising case, but it does not locate the gain in particular grammatical relations, in specific rare words, or in attachments whose heads were absent from the training vocabulary. The experiments also leave open whether the same lexical representations would improve a parser that uses a different search procedure or trains on another source domain.
What came after
The paper closes with an open direction for domain adaptation. Its thesaurus is built from newspaper articles, news dispatches and Wikipedia. The authors propose building a resource from text that includes both the training domain and the intended target domain, drawing on the earlier use of mixed-domain material in French constituency parsing. This would give target-domain terms a chance to enter the context inventory and to share features with source-domain words through observed syntactic relations. The proposal leaves a concrete empirical question about whether such links strengthen transfer for weighted lexical representations. A follow-up outcome is undocumented here.
Soft clustering is the other extension the authors identify. The hard cluster experiment gives each covered lemma one class. Allowing several memberships would put clusters on the same footing as the weighted lemma and sense alternatives, so a future comparison could assess the effect of distributing mass within a cluster representation. The evidence in the paper stops at hard clusters and at the gains found with the other weighted spaces. Those gains give a defined starting condition for subsequent work on lexical adaptation, namely a source-trained parser facing target text whose vocabulary receives substantially less coverage from its annotated training set.
Cite
Cite as Enrique Henestroza Anguiano and Marie Candito. 2012. Probabilistic Lexical Generalization for French Dependency Parsing. Proceedings of the ACL 2012 Joint Workshop on Statistical Parsing and Semantic Processing of Morphologically Rich Languages.
@inproceedings{anguiano2012probabilistic,
title = {{Probabilistic Lexical Generalization for French Dependency Parsing}},
author = {Enrique Henestroza Anguiano and Marie Candito},
booktitle = {Proceedings of the ACL 2012 Joint Workshop on Statistical Parsing and Semantic Processing of Morphologically Rich Languages},
year = {2012},
url = {https://aclanthology.org/W12-3401/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/anguiano-2012-probabilistic-lexical-generalization-french-dependency/