Elamur Research

Using an SVM Ensemble System for Improved Tamil Dependency Parsing

Paper · 2012 · Nathan Green, Loganathan Ramasamy and Zdeněk Žabokrtský

Summary

A parser analyzing a Tamil sentence has to decide which words depend on which others. Annotated sentences teach it to make those decisions, but acquiring enough examples is difficult when a language has many word forms and a small annotated corpus. Green and colleagues ask what can be gained by training several parsers on the same Tamil data and letting a separate classifier decide whose analysis to use for each word. In dependency parsing, that amounts to choosing a head for each word and assembling those choices into a structure for the sentence.

The authors train 9 parser configurations using MaltParser and MSTParser. On a separate tuning sample, they record which pairs of parsers propose the same attachment and use the annotated attachments to teach a support vector machine, or SVM, which parser to trust. At test time, the classifier reads the pattern of agreement around each word and selects a parser to supply its head. The resulting links can form a cycle or leave parts of the sentence disconnected. A spanning-forest procedure removes cycles, with the possibility that the final structure still has separate components.

The experiments repeatedly resample the publicly available Tamil Treebank, which contains 600 sentences. For the 60-30-10 division into training, tuning and test data, the ensemble reaches an average unlabeled attachment score of 75.42%. That score measures how frequently a word receives its annotated head. The paper reports gains of 5.44% over the mean of the individual parsers and 0.52% over the best individual parser for that division, presenting both gains as statistically significant. The highest ensemble attachment score across the tested divisions is 76.50%, with the 70-20-10 allocation.

The ensemble beats the mean individual parser under every reported allocation. Its advantage over the strongest individual parser is less consistent. In both allocations that reserve 5% for tuning, the strongest individual parser scores higher. The experiments therefore turn on the amount of annotated material available to teach the classifier when to trust the parsers. The classifier itself uses agreement alone, while the individual parsers receive human-annotated part-of-speech tags. The evidence concerns head selection on Tamil under those conditions.

Deep dive: Using an SVM Ensemble System for Improved Tamil Dependency Parsing

A support vector machine learns when to trust competing Tamil dependency parsers, with gains that depend on how much data is reserved for tuning. · about 30 minutes to read

The problem and its context

Finding heads when the annotated corpus is small

A dependency analysis describes a sentence through relationships between words. Each word receives a head, the word to which it is syntactically attached, with an artificial root supplying the top of the analysis. A dependent and its head may be separated by intervening words. The parser therefore has to recover a structure that the written sequence only partly reveals. The authors point to parsing as a useful component in language-processing applications, particularly for languages whose words can occur in a range of orders.

Tamil makes the connection between flexible order and a small training resource concrete. The paper describes it as a Dravidian language with rich suffixation, flexible word order and a head-final organization. Head-final order concerns the position of a head in relation to its dependents. Flexibility concerns how words can be arranged within the constraints of the language. These describe different aspects of word order and can coexist. The authors also describe nouns and verbs as major word classes whose members can appear in many surface forms through the addition of suffixes and through derivation. This variety is part of what the paper means by rich morphology.

The variety puts pressure on a small corpus. A parser can encounter a word form on evaluation that it has never encountered during training, even when the form belongs to a familiar class of words. An annotated sentence provides examples of particular forms in particular syntactic contexts. As those forms and contexts become more varied, the observed examples give less direct guidance about any individual combination. The paper treats this as a practical reason why a language with extensive morphology may require more training material. It also distinguishes the scarcity of annotated material from the linguistic reasons a language might make heavy demands on that material. Tamil is useful to the authors precisely because both considerations apply in their experiment.

An annotated collection of sentences with syntactic analyses is called a treebank. Such a collection serves as a training resource and as a standard against which predictions can be judged. With a small treebank, deciding which sentences to reserve for evaluation also changes what remains available for training. The same issue arises when reserving examples to choose among parsing systems. A system that appears to be the strongest on a particular tuning sample may owe part of its advantage to the vocabulary and constructions in that sample. The authors are concerned that the preferred parser could change as new vocabulary appears or as annotation expands to a different kind of text.

That decision has consequences if the parser is subsequently used to help annotate more material. The authors discuss semisupervised approaches and self-training, in which an existing system can supply provisional analyses for further learning. Committing to a particular parser early on can carry that parser’s mistakes into the additional material. The ensemble is their response to the problem of committing to a single parser. It keeps several available and learns a rule for choosing among them at the level of an attachment. The possibility of retraining the selector while retaining the individual parsers is part of the motivation for putting those jobs in separate stages.

What previous parsing and combination work established

The paper situates its experiment in the shared-task approach to multilingual parsing. Common training and test data made different systems easier to compare, and the availability of open implementations made those systems practical starting points. It describes scores for selected languages as ranging approximately from 60% to 80% on average in the shared-task setting. The range is historical context in the authors’ account, with language and morphological complexity among their explanations for why scores differ. The figures concern the CoNLL-X shared task.

As the authors describe it, previous parser-combination work already showed that several analyses of a sentence could be useful together. Some work combined parser outputs by attaching weights to them. In a weighted combination, the identity of a parser can affect how much its proposal contributes to a combined decision. The papers the authors discuss used several formulations of this idea. They also cite work that looked at the accuracy of combinations in shared-task and domain-adaptation settings. Dependency Parsing and Domain Adaptation with LR Models and Parser Ensembles.

A combination procedure has to decide how closely the final analysis must conform to the shape of a dependency tree. A tree connects the sentence through its root and contains no cycles. Earlier work cited by the authors guaranteed a tree as part of the combination. That guarantee matters because attachment choices can interact. Selecting a plausible incoming link for a word may be incompatible with a link selected elsewhere in the sentence. The paper distinguishes its own willingness to return a forest from the structural guarantee in Parser Combination by Reparsing.

Another line of work fed the predictions of one parser into another. The parser receiving those predictions could use them as evidence while carrying out its own analysis. The authors cite an example in which MaltParser predictions informed MSTParser. In the Tamil study, both families of parser supply finished predictions to a separate decision stage. The direction in which predictions travel through the system matters here. In earlier work they could influence another parser’s analysis while it was being formed. In the ensemble, they supply the choices on which the selector acts. Integrating Graph-Based and Transition-Based Dependency Parsers.

There was also a precedent for using an SVM to combine alternative MaltParser configurations. In the earlier study, part-of-speech tags helped the classifier make a choice. Such tags identify the grammatical categories of words and can make a selection sensitive to the kind of word involved. Green and colleagues keep the SVM and change what it sees. Its observations are confined to which parser outputs match. They present this use of agreement alone as the departure from Single Malt or Blended?.

The history specific to Tamil involved a separate question about how much an analysis could gain from morphology. The authors describe an earlier rule-based parser that used morphological tags and detected clause boundaries. That approach performed better than the Malt and MST parsers in the earlier comparison when morphological tags were available during training and testing. The present paper takes its annotated material from the openly available Tamil Treebank, or TamilTB, which the authors describe as still under development. They also note activity on dependency resources for Hindi and Telugu. Their own experiment narrows the question to what can be gained by combining several automatic head predictions for Tamil.

Why parser agreement might carry information

The proposal depends on the possibility that parser weaknesses differ across words. Selecting a single parser for a treebank settles which system to trust before any individual sentence is analyzed. Selecting a parser for each attachment gives the classifier a chance to respond to evidence in that sentence. One parser may be a good source of heads overall and a weaker choice when a particular group of other parsers agrees on an alternative. This is a possibility the method is built to exploit. Whether such patterns occur frequently enough, and whether a small tuning sample teaches the classifier to recognize them, are empirical questions.

Agreement offers an observation available before anyone supplies the answer. During evaluation, the classifier can compare the proposed heads without access to the reference analysis. The reference is needed earlier, to determine which patterns were associated with successful choices. That division explains why the authors can keep the selector free of language-specific features while still training it on Tamil. The choice of parsing configurations and the data used to estimate their reliability both shape what its agreement patterns mean.

The method, step by step

From annotated sentences to separate predictions

The pipeline assigns a different job to each portion of the treebank. The training portion teaches the individual parsers to analyze sentences. The tuning portion gives all the trained parsers new sentences to analyze and supplies the reference attachments used to train the SVM. The test portion is where the trained selector receives another set of parser predictions and makes choices that can be compared with the annotations. In this paper, tuning is therefore a stage of supervised learning in its own right. Its examples are used to fit a new classifier whose task is to choose among already trained parsers.

The distinction matters because parser agreement on a sentence the parsers have already seen could give the selector a misleading picture of how they behave on unfamiliar sentences. Here the predictions used for SVM training come from a separate tuning portion. The final test annotations are used to score the predictions. The arrangement supports a comparison between the individual parsers and their combination on the same material within a run.

Training and evaluating the Tamil parser ensemble

The steps in order.

Training and evaluating the Tamil parser ensembleStep 1: Split annotated sentences into training, tuning and test data1. Split annotated sentences into training, tuning and test dataStep 2: Train the individual dependency parsers2. Train the individual dependency parsersStep 3: Parse the tuning sentences with each parser3. Parse the tuning sentences with each parserStep 4: Learn parser choices from agreements and annotated heads4. Learn parser choices from agreements and annotated headsStep 5: Encode parser agreements on the test sentences5. Encode parser agreements on the test sentencesStep 6: Select a parser to supply each word’s head6. Select a parser to supply each word’s headStep 7: Remove cycles with a spanning forest7. Remove cycles with a spanning forestStep 8: Score final attachments against the test annotations8. Score final attachments against the test annotations

Every individual parser receives gold part-of-speech tags. Gold means that the tags come from the treebank annotation. They supply grammatical information about the input words before the parsers produce their outputs. The SVM has a narrower view of the sentence. Its inputs describe agreements between those outputs. As a result, when a parser uses a grammatical tag to choose an attachment, the effect of that tag can reach the selector through the attachment, even though the tag is absent from the selector’s feature vector.

Why the authors train different kinds of parser

The individual configurations come from graph-based and transition-based parsing. The graph-based view starts with a graph of possible directed dependencies. A legal dependency tree spans the words, has an artificial root, connects the sentence, gives each word a single head and excludes directed cycles. The parsing problem can then be expressed as finding a high-scoring tree from the possible links. In the arc-factored view described in the paper, attachment scores provide the weights used to evaluate possible trees.

The graph-based configurations are distinguished by projectivity. Projectivity puts a constraint on how a tree can lie over the ordered words. In the usual drawing of dependencies over the sentence, crossing links signal that the analysis violates that constraint. A nonprojective search can admit attachment arrangements that a projective search rules out. That distinction can change which heads a parser proposes, which in turn can give the classifier a useful disagreement. The paper uses a projective MSTParser configuration and a nonprojective one.

The authors give the following worst-case complexity for most of the projective methods they are discussing.

O(n^3)

Here n is the sentence length, ^ indicates exponentiation, and 3 is the exponent in the cubic expression. O gives an upper bound on the asymptotic growth of running time, with the parentheses enclosing the growth term. The statement describes a class of algorithms in the paper’s discussion, with Eisner’s work on dependency parsing.

For nonprojective parsing with the Chu–Liu–Edmonds algorithm, the paper gives this bound.

O(n^2)

Again O indicates an asymptotic upper bound, the parentheses enclose the term that describes growth, and n is sentence length. The exponent 2 makes this a quadratic expression. The bound applies to the particular spanning-tree algorithm described in connection with Non-Projective Dependency Parsing using Spanning Tree Algorithms. These complexity expressions concern the search methods used to discuss the individual parsers. The paper gives no corresponding timing measurements for the full ensemble.

A transition-based parser builds a dependency structure through a sequence of actions. Each action follows from the state reached so far, so a choice made early can affect the circumstances under which a later attachment is considered. The paper describes the greedy approaches used here as having linear time complexity and points to error propagation as a drawback, particularly where an attachment spans more of a sentence. The procedural difference from graph-based search gives the ensemble another source of potentially different outputs.

MaltParser supplies 7 configurations. The Nivre variants are arc-eager and arc-standard. The stack variants are projective, eager and lazy. The planar variants are planar eager and 2-Planar eager. The identifiers in the paper’s training settings are nivreeager and nivrestandard, stackproj, stackeager and stacklazy, and planar and 2planar. These are choices of parsing algorithm under a common implementation. Together with the projective and nonprojective MSTParser settings, they make up the 9 configurations available to the selector. They are trained from the same portion of the treebank within a run. The variety comes from their algorithms and structural constraints.

How an agreement pattern becomes a training example

Once the individual parsers have been fitted, each analyzes the tuning sentences. For a particular word, its proposed head can now be compared across parsers. Each unordered pair contributes a binary feature describing whether those parsers agree. The classifier’s input preserves the identity of each pair. An agreement between particular parsers is therefore a different observation from agreement between another pair, even if both pairs propose a head for the same word.

The paper gives the size of the feature set as a binomial coefficient.

C(N, 2)

C means the number of combinations, N is the total number of parser configurations, and 2 is the number selected for a pair. The comma separates those arguments and the parentheses enclose them. Each pair has one position because exchanging the order of its members leaves the agreement unchanged.

The authors illustrate the encoding with N = 3, where N counts the parsers, = expresses equality and 3 is the size of their example. Agreement between parsers 1 and 2 activates the first feature with a value of 1. Agreement between parsers 1 and 3 activates the next feature in the same way. The remaining pair follows the same rule. The feature values tell the classifier which pairs agree while leaving the proposed head itself in the parser output. Once the classifier returns a parser identity, the system can retrieve that parser’s head for the word.

Consider what the vector represents when a group of parsers all propose the same head. Every pair within that group can register agreement. The resulting pattern retains information about the group’s membership. Reducing the observation to a vote count would discard that information. The authors’ use of pair features gives the SVM a way to learn that support from particular parsers carries different implications depending on who else agrees. The representation is still limited to the grouping of the predictions. Agreement can be unanimous for a wrong head, and the agreement features alone cannot flag that head on linguistic grounds.

Training adds the information that will be unavailable at test time. For each tuning word, the annotated head identifies which parser proposals are correct. The paper describes creating training examples for the parsers that predict the correct attachment. The agreements supply the features, and the successful parser supplies the class to learn. A word can give success to several parsers because they can propose the same correct attachment. The authors describe using the examples for the successful parsers and suggest a multi-label SVM as a future direction. The alternative would express the fact that several parser identities can be acceptable for the same observation more directly.

The target of prediction is thus a parser identity. The SVM learns a classification rule from examples of agreement and success. It does not need to use the spelling of a word, its annotated tag or the direction of the proposed link as a feature. Two words with the same agreement pattern supply the same kind of evidence to the selector, even when the underlying head proposals are different words. If two such patterns require different choices because of linguistic context, the selector has no direct way to distinguish them. It has the regularities it learned about the parsers and their agreements.

The paper specifies the feature representation and the source of supervision. It gives less detail about the classifier fit itself. For instance, it supplies no equation for the SVM’s scoring rule or objective. The account is enough to follow what the SVM predicts and where its training signal comes from. Details of the decision rule beyond those stated cannot be inferred from the binomial coefficient. That expression counts the input features.

From local choices to a sentence structure

On the test portion, all parsers again analyze the same sentences. The system constructs the pairwise agreement vector for each word and asks the SVM to select a parser. The selected parser determines the head of the current word. The selector can choose differently for another word in the same sentence. That is the practical difference between a learned ensemble and using the tuning data to pick a single winning parser for the whole test portion.

Combining complete parses this way need not yield a complete parse with the same guarantees. Each input may connect the sentence successfully by itself. Its attachment decisions depend on one another through the requirements of a tree. The ensemble borrows individual decisions from several such structures. One parser can supply a link that makes one word the head of another, while a different parser supplies a link reversing their roles. Both links can be valid within the analyses that supplied them. Together they form a cycle. Separate components can likewise arise when the system draws most links in each part from inputs that connected those parts in different ways.

The authors apply a Perl implementation of a minimum spanning-tree procedure to the selected links. All edges have uniform weight at this stage. If the graph is disconnected, the result is a spanning forest, which is a set of connected trees covering the separate components. The procedure removes cyclic connections. Its working graph consists of links already chosen by the SVM, so the paper gives no step for adding a link between disconnected components. The method section allows the result to remain a forest.

The uniform weights also mark a boundary between selection and cleanup. The first stage has learned when to choose a parser. The second receives equally weighted edges, with no explicit ordering of their reliability learned from tuning performance. The authors propose trying accuracy-based edge weights in a future version. A weighted version would let evidence about reliability influence which edges survive the structural procedure. The experiment evaluates the version with uniform weights.

Repeating the training and evaluation cycle

Each run begins by drawing training, tuning and test samples without replacement within the partition. In the explicit example of 70-20-10, 70% of the data goes to the individual parsers, 20% to the SVM and 10% to evaluation. A new sampling puts different sentences in those roles. The process is repeated 100 times for each reported allocation so that a result depends less on the particular sentence assignments in one run. The methodology describes 7 configurations and 700 runs, and the results tables show 7 configurations. The process-flow caption instead refers to 8 splits. The quantitative account follows the configurations for which results are reported.

A new partition affects more than the difficulty of the final evaluation. It changes the sentences from which the parsers learn and the sentences on which the classifier observes their behavior. When the proportion reserved for tuning grows, some other portion shrinks. The design therefore tests how well the full procedure works under alternate ways of allocating a fixed annotated resource. It also gives each parser and its ensemble the same test sample within a run, which is essential to how the authors assess paired differences.

Experiments and results

The treebank, baselines and score

TamilTB contains 600 sentences and 9581 words, with 3583 distinct word types. The number of words counts occurrences in the corpus. The number of types counts distinct forms, so repeated appearances of a form contribute to the word count without adding new types. The reported tagset size is 234. The authors use their treebank statistics to illustrate how form and annotation interact in the corpus, alongside the description of Tamil’s rich inventory of suffixes.

For 3461 word types, the paper reports a unique tag in the treebank. Another reported category contains 112 types with 2 tags. In discussing those counts, the authors describe around 120 types as having more than one morphological tag. The counts concern which tags are observed for forms in this collection. A unique observed tag tells a reader how a type is represented in TamilTB. The corpus size limits what those counts can establish about possible tags for a form elsewhere.

The ensemble is evaluated against each individual parser configuration, and the results are summarized with two reference points. The first baseline is the average of all 9 individual configurations. It indicates whether the learned combination improves on the performance of a typical constituent in this experiment. The second is the strongest individual result for each split configuration. It poses the harder comparison of whether a reader could obtain a higher mean attachment score by using the best constituent alone. Which parser supplies the strongest reference can depend on the split. The aggregate results table identifies the comparison as split-specific and gives changes relative to that reference.

The metric is unlabeled attachment score, or UAS. An attachment counts as correct if the predicted head matches the annotated head. The word “unlabeled” means that the relationship’s name plays no part in that judgment. Labeled attachment score, or LAS, would also require the predicted relation label to match. The authors report UAS because their combination chooses links and their principal question concerns structural accuracy. A correct head counts toward UAS even if a relation label associated with the link would have been wrong.

Each reported average ensemble UAS summarizes the repeated runs for its allocation. In the significance analysis, scores from the same run are paired across systems. If a particular test sample is unusually easy or difficult, both the ensemble and the individual parser encounter that sample. The paired Wilcoxon signed-rank test uses the direction and rank of score differences within those pairs to assess systematic changes. The paper reports significance at p < 0.01 and p < 0.05. Here p is the test’s reported probability measure under its null hypothesis, < denotes a strict inequality, and the values are the thresholds the authors name. The significance marks answer a different question from the size of the differences reported in the results.

How attachment accuracy varies with the allocation

The split names give the allocation to parser training, SVM tuning and final testing, in that order. The highest mean ensemble score is 76.50% UAS on 70-20-10. The 80-10-10 allocation is close at 76.44%, followed by 60-20-20 at 76.36%. These scores are averages over repeated runs for each setting. The allocations change which sentences are likely to serve each purpose and the size of the evaluation sample. The figures compare the complete experimental procedures under those allocations.

Mean ensemble unlabeled attachment score on TamilTB by data allocation

The ensemble achieves its highest mean attachment score when the middle portion of the split reserves substantial data for tuning.

Mean ensemble unlabeled attachment score on TamilTB by data allocation70-20-10 (this paper): 76.5070-20-10 (this paper)76.5060-20-20: 76.3660-20-2076.3660-30-10: 75.4260-30-1075.4260-10-30: 75.6660-10-3075.6685-5-10: 75.3385-5-1075.3390-5-5: 75.4290-5-575.4280-10-10: 76.4480-10-1076.44
The numbers
System or settingUAS %
70-20-10 (this paper)76.50
60-20-2076.36
60-30-1075.42
60-10-3075.66
85-5-1075.33
90-5-575.42
80-10-1076.44

The allocations with 60% for initial training are particularly useful to read side by side. With 20% for tuning and 20% for testing, the ensemble reaches 76.36% mean UAS. With 30% for tuning and 10% for testing, it reaches 75.42%. With 10% for tuning and 30% for testing, it reaches 75.66%. Increasing the tuning share within this group does not yield a steadily increasing mean score. The comparison holds the training proportion constant while changing both of the remaining shares, so test composition and test size are part of the observed result.

The two allocations with 5% tuning yield ensemble scores of 75.33% on 85-5-10 and 75.42% on 90-5-5. The paper gives the strongest individual parser’s score for 90-5-5 as 76.25% UAS. This example shows directly how spending more of the available annotation on the component parsers can favor the best of those parsers without yielding the best combined result. The SVM still has to learn when to trust the configurations, and the additional data going to the configurations leaves less available for that job.

Mean unlabeled attachment score on TamilTB with the 90-5-5 allocation

The strongest individual parser scores above the ensemble in this allocation with a small tuning portion.

Mean unlabeled attachment score on TamilTB with the 90-5-5 allocationBest individual parser: 76.25Best individual parser76.25SVM ensemble (this paper): 75.42SVM ensemble (this paper)75.42
The numbers
System or settingUAS %
Best individual parser76.25
SVM ensemble (this paper)75.42

The results discussion says that using 85% training gives a higher average ensemble UAS than using 90%. The corresponding table gives 75.33% for 85-5-10 and 75.42% for 90-5-5, which places them in the opposite order. The tabulated results support the narrower point that several allocations reserving a larger share for tuning reached a higher ensemble score than 90-5-5. They also show that 60-30-10 and 90-5-5 have the same reported mean UAS, despite very different allocations. Those comparisons use the table’s values throughout.

The gains over the average and the strongest parser

The paper reports its gains as percentage increases relative to each baseline. These entries are distinct from the ensemble’s raw UAS percentages. In 60-30-10, the reported increase over the average of the individual parsers is 5.44%, with a 0.52% increase over the best individual parser. These are the gains emphasized in the abstract and conclusion. The ensemble achieves 75.42% UAS in that setting. Reading the gains alongside the score is important because a comparatively large gain can occur in a split where the reference parsers also score lower.

For 70-20-10, where the ensemble achieves its highest mean UAS, the reported increase is 5.13% over the individual-parser average and 0.52% over the best individual parser. For 60-20-20, the reported gains are 5.68% over the average and 0.72% over the best, the largest entries in their respective columns. The ensemble’s absolute UAS, its advantage over the average constituent and its advantage over the strongest constituent are three separate comparisons. They can favor different allocations because the baselines change with the allocation.

In 80-10-10, the ensemble improves on the individual-parser mean by 4.84% and on the strongest individual by 0.48%. For 60-10-30, the corresponding reported changes are 4.83% and 0.10%. The latter allocation illustrates how a clear advantage over the group average can coexist with close performance against the strongest parser. The average incorporates weaker configurations as well as the strongest one. It is a measure of how the combination performs relative to the pool from which it chooses.

In the two smallest tuning conditions, the signs differ depending on the baseline. The changes for 85-5-10 are 3.10% relative to the average parser and -1.21% relative to the best. For 90-5-5, they are 3.19% relative to the average and -1.10% relative to the best. Thus the statement that the ensemble failed to improve with 5% tuning applies to the best-parser comparison. The positive average-baseline comparisons persist under those allocations. On this evidence, the strongest individual parser sets a more demanding standard for how much a learned combination has to achieve.

What the statistical comparisons establish

The authors treat the decline against the best parser in 85-5-10 as statistically significant. They describe the decline in 90-5-5 as lacking statistical significance. The difference between those conclusions is compatible with the test using paired scores from separate runs. The mean change gives an overall size and direction, while the test takes account of how paired differences fall across samples. A negative average alone is insufficient to establish that the decline met a reported significance threshold.

The account of positive gains is harder to reconcile across the paper’s displays. The prose singles out 60-20-20 as the exception when it discusses significance for the positive gains. The significance table marks every comparison with a named parser in that allocation in its p < 0.01 category. Its rows concern comparisons with individual configurations and its marks do not give directions or exact probability values. The paper does not explain how its statement about 60-20-20 relates to those marks. The mean UAS and the reported percentage changes can be read separately from the unresolved significance claim for that split.

The comparison for 60-10-30 also shows the value of retaining the individual tests. The table includes both marked differences and comparisons without a significant difference for that allocation. These entries cannot be combined into a blanket claim that the ensemble decisively beats every constituent in that setting. The paper’s headline presents the 5.44% and 0.52% improvements as significant, but its table of tests is arranged by individual parser. It supplies no separate significance column for a comparison with the mean of the pool.

The paper reports the variance of ensemble UAS across the 100 sampled runs for each allocation. It is 0.0011 for 70-20-10 and 0.0005 for 60-20-20. The table reports 0.0010 for 60-30-10, 85-5-10 and 80-10-10. The value for 60-10-30 is 0.0003, and the value for 90-5-5 is 0.0028, the largest reported. These figures describe variation in the ensemble’s scores across samples. The Wilcoxon comparisons instead concern the variation and direction of differences between paired systems. The two analyses answer related but distinct questions about the experiment’s stability.

What the ablations show

The paper contains no component ablation, and its main analyses compare data allocations, paired parser scores and ensemble score variance across repeated samples.

Varying the data available to the selector

The most informative comparison for the authors’ argument is the recurring disadvantage against the best individual parser in the 5% tuning conditions. The individual parsers have access to comparatively large training portions in both of those settings. The selector sees a small collection of held-out evidence about which parser wins when particular agreements occur. In that situation, the ensemble can still exceed the mean score of its constituents. The evidence that it improves on the strongest constituent disappears. This is the basis for the authors’ emphasis on allocating sufficient annotation to the selector.

One can partially hold the evaluation budget steady by looking at 70-20-10, 60-30-10, 85-5-10 and 80-10-10. Each assigns 10% to testing. Their ensemble scores and their advantages over the best individual parser still vary. The split with 20% tuning gives the highest mean ensemble score in this group, while the split with 30% tuning gives a lower absolute score but the same reported gain over its own best individual reference. The configuration with 5% tuning falls below its best individual reference. The comparison supports a tradeoff between the training and tuning stages, since increasing either share with the test share fixed reduces the other.

Looking instead at the allocations with 60% training isolates a different part of the allocation problem. The training share stays fixed, and changes in tuning consume or release sentences for evaluation. Within that group, 60-20-20 performs better in mean UAS than either 60-30-10 or 60-10-30. This comparison helps explain why the strongest defensible reading concerns the small tuning portions, rather than a universal ordering in which more tuning always produces higher scores. It also explains why the authors’ preferred interpretation is expressed in terms of the relative importance of training and tuning under a small-corpus budget.

A recurring issue is that the strongest individual reference also benefits from changes to parser training. When the training portion grows and the tuning portion shrinks, the experiment shifts resources toward the systems that supply the candidate heads and away from the system that selects them. The result can be a stronger individual parser and a weaker improvement from combining. Under the given design, the change in the gap includes both effects. The study compares usable allocations of a finite treebank, with no separate learning curve for the selector against an unchanged bank of parser predictions.

What the parser comparisons tell us about agreement

The individual scores tell us whether the entire selector and cleanup procedure is competitive with its inputs. They do not resolve why a particular agreement pattern works. A favorable result could arise from an ability to switch to a less successful parser at the right places, from avoiding some unfavorable choices by the stronger parsers, or from changes made by the structural cleanup. The study does not break the score down into attachments where the chosen parser differs from the best overall parser, or into links retained and removed by the forest procedure. The total score captures the effect after those choices have already been combined.

The best-parser comparison does show something that the average comparison cannot. It compares selection with the course of using a particularly strong constituent across the entire sample. When the ensemble exceeds the best individual average in an allocation, local selection and subsequent cleanup yield a better aggregate score than that reference. The comparison says little about how many different configurations were needed to get the gain. A parser can contribute in a small number of cases while having a weak score overall. The aggregate results offer no measure of that contribution.

The architecture makes it plausible that differences between the parsing families provide useful options. The experiments leave that proposition untested as a separate mechanism. Both graph-based configurations stay in the pool, as do all the MaltParser configurations. There is no matched comparison that removes one family, no comparison that keeps the family and varies its number of configurations, and no report of which parsers the selector uses most often. Earlier combination work motivates keeping a varied pool, while the Tamil results assess the effects of that pool and its selector together.

The same limit applies to the use of pairwise agreement as a feature. The paper shows how to construct and learn from the pair-specific observations. It compares the resulting ensemble with individual parsers. A test against an unweighted vote or a globally weighted vote would address whether identifying which parsers agree makes a difference over simpler ways of counting their support. The experiment contains neither comparison. In particular, exceeding the mean individual score does not quantify how much accuracy comes from the use of an SVM.

What the variance analysis adds

The authors use the generally low variances to support their view that the training and tuning shares have more influence than the test share. The repeated samples help establish that the reported mean is not a description of a single favorable partition. The variance figures also show that the condition with the smallest test share, 90-5-5, has the largest ensemble UAS variance in the table. A variance in that condition reflects the complete run, including changes to training and tuning samples. None of those sources of variation is separately measured.

The condition with the largest test share, 60-10-30, has the lowest reported ensemble variance. A larger test sample could make the score less sensitive to individual sentences, while the changed tuning portion could also affect the outcomes. The study has no separate intervention that attributes variance to either effect. The authors’ further expectation that additional data will reduce out-of-vocabulary words and make changes in evaluation size matter less is an interpretation about a larger treebank. The variance analysis describes what happens under resampling of the existing one.

Limitations

Limits and open questions identified by the authors

The authors’ own account qualifies the description of the output as a tree. The spanning procedure can leave a forest when the locally selected links fail to connect the full sentence. Each resulting component is connected and acyclic, but the forest as a whole lacks the connectivity of a dependency tree. This is an acknowledged difference from combination methods that always return a tree. It also matters when interpreting an attachment score, since a single aggregate percentage does not describe how frequently sentence analyses satisfy a global structural requirement.

The paper proposes giving edges weights based on tuning performance and considering a multi-label SVM. Both suggestions follow from choices in the implementation under study. Uniform weights leave the cleanup stage without a learned preference over selected links. A single parser identity as a prediction target can obscure the fact that several parsers are equally correct whenever they propose the annotated head. The experiments establish the behavior of the particular design evaluated. The proposed alternatives have no accompanying measurements.

The authors also identify corpus size as a condition on the allocation results. They regard tuning size as critical in their small treebank and suggest that the effect may change as more material becomes available. Additional training evidence could improve what the constituent parsers offer. Additional tuning evidence could help the selector discriminate among agreement patterns. The study reallocates a fixed corpus, so these possibilities are discussed as reasons to repeat the experiment with more data rather than as measured improvements.

Self-training is one direction they suggest for increasing the tuning material. Their idea is to supply additional examples to the selector without retraining the individual parsers. The advantage they envisage is computational, because the existing parsers could be retained. The paper reports no self-training trial and no measured change in accuracy from such examples. It also calls for a fuller comparison of ensemble error distributions. That comparison would help clarify what kinds of mistakes are affected by the system and whether improvements are concentrated in particular parts of the analysis.

Limits visible in the setup

Agreement features can be computed wherever parsers give compatible outputs for the same words. That is the basis for describing the classifier design as language-independent. The fitted selector in these experiments has learned from Tamil annotations and the behavior of the chosen Tamil parsers. Evidence from this single treebank cannot establish that the same patterns of agreement would be reliable in another language, under a different annotation scheme or with a differently composed parser pool. The distinction is between the portability of an input representation and the observed performance of a fitted system.

The condition involving gold part-of-speech tags also matters for interpreting the results. These tags are already available to each constituent parser at evaluation. Their quality therefore does not depend on how well a tagger handles unfamiliar Tamil words. Using automatically assigned tags would change the inputs to the parsers and could change their head predictions, including their patterns of agreement. The experiment gives no estimate of that effect. The claim about agreement-only inputs concerns the selector, while the study’s parsing scores concern a pipeline that receives annotated tags upstream.

The selector’s candidate set has a built-in ceiling. For each word, it must attach to a head supplied by a constituent parser. If all the parsers miss the annotated head, classifying their agreement differently cannot recover it. Conversely, the presence of the correct head somewhere in the pool is only an opportunity. The classifier must identify a parser that offers it, and the associated link must survive the structural step. The authors give no oracle comparison that would count how many words have a correct candidate anywhere in the pool. That leaves the attainable improvement from a better selector unquantified.

The paper explains how successful parser outputs supply supervision. It leaves the treatment of several training and decision cases without full specification. For instance, multiple successful parser identities can share the same agreement vector, and some tuning words can have no successful parser. The description emphasizes examples from parsers that predict the annotated head, without detailing how the classifier resolves competing labels for the same pattern. The paper also gives no error accounting for links dropped or components left disconnected by the forest step. Those details would be necessary to attribute errors confidently to candidate availability, classifier choice or structural cleanup.

Resampling is helpful for assessing sensitivity to the choice of sentences inside TamilTB. Sampling without replacement keeps the portions distinct within a run. Across runs, the same underlying corpus supplies the material again, so separate iterations can share sentences and related training evidence. The Wilcoxon comparisons are paired on a common sample within each run. Their significance should be understood in the setting of repeated resampling from this treebank. They offer no independent test on a different corpus or a different domain, in spite of the authors’ concern about what a change of domain could do to the best-parser choice.

Finally, the use of UAS directs the study towards accuracy on heads. The authors identify that purpose explicitly. A gain on UAS leaves open whether the ensemble would improve the names of syntactic relations or produce more completely correct sentence analyses. It also leaves open whether a downstream application would benefit from accepting a forest. Those questions involve outputs and evaluation conditions beyond the score reported here.

What came after

The comparison appears in the later literature through the Overview of the SPMRL 2013 Shared Task. The overview cites the Tamil ensemble study in the context of a cross-framework evaluation of parsing for morphologically rich languages. Green and colleagues address that broader problem through repeated experiments on one small treebank, asking how much attachment accuracy a separate selector can recover from a pool of parsers. The shared-task overview places the problem in a wider evaluation setting. The citation establishes that connection. Whether the shared task adopted the pairwise agreement features, repeated the Tamil experiment or evaluated the SVM’s allocation tradeoff remains unspecified.

Cite

Cite as Nathan Green, Loganathan Ramasamy and Zdeněk Žabokrtský. 2012. Using an SVM Ensemble System for Improved Tamil Dependency Parsing. Proceedings of the ACL 2012 Joint Workshop on Statistical Parsing and Semantic Processing of Morphologically Rich Languages.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{green2012using,
  title = {{Using an SVM Ensemble System for Improved Tamil Dependency Parsing}},
  author = {Nathan Green, Loganathan Ramasamy and Zdeněk Žabokrtský},
  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-3410/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/green-2012-svm-ensemble-system-improved-tamil/