Elamur Research

PoliTa: A multitagger for Polish

Paper · 2014 · Łukasz Kobyliński

Summary

A Polish word can have several plausible grammatical readings, and a tagger has to choose the reading that fits the sentence. It may also have to decide where the word ends. A period, for example, can belong inside a written expression or mark a boundary. These decisions matter when a corpus is too large to annotate by hand. Errors in part-of-speech tagging enter the corpus as grammatical annotations that other analyses may then rely on. PoliTa addresses this problem by combining existing Polish taggers whose mistakes overlap only in part.

PoliTa gives the same text to its component taggers and aligns their outputs by the written forms. Where they divide the text differently, it votes on a common segmentation. It then uses the grammatical labels proposed by the taggers that supported the selected segmentation. The paper compares equal votes, votes weighted by each tagger’s overall accuracy, and votes weighted by performance on the relevant grammatical class. The last approach allows a tagger to carry more influence on a class it handles well even when its overall accuracy is lower.

The evaluation uses NCP1M, a manually annotated portion of the National Corpus of Polish containing 1,215,513 tokens. The authors remove the annotations from the test input, so the systems have to recover token boundaries as well as choose grammatical labels. On this test, Concraft is the strongest individual tagger at 91.07% lower-bound accuracy. PoliTa reaches 91.95% with equal votes from all four components, 92.01% with weights based on overall accuracy, and 92.05% with class-specific weights. Overall weighting gives the highest accuracy on unknown word forms among those full-ensemble settings.

The agreement analysis helps explain the gain and its limits. The component taggers are all correct in 82.78% of cases and all wrong in 4.18%. In the remaining cases, some component outputs contain a correct analysis alongside incorrect ones. A hypothetical selector that always found an available correct answer would reach 95.82% with all four taggers. PoliTa establishes that a practical voting rule can recover some of those answers on this corpus. The gap to the hypothetical selector shows how often the existence of a correct proposal still leaves the system with a difficult decision.

Deep dive: PoliTa: A multitagger for Polish

PoliTa combines Polish taggers by voting on word boundaries and grammatical labels, then tests their accuracy on unannotated corpus text. · about 30 minutes to read

The problem and its context

What a Polish tag has to say

The term part-of-speech tag can suggest a label such as noun or verb. In the National Corpus of Polish, the decision is more detailed. The tag records a grammatical class and the categories that apply to it. For a noun, those categories can specify information about number, case, and gender. The details belong to morphology, the study of the forms words take and the grammatical information those forms convey. A tagger can recognize the general class of a token and still make a mistake about its full analysis.

The paper illustrates the difference between annotation schemes using the English word candidates and the Polish kandydaci. The English example gives the lemma candidate, the dictionary form used to identify the word, with the tag NNS for a plural noun. The Polish example gives kandydat and records subst:pl:nom:m1, identifying the noun class, plural number, nominative case, and a gender category. The colons divide the tag into fields. This example shows what the Polish system has to predict when several candidate analyses differ in a single field.

The paper gives ca. 200 possible labels for the Brown tagset and over 4000 for the tagset of the National Corpus of Polish. Those figures describe the inventories. The choice for a particular token is usually framed by the analyses available for its written form. A system has to use context to decide which candidate fits, and the number and nature of the candidates can vary from token to token. The inventories help explain why the paper treats Polish tagging as a problem with considerable scope for improvement. They give no direct measure of how hard any given word will be.

The paper describes the accuracy of English taggers as over 97% and uses earlier Polish results to motivate further work. The comparison provides context for the engineering problem. The English and Polish examples illustrate that published tagging accuracy depends in part on what the label is required to express. The paper’s own comparison therefore puts all participating Polish systems on the same corpus under the same scoring procedure.

From running text to grammatical annotation

An annotated corpus associates linguistic information with stretches of text. In the workflow the paper describes, trained linguists supply linguistic annotation for a selected portion, and that portion serves as the reference for developing and testing an automatic tagger. The National Corpus of Polish contains more than 1 billion tokens. At that scale, manual annotation of the entire collection would require more time and expense than the authors consider feasible. Accuracy on the manually annotated portion matters because the automatic system is intended to annotate much more material.

The paper points to word-sense disambiguation and sentiment analysis as examples of tasks that can rely on grammatical annotations. When a later analysis receives an incorrect tag, it starts from an incorrect description of the text. For a corpus project, the problem thus has a practical side beyond ranking taggers on a benchmark. The output becomes part of a resource that other systems may use. The paper motivates better tagging on those grounds and evaluates the annotation itself.

There are several decisions between taking in text and delivering that annotation. Tokenization, also called segmentation in the paper, sets the boundaries around units that will receive labels. Morphological analysis supplies candidate interpretations for the chosen units. Morphosyntactic disambiguation chooses an interpretation in context. Sentence division is also part of the broader process considered by the authors. These decisions interact. A different token boundary changes the form presented for morphological analysis and can change the set of grammatical labels that make sense at that position.

An experiment that supplies the reference segmentation and a morphological analysis in advance asks how well a tagger can resolve ambiguity under those conditions. That question is relevant when a system will actually receive such input. The paper instead studies a corpus annotation job that starts with plain text. A system in that job is responsible for choosing the units as well as their labels. The distinction changes both what the score measures and which outputs a combination procedure has to handle. If every component sees the same prepared units, their decisions can be compared position by position. If they segment the input independently, the ensemble first has to establish which decisions concern the same stretch of text.

Why combine established taggers?

A single accuracy figure ranks systems by the total number of correct decisions under a given procedure. It leaves out the overlap between their successes and failures. For PoliTa, that overlap is central. A system with lower overall accuracy can still be useful if it handles cases that defeat a stronger system. If their successful answers occur on much the same cases, combining them offers comparatively little room for gain. The question becomes how to identify those occasions when a different tagger has the better answer.

The paper places this question in the tradition of classifier combination in machine learning. A classifier assigns an item to a category. Several classifiers can propose categories for the same item, and a rule can use their proposals to make a final selection. In tagging, the items are tokens and the candidate categories are tags. The extra complication here is that the participating classifiers can produce different tokens from the same text. PoliTa therefore needs a rule for choosing the units before it can compare proposals for their labels.

The paper describes earlier combinations of English taggers by Brill and Wu and by van Halteren and colleagues. The first used voting among different taggers. The second investigated several ways of using component decisions, including simple voting, pairwise voting, and stacking, in which a further classifier takes the component outputs as evidence. The systems in that study included a tagger based on sequences of tags, a transformation-based system, a memory-based learner, and a maximum-entropy tagger. The precedent was that taggers built on different principles could offer useful evidence about the same labeling problem.

The authors also discuss earlier Polish ensembles. Śniatowski and Piasecki had used an older tagset with a corpus of ca. 880,000 tokens. Radziszewski and Śniatowski used the current tagset and a larger corpus in another combination experiment. The paper describes both evaluations as focusing on disambiguation under prepared input. It also mentions the author’s own preliminary voting experiments. PoliTa develops that work into a system that addresses segmentation and annotation together, studies when its components succeed on different tokens, and introduces grammatical class as a basis for weighting their votes.

The method, step by step

Establishing what the votes are about

PoliTa can be understood as a procedure for reconciling several annotated versions of the same text. The component taggers first process the text using their own tagging methods. PoliTa then matches their outputs against the written forms. It settles disputes about how to divide a stretch of text, keeps the labels that apply to the selected units, and chooses among those labels. It returns a single annotated token sequence.

From plain text to PoliTa’s annotated output

The steps in order.

From plain text to PoliTa’s annotated outputStep 1: Analyze the morphology of the input1. Analyze the morphology of the inputStep 2: Run the component taggers2. Run the component taggersStep 3: Align their outputs by written forms3. Align their outputs by written formsStep 4: Vote on disputed token boundaries4. Vote on disputed token boundariesStep 5: Retain tags for the selected segmentation5. Retain tags for the selected segmentationStep 6: Vote on grammatical labels6. Vote on grammatical labelsStep 7: Return the annotated token sequence7. Return the annotated token sequence

Tags have to be attached to comparable units for a vote to be meaningful. Suppose an expression with periods is kept together in one output and split in another. An analysis of the whole expression and an analysis of one of its pieces are answers about different items. A tally of their labels would mix a disagreement about grammar with a disagreement about the span being labeled. PoliTa resolves the span disagreement first, then asks how the surviving taggers analyzed that span.

The input to the complete workflow is plain text. In the experiments, Maca provides the framework for morphological analysis, and Morfeusz SGJP is the analyzer used with it. An analyzer offers possible interpretations of a written form. The tagging step determines which interpretation suits the context. A complete solution also has to handle forms for which the ordinary analysis has left the tagger dependent on a guessing mechanism. The paper tracks those forms separately because the components differ in how well they handle them.

Preparing the training and test material

The reference is NCP1M, the manually annotated portion of version 1.1 of the National Corpus of Polish. Trained linguists supplied the annotations for its 1,215,513 tokens. This material has distinct roles during training and testing. In training, the tagger has to learn which interpretation is correct in examples where several might be available. In testing, the annotations are used for scoring after the system has analyzed plain text.

The experiment uses ten-fold cross-validation. The corpus is divided into folds, and each run holds out a different fold for testing while training uses the other folds. The reference annotations are kept for scoring the held-out fold. The input copy of that fold is turned into plain text by removing the annotations. This restores the need to find the boundaries and analyze the forms, even though the experimenters have access to their reference analyses.

The paper also turns the training material into text and runs morphological analysis on it. This gives the tagger candidate interpretations prepared in much the same way as the automatic candidates it will encounter in use. The authors then check the candidates against the reference. If the analyzer missed the correct interpretation, they add it to the training material. That step makes it possible to present the correct answer during supervised learning even when automatic analysis failed to generate it.

The addition relies on an important difference between the roles of the folds. Preparing a training example can use the human annotation to repair its candidate list. The test procedure has to rely on the candidates and other mechanisms that work from the plain text. A candidate that needs to be added from the reference in training illustrates a difficulty the tagger may face when processing unannotated material. The training repair keeps that example usable while preserving the purpose of the held-out test.

Each component is trained for each fold and evaluated under the same division of material. The ensemble experiments use those trained components with the same settings as the individual experiments. This design lets the paper compare a component on its own with the result of using that component as a voter. The final scores average the training and testing runs. Shared folds also let the authors analyze whether taggers fail on the same test instances, a comparison that requires their outputs to be related to the same reference.

How the component taggers differ

Pantera adapts Brill’s transformation-based algorithm for a language with rich inflection. A transformation changes a tagging decision under specified conditions. Pantera uses templates that govern the kinds of transformations it can learn and processes annotations over multiple passes. The experiments use a learning threshold of 6, the value recommended by Pantera’s author. Within PoliTa, Pantera contributes the decisions made by that established configuration.

WMBT approaches tagging through memory-based learning. It uses a k-nearest-neighbor classifier, which makes a decision using similar examples from the material it learned from. WMBT organizes disambiguation into tiers. These correspond to the attributes of the tag, including grammatical class, so the number of tiers follows the structure of the annotation scheme. The paper uses the supplied nkjp-guess.ini configuration.

WCRFT also separates grammatical attributes into tiers, using a conditional random field for each distinct attribute it disambiguates. A conditional random field is a statistical method for assigning labels given observed input, with a way to account for relationships among the labels. This is useful in tagging because the grammatical decisions occur in a sequence of text. WCRFT uses nkjp_s2.ini in the evaluation.

Concraft also uses conditional random fields. It arranges grammatical categories into interacting layers so that the disambiguation in one layer can affect another. One layer handles part of speech, case, and person. The other handles the remaining categories. The contrast between the organizations of WCRFT and Concraft is relevant to the paper’s motivation. Choosing the same general statistical approach still leaves scope for variation in how grammatical decisions are linked and which errors the resulting taggers make.

Each of these tagging procedures produces the analysis it would ordinarily give for the text. The ensemble combines those analyses after they have been produced. The paper’s design therefore places the combination rule around existing component systems. It uses their proposed labels and boundaries as evidence while preserving the individual training and configuration used in the baseline tests.

Choosing the token boundaries

PoliTa aligns the output sequences by their orthographic forms, meaning the forms as written. The alignment lets it identify places where the taggers cover the same text with different boundaries. The paper illustrates the problem with pl.sci.filozofia, where the internal periods give rise to differences in segmentation. An output can diverge from another over the span containing an expression like this and then return to the same boundaries in the surrounding text.

When the outputs disagree over a span, each segmentation has the support of the taggers that produced it. PoliTa selects the segmentation with the most support. It resolves equally supported alternatives randomly. The selection establishes the units to which labels will be assigned over that span. Outputs that use a rejected division are excluded from further processing there.

This exclusion has an effect beyond the shape of the resulting text. It determines which taggers get to vote on the annotation. A tagger can contribute to decisions elsewhere in the text and be ineligible at the disputed span because its tag applies to a different unit. A segmentation mistake can also affect every available label at that position. If the selected token disagrees with the reference span, assigning it a plausible grammatical label still leaves an error under the paper’s scoring rule.

The paper presents segmentation voting as a distinct step before annotation voting. Its account describes orthographic alignment and token-level decisions. The reference to sentence division describes the scope of the overall plain-text tagging problem. The procedure detailed for combination concerns the alignment of token sequences, the choice among token boundaries, and the labels associated with those boundaries.

Choosing the grammatical annotation

In simple voting, each eligible tagger supports the tag it has proposed. PoliTa counts support for the alternatives and selects the tag with the greatest number of votes. The paper describes a random choice of a component tagger when voting fails to establish a winner. Thus the rule can use agreement when several taggers converge and can still return an annotation when the tally does not settle the choice.

Overall weighted voting gives each component a weight based on its individual lower-bound accuracy. The weight determines the contribution of that tagger’s vote. The motivating case is a tie in the number of supporters. A tag supported by the better-performing group then has greater weight. The information used to evaluate a voter is its overall performance, so its reliability is represented by the same quantity across different kinds of words.

Per-class voting lets that reliability depend on the grammatical class at issue. The paper measures the performance of each component on common classes and uses class-specific accuracies to weight the corresponding votes. This gives a tagger that performs well on a class influence grounded in that part of the evaluation. Class-dependent weighting can be useful because grammatical labels group together tokens with different error patterns. Success on a frequent or relatively easy class can affect a tagger’s overall standing without telling PoliTa much about a harder class.

Unknown forms use a separate rule under per-class voting. When a form is identified as unknown, the weight comes from the component’s average accuracy on unknown forms. This shifts the basis of the vote to experience with words that require guessing. Overall weighting, class weighting, and the unknown-form rule thus summarize component reliability at different levels. None requires the voting system to choose a new grammatical annotation independently of the proposals it receives.

For the evaluation, the paper describes testing combinations of 2, 3 and 4 components. The same system can therefore be studied with different pools of candidate answers as well as with different ways of voting. Changing the pool affects the interpretations available and which groups can agree. Changing the weighting rule affects the strength assigned to those agreements.

Measuring how often one tagger covers another’s errors

The paper uses an error-overlap statistic to characterize the component pairs. It asks how frequently one tagger gives a correct answer on the cases another tagger misses. This statistic is called complementarity. It is calculated in a specified direction because one tagger’s mistakes define the cases under examination.

Comp(A, B) = (1 − e_AB / e_A) × 100

Comp(A, B) is the complementarity of tagger B relative to tagger A. A and B identify the taggers. e_A is the number of errors made by A, and e_AB is the count of errors shared by A and B. The slash divides the shared-error count by A’s error count. Subtracting that fraction from 1, the whole share of A’s errors, gives the fraction of those cases that B gets right. The multiplication sign and 100 convert that fraction to a percentage. The parentheses group the subtraction before the multiplication.

Reversing the taggers preserves the shared-error count and changes which tagger’s errors form the denominator. This is why the paper reports a matrix of directed comparisons. One entry describes B’s usefulness on A’s difficult cases, while the reverse entry describes A’s usefulness on B’s. The statistic measures the availability of alternative correct answers on the reference data. PoliTa’s voting procedures face a separate task at use time, since they have to choose an answer using the proposals and the reliability estimates available to them.

Experiments and results

What the accuracy measure counts

The reported lower-bound accuracy, written Acc lower in the paper, treats a tokenization mismatch with the reference as an error. A system therefore gets credit only where the segmentation supports a match and the required tagging decision is correct. This makes the measure suitable for the paper’s end-to-end comparison. A tagger’s score reflects performance on the plain-text task, where mistakes can occur before the grammatical label is selected.

The authors also report the lower-bound accuracy separately for known and unknown words. They use the latter subset to examine the performance of the guessing mechanisms. These subset scores give a view of a system that overall accuracy can hide. A tagger can place well on the broad task and have a different standing once the evaluation focuses on tokens that depend on guesses. The division also matters for PoliTa because its per-class strategy uses a separate source of weights for unknown forms.

All these scores come from the NCP1M cross-validation experiment. The authors use the same folds for all components and ensemble settings. A comparison of systems therefore refers to the same body of manually annotated material and the same requirement to process its test folds from plain text. The published scores for earlier Polish taggers discussed in the introduction serve as background. The baselines for the experiment are the scores obtained when the authors run the individual systems under this common procedure.

What the individual taggers achieve

Concraft leads the overall comparison at 91.07%. WCRFT follows at 90.76%, WMBT at 90.33%, and Pantera at 88.95%. These figures establish the practical comparison for an ensemble: the best result available from simply running an individual component. They also set the overall accuracy weights in the corresponding voting strategy. In that setting, Concraft’s vote has the greatest individual weight.

Lower-bound tagging accuracy of individual taggers on plain-text NCP1M

Concraft has the highest overall accuracy among the component taggers.

Lower-bound tagging accuracy of individual taggers on plain-text NCP1MPantera: 88.95Pantera88.95WMBT: 90.33WMBT90.33WCRFT: 90.76WCRFT90.76Concraft (this paper): 91.07Concraft (this paper)91.07
The numbers
System or settingaccuracy %
Pantera88.95
WMBT90.33
WCRFT90.76
Concraft (this paper)91.07

On known words, Concraft leads at 92.06%, followed by WCRFT at 91.92%, WMBT at 91.26%, and Pantera at 91.22%. The ordering matches the overall comparison. These figures describe how the systems perform when their usual analysis covers the forms. They are still end-to-end accuracy figures under the study’s segmentation rule, so they include the possibility of boundary errors.

On unknown words, WMBT leads the individual systems at 60.25%, followed by Concraft at 58.81%, WCRFT at 53.18%, and Pantera at 15.19%. This is a concrete reason to preserve the subset distinction. For a word in this group, the overall ranking gives a different account of the most reliable component than the ranking based on relevant examples. The gap between the known- and unknown-word entries for each component also shows how challenging guessing is under this evaluation.

Reading the two subsets alongside overall accuracy clarifies the purpose of a weighted combination. A system-wide accuracy figure can support a sensible general voting rule. The result for unknown words supplies different evidence about when particular voters deserve influence. The paper uses this observation in the class-sensitive variant, then evaluates the final decisions on held-out text to see which method actually works best for each reported measure.

How much voting improves the full combination

The paper reports random selection as a lower comparator for a decision strategy. For all four taggers, it gives 90.30% overall accuracy. The votes do better. Simple voting reaches 91.95%, overall weighted voting reaches 92.01%, and per-class voting reaches 92.05%. Each full-ensemble voting strategy is above the strongest individual baseline. The strongest overall result belongs to the class-sensitive setting, with the two other voting strategies close to it in the reported averages.

Overall lower-bound accuracy of Concraft and PoliTa settings on plain-text NCP1M

Each full PoliTa voting setting exceeds Concraft, and per-class voting leads the group.

Overall lower-bound accuracy of Concraft and PoliTa settings on plain-text NCP1MConcraft: 91.07Concraft91.07Random selection from all components: 90.30Random selection from all components90.30PoliTa simple voting: 91.95PoliTa simple voting91.95PoliTa overall weighted voting: 92.01PoliTa overall weighted voting92.01PoliTa per-class voting (this paper): 92.05PoliTa per-class voting (this paper)92.05
The numbers
System or settingaccuracy %
Concraft91.07
Random selection from all components90.30
PoliTa simple voting91.95
PoliTa overall weighted voting92.01
PoliTa per-class voting (this paper)92.05

The comparison with random selection shows why access to multiple taggers is only part of the method. A pool of outputs gives a selector opportunities to choose a better answer, and it can also expose the selector to more wrong answers. The random result describes one way to use that pool with little information about which proposal to trust. The voting results show what the paper obtains when recurring agreement and estimates of component reliability help make the decision.

For known words, the full combination scores 92.87% with simple voting, 92.91% with overall weights, and 92.96% with class-specific weights. On this subset, class weighting gives the highest score and the order follows the overall result. On unknown words, simple voting reaches 62.18%, overall weighting reaches 62.81%, and class weighting reaches 62.65%. Each score is above the best individual unknown-word score, with overall weighting highest among the full-ensemble settings. The distinction is important because the paper’s principal result uses overall accuracy, whereas a reader interested in guessing would rank the settings using the unknown-word results.

Lower-bound accuracy on unknown words in plain-text NCP1M

All full PoliTa voting settings exceed the strongest individual guesser on this subset.

Lower-bound accuracy on unknown words in plain-text NCP1MWMBT: 60.25WMBT60.25PoliTa simple voting: 62.18PoliTa simple voting62.18PoliTa overall weighted voting (this paper): 62.81PoliTa overall weighted voting (thispaper)62.81PoliTa per-class voting: 62.65PoliTa per-class voting62.65
The numbers
System or settingaccuracy %
WMBT60.25
PoliTa simple voting62.18
PoliTa overall weighted voting (this paper)62.81
PoliTa per-class voting62.65

What changes when a component is left out

The paper’s table gives each of the combinations of three components alongside the full ensemble. Identifying a combination by the tagger it leaves out makes the comparison easier to follow. With overall weighting, the combination without Concraft scores 91.53%. The one without WCRFT scores 91.81%, the one without WMBT scores 91.88%, and the one without Pantera scores 91.90%. These are overall lower-bound accuracies on the same plain-text NCP1M test procedure. Every one of those scores is above the individual Concraft result. The full weighted combination remains the highest of the settings in that series at 92.01%.

The subset figures reveal some tradeoffs inside those results. Among the combinations of three with overall weighting, leaving out Pantera gives 62.31% on unknown forms. Leaving out Concraft gives 56.55%, leaving out WCRFT gives 59.45%, and leaving out WMBT gives 59.08%. On known words, the same settings score 92.82%, 92.60%, 92.81%, and 92.89%, respectively. The strongest of these smaller combinations on known words therefore differs from the strongest on unknown words. The choice of components and the subset on which they will be evaluated both shape the conclusion.

Simple voting also benefits from using the full set. Among combinations of three, the highest overall result with that strategy is 91.86%, for WMBT, WCRFT, and Concraft. Each of the other combinations includes Pantera and leaves out a different component. Their overall simple-voting results range from 91.46% for Pantera, WMBT, and WCRFT to 91.69% for Pantera, WCRFT, and Concraft. Adding Pantera to the strongest combination of three gives the full simple-voting result of 91.95%. The overall test score of a component therefore gives an incomplete account of what including it will do to the ensemble.

The oracle comparison addresses a different question. An oracle has access to the reference and can tell whether any selected component proposed a correct answer. Its reported score for the full combination is 95.82%, and its scores for all the combinations of three are below that figure. The oracle measures the supply of correct proposals in the observed outputs. The paper uses the random, individual, and oracle comparisons to give meaning to the voting scores. They show respectively how the combination fares with a weak selection rule, what an established single system achieves, and how much accuracy would be possible under perfect selection from the observed candidates.

What the ablations show

How often the taggers supply usable alternatives

The paper studies changes in the component set and changes in the voting rule. Its agreement analysis helps interpret both comparisons. For each test instance, the authors check how many component decisions match the reference and whether the correct answer has enough support to win an ordinary vote. This gives a picture of the kinds of decisions the ensemble faces, including straightforward agreement, disagreements where the correct answer is well supported, and cases where the correct answer is present with little support.

All components are correct in 82.78% of cases. A further 7.95% fall into the paper’s category where the correct answer has leading support. In discussing that category, the paper uses a notion of majority that includes vote patterns such as 2-1-1. In such a pattern, the proposal with 2 votes has greater support than either rival considered separately. This matters for understanding simple voting. Its decision can be settled by a lead over each alternative, even when several voters support something else.

The paper reports 2.71% of cases where a correct proposal is present without a clear majority, including examples of tied support. A further 2.38% have a correct answer backed by a minority. These categories pose different selection problems. When proposals tie, a reliability weight can make the difference directly. When the correct proposal trails a rival, a rule would have to favor the evidence of its supporters strongly enough to overcome the head count. The paper’s aggregate comparisons measure the outcomes of voting rules without following each of these cases through to a particular decision.

In 4.18% of cases, every tagger is wrong. For an oracle restricted to the reported proposals, these cases determine the part of the test on which it must fail. In the other cases, the reference can identify at least one correct answer. This is the basis for reading 95.82% as an obtainable ceiling for hypothetical selection on the fixed outputs. Each actual voting rule has to choose with limited evidence, and its segmentation stage further shapes which grammatical proposals can be considered.

The agreement analysis explains both why voting helps and why the improvement has room to grow. In the large area of agreement on the reference answer, there is little for a combination to resolve. The gains over a strong tagger come from cases where some components succeed and others fail. Those gains depend on how often the voting rule follows the correct components and how frequently it overturns a correct decision. The final accuracy measures the balance of those outcomes across the test corpus.

How error overlap depends on direction

The complementarity matrix puts numbers on the availability of a correct second opinion. When Pantera is wrong, Concraft is correct in 45.22% of those cases. When Concraft is wrong, Pantera is correct in 32.21% of those cases. The latter result explains why Pantera can still contribute to an ensemble that includes the strongest individual tagger. It covers some of Concraft’s errors. The first result uses a different collection of difficult cases, namely those Pantera missed, and shows that Concraft covers a substantial share of them.

The direction matters for decisions about what to combine. Relative to Pantera’s errors, WMBT is correct in 42.33% of cases and WCRFT in 42.16%. Viewed from the perspective of the stronger remaining taggers, Concraft is correct in 39.52% of WMBT’s errors and 33.97% of WCRFT’s errors. These entries concern overlap, so they add information to a ranking based on aggregate accuracy. In particular, they describe different collections of errors from the ones used to determine a tagger’s overall place.

The paper notes that every reported cross-tagger complementarity lies below 50%. For any given direction, the share of the first tagger’s errors that the second can cover is accordingly limited. A complementarity of 100% would require the second tagger to be correct whenever the first one is wrong. This interpretation follows from the error counts in the formula. High complementarity means that the test outputs contain useful alternatives. Turning those alternatives into correct ensemble decisions requires a rule that can recognize them.

Pairwise entries also leave open how several taggers’ corrections overlap. If different alternative taggers frequently fix the same errors, an extra component may add little to candidate coverage. If they fix different errors, putting them together can increase coverage. The oracle figures for component sets address this question directly on the observed outputs. Among the combinations of three, the highest oracle score is 95.25% for Pantera, WMBT, and Concraft. The highest observed overall weighted-voting score among combinations of that size comes from WMBT, WCRFT, and Concraft. Those results distinguish the ability to supply the answer from the ability to win a vote with it.

Why class-specific weights have a basis in the data

The paper groups reference tokens by grammatical class and reports how each individual tagger performs on the group. These comparisons show that a single overall ranking cannot capture all the variation. Concraft has the highest result for the subst class. On the num class, WCRFT has the highest result, and on praet, Pantera does. The rankings consequently depend on which part of the tagset the test focuses on.

The counts show how widely these groups differ in representation. The reference table gives 331,570 tokens for subst, 53,326 for praet, and 16,160 for num. Its per-class lower-bound accuracy for subst is 88.29 for Concraft and 85.21 for Pantera, with the column headed in percent. On praet, Pantera records 90.90 and Concraft 89.69. On num, WCRFT records 60.32, Concraft 55.99, and Pantera 33.40. The numbers support estimating reliability for the class involved in a decision. They also show why strong performance on a given class may have limited influence on where a component ranks overall.

Some classes provide less scope to distinguish among component taggers at the level of these averages. The interp group has 223,542 reference tokens. WMBT, WCRFT, and Concraft each record 99.97 for that class, and Pantera records 99.63. Whether the small number of errors comes on the same tokens is a further question. The class table establishes how well each system handled a category in aggregate. The agreement and complementarity analyses provide the evidence about overlap.

The per-class weights can use average reliability to support an alternative that a global ranking would treat less favorably. The resulting overall accuracy is highest for the full combination. In the combinations of three, the reported overall class-weighted results are 91.52% without Concraft, 91.80% without WCRFT, 91.87% without WMBT, and 91.90% without Pantera. The corresponding globally weighted scores are slightly higher for the first three of those settings and equal for the last. Class sensitivity therefore gives its best observed overall result in conjunction with the full component set. Its value depends on which voters are available and how their predictions interact.

What changes with the vote and what changes with the voters

Holding the component set fixed makes it possible to compare the decision rules on a shared source of proposals. With all components included, the biggest improvement over the individual systems is already visible with equal votes. Overall weights and class weights adjust the outcome further. This pattern shows that agreement itself is useful for selection. It also gives a sense of the scale of the refinements on the evaluation as a whole. The evidence for the class-based rule is a lead in the reported full-ensemble average, alongside varying results across component sets and evaluation subsets.

The component comparison changes the supply of proposed tags and the potential alliances between voters. For example, Pantera has the lowest overall individual score and the lowest unknown-word score. The full ensemble that includes it nevertheless scores above the corresponding WMBT, WCRFT, and Concraft combination in each of the reported overall voting settings. That finding concerns Pantera’s inclusion under these particular voting rules. Its error-overlap results explain how its outputs can add useful candidates, while the experiment with its inclusion shows that the ensemble can use enough of the additional evidence to improve the reported overall result.

Concraft provides another way to see the distinction between individual strength and the performance of a group. Removing it leaves Pantera, WMBT, and WCRFT, which achieve 91.53% overall under weighted voting and 91.52% with class weighting. Both exceed Concraft’s individual 91.07%. The combined system benefits from repeated support and from choosing among taggers with different successful cases. The stronger scores obtained when Concraft is included in other configurations show the value of adding its evidence to those of its peers.

The paper’s analyses work together at different levels. The individual ranking measures reliability across the whole test. The class breakdown identifies categories where those rankings change. Complementarity describes which taggers offer correct alternatives on another’s errors, and agreement shows how much support the correct answer tends to have. The ensemble experiments test whether a practical rule can act on such evidence. The argument for PoliTa rests on the improvement under plain-text evaluation, with the diagnostic comparisons explaining the opportunities the method can exploit.

Limitations

Limits identified by the authors

The authors emphasize the overlap in their components’ error sets. A voting method can choose among the proposals it receives. The all-wrong cases in the experiment expose failures of the candidate pool itself. The oracle bound is conditional on that pool, under the test conditions used in the paper. A future system that introduces different analyses or better components would have a different bound. For the evaluated outputs, the oracle quantifies the best reference-based choice regardless of whether such a choice is feasible from the information available at run time.

The authors also distinguish the end-to-end task from disambiguation under a supplied segmentation and morphological analysis. Their score deliberately penalizes a segmentation difference. This choice fits their goal of tagging plain text and sets the scope of the reported accuracy. A reader interested in choosing a tag given an already correct tokenization would need a separate measurement. Conversely, an accuracy figure calculated with prepared boundaries gives only part of what is needed to compare systems intended for raw corpus text.

The implementation depends on existing taggers and their accompanying resources. The authors identify packaging and distribution as practical difficulties because the components, their learned parameters, and additional libraries can require different environments. They describe making PoliTa available through Multiservice as a future step. Their rationale is that providing access through the service would simplify distribution and allow the component set to be updated. The results establish the performance of the experimental implementation under the reported setup. The conclusion describes a plan for wider access.

Limits of what the experimental design establishes

The shared folds allow comparisons within NCP1M. Generalization beyond this evaluation is a separate question. The paper presents no independent test on another corpus or on text annotated under another tagset. A shift in what words appear, how frequently the analyzer recognizes them, or how the text uses punctuation can affect the different stages of the system. The observed class accuracies and error overlap therefore describe the corpus, taggers, analysis resources, and settings used in the experiment. They give a reason to test the strategy in another setting, with the size of any gain there left open.

The table reports averages over the folds. It gives a clear observed ranking, while leaving variability across folds unspecified. The close overall scores of the full weighted and per-class ensembles can therefore be reported as results of this experiment. Establishing how consistently the class-sensitive strategy would lead would require information about variation or a comparison designed to estimate uncertainty. The larger rise from the individual baseline to the full ensemble and the finer differences among the voting rules are separate empirical observations.

The end-to-end evaluation combines several sources of error in one score. Better token boundaries, better morphological candidates, and better selection among candidates can all help a system earn credit. The paper compares overall strategies and gives an example of segmentation disagreement. It provides no separate score for boundary selection, sentence division, or annotation on spans whose boundaries all taggers already agree on. Consequently, the voting improvement cannot be apportioned among those stages from the reported measures. A configuration with a higher score may owe its gains to several decisions that the study records together.

The class-specific weighting procedure raises a reproducibility question. The paper describes the reliability figures and the shared cross-validation scheme. It gives the class results in terms of tokens grouped according to the reference and describes weighting a vote by performance on the relevant class. It leaves details open about how the class is resolved when the participating taggers assign different classes, and about exactly which data yield the weights applied in each held-out fold. An independent implementation would need to specify both choices. The published comparison establishes the authors’ observed scores, with those procedural details left unspecified.

Randomness also appears at points where the system needs a definite output from an unresolved vote. Equal support for competing segmentations can trigger random selection, and the simple annotation vote can fall back to a randomly chosen tagger. The paper reports the cross-validation averages and describes the selection rules. It supplies no analysis of the sensitivity of the results to repeated random choices. The random-selection baseline addresses the performance of a different strategy and does not quantify this source of variation in the voting settings.

The known- and unknown-word scores are useful indicators of how the systems fare with routine analysis and guessing. They remain aggregate scores for broad groups. The paper presents no breakdown of kinds of unknown forms or of which guesses failed through candidate generation, boundary choice, or final selection. The full ensemble’s improvement on unknown forms therefore measures its result on that group. It leaves open which kinds of forms account for the improvement and how frequently the gain follows from better guesses as opposed to other stages of the workflow.

The oracle figures have a similar interpretive boundary. A correct proposal can be available in hindsight even when its visible features give little reason to trust it. The paper’s class accuracies and pairwise statistics are aggregate descriptions of reliability. They do not estimate how much of the oracle accuracy a selector could reach from those features or from other evidence at the point of disagreement. The distance from the voting score to the oracle is room for improvement under a hypothetical best choice, with practical recoverability still undetermined.

Finally, the paper motivates grammatical annotation partly through its relevance to later analyses. Its experiments measure corpus tagging accuracy. They do not measure how replacing the output of a component tagger with PoliTa changes the performance of word-sense disambiguation, sentiment analysis, or other downstream uses. A better annotation score establishes a change at the tagging stage. Effects on any particular use would depend on which errors were corrected and how that application uses the annotation.

What came after

The paper identifies Multiservice, an existing framework for making language-processing tools available online, as the intended route for publishing PoliTa. The authors planned to make the combined tagger accessible through the service and use that arrangement to accommodate later changes to its component set. This was a practical next step for a system that depended on several separately developed tools and their support libraries. The paper presents the integration as planned.

Subsequent research that built on PoliTa’s segmentation voting or class-specific weighting is undocumented here. The last demonstrated result is the paper’s plain-text evaluation of the combined tagger on NCP1M. Its last account of deployment is the proposal to offer that tagger through Multiservice.

Cite

Cite as Łukasz Kobyliński. 2014. PoliTa: A multitagger for Polish. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14).

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

@inproceedings{lukasz2014polita,
  title = {{PoliTa: A multitagger for Polish}},
  author = {Łukasz Kobyliński},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  url = {https://aclanthology.org/L14-1014/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/kobylinski-2014-polita-multitagger-polish/